Skip to content

Commit 14597ae

Browse files
author
Android Build Coastguard Worker
committed
Snap for 11141216 from f219178 to udc-d2-release
Change-Id: I975493fa183e3774169b352decc27cfc153c8b13
2 parents 8dce2fb + f219178 commit 14597ae

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts

tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/IntentTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package android.packageinstaller.install.cts
1717

1818
import android.app.Activity.RESULT_CANCELED
19-
import android.app.Activity.RESULT_FIRST_USER
2019
import android.app.Activity.RESULT_OK
2120
import android.content.Intent
2221
import android.content.pm.InstallSourceInfo
@@ -159,7 +158,7 @@ class IntentTest : PackageInstallerTestBase() {
159158
clickInstallerUIButton(INSTALL_BUTTON_ID)
160159

161160
// Install should not have succeeded
162-
assertEquals(RESULT_FIRST_USER, installation.get(TIMEOUT, TimeUnit.MILLISECONDS))
161+
assertEquals(RESULT_CANCELED, installation.get(TIMEOUT, TimeUnit.MILLISECONDS))
163162
assertNotInstalled()
164163
} finally {
165164
setSecureFrp(false)

0 commit comments

Comments
 (0)