Multiple requests for checkUserRemoteControlSupport can be in flight simultaneously. Order of promise resolution is not guaranteed. It is possible for Request A and Request B to be in flight and then Request B's promise chain resolves first. Request A could have encountered errors and then resolve. Then what could happen is checkUserRemoteControlSupport returns true for remote control support due to Request B and the UI updates. But then checkUserRemoteControlSupport returns false for remote control support due to Request A's error and the UI updates to hide remote control.j8
|
|
||
| 893 |
|
893 |
|
| 894 |
|
894 |
|
| 895 |
|
895 |
|
| 896 |
|
|
|
| 897 |
|
|
|
|
896 |
|
|
|
897 |
|
|
|
898 |
|
|
|
899 |
|
|
| 898 |
|
900 |
|
| 899 |
|
901 |
|
| 900 |
|
902 |
|
|
|
||
| 91 |
|
91 |
|
| 92 |
|
92 |
|
| 93 |
|
93 |
|
| 94 |
|
|
|
| 95 |
|
|
|
| 96 |
|
|
|
|
94 |
|
|
|
95 |
|
|
| 97 |
|
96 |
|
| 98 |
|
97 |
|
| 99 |
|
98 |
|