Don't recreate the list on resume.
Cache the default circled icon.
Bug:
8802380
Change-Id: I46520b591fc3ffd5e51a1c7dda86e811c03a76a2
loadProfile();
setHasOptionsMenu(true);
IntentFilter filter = new IntentFilter(Intent.ACTION_USER_REMOVED);
+ filter.addAction(Intent.ACTION_USER_ADDED);
filter.addAction(Intent.ACTION_USER_INFO_CHANGED);
getActivity().registerReceiverAsUser(mUserChangeReceiver, UserHandle.ALL, filter, null,
mHandler);
- }
-
- @Override
- public void onResume() {
- super.onResume();
- loadProfile();
updateUserList();
}