Remove TURN_ON_SCREEN from bulkUpdate and set mTurnOnScreen.
If TURN_ON_SCREEN is added to the bulkUpdate flags, there's a possibility it can get cleared before it's actually used. Instead, just set the mService.mTurnOnScreen flag directly so it only gets cleared when it's used. Test: Windows with turnOnScreen flag work correctly now. Test: ActivityManagerActivityVisibilityTests.testTurnScreenOnActivity Test: go/wm-smoke Fixes: 71789344 Change-Id: I7aba2bb8c7c960216df79b59b11e6efb552ed2cb
Loading
Please register or sign in to comment