Merge "Add the implementation of get all packages in IPackageManagerNative.aidl."
This commit is contained in:
committed by
Android (Google) Code Review
commit
f6849b2726
@@ -22756,6 +22756,11 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
}
|
||||
|
||||
private class PackageManagerNative extends IPackageManagerNative.Stub {
|
||||
@Override
|
||||
public String[] getAllPackages() {
|
||||
return PackageManagerService.this.getAllPackages().toArray(new String[0]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String[] getNamesForUids(int[] uids) throws RemoteException {
|
||||
final String[] results = PackageManagerService.this.getNamesForUids(uids);
|
||||
|
||||
Reference in New Issue
Block a user