commit | e9779329a781e4d3029401a24e9aa5032b87e641 | [log] [tgz] |
---|---|---|
author | Alex Stetson <alexstetson@google.com> | Wed Mar 30 12:02:17 2022 -0700 |
committer | Alex Stetson <alexstetson@google.com> | Wed Mar 30 12:02:17 2022 -0700 |
tree | d42989489bb1d935f4bcbdf43c128a4392eb92c5 | |
parent | 88dfd712f3c299e7eb434a674da8fca0022beba0 [diff] |
Only reset dim amount when permission was granted If the permission was never granted, the wallpaper dim amount does not need to be reset (since it was never changed during testing). This prevents failures on devices that don't support wallpapers. Fixes: 224909451 Test: atest android.app.cts.WallpaperManagerTest Change-Id: Id2e3fdff1e9006ad3e80b52f38915f74462308ec