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

Commit 0732b7b7 authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

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

* commit '19ee64bcb275015a363b48fd27d1837fa6e41ccb':
  Fix install --abi for apps with no native code.
parents 3ed43b0d 03119b4b
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) {