Merge "Don't display 1st-time dialog when disabling Data Saver." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b5cc6af44f
@@ -56,7 +56,8 @@ public class DataSaverTile extends QSTile<QSTile.BooleanState> implements
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void handleClick() {
|
protected void handleClick() {
|
||||||
if (Prefs.getBoolean(mContext, Prefs.Key.QS_DATA_SAVER_DIALOG_SHOWN, false)) {
|
if (mState.value
|
||||||
|
|| Prefs.getBoolean(mContext, Prefs.Key.QS_DATA_SAVER_DIALOG_SHOWN, false)) {
|
||||||
// Do it right away.
|
// Do it right away.
|
||||||
toggleDataSaver();
|
toggleDataSaver();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user