-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(android): Refactored activity/fragment restore handling #10829
Commits on Apr 6, 2019
-
[TIMOB-26966] Android: Refactored activity/fragment restore handling
- [TIMOB-26966] Fixed bug where back navigating from child window causes app to exit when "Don't keep activities" is enabled as of 7.2.1. - [TIMOB-26914] Fixed 8.0.0 regression where an OS forced quit app displays a blank window upon relaunch. (Was incorrectly restoring child activity.) - [TIMOB-17089] Resolved view ID conflicts causes app crashes when activity/fragment is restored. - [TIMOB-26964] Fixed bug where TabGroup would be blank (no tabs) when calling child window's close() method while "Don't keep activities" is enabled. - [TIMOB-26890] Fixed bug where tapping 3rd tab in TabGroup can cause a crash due to view ID conflict during fragment restore. - Increased TabGroup's ViewPager offscreen page limit from 1 to 128 to avoid tab fragment from being destroyed/restored. - Added several safety mechanisms to AlertDialog and ProgressIndicator dialog code to avoid crashes.
Configuration menu - View commit details
-
Copy full SHA for ce69257 - Browse repository at this point
Copy the full SHA ce69257View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2ad23d - Browse repository at this point
Copy the full SHA e2ad23dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 232436b - Browse repository at this point
Copy the full SHA 232436bView commit details -
Android: Fixed [TIMOB-26966] to not crash when putting a fragment wit…
…hin a fragment such as "ti.map" view - Re-added ID assigned to TiUIFragment's view, but it's now guaranteed to be assigned a unique ID.
Configuration menu - View commit details
-
Copy full SHA for facd5ac - Browse repository at this point
Copy the full SHA facd5acView commit details
Commits on Apr 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 32714d5 - Browse repository at this point
Copy the full SHA 32714d5View commit details
Commits on Apr 10, 2019
-
[TIMOB-26975] Android: Fixed bug where LiveView does not reload app i…
…f "Don't keep activities" is enabled as of 8.0.0
Configuration menu - View commit details
-
Copy full SHA for 5ea495a - Browse repository at this point
Copy the full SHA 5ea495aView commit details
Commits on Apr 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 336b3cf - Browse repository at this point
Copy the full SHA 336b3cfView commit details
Commits on Apr 12, 2019
-
Android: Added additional dialog error checking to [TIMOB-26966]
- [TIMOB-15829] Fixed crash caused by progress indicator set to status bar that happens after hiding twice and then opening.
Configuration menu - View commit details
-
Copy full SHA for 084bfc0 - Browse repository at this point
Copy the full SHA 084bfc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1676b20 - Browse repository at this point
Copy the full SHA 1676b20View commit details -
Configuration menu - View commit details
-
Copy full SHA for da04a2f - Browse repository at this point
Copy the full SHA da04a2fView commit details
Commits on Apr 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d1f5b71 - Browse repository at this point
Copy the full SHA d1f5b71View commit details
Commits on Apr 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e7941fa - Browse repository at this point
Copy the full SHA e7941faView commit details
Commits on Apr 23, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b4d7abd - Browse repository at this point
Copy the full SHA b4d7abdView commit details
Commits on Apr 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for bfa336b - Browse repository at this point
Copy the full SHA bfa336bView commit details
Commits on Apr 26, 2019
-
Android: More improvements made to [TIMOB-26966]
- [TIMOB-26966] Fixed bug where Window/TabGroup close()method call is ignored until "open" event has been fired. * Resolved by modifying proxy's handleClose() to call TiActivityWindows.remove() immediately. - Fixed bug where dynamically changing "exitOnClose" would be ignored. * Flag was only being read by activity's "launchIntent" in 8.0.0. * Now reads directly from proxy, which is the best solution. Especially if onNewIntent() was called. (Old code would have had a problem too.) - Re-added support for "exitOnClose" in child windows. (Was only supported by root window.) - Removed window exit animation if its "exitOnClose" was set true. (Prevents parent window briefly appearing upon exit.) - Added more dialog safe-guards. * Would crash if failed to create dialog builder if there are no activities available. * Can happen if "Don't keep activities" is enabled, you press the Home button, and code attempts to show dialog in the background.
Configuration menu - View commit details
-
Copy full SHA for 1733c85 - Browse repository at this point
Copy the full SHA 1733c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8155dd - Browse repository at this point
Copy the full SHA b8155ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b7216f - Browse repository at this point
Copy the full SHA 1b7216fView commit details -
Android: Modified [TIMOB-26966] to not exit app upon relaunch/restore…
… after OS force quit it
Configuration menu - View commit details
-
Copy full SHA for bbc591e - Browse repository at this point
Copy the full SHA bbc591eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94fc91c - Browse repository at this point
Copy the full SHA 94fc91cView commit details