1 package com.android.launcher3; 2 3 import android.content.ComponentName; 4 import android.content.Context; 5 6 import com.android.launcher3.util.ResourceBasedOverride; 7 8 public class AppFilter implements ResourceBasedOverride { 9 newInstance(Context context)10 public static AppFilter newInstance(Context context) { 11 return Overrides.getObject(AppFilter.class, context, R.string.app_filter_class); 12 } 13 shouldShowApp(ComponentName app)14 public boolean shouldShowApp(ComponentName app) { 15 return true; 16 } 17 } 18