Skip to content

Commit

Permalink
small changes to ensure handling of auto start on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
n8fr8 committed Nov 11, 2020
1 parent 82c5603 commit 50ee0d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 146 deletions.
132 changes: 0 additions & 132 deletions app-mini/src/debug/AndroidManifest.xml

This file was deleted.

18 changes: 4 additions & 14 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />

<application
Expand Down Expand Up @@ -148,20 +147,11 @@
android:name=".core.OnBootReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<intent-filter android:directBootAware="true">
<action android:name="android.intent.action.BOOT_COMPLETED" />

<category android:name="android.intent.category.HOME" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />

<category android:name="android.intent.category.HOME" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MEDIA_MOUNTED" />

<category android:name="android.intent.category.HOME" />
<action android:name="android.intent.action.REBOOT"/>
</intent-filter>
</receiver>

Expand Down
2 changes: 2 additions & 0 deletions orbotservice/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.torproject.android.service">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />


</manifest>

0 comments on commit 50ee0d6

Please sign in to comment.