OLD | NEW |
---|---|
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Contains flags that we'd like all Chromium .apks to use. | 5 # Contains flags that we'd like all Chromium .apks to use. |
6 | 6 |
7 # Keep line number information, useful for stack traces. | 7 # Keep line number information, useful for stack traces. |
8 -keepattributes SourceFile,LineNumberTable | 8 -keepattributes SourceFile,LineNumberTable |
9 | 9 |
10 # Keep all CREATOR fields within Parcelable that are kept. | 10 # Keep all CREATOR fields within Parcelable that are kept. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
50 -optimizations !class/merging/* | 50 -optimizations !class/merging/* |
51 | 51 |
52 # Allowing Proguard to change modifiers. This change shrinks the .dex size by | 52 # Allowing Proguard to change modifiers. This change shrinks the .dex size by |
53 # ~1%, and reduces the method count by ~4%. | 53 # ~1%, and reduces the method count by ~4%. |
54 -allowaccessmodification | 54 -allowaccessmodification |
55 | 55 |
56 # The support library contains references to newer platform versions. | 56 # The support library contains references to newer platform versions. |
57 # Don't warn about those in case this app is linking against an older | 57 # Don't warn about those in case this app is linking against an older |
58 # platform version. We know about them, and they are safe. | 58 # platform version. We know about them, and they are safe. |
59 -dontwarn android.support.** | 59 -dontwarn android.support.** |
60 | |
61 # This class member is referenced in BottomSheetBottomNav as a temporary | |
62 # measure until the support library contains a solution for disabling shifting | |
63 # mode. TODO(twellington): remove once support library has a fix and is rolled. | |
64 -keepclassmembers class android.support.design.internal.BottomNavigationMenuView { | |
agrieve
2017/03/14 18:06:34
I think adding this is fine, but I think a better
Theresa
2017/03/14 18:14:22
Done.
| |
65 boolean mShiftingMode; | |
66 } | |
OLD | NEW |