commit | 1308d53e248d0c9e5ae416ddff5f07b290e4711e | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Thu Jan 14 22:21:49 2016 -0600 |
committer | Ethan Yonker <dees_troy@teamw.in> | Sat Jan 16 08:19:51 2016 -0600 |
tree | 54a168327c85f68b5d27cb95d29cc9390200e917 | |
parent | 6bb26b5f14258c9fa0ed2b31d8cc0f25e0b24e1b [diff] |
Add theme version checking Add a themeversion value to the ui.xml details section. Check this value against a define during early theme loading. If we are loading a custom theme, then reject the custom theme if the version does not match (or not defined) and load the stock theme. If it is the stock theme, show a warning but continue loading. Also fix an issue with changing overlays. Not sure how it ever worked before, but it works now. TLDR: Use the stock theme if the custom theme version does not match. Change-Id: I0277cbe035cbec7e16b6327500762dadf9c1c5c8
Team Win Recovery Project (TWRP)
You can find a compiling guide here.