OSDN Git Service

Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)
authorMatthew Ng <ngmatthew@google.com>
Tue, 27 Mar 2018 01:01:37 +0000 (18:01 -0700)
committerMatthew Ng <ngmatthew@google.com>
Wed, 28 Mar 2018 23:27:28 +0000 (16:27 -0700)
commit10b6c41a763ff29243b1e4fcc2598432c404322c
tree83cb882d287bb99c048629569f24956c85917626
parentb1adae546c85a136135ee20334c1db2035457c86
Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)

Copied SysuiTestCase to systemui Google to be able to inflate
KeyButtonView that is dependent on StatusBar. Also fixed the connection
failure catch exception when proxy cannot connect to service in tests.

Test: atest com.google.android.systemui.OpaLayoutTest
Change-Id: Ica2a894ce92e06af30c208afcc6a22adeac3a843
Fixes: 76416916
packages/SystemUI/src/com/android/systemui/OverviewProxyService.java