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

Commit 03119b4b authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

am 2998964d: Fix install --abi for apps with no native code.

* commit '2998964dabbf974e973192dc16c1606c45e0bf1e':
  Fix install --abi for apps with no native code.
parents ab0d796c 61e9bf24
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5485,6 +5485,8 @@ public class PackageManagerService extends IPackageManager.Stub {
                    if (copyRet >= 0) {
                        pkg.applicationInfo.primaryCpuAbi = abiList[copyRet];
                    } else if (copyRet == PackageManager.NO_NATIVE_LIBRARIES && abiOverride != null) {
                        pkg.applicationInfo.primaryCpuAbi = abiOverride;
                    }
                }
            } catch (IOException ioe) {