Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41b469e9 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge changes from topic "PMS_remove_onlyCore"

* changes:
  Telephony: deprecate RESULT_SMS_RECEIVED_WHILE_ENCRYPTED
  BootReceiver: stop using IPackageManager::isOnlyCoreApps()
  StorageManagerService: stop using IPackageManager::isOnlyCoreApps()
  SystemUI: stop using IPackageManager::isOnlyCoreApps()
  SettingsProvider: stop using IPackageManager::isOnlyCoreApps()
  PackageManager: remove INSTALL_PARSE_FAILED_ONLY_COREAPP_ALLOWED
  PackageManagerService: remove unused support for onlyCore mode
parents 89ec54fe e6bc6653
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -195,8 +195,7 @@ public class PackageParsingPerfTest {
            // For testing, just disable enforcement to avoid hooking up to compat framework
            ParseTypeImpl(ParseInput.Callback { _, _, _ -> false })
        }
        val parser = ParsingPackageUtils(false,
            null,
        val parser = ParsingPackageUtils(null,
            null,
            emptyList(),
            object :
+1 −1
Original line number Diff line number Diff line
@@ -36134,7 +36134,7 @@ package android.provider {
    field public static final int RESULT_SMS_NULL_MESSAGE = 8; // 0x8
    field public static final int RESULT_SMS_NULL_PDU = 7; // 0x7
    field public static final int RESULT_SMS_OUT_OF_MEMORY = 3; // 0x3
    field public static final int RESULT_SMS_RECEIVED_WHILE_ENCRYPTED = 9; // 0x9
    field @Deprecated public static final int RESULT_SMS_RECEIVED_WHILE_ENCRYPTED = 9; // 0x9
    field public static final int RESULT_SMS_UNSUPPORTED = 4; // 0x4
    field @Deprecated public static final String SECRET_CODE_ACTION = "android.provider.Telephony.SECRET_CODE";
    field public static final String SIM_FULL_ACTION = "android.provider.Telephony.SIM_FULL";
+0 −1
Original line number Diff line number Diff line
@@ -620,7 +620,6 @@ interface IPackageManager {
    VerifierDeviceIdentity getVerifierDeviceIdentity();

    boolean isFirstBoot();
    boolean isOnlyCoreApps();
    boolean isDeviceUpgrading();

    /** Reflects current DeviceStorageMonitorService state */
+0 −8
Original line number Diff line number Diff line
@@ -2159,14 +2159,6 @@ public abstract class PackageManager {
     */
    public static final int INSTALL_FAILED_PROCESS_NOT_DEFINED = -122;

    /**
     * Installation parse return code: system is in a minimal boot state, and the parser only
     * allows the package with {@code coreApp} manifest attribute to be a valid application.
     *
     * @hide
     */
    public static final int INSTALL_PARSE_FAILED_ONLY_COREAPP_ALLOWED = -123;

    /**
     * Installation failed return code: the {@code resources.arsc} of one of the APKs being
     * installed is compressed or not aligned on a 4-byte boundary. Resource tables that cannot be
+5 −0
Original line number Diff line number Diff line
@@ -930,7 +930,12 @@ public final class Telephony {
            /**
             * Set as a "result" extra in the {@link #SMS_REJECTED_ACTION} intent to indicate an sms
             * was received while the phone was in encrypted state.
             *
             * @deprecated This result is never used on devices that launched with Android 10 (API
             * level 29) or higher, since Android's storage encryption implementation has changed
             * and it no longer can cause the rejection of incoming SMS messages.
             */
            @Deprecated
            public static final int RESULT_SMS_RECEIVED_WHILE_ENCRYPTED = 9;

            /**
Loading