Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0da29fcd authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Merge branch 'run-two-builds' into 'master'

Build with and without auto-install

Closes #38

See merge request e/priv/apps/AppInstaller!14
parents 42b5c0bf 4c915d01
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -12,10 +12,17 @@ cache:
  paths:
  - .gradle/

build:
build-without-auto-install:
  stage: build
  script:
  - ./gradlew build
  artifacts:
    paths:
    - app/build/outputs/apk/

build:
  extends: build-without-auto-install
  script:
  - git apply auto-install.patch
  - ./gradlew build
  
 No newline at end of file

auto-install.patch

0 → 100644
+14 −0
Original line number Diff line number Diff line
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index e3d84c2..a1a0c47 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -20,7 +20,8 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     package="foundation.e.apps"
-    android:installLocation="internalOnly">
+    android:installLocation="internalOnly"
+    android:sharedUserId="android.uid.system">
 
     <uses-permission android:name="android.permission.INTERNET" />
     <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />