version:2.7
fix:更新桌面唤醒 update:
This commit is contained in:
@@ -61,8 +61,8 @@ android {
|
|||||||
//新平台正式
|
//新平台正式
|
||||||
newly {
|
newly {
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
versionCode 17
|
versionCode 18
|
||||||
versionName "2.6"
|
versionName "2.7"
|
||||||
/*********************************极光推送************************************/
|
/*********************************极光推送************************************/
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
XG_ACCESS_ID : "1500026372",
|
XG_ACCESS_ID : "1500026372",
|
||||||
@@ -83,8 +83,8 @@ android {
|
|||||||
|
|
||||||
MTKnewly {
|
MTKnewly {
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
versionCode 7
|
versionCode 8
|
||||||
versionName "1.6"
|
versionName "1.7"
|
||||||
/*********************************极光推送************************************/
|
/*********************************极光推送************************************/
|
||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
XG_ACCESS_ID : "1500026372",
|
XG_ACCESS_ID : "1500026372",
|
||||||
|
|||||||
@@ -89,7 +89,8 @@ public class BootReceiver extends BroadcastReceiver {
|
|||||||
new BootManager(context).start();
|
new BootManager(context).start();
|
||||||
break;
|
break;
|
||||||
case BOOT_COMPLETED:
|
case BOOT_COMPLETED:
|
||||||
start.onstar(SystemClock.elapsedRealtime());
|
new BootManager(context).start();
|
||||||
|
// start.onstar(SystemClock.elapsedRealtime());
|
||||||
case Intent.ACTION_BATTERY_CHANGED:
|
case Intent.ACTION_BATTERY_CHANGED:
|
||||||
case Intent.ACTION_BATTERY_LOW:
|
case Intent.ACTION_BATTERY_LOW:
|
||||||
case Intent.ACTION_BATTERY_OKAY:
|
case Intent.ACTION_BATTERY_OKAY:
|
||||||
@@ -112,7 +113,6 @@ public class BootReceiver extends BroadcastReceiver {
|
|||||||
// case "android.intent.action.MEDIA_REMOVED":
|
// case "android.intent.action.MEDIA_REMOVED":
|
||||||
// case "android.intent.action.MEDIA_BAD_REMOVAL":
|
// case "android.intent.action.MEDIA_BAD_REMOVAL":
|
||||||
//除了USER_PRESENT应该都收不到
|
//除了USER_PRESENT应该都收不到
|
||||||
Log.e("fht", "BootReceiver MSG:" + intent.getAction());
|
|
||||||
JGYUtils.startServices(context);
|
JGYUtils.startServices(context);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user