Platform: RK3288
OS: Android 6.0
Kernel: 3.10.92
数据库从db改成了xml的形式
/data/data/com.android.providers.settings/../settings.db --> /data/system/users/userid/settings_[system|global|secure].xml
global,secure,system三者区别:
Nested classes
class Settings.Global
Global system settings, containing preferences that always apply identically to all defined users.
class Settings.Secure
Secure system settings, containing system preferences that applications can read but are not allowed to write.
class Settings.System
System settings, containing miscellaneous system preferences.
三个输入法相关设置的作用:
default_input_method
系统默认选择的输入法
enabled_input_methods
当前系统支持的输入法,会在setting应用的界面列出来
selected_input_method_subtype
默认输入法使用哪种语言,比如搜狗输入法是英文或者中文
针对输入法的修改可以直接在
/data/system/users/0/settings_secure.xml 中修改生效
http://stackoverflow.com/questions/33071758/you-cannot-change-private-secure-settings-how-to-toggle-ringtone-vibration-i
https://github.com/android/platform_frameworks_base/commit/683914bfb13908bf380a25258cd45bcf43f13dc9
https://developer.android.com/reference/android/provider/Settings.html
http://blog.csdn.net/zhoumushui/article/details/40051331
https://github.com/android/platform_frameworks_base/commit/683914bfb13908bf380a25258cd45bcf43f13dc9
OS: Android 6.0
Kernel: 3.10.92
数据库从db改成了xml的形式
/data/data/com.android.providers.settings/../settings.db --> /data/system/users/userid/settings_[system|global|secure].xml
global,secure,system三者区别:
Nested classes
class Settings.Global
Global system settings, containing preferences that always apply identically to all defined users.
class Settings.Secure
Secure system settings, containing system preferences that applications can read but are not allowed to write.
class Settings.System
System settings, containing miscellaneous system preferences.
三个输入法相关设置的作用:
default_input_method
系统默认选择的输入法
enabled_input_methods
当前系统支持的输入法,会在setting应用的界面列出来
selected_input_method_subtype
默认输入法使用哪种语言,比如搜狗输入法是英文或者中文
针对输入法的修改可以直接在
/data/system/users/0/settings_secure.xml 中修改生效
数据库的处理文件是:
frameworks\base\packages\SettingsProvider\src\com\android\providers\settings\DatabaseHelper.java
http://stackoverflow.com/questions/33071758/you-cannot-change-private-secure-settings-how-to-toggle-ringtone-vibration-i
https://github.com/android/platform_frameworks_base/commit/683914bfb13908bf380a25258cd45bcf43f13dc9
https://developer.android.com/reference/android/provider/Settings.html
http://blog.csdn.net/zhoumushui/article/details/40051331
https://github.com/android/platform_frameworks_base/commit/683914bfb13908bf380a25258cd45bcf43f13dc9