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

Commit 1d6554d7 authored by Paul Duffin's avatar Paul Duffin
Browse files

Remove dependency on dalvik.annotation.compat.VersionCodes

Allows removal of dependency on art.module.api.annotations.

Test: m droid
Change-Id: Ib0632a3eccfed73d66a51afc0ad6aa50c0311501
(cherry picked from commit ce1284a8)
Exempt-From-Owner-Approval: cherry pick
parent 86b1664a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -123,7 +123,6 @@ import com.android.server.pm.dex.DexManager;
import com.android.server.wm.ActivityServiceConnectionsHolder;
import com.android.server.wm.WindowManagerService;

import dalvik.annotation.compat.VersionCodes;
import dalvik.system.VMRuntime;

import java.io.File;
@@ -344,7 +343,7 @@ public final class ProcessList {
     * Pointers</a>
     */
    @ChangeId
    @EnabledAfter(targetSdkVersion = VersionCodes.Q)
    @EnabledAfter(targetSdkVersion = Build.VERSION_CODES.Q)
    private static final long NATIVE_HEAP_POINTER_TAGGING = 135754954; // This is a bug id.

    /**
@@ -360,7 +359,7 @@ public final class ProcessList {
     * app has made them world-readable.
     */
    @ChangeId
    @EnabledAfter(targetSdkVersion = VersionCodes.Q)
    @EnabledAfter(targetSdkVersion = Build.VERSION_CODES.Q)
    private static final long APP_DATA_DIRECTORY_ISOLATION = 143937733; // See b/143937733

    ActivityManagerService mService = null;