Skip to content

Commit

Permalink
feature: Enable wireless debugging on boot (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smooth-E committed Jun 5, 2024
1 parent 608fe24 commit c5fe793
Show file tree
Hide file tree
Showing 15 changed files with 486 additions and 35 deletions.
13 changes: 13 additions & 0 deletions .idea/deviceManager.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

263 changes: 263 additions & 0 deletions .idea/other.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 21 additions & 24 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.USE_EXACT_ALARM" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

<uses-permission
android:name="android.permission.QUERY_ALL_PACKAGES"
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" />

<application
android:name=".WADBS"
<application android:name=".WADBS"
android:allowBackup="true"
android:icon="@mipmap/app_icon"
android:label="@string/app_name_short"
Expand All @@ -33,17 +32,24 @@

<activity android:name=".GrantPermissionsActivity" android:exported="false"/>

<activity
android:name=".preference.ActivityPreferencePrefix"
<activity android:name=".preference.ActivityPreferenceEnableOnBoot"
android:exported="false"/>

<activity android:name=".preference.ActivityPreferencePrefix"
android:exported="false"
android:windowSoftInputMode="adjustPan"/>

<activity android:name=".preference.ActivityPreferenceKdeConnect" android:exported="false"/>

<receiver android:name=".OnBootCompletedReceiver" android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>

<!-- Shizuku provider -->

<provider
android:name="rikka.shizuku.ShizukuProvider"
<provider android:name="rikka.shizuku.ShizukuProvider"
android:authorities="${applicationId}.shizuku"
android:multiprocess="false"
android:enabled="true"
Expand All @@ -62,17 +68,13 @@

<!-- Basic Widget Components -->

<activity
android:name=".widget.BasicWidgetActivity"
android:exported="false">
<activity android:name=".widget.BasicWidgetActivity" android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>

<receiver
android:name=".widget.BasicWidget"
android:exported="false">
<receiver android:name=".widget.BasicWidget" android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.appwidget.action.ENABLED" />
Expand All @@ -92,8 +94,7 @@
</intent-filter>
</activity>

<receiver
android:name="com.smoothie.wirelessDebuggingSwitch.widget.InformationWidget"
<receiver android:name="com.smoothie.wirelessDebuggingSwitch.widget.InformationWidget"
android:exported="false">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
Expand All @@ -106,8 +107,7 @@

<!-- Quick Settings Tile Service -->

<service
android:name=".QSTileService"
<service android:name=".QSTileService"
android:exported="true"
android:enabled="true"
android:icon="@drawable/baseline_phonelink_24"
Expand All @@ -117,16 +117,13 @@
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
<meta-data
android:name="android.service.quicksettings.ACTIVE_TILE"
<meta-data android:name="android.service.quicksettings.ACTIVE_TILE"
android:value="false" />
<meta-data
android:name="android.service.quicksettings.TOGGLEABLE_TILE"
<meta-data android:name="android.service.quicksettings.TOGGLEABLE_TILE"
android:value="true" />
</service>

<receiver
android:name=".ExtendedViewBroadcastReceiver"
<receiver android:name=".ExtendedViewBroadcastReceiver"
android:exported="false">
<intent-filter>
<action android:name="com.smoothie.wadbs.oneui_qs_action.COPY_DATA"/>
Expand Down
Loading

0 comments on commit c5fe793

Please sign in to comment.