Patch AndroidManifest.xml properly

Parse and rebuild the string pool of the AXML format for patching
string in AndroidManifest.xml
This commit is contained in:
topjohnwu
2020-08-31 03:39:20 -07:00
parent 38a34a7eeb
commit fbaf2bded6
6 changed files with 167 additions and 48 deletions
@@ -25,7 +25,7 @@
android:hint="@string/settings_app_name_hint"
app:boxStrokeColor="?colorOnSurfaceVariant"
app:counterEnabled="true"
app:counterMaxLength="14"
app:counterMaxLength="@{data.maxLength}"
app:counterOverflowTextColor="?colorError"
app:error="@{data.error ? @string/settings_app_name_error : @string/empty}"
app:errorEnabled="true"