GitXplorerGitXplorer
X

DeveloperSettings

public
14 stars
3 forks
0 issues

Commits

List of commits on branch master.
Unverified
237babce42c4e0c8bc9d8c6246c5e07078a9dffb

Update README.md

XXuDaojie committed 8 years ago
Unverified
9796b55556bc4885eca00400954ec6630dcbb6f7

Update README.md

XXuDaojie committed 8 years ago
Unverified
3e47a4a5b0ad39a5275ad85a62732ac446b9ea8f

Update README.md

XXuDaojie committed 8 years ago
Unverified
71746a27008ce886c3d784afea7fc273380c96a2

Update apk

XXuDaojie committed 8 years ago
Unverified
042fd4137fdbf3e4d863aa6186e586d78f4404ce

Update version to 0.4.2

XXuDaojie committed 8 years ago
Unverified
1ff82386073bff400ee0b9d6bb729287900b695f

在子线程中获取root权限

XXuDaojie committed 8 years ago

README

The README file for this repository.

DeveloperSettings

用于快速启动开发者选项中一些常用的功能,需要root权限; 之前使用的是Trinea开发助手,本来想在这之上适配 Android 7.0 新增加的Tile,后面发现未开源就开发了这个,目前功能没那么多,只增加了我自己常用的。

下载

app-releaseGet it on Google Play

原理

  • 开发助手使用的是Accessibility机制,优点是无需root,但是兼容性可能差点,毕竟现在每个手机厂商对ui都是有改动的。
  • DeveloperSettings是参考了 Android 源码中设置的代码,对于里面使用到的隐藏Api,目前使用反射和Shell方式调用,缺点是需要使用root权限;

截图

Thanks

aosp-packages/apps/Settings
AndroidXRef
Trinea/android-common-ShellUtils