Merge "Fix the wrong package name to return the wrong resources."
This commit is contained in:
committed by
Android (Google) Code Review
commit
7b6e78f975
@@ -193,7 +193,7 @@ public class SuspendedAppActivity extends AlertActivity
|
||||
try {
|
||||
mSuspendingAppResources = createContextAsUser(
|
||||
UserHandle.of(mUserId), /* flags */ 0).getPackageManager()
|
||||
.getResourcesForApplication(mSuspendedPackage);
|
||||
.getResourcesForApplication(mSuspendingPackage);
|
||||
} catch (PackageManager.NameNotFoundException ne) {
|
||||
Slog.e(TAG, "Could not find resources for " + mSuspendingPackage, ne);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "CtsSuspendAppsTestCases",
|
||||
"file_patterns": ["(/|^)SuspendedAppActivity\\.java"]
|
||||
}
|
||||
],
|
||||
"postsubmit": [
|
||||
{
|
||||
"name": "FrameworksCoreTests",
|
||||
@@ -17,4 +23,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user