Merge "Add document for GSI specific packages" am: 0170eba510
Original change: https://android-review.googlesource.com/c/device/generic/common/+/2266746
Signed-off-by: Automerger Merge Worker <email@example.com>
diff --git a/README.md b/README.md
new file mode 100644
@@ -0,0 +1,24 @@
+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
+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.