kivy: change activity launchMode to singleTask

This commit is contained in:
SomberNight 2018-04-10 14:12:13 +02:00
parent 35b3294a5d
commit a852f97e97
No known key found for this signature in database
GPG key ID: B33B5F232C6271E9
2 changed files with 7 additions and 4 deletions

View file

@ -7,7 +7,7 @@ p4a is used to package Electrum, Python, SDL and a bootstrap Java app into an AP
We patched p4a to add some functionality we need for Electrum. Until those changes are
merged into p4a, you need to merge them locally (into the master branch):
2. [kivy/python-for-android#1217](https://github.com/kivy/python-for-android/pull/1217)
1.1 [kivy/python-for-android#1217](https://github.com/kivy/python-for-android/pull/1217)
Something like this should work:
@ -16,9 +16,9 @@ cd /opt
git clone https://github.com/kivy/python-for-android
cd python-for-android
git remote add agilewalker https://github.com/agilewalker/python-for-android
git checkout a036f4442b6a23
git fetch agilewalker
git merge agilewalker/master
git fetch --all
git checkout 93759f36ba45c7bbe0456a4b3e6788622924cbac
git merge a2fb5ecbc09c4847adbcfd03c6b1ca62b3d09b8d
```
## 2. Install buildozer

View file

@ -107,6 +107,9 @@ android.add_activities = org.electrum.qr.SimpleScannerActivity
# (str) XML file to include as an intent filters in <activity> tag
android.manifest.intent_filters = gui/kivy/tools/bitcoin_intent.xml
# (str) launchMode to set for the main activity
android.manifest.launch_mode = singleTask
# (list) Android additionnal libraries to copy into libs/armeabi
#android.add_libs_armeabi = lib/android/*.so