-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":77,"versionName":"202106212050","enabled":true,"outputFile":"ICL02Blood_V77_202106212050_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V77_202106212050_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":78,"versionName":"202107061525","enabled":true,"outputFile":"ICL02Blood_V78_202107061525_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V78_202107061525_release.apk","properties":{}}]
\ No newline at end of file
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mApp = (BloodApp) mContext.getApplicationContext();
- initWakeLock(mContext);
+
delayHandler = new DelayExecuteHandler(this);
}
@Override
public void onResume() {
super.onResume();
+ initWakeLock(mContext);
if (mWakeLock != null) {
mWakeLock.acquire();
}
@SuppressLint("InvalidWakeLockTag")
private void initWakeLock(Context context) {
PowerManager powerManager = (PowerManager) context.getSystemService(POWER_SERVICE);
- if (powerManager != null) {
+ if (powerManager != null && mWakeLock == null) {
mWakeLock = powerManager.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "BloodWakeLock");
}
}
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mApp = (BloodApp) mContext.getApplicationContext();
- initWakeLock(mContext);
delayHandler = new DelayExecuteHandler(this);
}
@Override
public void onResume() {
super.onResume();
+ initWakeLock(mContext);
if (mWakeLock != null) {
mWakeLock.acquire();
}
@SuppressLint("InvalidWakeLockTag")
private void initWakeLock(Context context) {
PowerManager powerManager = (PowerManager) context.getSystemService(POWER_SERVICE);
- if (powerManager != null) {
+ if (powerManager != null && mWakeLock==null) {
mWakeLock = powerManager.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "BloodWakeLock");
}
}
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mApp = (BloodApp) mContext.getApplicationContext();
- initWakeLock(mContext);
delayHandler = new DelayExecuteHandler(this);
}
@Override
public void onResume() {
super.onResume();
+ initWakeLock(mContext);
if (mWakeLock != null) {
mWakeLock.acquire();
}
@SuppressLint("InvalidWakeLockTag")
private void initWakeLock(Context context) {
PowerManager powerManager = (PowerManager) context.getSystemService(POWER_SERVICE);
- if (powerManager != null) {
+ if (powerManager != null && mWakeLock == null) {
mWakeLock = powerManager.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "BloodWakeLock");
}
}
-#Mon Jun 21 20:50:18 CST 2021
-VERSION_CODE=77
+#Tue Jul 06 15:25:52 CST 2021\r
+VERSION_CODE=78\r