diff options
| author | Luca Stefani <luca.stefani.ge1@gmail.com> | 2019-09-20 14:09:28 +0200 |
|---|---|---|
| committer | Carlos Solano <csolano@gmail.com> | 2019-10-04 08:35:51 +0200 |
| commit | a417141e62c1cc84f64bd8bac984f727e1d80eaa (patch) | |
| tree | b6034f4297123eee43c593e8db22de20e089025c | |
| parent | ba1c178770b45d10050c60221d57ee86c10f6b3d (diff) | |
oppo-common: DeviceHandler: Don't optimize out KeyHandler's constructor
* We actually need it ^.^
Change-Id: I92abad87edd7da0560ac02e2f95ae079afd16527
| -rw-r--r-- | DeviceHandler/proguard.flags | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/DeviceHandler/proguard.flags b/DeviceHandler/proguard.flags index 58ef4d7..8c6271d 100644 --- a/DeviceHandler/proguard.flags +++ b/DeviceHandler/proguard.flags @@ -1,5 +1,10 @@ -keep public class com.slim.device.KeyHandler +# Keep keyhandler constructor +-keep public class * implements com.android.internal.os.DeviceKeyHandler { + public <init>(android.content.Context); +} + -keepclassmembers public class com.slim.device.KeyHandler { *; } |
