summaryrefslogtreecommitdiffstats
path: root/res/values/config.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-08-27 17:45:46 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-08-27 17:53:28 -0700
commite2fd14b9f61d58297ff962e8c31f49439e0309a9 (patch)
tree603be71bdc321443e18911edf6a451144bef9c4f /res/values/config.xml
parentfafd4c276e1a1db8449d1feb46800351adbc3ad6 (diff)
downloadandroid_packages_apps_Trebuchet-e2fd14b9f61d58297ff962e8c31f49439e0309a9.tar.gz
android_packages_apps_Trebuchet-e2fd14b9f61d58297ff962e8c31f49439e0309a9.tar.bz2
android_packages_apps_Trebuchet-e2fd14b9f61d58297ff962e8c31f49439e0309a9.zip
Jailing the saved instance state of all the dynamically generated views
Using itemId instead of generating a new id for each item. This is because if the process gets killed, View.generateId will get reset but we will still receive the generated item id map in onRestoreInstance. This will cause conflicts with newly generated item ids. We wrap all the generated homescreen views inside a single sparse array. This ensures that we do not cause any conflict with dynamically generated views in other parts of the UI. Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
Diffstat (limited to 'res/values/config.xml')
-rw-r--r--res/values/config.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 79ae517c3..9f65569cf 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -76,6 +76,9 @@
<!-- View ID to use for QSB widget -->
<item type="id" name="qsb_widget" />
+ <!-- View ID used by cell layout to jail its content -->
+ <item type="id" name="cell_layout_jail_id" />
+
<!-- Accessibility actions -->
<item type="id" name="action_remove" />
<item type="id" name="action_uninstall" />