commit | 0887baffe5ecb3c2dbd7f3af4cf269db551731e2 | [log] [tgz] |
---|---|---|
author | Hans-Christoph Steiner <hans@eds.org> | Wed Aug 10 11:59:12 2016 +0200 |
committer | Hans-Christoph Steiner <hans@eds.org> | Fri Aug 12 11:38:45 2016 +0200 |
tree | 8901c2a31784a8ea6a02a0a417bffb81cf2814df | |
parent | 3c6b2c602b760fcf3d07ee343d44b3dd03ee4ae6 [diff] |
gitlab-ci: enable emulator tests for android-10 and android-24
When F-Droid is installed as a normal Android app, installing, updating, and removing apps can only be done by requesting the Android operating system to do this. F-Droid cannot execute this operations on itself. Thus, the operating system shows a screen on every install/update to get confirmation from the user that he/she really wants to install this app. This is a security feature of Android to prevent the installation of malware without user intervention.
The downside for F-Droid is that this prevents us from updating apps in the background, which is an essential feature of a modern package manager.
Here comes the F-Droid Privileged Extension into play. To have the same privileges as other pre-installed package managers, such as Google Play, i.e., installing/updating apps in the background, F-Droid needs so called "privileged permissions". To get these we provide an extension to F-Droid which must be either shipped with your Android distribution/rom or installed into the system.
More information be found in the wiki page.
./gradlew assembleRelease
You can download the extension from our repo.