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

Commit bd784e96 authored by Jeff Hao's avatar Jeff Hao
Browse files

Some cleanup for <uses-library> change.

Addresses comments made in:
https://googleplex-android-review.git.corp.google.com/#/c/976512

Bug: 26880306
Change-Id: I382fb39f3bb5de5a03506f5526d909cf55530542
parent 864bc48e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -22,9 +22,7 @@ import static com.android.server.pm.InstructionSets.getDexCodeInstructionSets;
import static com.android.server.pm.PackageManagerServiceCompilerMapping.getCompilerFilterForReason;

import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.IOtaDexopt;
import android.content.pm.PackageManager;
import android.content.pm.PackageParser;
import android.os.Environment;
import android.os.RemoteException;
+3 −3
Original line number Diff line number Diff line
@@ -498,8 +498,8 @@ public class PackageManagerService extends IPackageManager.Stub {
    public static final int REASON_LAST = REASON_FORCED_DEXOPT;
    // Special String to skip shared libraries check during compilation.
    private static final String SPECIAL_SHARED_LIBRARY = "&";
    /** Special library name that skips shared libraries check during compilation. */
    private static final String SKIP_SHARED_LIBRARY_CHECK = "&";
    final ServiceThread mHandlerThread;
@@ -2336,7 +2336,7 @@ public class PackageManagerService extends IPackageManager.Stub {
                                        dexoptNeeded, DEXOPT_PUBLIC /*dexFlags*/,
                                        getCompilerFilterForReason(REASON_SHARED_APK),
                                        StorageManager.UUID_PRIVATE_INTERNAL,
                                        SPECIAL_SHARED_LIBRARY);
                                        SKIP_SHARED_LIBRARY_CHECK);
                            }
                        } catch (FileNotFoundException e) {
                            Slog.w(TAG, "Library not found: " + lib);