OSDN Git Service

Disable rotation suggestion when global actions panel is visible
authorSteve Elliott <steell@google.com>
Mon, 13 May 2019 21:14:15 +0000 (17:14 -0400)
committerSteve Elliott <steell@google.com>
Mon, 13 May 2019 21:14:15 +0000 (17:14 -0400)
commit53f12ae50eae7e8cdcccf8d9ed25784284d3a9f3
tree5386b36e0cfb150d067ba01f22a459478e976aee
parentd9f8b1745ba8309f1d860144b8a02a833ef0b652
Disable rotation suggestion when global actions panel is visible

Building upon the existing logic which locks the rotation to portrait,
this change suppreses the rotation suggestion button which appears in
the nav-bar.

Fixes: 132076875
Test: manual
Change-Id: I7841bb5fe59ad09998117c93269e019e95494989
packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialog.java