It turns the version code into almost a 64-bit integer, with the
new major part being the upper 32 bits.
The only tricky part about this is the backup manager, since it
stored 32-bit version codes in its backup data sets. This is dealt
with by, when the major version code is not 0, writing MIN_INT as
the version code and following that by the full long version code,
which we can detect when reading. Note that this makes backup sets
containing apps with major version codes incompatible with older
versions of the platform.
Bug: 64459786
Test: Added in Change-Id: Iab8a682b62103babd6c16a56b8dc1e97d7078658
Change-Id: Ibfffe235bbfcf358b3741abd3f7197fdb063d3f3
AAPT2 no longer supports overlays of static libraries. As a result,
these overlays don't work correctly any more.
To fix, move the overlay config resources into framework-res.
They can still be read by any of the apps using settingslib, but now
actually work without having to override for each app.
Bug: 33694217
Test: robotests
Change-Id: I58df748d7646e8caee18614d87af1333fc84985c
Help activity is in gmscore, so we need to change the intent
theme parameter to light theme.
Bug: 34690364
Test: Manual - take a screenshot
Change-Id: I8fb71ab461d97d1461e017d3de8290ac19730897
Add new metrics event constant for Settings->Help & Feedback, and log it
whenever user selects the help option menu, passing the context extra for
the corresponding settings preference where the help menu is launched.
Change-Id: I971e8e50b959a5451ed085e5da5fd8504111e6c3
Fixes: 30140281
Adds colors_device_defaults.xml and defines the primary, primary dark, accent,
and secondary colors for the dark, light, and settings themes.
Also creates primary and primary dark values for the Material.Settings theme
and updates the themes to use those values.
Finally, fixes HelpUtils to properly get the value of colorAccent. Previously,
if colorAccent were defined to a hex value directly, it would crash.
BUG: 28625050
BUG: 29003416
Change-Id: Ia73b7368014c57c1676904d494cbb5169c8a836b
Moved HelpUtils to SettingsLib from com.android.settings so it can be
shared with packageinstaller.
Bug: b/22096093
Change-Id: I75efb6476a8c7621279705a636f87b32d8d921be