允许自启动与电量设置跳转
1.如果发现某些机型出现问题,欢迎反馈issue
2.如果有补充已有机型的Data,可以pull,共同完善
- add some plugins in project build.gradle like this
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- in your app build.gradle
dependencies {
compile 'com.github.dxsdyhm:AlarmAndJob:latestVersion'
}
try {
AutoStartUtils.newInstance(context).toTargetActivity();
} catch (Exception e) {
e.printStackTrace();
Toast.makeText(context,"无法自动跳转!!!!!",Toast.LENGTH_LONG).show();
}