Merge "Remove unused interface and implementation" into sc-dev
This commit is contained in:
@@ -585,11 +585,6 @@ interface IPackageManager {
|
|||||||
boolean performDexOptSecondary(String packageName,
|
boolean performDexOptSecondary(String packageName,
|
||||||
String targetCompilerFilter, boolean force);
|
String targetCompilerFilter, boolean force);
|
||||||
|
|
||||||
/**
|
|
||||||
* Ask the package manager to compile layouts in the given package.
|
|
||||||
*/
|
|
||||||
boolean compileLayouts(String packageName);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Ask the package manager to dump profiles associated with a package.
|
* Ask the package manager to dump profiles associated with a package.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -12798,21 +12798,6 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
return performDexOpt(new DexoptOptions(packageName, compilerFilter, flags));
|
return performDexOpt(new DexoptOptions(packageName, compilerFilter, flags));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Ask the package manager to compile layouts in the given package.
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public boolean compileLayouts(String packageName) {
|
|
||||||
AndroidPackage pkg;
|
|
||||||
synchronized (mLock) {
|
|
||||||
pkg = mPackages.get(packageName);
|
|
||||||
if (pkg == null) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return mViewCompiler.compileLayouts(pkg);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*package*/ boolean performDexOpt(DexoptOptions options) {
|
/*package*/ boolean performDexOpt(DexoptOptions options) {
|
||||||
if (getInstantAppPackageName(Binder.getCallingUid()) != null) {
|
if (getInstantAppPackageName(Binder.getCallingUid()) != null) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user