commit | e72ec1761f576d953c7d362d891f44f4b5432a71 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Mon Jul 16 13:33:36 2018 -0700 |
committer | Felipe Leme <felipeal@google.com> | Mon Jul 16 13:33:56 2018 -0700 |
tree | ddc490023a217cca6963b7fcb95bc67fd5c65f27 | |
parent | 8726b3b84c9ef9d0961d7b594da0aec6bb5a0da9 [diff] [blame] |
Fixed test case. Bug: 111346876 Test: m -j FrameworksServicesTests && \ adb install -r -t -g \ ${OUT}/data/app/FrameworksServicesTests/FrameworksServicesTests.apk && \ adb shell am instrument -e class \ "com.android.server.locksettings.LockSettingsShellCommandTest" \ -w "com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner" Change-Id: I8ad425cb9777934b14eaf3c738411beed0357c99
diff --git a/services/tests/servicestests/src/com/android/server/locksettings/LockSettingsShellCommandTest.java b/services/tests/servicestests/src/com/android/server/locksettings/LockSettingsShellCommandTest.java index 424c08c..2214d74 100644 --- a/services/tests/servicestests/src/com/android/server/locksettings/LockSettingsShellCommandTest.java +++ b/services/tests/servicestests/src/com/android/server/locksettings/LockSettingsShellCommandTest.java
@@ -80,7 +80,7 @@ MockitoAnnotations.initMocks(this); final Context context = InstrumentationRegistry.getTargetContext(); mUserId = ActivityManager.getCurrentUser(); - mCommand = new LockSettingsShellCommand(context, mLockPatternUtils); + mCommand = new LockSettingsShellCommand(mLockPatternUtils); } @Test