We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8dce2fb + f219178 commit 14597aeCopy full SHA for 14597ae
1 file changed
tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/IntentTest.kt
@@ -16,7 +16,6 @@
16
package android.packageinstaller.install.cts
17
18
import android.app.Activity.RESULT_CANCELED
19
-import android.app.Activity.RESULT_FIRST_USER
20
import android.app.Activity.RESULT_OK
21
import android.content.Intent
22
import android.content.pm.InstallSourceInfo
@@ -159,7 +158,7 @@ class IntentTest : PackageInstallerTestBase() {
159
158
clickInstallerUIButton(INSTALL_BUTTON_ID)
160
161
// Install should not have succeeded
162
- assertEquals(RESULT_FIRST_USER, installation.get(TIMEOUT, TimeUnit.MILLISECONDS))
+ assertEquals(RESULT_CANCELED, installation.get(TIMEOUT, TimeUnit.MILLISECONDS))
163
assertNotInstalled()
164
} finally {
165
setSecureFrp(false)
0 commit comments