Skip to content
Commit d168885c authored by Felka Chang's avatar Felka Chang
Browse files

Fix the wrong package name to return the wrong resources.

It should pass mSuspendingPackage instead of mSuspendedPackage as the
parameter of the getResourcesForApplication.

Root cause: The intellij is very smart to provide the autocomplete
    options and the developer choose the wrong option.
Solution:
    * Add file_pattern in TEST_MAPPING to trigger the CTS tests.
    * The developer should take the autocomplete option very
      carefully especially the options are very alike.

Fixes: 171835218
Fixes: 171779738
Test: atest CtsSuspendAppsTestCases
Test: atest -p frameworks/base/core/java/com/android/internal/app
Change-Id: I0a213e5fcbf207b89f203e25cf1ace1b8406a879
parent 68e9f022
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment