Merge "Update UI when TARE settings revert to default"
This commit is contained in:
committed by
Android (Google) Code Review
commit
1d441b72c5
@@ -74,6 +74,7 @@ public class TareHomePage extends Activity {
|
||||
Toast.makeText(this, R.string.tare_settings_reverted_toast, Toast.LENGTH_LONG).show();
|
||||
Settings.Global.putString(getApplicationContext().getContentResolver(),
|
||||
Settings.Global.ENABLE_TARE, null);
|
||||
setEnabled(Settings.Global.DEFAULT_ENABLE_TARE == SETTING_VALUE_ON);
|
||||
}
|
||||
|
||||
/** Opens up the AlarmManager TARE policy page with its factors to view and edit */
|
||||
|
Reference in New Issue
Block a user