OSDN Git Service

Retrying the remoteview application on the ui thread
authorSelim Cinek <cinek@google.com>
Mon, 19 Jun 2017 23:58:35 +0000 (16:58 -0700)
committerSelim Cinek <cinek@google.com>
Tue, 20 Jun 2017 18:42:48 +0000 (18:42 +0000)
commitd246bed148f5505bd65627027dfe27313b03fd4c
tree6f0681b50d21a31c45ae5d3cd1e1c4a32c8edb9a
parentc06746ce46ec3138a8203bc0cd140cc9eb73344d
Retrying the remoteview application on the ui thread

Because of various reasons, the async inflation could spuriously
fail, leading to dropped notifications.
We're now retrying them on the UI thread before we fail completely.

Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java
Bug: 38190555
Change-Id: I13feaeaad925b72798a22194add16528c9438412
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationInflater.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationInflaterTest.java