summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorDiksha Gohlyan <dikshag@google.com>2020-04-07 15:23:29 -0700
committerDiksha Gohlyan <dikshag@google.com>2020-04-07 15:23:29 -0700
commite13d0888c8cf99fc89417debc0bf8e179f33cd47 (patch)
treef6ca9f56d0159da54f5b0985ef089b3c01730673 /res/values
parentb646cf76a276430247cab5a1e476c4d333f7775c (diff)
downloadplatform_packages_apps_DocumentsUI-e13d0888c8cf99fc89417debc0bf8e179f33cd47.tar.gz
platform_packages_apps_DocumentsUI-e13d0888c8cf99fc89417debc0bf8e179f33cd47.tar.bz2
platform_packages_apps_DocumentsUI-e13d0888c8cf99fc89417debc0bf8e179f33cd47.zip
Add guidelines to overlayable for when adding entry
Test: no test. adding only comments Bug: 151178487 Change-Id: I1d3495da67b8d23ee5edca20fa0592a4849c1502
Diffstat (limited to 'res/values')
-rw-r--r--res/values/overlayable.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/values/overlayable.xml b/res/values/overlayable.xml
index a5dd6453f..621de83d4 100644
--- a/res/values/overlayable.xml
+++ b/res/values/overlayable.xml
@@ -15,6 +15,19 @@
-->
<!-- The collection of resources for theming the appearance of a device -->
+<!-- TODO: Resolving resource overlay for Q module updates. Remove when public.xml is
+ removed from DocumentsUIGoogle.
+ Add a new entry to DocumentsUIGoogle public.xml when adding new resource here.
+ Follow these steps to identify a new resource id for the resource.
+ 1. Find last resource id for the particular type.
+ bool, string, etc.
+ Example: <public type="bool" name="pre_existing_bool" id="0x7f04001a" />
+ bool last resource id is 0x7f04001a
+ First 6 characters are an identifier for bool, so the id should be
+ 0x7f04xxxx where xxxx is 001a+1 = 001b.
+ 4. Add entry to public.xml
+ Example: <public type="bool" name="new_bool_config" id="0x7f04001b" />
+-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<overlayable name="DocumentsUICustomization">