OSDN Git Service

Give up “startAssist()”if the object “mView” of class “AssistOrbContainer” is null.
authorxiaowa1x <xiaox.wang@intel.com>
Thu, 7 Jan 2016 02:00:51 +0000 (10:00 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 20 Jul 2016 09:53:26 +0000 (17:53 +0800)
commiteea1bed04addb0b67e301f079ec0999fb23b6f70
tree11d0fc12d6daf9a0e230279ae0f13709bafa48aa
parentc8d5e1b628bb3e1ab7eeb877b44cce4535c48ba6
Give up “startAssist()”if the object “mView” of class “AssistOrbContainer” is null.

If device has physical NavigationBar,will not call method
"com.android.systemui.assist.AssistManager.onConfigurationChanged()",
cause the object "mView" is null. When input command "input keyevent 219",
will call methed "com.android.systemui.assist.AssistManager.startAssist()",
but object "mView" is null , result in JAVACHRASH.
So we need give up "com.android.systemui.assist.AssistManager.startAssist()" for physical NavigationBar.

Change-Id: I5c74643c9d99dc56d80a54eea6e798365b044c42
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-13670
Signed-off-by: xiaowa1x <xiaox.wang@intel.com>
Reviewed-on: https://android.intel.com:443/454888
packages/SystemUI/src/com/android/systemui/assist/AssistManager.java