Entering PiP mode while the permissions dialog is display will not only fail, but also mess up the Activity lifecycle on some OS versions. We may end up with two activity/fragment instances and a situation where the onStop callback was not called yet on the instance #1 while the onResume has been already called on instance #2.master
|
|
||
| 40 |
|
40 |
|
| 41 |
|
41 |
|
| 42 |
|
42 |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
| 43 |
|
52 |
|
| 44 |
|
53 |
|
| 45 |
|
54 |
|
|
|
||
| 123 |
|
123 |
|
| 124 |
|
124 |
|
| 125 |
|
125 |
|
|
126 |
|
|
| 126 |
|
127 |
|
| 127 |
|
128 |
|
| 128 |
|
129 |
|