1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-30 11:18:12 +00:00

To work on Android 28 (Pie), we have to explicitly declare the

FOREGROUND_SERVICE permission.
This commit is contained in:
Greg Alexander 2019-05-26 21:23:56 -04:00
parent c759480f44
commit 38f477e63c

View File

@ -7,6 +7,7 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<application android:label="SimpleSSHD" android:icon="@drawable/icon"> <application android:label="SimpleSSHD" android:icon="@drawable/icon">
<activity android:name="SimpleSSHD" android:label="SimpleSSHD" <activity android:name="SimpleSSHD" android:label="SimpleSSHD"
android:launchMode="singleTask"> android:launchMode="singleTask">