OSDN Git Service

Fix missing service call when rebinding to VrCore
authorSteven Thomas <steventhomas@google.com>
Thu, 7 Dec 2017 03:41:07 +0000 (19:41 -0800)
committerSteven Thomas <steventhomas@google.com>
Thu, 18 Jan 2018 22:17:50 +0000 (14:17 -0800)
commit9aedfb18500d6affd645216574805fd7d8a00370
tree84eff1253088c1eec46e502d68265ee58c7bb14c
parentb0538e6dac081673f3618411c44d88b4bf8bf93d
Fix missing service call when rebinding to VrCore

When rebinding to VrCore after a VrCore crash we weren't calling
onCurrentVrActivityChanged().

Bug: b/69839187

Test: Went through the repro steps in b/69839187 and confirmed we
successfully recover after VrCore dies and is rebound.

Change-Id: Idbd7acb438e8b7754743c5ccaaa68b4e0a686d33
(cherry picked from commit d03fa742c2f29330d138ba6e2241f13eb527b9b5)
services/core/java/com/android/server/vr/VrManagerService.java