OSDN Git Service

clone the visibility objects for the handler thread
authorChris Wren <cwren@google.com>
Thu, 17 May 2018 22:55:42 +0000 (18:55 -0400)
committerChris Wren <cwren@google.com>
Fri, 18 May 2018 19:32:21 +0000 (15:32 -0400)
commit2e89e8d893acfe571ad6f5555baccb1b5e55abb7
tree6e80f85631ea810a36fccdc45c51730b1f6e4e3d
parent6b8014f5c850fa5a8dca3423e47110bc8ed5dbfe
clone the visibility objects for the handler thread

The main thread was recycling the objects before the hander could
pack up the binder call.

Change-Id: I4289bdcc5b940a0a8209fdd5d3df47972de0fa4b
Fixes: 72953296
Test: atest com.android.notification.functional.NotificationInteractionTests#testNotificationShadeMetrics
core/java/com/android/internal/statusbar/NotificationVisibility.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationLogger.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/NotificationLoggerTest.java