Fix animation scale settings being reset to 1x when disabling development options

This commit is contained in:
Tad 2018-01-04 17:17:30 -05:00
parent a4cde9bb89
commit 0600ccd154

View File

@ -49,6 +49,7 @@ sed -i 's/static final boolean NDEF_PUSH_ON_DEFAULT = true;/static final boolean
enter "packages/apps/Settings"
sed -i 's/Settings.Secure.WEB_ACTION_ENABLED, 1/Settings.Secure.WEB_ACTION_ENABLED, 0/' src/com/android/settings/applications/ManageDomainUrls.java; #Disable "Instant Apps"
sed -i 's/Float.parseFloat(newValue.toString()) : 1;/Float.parseFloat(newValue.toString()) : 0.5f;/' src/com/android/settings/DevelopmentSettings.java; #Always reset animation scales to 0.5
enter "packages/apps/Trebuchet"
sed -i 's|homescreen_search_default">true|homescreen_search_default">false|' res/values/preferences_defaults.xml; #Disable search