diff options
author | wilsonshih <wilsonshih@google.com> | 2018-12-19 11:47:25 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2018-12-19 14:44:17 +0800 |
commit | 674a4a0f38d9a860022c656fc66f935aaecc7c68 (patch) | |
tree | ae64a7fd6834c262ec080b02d357f9de01dd63b0 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 07b765f085a76f63762aceea986787438910791e (diff) |
Check if the wallpaper service exists before use.
Add a null pointer check before calling the methods of
WallpaperConnection.mService.
Under normal circumstances, if the service is disconnected, we only
need to wait until receive WallpaperConnection#onServiceConnected.
Fix: 121181553
Test: Manually test on multi display environments by kill
wallpaper services, including SystemUI and selected wallpapers.
Change-Id: Ic679ba5393f658f3071b017551ee845035d0dfd6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions