Prevent discordant state between Workspace and Launcher (issue 15409018)

Change-Id: I13bb3e51da18998a5dade49c50e5fbf2266022d3
This commit is contained in:
Adam Cohen
2014-06-18 10:34:58 -07:00
parent 7fa0ae5056
commit e25c5d1c94
2 changed files with 5 additions and 5 deletions

View File

@@ -2204,6 +2204,10 @@ public class Workspace extends SmoothPagedView
updateAccessibilityFlags();
}
State getState() {
return mState;
}
private void updateAccessibilityFlags() {
int accessible = mState == State.NORMAL ?
ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_YES :