commit | 950a10738b801f7ce6463027fdde9000e6aab49a | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Fri Sep 16 14:53:11 2022 +0800 |
committer | Alex Chau <alexchau@google.com> | Tue Oct 18 17:07:17 2022 +0100 |
tree | 48eaf70cbb72bdeaf77e6834d082a91252658065 | |
parent | 7c9144328ae30db58ae2c06d042905edf84472e9 [diff] |
Fix STATE_DEPTH stuck at 1 after setting wallpaper - Made BaseDepthController.setDepth/mDepth private, all get/set should be done through STATE_DEPTH or WIDGET_DEPTH - Generified ClampedDepthProperty into Utilities.ClampedProperty to apply on STATE_DEPTH Bug: 240580498 Test: Go to walppaper&style, set new wallpaper, then go to widget picker, wallpaper depth should transition smoothly Change-Id: I53cdedf970fd7ffba6a952c4edf4b34251b01f07