1# Copyright (c) 2017, the R8 project authors. Please see the AUTHORS file 2# for details. All rights reserved. Use of this source code is governed by a 3# BSD-style license that can be found in the LICENSE file. 4 5# Keep the application entry point. Get rid of everything that is not 6# reachable from there. 7-keep public class * extends *.Instrumentation { 8 <init>(); 9} 10-keep public class * extends *.Application { 11 <init>(); 12 void attachBaseContext(*.Context); 13} 14-keep public class * extends *.Activity { 15 <init>(); 16} 17-keep public class * extends *.Service { 18 <init>(); 19} 20-keep public class * extends *.ContentProvider { 21 <init>(); 22} 23-keep public class * extends *.BroadcastReceiver { 24 <init>(); 25} 26-keep public class * extends *.BackupAgent { 27 <init>(); 28} 29