commit | 674a4a0f38d9a860022c656fc66f935aaecc7c68 | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Wed Dec 19 11:47:25 2018 +0800 |
committer | wilsonshih <wilsonshih@google.com> | Wed Dec 19 14:44:17 2018 +0800 |
tree | ae64a7fd6834c262ec080b02d357f9de01dd63b0 | |
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