commit | 34a861add16eed6ef2f487b3d40017d5ad70c2a6 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Mon Aug 05 16:00:12 2019 -0700 |
committer | Felipe Leme <felipeal@google.com> | Wed Aug 07 21:08:52 2019 +0000 |
tree | e6de242177e1825eaaa258ef85a4e9e939360412 | |
parent | 0dd1be75c3ff9be8075b2ad93185c29e2eb96af6 [diff] |
Fixes usage of WallpaperManager to make it optional. As the main javadoc states: "An app can check whether wallpapers are supported for the current user, by calling {@link #isWallpaperSupported()}, and whether setting of wallpapers is allowed, by calling {@link #isSetWallpaperAllowed()}." Test: manual verification on automotive Test: atest CtsAppTestCases:android.app.cts.WallpaperManagerTest # on automotive Bug: 138939803 Change-Id: I88946f92ff54e556d289c41c28e22da3a4b8c8b8