Commit 5dd10685 authored by Romain Hunault's avatar Romain Hunault Committed by root

Config CI

parent 14514118
stages:
- build
image:
name: registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:latest
entrypoint: [""]
variables:
REPO_BRANCH: eelo-0.2
REPO_DIRECTORY: EELO_0_2
REPO_URL: https://gitlab.e.foundation/e/os/android.git
PROJECT_PATH: packages/apps/Settings
build_module:
variables:
GIT_STRATEGY: none
stage: build
script:
- cd /srv/src/${REPO_DIRECTORY}
- source build/envsetup.sh
- mka clean
- repo init -u "${REPO_URL}" -b "${REPO_BRANCH}"
- repo sync --force-sync -d
- cd packages/apps/Settings
- git fetch e
- git checkout ${CI_COMMIT_SHA}
- mma
- repo sync --force-sync -d .
- mka clean
......@@ -105,7 +105,7 @@ public class SettingsShadowResources extends ShadowResources {
// TODO: Remove this once Robolectric is updated.
if (id == R.drawable.switchbar_background) {
return new ColorDrawable();
} else if (id == R.drawable.ic_launcher_settings) {
} else if (id == R.drawable.ic_launcher_settings) {
// ic_launcher_settings uses adaptive-icon, which is not supported by robolectric,
// change it to a normal drawable.
id = R.drawable.ic_settings_wireless;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment