-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- PC端修复bug #1 - 预装应用卸载 - 修正:卸载多个应用时报“超时”的bug - 新增:无`USB调试`权限时,自动获取授权的功能 - 关闭各应用广告 - 增强:小米帐号 按需显示 - 新增:系统安全 按需显示 - 新增:广告服务 按需显示 - 应用管家 - 新增:自启动管理 - 新增:应用卸载 - 删除:应用管理
- Loading branch information
1 parent
1475030
commit b24b812
Showing
19 changed files
with
454 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,44 @@ | ||
const startActivity = require("./startActivity"); | ||
|
||
module.exports = [ | ||
{ | ||
name: "自启动管理", | ||
packageName: "com.miui.securitycenter", | ||
className: "com.miui.permcenter.autostart.AutoStartManagementActivity", | ||
}, | ||
{ | ||
name: "通知管理", | ||
fn: () => { | ||
return startActivity({ | ||
packageName: "com.miui.notification", | ||
className: "miui.notification.management.activity.NotificationAppListActivity", | ||
}); | ||
}, | ||
packageName: "com.miui.notification", | ||
className: "miui.notification.management.activity.NotificationAppListActivity", | ||
}, | ||
// { | ||
// name: "应用管理", | ||
// packageName: "com.miui.securitycenter", | ||
// className: "com.miui.appmanager.AppManagerMainActivity", | ||
// }, | ||
// { | ||
// name: "应用升级", | ||
// packageName: "com.xiaomi.market", | ||
// className: ".ui.UpdateListActivity", | ||
// }, | ||
{ | ||
name: "应用管理", | ||
fn: () => { | ||
return startActivity({ | ||
packageName: "com.miui.securitycenter", | ||
className: "com.miui.appmanager.AppManagerMainActivity", | ||
}); | ||
}, | ||
name: "应用卸载", | ||
packageName: "com.miui.cleanmaster", | ||
className: "com.miui.optimizecenter.deepclean.installedapp.InstalledAppsActivity", | ||
}, | ||
{ | ||
name: "应用信息", | ||
fn: () => { | ||
return startActivity({ | ||
packageName: "com.android.settings", | ||
className: ".applications.ManageApplications", | ||
}); | ||
}, | ||
|
||
packageName: "com.android.settings", | ||
className: ".applications.ManageApplications", | ||
}, | ||
]; | ||
].map(action => { | ||
return app.getAppName(action.packageName) | ||
? { | ||
name: action.name, | ||
fn: () => startActivity({ | ||
packageName: action.packageName, | ||
className: action.className, | ||
}), | ||
} | ||
: null; | ||
}).filter(Boolean); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.