Search Issue Tracker

Fixed

Fixed in 2021.3.30f1, 2022.3.7f1, 2023.1.5f1, 2023.2.0a21

Votes

1

Found in

2020.3.44f1

2021.3.17f1

2022.2.3f1

2023.1.0a26

2023.2.0a16

Issue ID

UUM-23247

Regression

No

[Android] Button can't be pressed after calling startActivityForResult with FLAG_ACTIVITY_NEW_TASK

--

-

How to reproduce:
1. Open the user’s attached “customer_sample.zip“ project ( I modified the project and you can download it here https://drive.google.com/file/d/15X-D2Oh_xRv95rfYRDysTGsOcEW5zPAE/view?usp=sharing)
2. Build and Run for Android
3. Press the “Button“ button
4. See that button can be pressed
5. Click the “Button“ button
6. Click the “run browser“ button
7. Close the window that appeared
8. Press the “Button“ button

Expected result: Button can be pressed
Actual result: Button can’t be pressed

Reproducible with: 2020.3.44f1, 2021.3.17f1, 2022.2.3f1, 2023.1.0a26

Reproducible with these devices:
Google Pixel 7 (Pixel 7), Android 13, CPU: Google Tensor G2, GPU: Mali-G710
Samsung Galaxy Z Flip3 5G (SM-F711B), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Huawei - (ELS-NX9), Android 10, CPU: HiSilicon Kirin 990 5G, GPU: Mali-G76
Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76

Couldn’t test with:
iOS (the “run browser“ button doesn’t appear after pressing the “Button” Button. Also, some errors appear in the console)

Notes:
- Button can be clicked, but can’t be pressed
- Sometimes the issue doesn’t reproduce
- Sometimes the app crashes after completing reproduction steps in 2021.3.17f1 and 2022.2.3f1
- Removing the “i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);” line from testActivity.java file fixes the issue

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.