File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
android-sdk/mixpush-meizu/src/main/java/cn/leancloud/flyme Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -137,11 +137,7 @@ public void done(AVException e) {
137137 private static boolean checkFlymeManifest (Context context ) {
138138 boolean result = false ;
139139 try {
140- result = AVManifestUtils .checkPermission (context , android .Manifest .permission .INTERNET )
141- && AVManifestUtils .checkPermission (context , android .Manifest .permission .READ_PHONE_STATE )
142- && AVManifestUtils .checkPermission (context , android .Manifest .permission .ACCESS_NETWORK_STATE )
143- && AVManifestUtils .checkPermission (context , Manifest .permission .WRITE_EXTERNAL_STORAGE )
144- && AVManifestUtils .checkReceiver (context , flymePushReceiverClazz );
140+ result = AVManifestUtils .checkReceiver (context , flymePushReceiverClazz );
145141 } catch (Exception e ) {
146142 LOGGER .d (e .getMessage ());
147143 }
You can’t perform that action at this time.
0 commit comments