am 3021168d: am 01f76885: am 4465bbb7: Merge "Fix crash in Settings for secondary users" into jb-mr1-dev
* commit '3021168d06bb891f38b212d3338e8397b898b25d': Fix crash in Settings for secondary users
This commit is contained in:
@@ -458,7 +458,8 @@ public class Settings extends PreferenceActivity
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (UserHandle.MU_ENABLED && UserHandle.myUserId() != 0
|
if (target.get(i) == header
|
||||||
|
&& UserHandle.MU_ENABLED && UserHandle.myUserId() != 0
|
||||||
&& !ArrayUtils.contains(SETTINGS_FOR_RESTRICTED, id)) {
|
&& !ArrayUtils.contains(SETTINGS_FOR_RESTRICTED, id)) {
|
||||||
target.remove(i);
|
target.remove(i);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user