Skip to content
Commit df309af8 authored by Tiger Huang's avatar Tiger Huang
Browse files

Update touch mode regardless of mStopped

The very first state of touch mode is obtained from addToDisplay. It
should be applied in the first performTraversal regardless of mStopped.
In this way, when an app window is re-created at the background, the
touch mode state can still be up-to-date.

Fix: 227843343
Test: 1. Open Chrome and go to the homepage.
      2. Change the theme via the 3-dot menu > Settings > Theme.
      3. Go back to the homepage and see if any button is focused.
      Expected behavior: no button looks focused.
Change-Id: I2681e2436dd265abe9cd9bdd56ee5799fa30d89b
parent da5263eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment