"filters": [],
"versionCode": 1,
"versionName": "1.0",
- "outputFile": "ICSOS_V6_2110270942_release.apk"
+ "outputFile": "ICSOS_V7_2110281634_release.apk"
}
]
}
\ No newline at end of file
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.CALL_PRIVILEGED" />
+ <uses-permission android:name="android.permission.CALL_PHONE" />
<application
android:name=".App"
@Override
public void onChange(boolean selfChange) {
handler.post(() -> {
- sosTask();
+ if (phoneNumList != null && phoneNumList.size() == 0) {
+ sosTask();
+ }
});
}
};
.getMethod("getService", String.class);
IBinder binder = (IBinder) method.invoke(null, new Object[]{Context.TELEPHONY_SERVICE});
ITelephony telephony = ITelephony.Stub.asInterface(binder);
- telephony.endCall();
+ if (telephony != null) {
+ telephony.endCall();
+ }
} catch (Exception e) {
e.printStackTrace();
}
-#Wed Oct 27 09:42:49 CST 2021
-VERSION_CODE=6
+#Thu Oct 28 16:34:22 CST 2021
+VERSION_CODE=7