Changes to deal with restrictions API change
Bug: 8633967 Change-Id: I5d8e843c850ad3eff900409a9006666ddf91b061
This commit is contained in:
@@ -134,16 +134,12 @@ public class Settings extends PreferenceActivity
|
||||
private Header mLastHeader;
|
||||
private boolean mListeningToAccountUpdates;
|
||||
|
||||
private List<RestrictionEntry> mAppRestrictions;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
if (getIntent().hasExtra(EXTRA_UI_OPTIONS)) {
|
||||
getWindow().setUiOptions(getIntent().getIntExtra(EXTRA_UI_OPTIONS, 0));
|
||||
}
|
||||
|
||||
mAppRestrictions = getApplicationRestrictions();
|
||||
|
||||
mAuthenticatorHelper = new AuthenticatorHelper();
|
||||
mAuthenticatorHelper.updateAuthDescriptions(this);
|
||||
mAuthenticatorHelper.onAccountsUpdated(this, null);
|
||||
|
||||
Reference in New Issue
Block a user