OSDN Git Service

Fix crash in clearWallpaper()
authorChristopher Tate <ctate@google.com>
Thu, 22 Sep 2016 20:18:05 +0000 (13:18 -0700)
committerChristopher Tate <ctate@google.com>
Thu, 22 Sep 2016 20:18:05 +0000 (13:18 -0700)
commita2bd512034f17ca2a6309ff80bc5ed0ba8660182
tree83ddd78a6b79a5b1c75837a49822e0358f55ac12
parentdc9c76c306ee2a930256678e674a6612b26446c7
Fix crash in clearWallpaper()

The underlying clearWallpaper() service method demands that only a
single kind of wallpaper be specified as the target; but a recent
patch attempted to expand the client-side legacy method to apply to
all kinds of wallpaper, incorrectly.  This patch corrects that client-
side code to do things properly.

Bug 30456015

Change-Id: I0a881957b881206e5eb775c6879ba90f10f9ffb0
core/java/android/app/WallpaperManager.java