Explorar o código

[TBNPI-2669]CTS问题,去除android.intent.action.BOOT_P0广播接收

Yuping Liang hai 10 meses
pai
achega
cfa3a552fc

+ 2 - 2
app/build.gradle

@@ -18,8 +18,8 @@ android {
         applicationId "com.tcl.customerapi"
         minSdkVersion 29
         targetSdkVersion 29
-        versionCode 1107
-        versionName "1.1.07"
+        versionCode 1108
+        versionName "1.1.08"
 
         multiDexEnabled true
     }

+ 0 - 1
app/src/main/AndroidManifest.xml

@@ -92,7 +92,6 @@
                 <action android:name="com.tcl.customerapi.usb_bootanimation_copy_fail" />
                 <action android:name="com.tcl.customerapi.logo_copy_err" />
                 <action android:name="android.intent.action.BOOT_COMPLETED" />
-                <action android:name="android.intent.action.BOOT_P0" />
             </intent-filter>
             <intent-filter>
                 <action android:name="android.intent.action.MEDIA_UNMOUNTED" />

+ 1 - 1
app/src/main/java/com/tcl/customerapi/MyReceiver.java

@@ -98,7 +98,7 @@ public class MyReceiver extends BroadcastReceiver {
 
             Toast.makeText(arg0, "Error!!Copy logo.jpg fail!!", Toast.LENGTH_SHORT).show();
 
-        } else if (tmp.equalsIgnoreCase(defs.BOOT_COMPLETED) || tmp.equalsIgnoreCase(defs.BOOT_P0)) {
+        } else if (tmp.equalsIgnoreCase(defs.BOOT_COMPLETED)) {
             Log.i("api", "power on and check tlc_oatfile  !");
             if (FileUtil.isFile(defs.otaFilePath)) {
                 Log.i("api", "power on and is tcl_oatfile !");