Loading buildSdk.sh +19 −2 Original line number Diff line number Diff line Loading @@ -8,10 +8,27 @@ if [[ -z "${ANDROID_HOME}" ]]; then echo "{ANDROID_HOME} path variable is not set. Set it to point Android SDK." exit 1 else build_tools_dir=$ANDROID_HOME/build-tools/29.0.2/ build_tools_dir=$ANDROID_HOME/build-tools/ declare -a build_tools for f in $build_tools_dir*; do if [ -d "$f" ]; then build_tools+=($(basename $f)) fi done if [ ${#build_tools[@]} -eq 0 ]; then echo "No build-tools found at $build_tools_dir. Make sure you've atleast one build tools downloaded." exit 1 else sorted_build_tools=($(for l in ${build_tools[@]}; do echo $l; done | sort)) echo "Available build-tools are ${sorted_build_tools[@]}" latest_build_tool=${sorted_build_tools[${#sorted_build_tools[@]}-1]} echo "Using latest build tool available: $latest_build_tool" fi fi aapt2="${build_tools_dir}/aapt2" latest_build_tool_dir="$build_tools_dir$latest_build_tool" aapt2="${latest_build_tool_dir}/aapt2" echo "Compiling resources" $aapt2 compile --dir lineage/res/res -o intermediates/resources.zip Loading lineage/res/res/drawable/ic_camera_effects.xml 0 → 100644 +16 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="6.6145835" android:viewportHeight="6.6145835"> <path android:fillAlpha="0" android:fillColor="#000000" android:pathData="m0.00001,-0.00001l6.61458,0l0,6.61458l-6.61458,0z" android:strokeWidth="0.179829" /> <path android:fillColor="#000000" android:pathData="m6.28252,1.09862 l-0.76501,-0.76501c-0.11105,-0.12339 -0.25912,-0.18509 -0.41952,-0.18509 -0.14806,0 -0.29613,0.0617 -0.41952,0.18509l-4.35563,4.35563c-0.23444,0.23444 -0.23444,0.60461 0,0.83905l0.76501,0.76501c0.11105,0.12339 0.25912,0.17274 0.41952,0.17274 0.14807,0 0.29614,-0.04937 0.41952,-0.17274l4.35563,-4.35563c0.23444,-0.23444 0.23444,-0.60461 0,-0.83905zM1.50736,5.87379 L0.74234,5.10879 3.49392,2.34488 4.27128,3.12223zM4.69079,2.70269 L3.91344,1.92534 5.09798,0.7408l0,0l0.77735,0.77735zM5.48048,3.70215 L5.14733,4.36845 4.49337,4.68925 5.14733,5.0224 5.48048,5.67635 5.80129,5.0224 6.46759,4.68925 5.80129,4.36845zM2.91399,1.33307 L3.11141,0.93824 3.50626,0.7408 3.11141,0.54336 2.91399,0.14853 2.71656,0.54336 2.32172,0.7408 2.71656,0.93824zM1.13719,2.12277 L1.458,1.46882 2.1243,1.13567 1.458,0.81487 1.13719,0.14857 0.80404,0.81487 0.15007,1.13567 0.80404,1.46882z" android:strokeWidth="0.264583" android:strokeColor="#00000000" /> </vector> lineage/res/res/drawable/ic_camera_exposure.xml 0 → 100644 +15 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="6.6145835" android:viewportHeight="6.6145835"> <path android:fillAlpha="0" android:fillColor="#000000" android:pathData="m-0,-0.00005l6.61458,0l0,6.61458l-6.61458,0z" android:strokeWidth="0.168371" /> <path android:fillColor="#000000" android:pathData="m0.98869,0.13459c-0.49053,0 -0.88538,0.39484 -0.88538,0.88538l0,4.57453c0,0.49053 0.39484,0.88538 0.88538,0.88538l4.63722,0c0.49052,0 0.88537,-0.39485 0.88537,-0.88538l0,-4.57453c0,-0.49053 -0.39485,-0.88538 -0.88537,-0.88538zM5.77461,0.91928 L5.77333,5.78463 0.93445,5.79101zM1.16546,1.57018l1.93282,0l0,0.58483l-1.93282,0zM4.20972,3.66822l0,0.61814l-0.60791,0l0,0.40414l0.60791,0l0,0.61813l0.428,0l0,-0.61813l0.60424,0l0,-0.40414l-0.60424,0l0,-0.61814z" android:strokeWidth="0.0222362" /> </vector> lineage/res/res/drawable/ic_camera_exposure_locked.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="6.6145835" android:viewportHeight="6.6145835"> <path android:fillAlpha="0" android:fillColor="#000000" android:pathData="m-0.00001,0.00001l6.61458,0l0,6.61459l-6.61458,0z" android:strokeWidth="0.178179" /> <path android:fillColor="#000000" android:pathData="m5.54288,2.49437l-0.40647,0l0,-0.5843c0,-1.01618 -0.81294,-1.84182 -1.82911,-1.85452 -1.01618,0 -1.82912,0.82564 -1.82912,1.82911l0,0.6097l-0.40647,0c-0.34296,0 -0.60971,0.27945 -0.60971,0.60971l0,2.84529c0,0.34296 0.26675,0.6097 0.60971,0.6097l4.47117,0c0.33025,0 0.6097,-0.26675 0.6097,-0.6097l0,-2.84529c0,-0.33026 -0.27945,-0.60971 -0.6097,-0.60971zM2.08789,1.88468c0,-0.66051 0.5462,-1.21941 1.21941,-1.21941 0.66051,0 1.21941,0.5589 1.21941,1.21941l0,0.6097l-2.43882,0zM5.54288,5.94939l-4.47117,0l0,-2.84529l4.47117,0z" android:strokeWidth="0.339036" android:strokeColor="#00000000" /> <path android:fillColor="#000000" android:pathData="m1.96852,2.68284c-0.28323,0 -1.21958,0.22798 -1.21958,0.51122l0,2.64134c0,0.28323 0.93635,0.51122 1.21958,0.51122l2.67754,0c0.28323,0 1.2824,-0.22799 1.2824,-0.51122l0,-2.64134c0,-0.28324 -0.99917,-0.51122 -1.2824,-0.51122zM4.73193,3.13591 L4.73096,5.94517 1.93698,5.949zM2.07059,3.51174l1.11602,0l0,0.33768l-1.11602,0zM3.82836,4.72314l0,0.35692l-0.35102,0l0,0.23335l0.35102,0l0,0.3569l0.24712,0l0,-0.3569l0.34889,0l0,-0.23335l-0.34889,0l0,-0.35692z" android:strokeWidth="0.0170691" /> </vector> lineage/res/res/drawable/ic_camera_exposure_unlocked.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="6.6145835" android:viewportHeight="6.6145835"> <path android:fillAlpha="0" android:fillColor="#000000" android:pathData="m0,0.00001l6.61458,0l0,6.61459l-6.61458,0z" android:strokeWidth="0.178179" /> <path android:fillColor="#000000" android:pathData="m3.30725,0.05546c-0.96185,0 -1.71792,0.74738 -1.79855,1.67746l0.57908,0l0,0.1516c0,-0.66051 0.54626,-1.21916 1.21948,-1.21916 0.66052,0 1.21948,0.55866 1.21948,1.21916l0,0.6099l-2.43896,0 -0.60959,0 -0.40659,0c-0.34296,0 -0.60959,0.27932 -0.60959,0.60958l0,2.84524c0,0.34296 0.26662,0.60989 0.60959,0.60989l4.47132,0c0.33026,0 0.60958,-0.26693 0.60958,-0.60989l0,-2.84524c0,-0.33026 -0.27932,-0.60958 -0.60958,-0.60958l-0.4066,0l0,-0.58436c0,-1.01618 -0.81289,-1.8419 -1.82906,-1.8546zM1.07159,3.10402l4.47132,0l0,2.84524l-4.47132,0z" android:strokeWidth="0.269875" android:strokeColor="#00000000" /> <path android:fillColor="#000000" android:pathData="m1.96853,2.68284c-0.28323,0 -1.21958,0.22798 -1.21958,0.51122l0,2.64134c0,0.28323 0.93635,0.51122 1.21958,0.51122l2.67754,0c0.28323,0 1.2824,-0.22799 1.2824,-0.51122l0,-2.64134c0,-0.28324 -0.99917,-0.51122 -1.2824,-0.51122zM4.73192,3.13593 L4.73072,5.94518 1.93675,5.94879zM2.07059,3.51177l1.11602,0l0,0.33768l-1.11602,0zM3.82837,4.72317l0,0.35692l-0.35102,0l0,0.23335l0.35102,0l0,0.3569l0.24712,0l0,-0.3569l0.34889,0l0,-0.23335l-0.34889,0l0,-0.35692z" android:strokeWidth="0.0135871" /> </vector> Loading
buildSdk.sh +19 −2 Original line number Diff line number Diff line Loading @@ -8,10 +8,27 @@ if [[ -z "${ANDROID_HOME}" ]]; then echo "{ANDROID_HOME} path variable is not set. Set it to point Android SDK." exit 1 else build_tools_dir=$ANDROID_HOME/build-tools/29.0.2/ build_tools_dir=$ANDROID_HOME/build-tools/ declare -a build_tools for f in $build_tools_dir*; do if [ -d "$f" ]; then build_tools+=($(basename $f)) fi done if [ ${#build_tools[@]} -eq 0 ]; then echo "No build-tools found at $build_tools_dir. Make sure you've atleast one build tools downloaded." exit 1 else sorted_build_tools=($(for l in ${build_tools[@]}; do echo $l; done | sort)) echo "Available build-tools are ${sorted_build_tools[@]}" latest_build_tool=${sorted_build_tools[${#sorted_build_tools[@]}-1]} echo "Using latest build tool available: $latest_build_tool" fi fi aapt2="${build_tools_dir}/aapt2" latest_build_tool_dir="$build_tools_dir$latest_build_tool" aapt2="${latest_build_tool_dir}/aapt2" echo "Compiling resources" $aapt2 compile --dir lineage/res/res -o intermediates/resources.zip Loading
lineage/res/res/drawable/ic_camera_effects.xml 0 → 100644 +16 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="6.6145835" android:viewportHeight="6.6145835"> <path android:fillAlpha="0" android:fillColor="#000000" android:pathData="m0.00001,-0.00001l6.61458,0l0,6.61458l-6.61458,0z" android:strokeWidth="0.179829" /> <path android:fillColor="#000000" android:pathData="m6.28252,1.09862 l-0.76501,-0.76501c-0.11105,-0.12339 -0.25912,-0.18509 -0.41952,-0.18509 -0.14806,0 -0.29613,0.0617 -0.41952,0.18509l-4.35563,4.35563c-0.23444,0.23444 -0.23444,0.60461 0,0.83905l0.76501,0.76501c0.11105,0.12339 0.25912,0.17274 0.41952,0.17274 0.14807,0 0.29614,-0.04937 0.41952,-0.17274l4.35563,-4.35563c0.23444,-0.23444 0.23444,-0.60461 0,-0.83905zM1.50736,5.87379 L0.74234,5.10879 3.49392,2.34488 4.27128,3.12223zM4.69079,2.70269 L3.91344,1.92534 5.09798,0.7408l0,0l0.77735,0.77735zM5.48048,3.70215 L5.14733,4.36845 4.49337,4.68925 5.14733,5.0224 5.48048,5.67635 5.80129,5.0224 6.46759,4.68925 5.80129,4.36845zM2.91399,1.33307 L3.11141,0.93824 3.50626,0.7408 3.11141,0.54336 2.91399,0.14853 2.71656,0.54336 2.32172,0.7408 2.71656,0.93824zM1.13719,2.12277 L1.458,1.46882 2.1243,1.13567 1.458,0.81487 1.13719,0.14857 0.80404,0.81487 0.15007,1.13567 0.80404,1.46882z" android:strokeWidth="0.264583" android:strokeColor="#00000000" /> </vector>
lineage/res/res/drawable/ic_camera_exposure.xml 0 → 100644 +15 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="6.6145835" android:viewportHeight="6.6145835"> <path android:fillAlpha="0" android:fillColor="#000000" android:pathData="m-0,-0.00005l6.61458,0l0,6.61458l-6.61458,0z" android:strokeWidth="0.168371" /> <path android:fillColor="#000000" android:pathData="m0.98869,0.13459c-0.49053,0 -0.88538,0.39484 -0.88538,0.88538l0,4.57453c0,0.49053 0.39484,0.88538 0.88538,0.88538l4.63722,0c0.49052,0 0.88537,-0.39485 0.88537,-0.88538l0,-4.57453c0,-0.49053 -0.39485,-0.88538 -0.88537,-0.88538zM5.77461,0.91928 L5.77333,5.78463 0.93445,5.79101zM1.16546,1.57018l1.93282,0l0,0.58483l-1.93282,0zM4.20972,3.66822l0,0.61814l-0.60791,0l0,0.40414l0.60791,0l0,0.61813l0.428,0l0,-0.61813l0.60424,0l0,-0.40414l-0.60424,0l0,-0.61814z" android:strokeWidth="0.0222362" /> </vector>
lineage/res/res/drawable/ic_camera_exposure_locked.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="6.6145835" android:viewportHeight="6.6145835"> <path android:fillAlpha="0" android:fillColor="#000000" android:pathData="m-0.00001,0.00001l6.61458,0l0,6.61459l-6.61458,0z" android:strokeWidth="0.178179" /> <path android:fillColor="#000000" android:pathData="m5.54288,2.49437l-0.40647,0l0,-0.5843c0,-1.01618 -0.81294,-1.84182 -1.82911,-1.85452 -1.01618,0 -1.82912,0.82564 -1.82912,1.82911l0,0.6097l-0.40647,0c-0.34296,0 -0.60971,0.27945 -0.60971,0.60971l0,2.84529c0,0.34296 0.26675,0.6097 0.60971,0.6097l4.47117,0c0.33025,0 0.6097,-0.26675 0.6097,-0.6097l0,-2.84529c0,-0.33026 -0.27945,-0.60971 -0.6097,-0.60971zM2.08789,1.88468c0,-0.66051 0.5462,-1.21941 1.21941,-1.21941 0.66051,0 1.21941,0.5589 1.21941,1.21941l0,0.6097l-2.43882,0zM5.54288,5.94939l-4.47117,0l0,-2.84529l4.47117,0z" android:strokeWidth="0.339036" android:strokeColor="#00000000" /> <path android:fillColor="#000000" android:pathData="m1.96852,2.68284c-0.28323,0 -1.21958,0.22798 -1.21958,0.51122l0,2.64134c0,0.28323 0.93635,0.51122 1.21958,0.51122l2.67754,0c0.28323,0 1.2824,-0.22799 1.2824,-0.51122l0,-2.64134c0,-0.28324 -0.99917,-0.51122 -1.2824,-0.51122zM4.73193,3.13591 L4.73096,5.94517 1.93698,5.949zM2.07059,3.51174l1.11602,0l0,0.33768l-1.11602,0zM3.82836,4.72314l0,0.35692l-0.35102,0l0,0.23335l0.35102,0l0,0.3569l0.24712,0l0,-0.3569l0.34889,0l0,-0.23335l-0.34889,0l0,-0.35692z" android:strokeWidth="0.0170691" /> </vector>
lineage/res/res/drawable/ic_camera_exposure_unlocked.xml 0 → 100644 +20 −0 Original line number Diff line number Diff line <vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="6.6145835" android:viewportHeight="6.6145835"> <path android:fillAlpha="0" android:fillColor="#000000" android:pathData="m0,0.00001l6.61458,0l0,6.61459l-6.61458,0z" android:strokeWidth="0.178179" /> <path android:fillColor="#000000" android:pathData="m3.30725,0.05546c-0.96185,0 -1.71792,0.74738 -1.79855,1.67746l0.57908,0l0,0.1516c0,-0.66051 0.54626,-1.21916 1.21948,-1.21916 0.66052,0 1.21948,0.55866 1.21948,1.21916l0,0.6099l-2.43896,0 -0.60959,0 -0.40659,0c-0.34296,0 -0.60959,0.27932 -0.60959,0.60958l0,2.84524c0,0.34296 0.26662,0.60989 0.60959,0.60989l4.47132,0c0.33026,0 0.60958,-0.26693 0.60958,-0.60989l0,-2.84524c0,-0.33026 -0.27932,-0.60958 -0.60958,-0.60958l-0.4066,0l0,-0.58436c0,-1.01618 -0.81289,-1.8419 -1.82906,-1.8546zM1.07159,3.10402l4.47132,0l0,2.84524l-4.47132,0z" android:strokeWidth="0.269875" android:strokeColor="#00000000" /> <path android:fillColor="#000000" android:pathData="m1.96853,2.68284c-0.28323,0 -1.21958,0.22798 -1.21958,0.51122l0,2.64134c0,0.28323 0.93635,0.51122 1.21958,0.51122l2.67754,0c0.28323,0 1.2824,-0.22799 1.2824,-0.51122l0,-2.64134c0,-0.28324 -0.99917,-0.51122 -1.2824,-0.51122zM4.73192,3.13593 L4.73072,5.94518 1.93675,5.94879zM2.07059,3.51177l1.11602,0l0,0.33768l-1.11602,0zM3.82837,4.72317l0,0.35692l-0.35102,0l0,0.23335l0.35102,0l0,0.3569l0.24712,0l0,-0.3569l0.34889,0l0,-0.23335l-0.34889,0l0,-0.35692z" android:strokeWidth="0.0135871" /> </vector>