Use AAPT2 to build the framework support libraries. Apps built with AAPT2 can more efficiently
link against these libraries by specifying their module name in LOCAL_STATIC_ANDROID_LIBRARIES.
Ex:
LOCAL_STATIC_ANDROID_LIBRARIES := android-support-v7-appcompat android-support-v4
Apps built with AAPT2 do not need to specify --auto-add-overlay or --extra-packages, as these
are automatically added as needed by the build system.
This change will not affect any apps that currently depend on the support libraries.
This is because they import the resources directly.
We use LOCAL_JAR_EXCLUDE_FILES := none only to support javac when building javadoc.
Jack builds are correct because the build system passes in the latest generated R.java
ahead of any previous ones packaged in classes.jack. This means we can dynamically reference
a support lib module, correctly seeing non-final R.java. Then at app package time, we only
include the final R.java generated by the AAPT2 packaging step.
Bug:25958912
Change-Id: I71bff080ff2694aa3df1c8a67d933e2daab0f245
GitOrigin-RevId=0dac8d82e2a249d7c9c42ab259389e11cac15400
PiperOrigin-RevId: 140560475
am: 0c098da
* commit '0c098da66d0c9c2566d5353fd4a38cd8a2d9a9d7':
Use the EditText's gravity for TextInputLayout
GitOrigin-RevId=2b84e6781ea06c6139bbeab062f1248d3819fcc7
PiperOrigin-RevId: 140560453
Otherwise the currently tinted background will be used for the next
inflated TextInputLayout.
Bug: 27694398
Change-Id: I6772ab9b58e98675f7b9535d54ef30001d8b3df4
GitOrigin-RevId=0f6a807ceaa96930e57e55826ddaae5eab692aa8
PiperOrigin-RevId: 140560259
am: bb58a82
* commit 'bb58a82daf11bf3c056d1cd5887aa26435d37b69':
Check for saved state type in onRestoreInstanceState.
GitOrigin-RevId=7541e4bfa0c9fff31bcb12fc5a94365565388715
PiperOrigin-RevId: 140560234
am: ed26bb259a
* commit 'ed26bb259a74cbea495d38ca562ada0723f76551':
Reduce talkback for the character counter
GitOrigin-RevId=37b386a83b3f0ce00d0c734973594ac930466a1b
PiperOrigin-RevId: 140560106
am: b786d9a334
* commit 'b786d9a33450b42bf937ca193041e35a11be7ca2':
Fix crash on L+ when using TextInputLayout
GitOrigin-RevId=0137c5c3b6a97a48403c3a8eb76919bdb47d27ee
PiperOrigin-RevId: 140559965
am: 8fbdbc71af
* commit '8fbdbc71af44387ffb51dd224e8e0ba1c0c943e2':
Don't update hint color when error is shown
GitOrigin-RevId=4d3d15fe0c07bfdb12c9f575f48a273f9955a6e1
PiperOrigin-RevId: 140559299
am: ba8b9946e9
* commit 'ba8b9946e9f9973575adae7e8eb601ccbce5850d':
Don't animate TIL error if we've been given the same error
GitOrigin-RevId=a454cd7eeb61bf0584823aaa626cb091a5bac32e
PiperOrigin-RevId: 140551407
am: 2d8ab49700
* commit '2d8ab49700e81b075f7e1a421aad9f2380549675':
Ensure that the indicator area is set to GONE
GitOrigin-RevId=dce94a73f4492051683faa1416d7dd78c636af99
PiperOrigin-RevId: 140551375
* commit 'c6fccd6842d28bdedea425ab1e0c947e2e1a41bc':
Use the correct interpolators in the design lib
GitOrigin-RevId=eda4412df4b985c54913b1ba9dff1ce4d4883cf5
PiperOrigin-RevId: 140550492
* commit 'f2093cd5774b9cda59ff146c85cbeb792db65945':
Improve typeface support in the collapsing text widgets
GitOrigin-RevId=1ff4d4f7470a44dff84f6848d3e2678a7919f594
PiperOrigin-RevId: 140550119
* commit 'c14d808e6c599ea34990583359ef1d4c4c1640b0':
Add support for character counter
GitOrigin-RevId=7a91a5d0a7de9fc24d0ca45dfdad96761a2f0200
PiperOrigin-RevId: 140550112
* commit '83e60f1bbb345b753d49613687ef4bb3976dcd84':
Make sure that we reset the EditText backgroud tint
GitOrigin-RevId=b3140f0b62e15e7d4f548e9efe1538907d0a1194
PiperOrigin-RevId: 140550025
* commit '0aea210fd6897076813d10451ffdef4437b9ed4d':
Actually use the hint provided from attrs
GitOrigin-RevId=5f4791e3d581a759c7df1495e73832eb48dbbb74
PiperOrigin-RevId: 140549476
* commit 'b01f32778faaf695307f0a1400587726a31c860e':
Some fixes for TextInputLayout
GitOrigin-RevId=fc129d8cd5a2b65e94592e4db2fdc9ddc6666c7c
PiperOrigin-RevId: 140549457
* commit 'f15a504d49dd667ef721daf8a7b6b9a6f853f809':
Expand TextInputLayout's API with more getters/setters
GitOrigin-RevId=0dfcf4cab30e1a401a3c19deaac4cb464655dd32
PiperOrigin-RevId: 140549261
* commit 'ae664fb2a3fba18a6146cb85f11b120995530094':
Remove the need for using a OnFocusChangeListener
GitOrigin-RevId=a69abfd455e01f6134a9bd5739c8e3ddb988248b
PiperOrigin-RevId: 140549221
* commit 'b71d35cd7ae512b5d218babb5c3599cb24b069ca':
Drag in the EditText's hint colors in TextInputLayout
GitOrigin-RevId=a30ec1e2eb23acbdb3ca3691eb6287aa0427334c
PiperOrigin-RevId: 140548957