Merge "Don't suspend personal SMS app" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
55bf41c913
@@ -30,6 +30,7 @@ import android.content.pm.ResolveInfo;
|
||||
import android.os.IBinder;
|
||||
import android.os.ServiceManager;
|
||||
import android.provider.Settings;
|
||||
import android.provider.Telephony;
|
||||
import android.text.TextUtils;
|
||||
import android.util.ArraySet;
|
||||
import android.util.Slog;
|
||||
@@ -84,6 +85,7 @@ public class PersonalAppsSuspensionHelper {
|
||||
result.removeAll(getSystemLauncherPackages());
|
||||
result.removeAll(getAccessibilityServices());
|
||||
result.removeAll(getInputMethodPackages());
|
||||
result.remove(Telephony.Sms.getDefaultSmsPackage(mContext));
|
||||
result.remove(getSettingsPackageName());
|
||||
|
||||
final String[] unsuspendablePackages =
|
||||
|
||||
Reference in New Issue
Block a user