Files
frameworks_base/packages/SystemUI/shared/proguard.flags
Jared Duke 3b6191e651 Fix gson usage with R8 full mode
Ensure the appropriate signatures are retained for ClockRegistry's gson
usage when R8 full mode is enabled.

Bug: 215530220
Bug: 229771520
Test: m + boot tests
Change-Id: I824b870a355a4cfea04e55d5648a6c441ab446d3
(cherry picked from commit 994594ba6f)
Merged-In: I824b870a355a4cfea04e55d5648a6c441ab446d3
2022-10-19 11:47:51 +00:00

4 lines
275 B
Plaintext

# Retain signatures of TypeToken and its subclasses for gson usage in ClockRegistry
-keepattributes Signature
-keep,allowobfuscation,allowshrinking class com.google.gson.reflect.TypeToken
-keep,allowobfuscation,allowshrinking class * extends com.google.gson.reflect.TypeToken