Skip to content

Commit

Permalink
Flattery: Declare that this app is a launcher
Browse files Browse the repository at this point in the history
* Else it wouldnt even show up in default launcher settings lol
  • Loading branch information
techyminati authored Mar 28, 2024
1 parent 8877093 commit b68c7e4
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,15 @@
android:name="android.permission.QUERY_ALL_PACKAGES"
tools:ignore="QueryAllPackagesPermission" />


<application
android:name="com.agronick.launcher.Launcher"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@android:style/Theme.DeviceDefault">
<uses-library
android:name="com.google.android.wearable"
android:required="true" />

<!--
Set to true if your app is Standalone, that is, it does not require the handheld
app to run.
-->
<meta-data
android:name="com.google.android.wearable.standalone"
android:value="true" />

<!-- Add the following intent-filter for your main activity -->
<activity
android:name=".MainActivity"
android:exported="true"
Expand All @@ -38,9 +27,13 @@
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.HOME" /> <!-- Add this line -->
</intent-filter>
</activity>

<!-- Add the BIND_HOME_SCREEN permission -->
<uses-permission android:name="android.permission.BIND_HOME_SCREEN" />

</application>

</manifest>
</manifest>

0 comments on commit b68c7e4

Please sign in to comment.