-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(note-editor): restore instance state
Now Note Editor is a fragment, it no longer receives `android:viewHierarchyState`. This is now handled by the Activity But, we did not need to handle this manually. Recreating the fields, with the same `id` value restores the text ---- This fix does not handle the loss of focus for dynamic elements During testing, this lack of focus coming back from 'Drawing' was jarring. In Production this will have minimal impact as the user will have lost context by the time the activity is restored (a user will not have 'Don't keep activities' on). Fixes 17521
- Loading branch information
1 parent
f4da4ad
commit abcfcce
Showing
1 changed file
with
19 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters