When exiting PiP with by pressing the X the onPictureInPictureModeChanged method is called. Since onResume is called a while after, in case the maximize button is called, it's not easy to know if the user pressed the X button, and that was the cause for exiting PiP. So, in order to avoid show the user they are still in the meeting, bring the activity to the foregound so they can hangup.j8
|
||
210 | 210 |
|
211 | 211 |
|
212 | 212 |
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
213 | 225 |
|
214 | 226 |
|
215 | 227 |
|