Merge changes I22d799f8,I1bc14e7a into nyc-dev

* changes:
  Guard against crash in dev options
  Switch to whitelist for animations
This commit is contained in:
Jason Monk
2016-03-28 14:14:01 +00:00
committed by Android (Google) Code Review
7 changed files with 16 additions and 8 deletions

View File

@@ -1720,6 +1720,9 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
DialogInterface.OnDismissListener onDismissListener = new DialogInterface.OnDismissListener() {
@Override
public void onDismiss(DialogInterface dialog) {
if (getActivity() == null) {
return;
}
updateAllOptions();
}
};