MISSION UPDATE // FLAGS
This is intended as a minimal reference CL for setting up a new flag,
and including a tiny amount of new code behind that flag.
In what is truly a shocking coincidence, the new code plants a little
yellow flag on the planet you've landed on.
Bug: 320150798
Test: adb shell am start -n android/com.android.internal.app.PlatLogoActivity
Flag: systemui:flag_flag
Change-Id: I9527df96a4fb3d0b73704ac2a455bf8820c56951
diff --git a/packages/EasterEgg/Android.bp b/packages/EasterEgg/Android.bp
index 0caf505..6f4f9ca 100644
--- a/packages/EasterEgg/Android.bp
+++ b/packages/EasterEgg/Android.bp
@@ -48,6 +48,8 @@
},
static_libs: [
+ "easter_egg_flags_lib",
+
"androidx.core_core",
"androidx.annotation_annotation",
"androidx.recyclerview_recyclerview",
@@ -72,3 +74,16 @@
kotlincflags: ["-Xjvm-default=all"],
}
+
+java_aconfig_library {
+ name: "easter_egg_flags_lib",
+ aconfig_declarations: "easter_egg_flags",
+}
+
+aconfig_declarations {
+ name: "easter_egg_flags",
+ package: "com.android.egg.flags",
+ srcs: [
+ "easter_egg_flags.aconfig",
+ ],
+}