Track in-progress wallpaper API changes
FLAG_*, not FLAG_SET_* Bug 27365822 Change-Id: I5cb4dbfd251519a80997a86d3010f19240b9ff23
This commit is contained in:
@@ -100,7 +100,7 @@ public class SuggestionsChecks {
|
|||||||
IBinder b = ServiceManager.getService(Context.WALLPAPER_SERVICE);
|
IBinder b = ServiceManager.getService(Context.WALLPAPER_SERVICE);
|
||||||
IWallpaperManager service = Stub.asInterface(b);
|
IWallpaperManager service = Stub.asInterface(b);
|
||||||
try {
|
try {
|
||||||
return service.getWallpaper(mCallback, WallpaperManager.FLAG_SET_SYSTEM,
|
return service.getWallpaper(mCallback, WallpaperManager.FLAG_SYSTEM,
|
||||||
new Bundle(), mContext.getUserId()) != null;
|
new Bundle(), mContext.getUserId()) != null;
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user