Android 8.0 利用Settings.Global属性跨应用定义标志位

需求 须要在不一样应用中定义一个标志位,这里介绍下系统级别的应用和非系统级别应用如何添加。固然这不必定是最好的办法,由于不可以添加intent.putExtra()属性。android 系统级别应用 在须要定义的地方使用 SystemProperties.set(“dev.xxx.xxx”, “false”);web 在获取的部分使用 SystemProperties.getBoolean(“ro
相关文章
相关标签/搜索