Merge "Unified work lock checkbox should roll back when user cancels confirm dialog" into nyc-dev am: 4f19945
am: 0710a4c
* commit '0710a4c96dcfa9684535fd67e2b5b81d3fc3e88d':
Unified work lock checkbox should roll back when user cancels confirm dialog
Change-Id: Ifb3574fc80edb75662baa275b537761c574f6605
This commit is contained in:
@@ -1282,17 +1282,15 @@ public class SecuritySettings extends SettingsPreferenceFragment
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.setNegativeButton(R.string.cancel,
|
.setNegativeButton(R.string.cancel, null)
|
||||||
new DialogInterface.OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(DialogInterface dialog, int whichButton) {
|
|
||||||
parentFragment.updateUnificationPreference();
|
|
||||||
dismiss();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
|
||||||
.create();
|
.create();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onDismiss(DialogInterface dialog) {
|
||||||
|
super.onDismiss(dialog);
|
||||||
|
((SecuritySettings) getParentFragment()).updateUnificationPreference();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user