-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":41,"versionName":"202009081116","enabled":true,"outputFile":"ICL02Blood_V41_202009081116_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V41_202009081116_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":44,"versionName":"202009081835","enabled":true,"outputFile":"ICL02Blood_V44_202009081835_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Blood_V44_202009081835_release.apk","properties":{}}]
\ No newline at end of file
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
+import android.view.WindowManager;
import com.ic.blood.fragment.BloodFragment;
import com.ic.blood.util.IcLog;
IntentFilter intentFilter = new IntentFilter();
intentFilter.addAction(Intent.ACTION_SCREEN_OFF);
registerReceiver(screenOnOffReceiver, intentFilter);
+ getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
}
private void commitFragment(Fragment fragment) {