Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used:
Devices/Android versions reproduced on:
Description:
I have declared configChanges in the AndroidManifest to handle Activity rotation and avoid recreation:
Next, in the onCreate method of the Activity, I call setApplicationLocales to set locale:
After clicking a button to rotate activity to landscape, I click home button to going back to the launcher, and then returning to the app, the Activity is recreated and recreate twice. It should not happen right?
Additionally, I observed The issue only happened at API 33 device. The implementation of setApplicationLocales is different when API level is API 33 and above. But I'm not sure whether it is root cause.
Following is Logcat & Bugreport