diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2019-06-07 17:07:37 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2019-06-14 09:31:44 -0700 |
commit | dba6456152d946abb12545d1c24f727d73ce11f3 (patch) | |
tree | e2eafadc84f6eb4b66e5789c1a06f55c5b91a71a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1dbbe1133280d8bd361a29aa36b643e847a80d3a (diff) |
Alias v26 round icons to adaptive icons like aapt1
When a developer specifies an adaptive application icon,
and a non-adaptive round application icon, create an alias
from the round icon to the regular icon for v26 APIs and up.
We do this because certain devices prefer android:roundIcon over
android:icon regardless of the API levels of the drawables set for
either.
This auto-aliasing behaviour allows an app to prefer the
android:roundIcon on API 25 devices, and prefer the adaptive icon on
API 26 devices.
Bug: 34829129
Test: manual
Change-Id: Ifac49455da749afde636fd4bb8cf32308f8b1e0a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions