Settings/src/com/android/settings/applications/manageapplications/ManageApplications.java
public class ManageApplications extends InstrumentedFragment
filterType == FILTER_APPS_POWER_WHITELIST_ALL) {
entries = removeDuplicateIgnoringUser(entries);
}
+ for (int i = 0; i < entries.size(); i++) {
+ AppEntry appEntry = entries.get(i);
+ if ("com.android.xxx".equals(appEntry.info.packageName) {
+ entries.remove(i);
+ i--;
+ }
+ }
mEntries = entries;
mOriginalEntries = entries;
notifyDataSetChanged();
Settings/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java
public class RecentNotifyingAppsPreferenceController extends AbstractPreferenceC
final NotifyingApp app = recentApps.get(i);
// Bind recent apps to existing prefs if possible, or create a new pref.
final String pkgName = app.getPackage();
+ if("com.android.xxx".equals(pkgName)){
+ continue;
+ }
final ApplicationsState.AppEntry appEntry =
mApplicationsState.getEntry(app.getPackage(), app.getUserId());
if (appEntry == null) {