aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Song <denniscy@google.com>2022-10-31 01:31:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-10-31 01:31:16 +0000
commit0170eba51045fbb00eea6cbde146462dbc415f9a (patch)
tree28f4d03d8646a7e82a076371a7d1cbb732632169
parent80d8c472cc126c14521e9b99ac2c6dbb03bc8f83 (diff)
parent8a571216676b4c7d855b88e46d3155ab33c9e881 (diff)
downloadcommon-0170eba51045fbb00eea6cbde146462dbc415f9a.tar.gz
Merge "Add document for GSI specific packages"
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0938785
--- /dev/null
+++ b/README.md
@@ -0,0 +1,24 @@
+# GSI
+
+This document introduces special GSI settings for facilitating xTS-on-GSI with
+a single image.
+
+## Changes in runtime resource overlays (RRO)
+
+### SystemUI overlays
+
+Some devices access the private android framework resource by `@*android:`
+while overlaying their SystemUI setting `status_bar_header_height_keyguard`.
+However, referencing private framework resource IDs from RRO packages in the
+vendor partition crashes on these devices when GSI is used. This is because
+private framework resource don't have a stable ID, and these vendor RRO
+packages would be referencing to dangling resource references after GSI is
+used (b/245806899).
+
+In order to prevent SystemUI crash, GSI adds a runtime resource overlay in
+the system_ext partition, which have higher overlay precedence than RROs on
+vendor partition, so the problematic vendor RROs would be overridden.
+
+Lifetime of this package:
+* Starts at: Android 14.
+* Deprecation plan: TBD, depends on b/254581880.