OSDN Git Service

Avoid NPE in NightDisplayService when VR mode is invoked
authorSteven Thomas <steventhomas@google.com>
Wed, 11 Jan 2017 00:54:42 +0000 (16:54 -0800)
committerAlex Vakulenko <avakulenko@google.com>
Wed, 1 Feb 2017 23:53:13 +0000 (15:53 -0800)
commit1e9b4b07c9b27c21eeb313ef278c5f4fbe04d249
treec7fe23c7e859ef5439aa3546a43ae203d6e57ba5
parent362b4131bc604f4352806a172143789b98639325
Avoid NPE in NightDisplayService when VR mode is invoked

Bug: b/32086748

Test: I was seeing the crash without the CL. With the CL no more crash.
Change-Id: I286af1066ce8928ed72a83a8da645fe99953fd85
services/core/java/com/android/server/display/NightDisplayService.java