diff options
| author | 2021-03-03 13:32:00 +0000 | |
|---|---|---|
| committer | 2021-03-03 13:32:00 +0000 | |
| commit | c8532f3deea3302e8be41f72e327691fe69458c7 (patch) | |
| tree | f4bc3a19c5473336cc734b116f24ee48946ad3f7 | |
| parent | 7fadc9f800f7517075eaa6ea513b76ebe74cf2fa (diff) | |
| parent | d068d394a556a438e460996c5df13f73ab499008 (diff) | |
Merge "Update mount values to be consistent with IVold.aidl" am: ddd2a13c38 am: 3fe1ba327b am: d068d394a5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1605514
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I355197c6f1e9a5e41ad7738b31cc1515718891d9
| -rw-r--r-- | core/jni/com_android_internal_os_Zygote.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/core/jni/com_android_internal_os_Zygote.cpp b/core/jni/com_android_internal_os_Zygote.cpp index c9062d8a50bc..bcfb06b15ab8 100644 --- a/core/jni/com_android_internal_os_Zygote.cpp +++ b/core/jni/com_android_internal_os_Zygote.cpp @@ -304,15 +304,14 @@ static std::array<UsapTableEntry, USAP_POOL_SIZE_MAX_LIMIT> gUsapTable; static FileDescriptorTable* gOpenFdTable = nullptr; // Must match values in com.android.internal.os.Zygote. -// Note that there are gaps in the constants: -// This is to further keep the values consistent with IVold.aidl +// The values should be consistent with IVold.aidl enum MountExternalKind { MOUNT_EXTERNAL_NONE = 0, MOUNT_EXTERNAL_DEFAULT = 1, - MOUNT_EXTERNAL_INSTALLER = 5, - MOUNT_EXTERNAL_PASS_THROUGH = 7, - MOUNT_EXTERNAL_ANDROID_WRITABLE = 8, - MOUNT_EXTERNAL_COUNT = 9 + MOUNT_EXTERNAL_INSTALLER = 2, + MOUNT_EXTERNAL_PASS_THROUGH = 3, + MOUNT_EXTERNAL_ANDROID_WRITABLE = 4, + MOUNT_EXTERNAL_COUNT = 5 }; // Must match values in com.android.internal.os.Zygote. |