summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2021-12-16 14:13:31 -0800
committerMady Mellor <madym@google.com>2021-12-16 14:13:31 -0800
commita52cb7151d43e6000ea0c84ca004e1c5015725c3 (patch)
tree630394b1b4d085a99baee1c169aa1516a87dfe1c /core/java/android/util/SparseArrayMap.java
parent5f8f93b97e4fb378bc9f733e48522211a8200b05 (diff)
Only round the corners if the devices supports it
- In BubbleExpandedView the outline provider was using corner radius even if the device didn't support it - In BubbleStackView the screenshot used when switching between bubbles also applied a corner radius even if the device didn't support it This change ensures to check if rounded corners is supported before applying it. Test: manual - alter the code so that the device doesn't support rounded corners and check that expanding and switching between bubbles shows proper corners all the time Fixes: 206902204 Change-Id: Ia0a8ceee825d4b399dd86f09306b021b38071e8d
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions