diff options
| author | 2023-08-15 20:51:08 +0000 | |
|---|---|---|
| committer | 2023-08-15 20:51:08 +0000 | |
| commit | 20dd00a319178ab46e7fad3177bb309d7e97bd3c (patch) | |
| tree | 549e13f88128a2e4fa109e11e59b0e82fc178858 | |
| parent | c26b2fba914bf6557f508649b5e56121d59ca4ba (diff) | |
| parent | 454fcb95d338f5e6bec7ef6e24ec2dc7be37019f (diff) | |
Merge "Add aconfig flag to expire bitmaps" into main
| -rw-r--r-- | services/core/Android.bp | 3 | ||||
| -rw-r--r-- | services/core/java/com/android/server/notification/Android.bp | 12 | ||||
| -rw-r--r-- | services/core/java/com/android/server/notification/flags.aconfig | 8 |
3 files changed, 22 insertions, 1 deletions
diff --git a/services/core/Android.bp b/services/core/Android.bp index c2774e5c4400..a4d72b137849 100644 --- a/services/core/Android.bp +++ b/services/core/Android.bp @@ -190,6 +190,7 @@ java_library_static { "securebox", "apache-commons-math", "power_optimization_flags_lib", + "notification_flags_lib", ], javac_shard_size: 50, javacflags: [ @@ -239,4 +240,4 @@ genrule { prebuilt_etc { name: "protolog.conf.json.gz", src: ":services.core.json.gz", -} +}
\ No newline at end of file diff --git a/services/core/java/com/android/server/notification/Android.bp b/services/core/java/com/android/server/notification/Android.bp new file mode 100644 index 000000000000..f26a25b63207 --- /dev/null +++ b/services/core/java/com/android/server/notification/Android.bp @@ -0,0 +1,12 @@ +java_aconfig_library { + name: "notification_flags_lib", + aconfig_declarations: "notification_flags", +} + +aconfig_declarations { + name: "notification_flags", + package: "com.android.server.notification", + srcs: [ + "flags.aconfig", + ], +}
\ No newline at end of file diff --git a/services/core/java/com/android/server/notification/flags.aconfig b/services/core/java/com/android/server/notification/flags.aconfig new file mode 100644 index 000000000000..c0bc6d14cd04 --- /dev/null +++ b/services/core/java/com/android/server/notification/flags.aconfig @@ -0,0 +1,8 @@ +package: "com.android.server.notification" + +flag { + name: "expire_bitmaps" + namespace: "systemui" + description: "This flag controls removing expired notification bitmaps" + bug: "290381858" +}
\ No newline at end of file |