Fix crash on startup on Api levels 25 and lower (#2422)

* fix startup crash on API level 25 and lower

* fix crash on Api < 24
This commit is contained in:
Konrad Pozniak 2022-04-07 20:04:39 +02:00 committed by GitHub
parent 79c8f59e4e
commit f570aba492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<vector android:height="108dp" android:viewportHeight="135.46666"
android:viewportWidth="135.46666" android:width="108dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillAlpha="0.1" android:fillColor="@drawable/launcher_shadow_gradient"
<path android:fillAlpha="0.1" android:fillColor="@color/launcher_shadow_gradient"
android:pathData="m46.46,43.07 l36.02,35.94 -0.32,-8.42 -7.28,-10.4 -17.55,-17.61 12.93,4.74 15.5,15.47 8.16,-10.34 11.68,11.6 0.15,-11.75 63.7,63.12 -51.05,52.44 -81.21,-81.18 -7.74,-24.19 6.08,-12.72z" />
<path android:fillColor="#fefefe"
android:pathData="m54.4,92.73c-13.79,-1.34 -23.04,-8.16 -26.22,-19.35 -1.99,-6.98 -0.82,-13.57 3.61,-20.36 4.01,-6.15 9.37,-10.15 13.6,-10.15l1.14,0l-1.39,0.93c-4.77,3.18 -8.53,8.06 -10.31,13.37 -1.05,3.12 -1.32,9.32 -0.56,12.86 1.3,6.09 5.03,10.98 10.39,13.6 3.63,1.78 6.97,2.48 11.71,2.48 7.85,0 14.22,-2.45 19.64,-7.56l1.85,-1.75 -0.93,-2.06c-0.83,-1.82 -2.7,-6.77 -6.14,-16.18 -1.35,-3.7 -2.84,-6.19 -5.36,-8.96 -1.71,-1.88 -5.08,-4.8 -7.89,-6.83 -0.86,-0.62 -0.84,-0.62 1.6,-0.44 9.29,0.7 14,5.9 20.82,22.98 1.19,2.98 1.73,4.28 1.97,4.81 0.06,0.14 0.16,0.44 0.27,0.34 0.11,-0.09 0.5,-0.8 0.63,-1.03 0.13,-0.23 0.28,-0.53 0.45,-0.89s0.37,-0.78 0.59,-1.27c1.67,-3.53 3.71,-9.32 4.44,-12.66 0.36,-1.63 0.64,-2.12 1.42,-2.53 2.56,-1.32 4.85,-0.09 4.85,2.61 0,4.89 -3.19,14.68 -6.86,21.05 -0.23,0.41 -0.47,0.67 -0.59,0.91 -0.12,0.24 -0.45,0.67 -0.38,0.79 0.05,0.09 0.07,0.12 0.16,0.2 0.09,0.09 0.22,0.21 0.38,0.34 1.21,0.97 4.34,2.18 5.95,2.4 2.05,0.28 4.38,-0.71 5.68,-2.42 2.95,-3.86 3.63,-10.79 2.06,-20.9 -0.57,-3.7 -0.57,-3.77 0.13,-4.71 1.69,-2.27 3.74,-1.84 5.17,1.08 2.93,5.97 2.47,20.57 -0.89,28.05 -1.86,4.15 -5.1,6.44 -10.49,7.41 -4.32,0.78 -7.41,-0.22 -10.98,-3.55l-2.16,-2.02 -1.02,1.07c-2.64,2.78 -8.74,6.18 -13.25,7.39 -2.22,0.59 -7.68,1.3 -9.44,1.23 -0.58,-0.03 -2.23,-0.16 -3.67,-0.3z"

View File

@ -0,0 +1,13 @@
<vector android:height="108dp" android:viewportHeight="135.46666"
android:viewportWidth="135.46666" android:width="108dp" xmlns:android="http://schemas.android.com/apk/res/android">
<!-- no gradient as fillColor supported on Api < 24 -->
<path android:fillColor="#fefefe"
android:pathData="m54.4,92.73c-13.79,-1.34 -23.04,-8.16 -26.22,-19.35 -1.99,-6.98 -0.82,-13.57 3.61,-20.36 4.01,-6.15 9.37,-10.15 13.6,-10.15l1.14,0l-1.39,0.93c-4.77,3.18 -8.53,8.06 -10.31,13.37 -1.05,3.12 -1.32,9.32 -0.56,12.86 1.3,6.09 5.03,10.98 10.39,13.6 3.63,1.78 6.97,2.48 11.71,2.48 7.85,0 14.22,-2.45 19.64,-7.56l1.85,-1.75 -0.93,-2.06c-0.83,-1.82 -2.7,-6.77 -6.14,-16.18 -1.35,-3.7 -2.84,-6.19 -5.36,-8.96 -1.71,-1.88 -5.08,-4.8 -7.89,-6.83 -0.86,-0.62 -0.84,-0.62 1.6,-0.44 9.29,0.7 14,5.9 20.82,22.98 1.19,2.98 1.73,4.28 1.97,4.81 0.06,0.14 0.16,0.44 0.27,0.34 0.11,-0.09 0.5,-0.8 0.63,-1.03 0.13,-0.23 0.28,-0.53 0.45,-0.89s0.37,-0.78 0.59,-1.27c1.67,-3.53 3.71,-9.32 4.44,-12.66 0.36,-1.63 0.64,-2.12 1.42,-2.53 2.56,-1.32 4.85,-0.09 4.85,2.61 0,4.89 -3.19,14.68 -6.86,21.05 -0.23,0.41 -0.47,0.67 -0.59,0.91 -0.12,0.24 -0.45,0.67 -0.38,0.79 0.05,0.09 0.07,0.12 0.16,0.2 0.09,0.09 0.22,0.21 0.38,0.34 1.21,0.97 4.34,2.18 5.95,2.4 2.05,0.28 4.38,-0.71 5.68,-2.42 2.95,-3.86 3.63,-10.79 2.06,-20.9 -0.57,-3.7 -0.57,-3.77 0.13,-4.71 1.69,-2.27 3.74,-1.84 5.17,1.08 2.93,5.97 2.47,20.57 -0.89,28.05 -1.86,4.15 -5.1,6.44 -10.49,7.41 -4.32,0.78 -7.41,-0.22 -10.98,-3.55l-2.16,-2.02 -1.02,1.07c-2.64,2.78 -8.74,6.18 -13.25,7.39 -2.22,0.59 -7.68,1.3 -9.44,1.23 -0.58,-0.03 -2.23,-0.16 -3.67,-0.3z"
android:strokeColor="#e9e9eb" android:strokeWidth=".052853"/>
<path android:fillColor="#e9e9eb"
android:pathData="m85.55,76c-0.63,-0.78 -1.65,-2.32 -2.26,-3.41l-1.12,-1.99 0.96,-1.74c0.53,-0.96 1.32,-2.78 1.82,-4.04l0.82,-2.02 2.73,2.76c1.64,1.65 2.59,2.93 2.51,3.28 -0.16,0.78 -2.49,5.62 -3.5,7.26l-0.82,1.32z"
android:strokeColor="#efefef" android:strokeWidth=".052853"/>
<path android:fillColor="#00000000"
android:pathData="m77.85,76.8s1.27,3.01 3.92,6.54"
android:strokeColor="#e9e9eb" android:strokeWidth=".052917"/>
</vector>