6.7.0 - Alpha3 - 设置页面支持应用启动器图标设置选项 (issue #405)
This commit is contained in:
@@ -209,9 +209,20 @@
|
||||
<activity
|
||||
android:name="org.autojs.autojs.ui.splash.SplashActivity"
|
||||
android:exported="true"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/AppTheme.Splash"
|
||||
tools:ignore="RedundantLabel">
|
||||
>
|
||||
<meta-data
|
||||
android:name="android.app.shortcuts"
|
||||
android:resource="@xml/app_shortcuts" />
|
||||
</activity>
|
||||
|
||||
<activity-alias
|
||||
android:name="org.autojs.autojs.launcher.AdaptiveIconAlias"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:icon="${icon}"
|
||||
android:targetActivity="org.autojs.autojs.ui.splash.SplashActivity">
|
||||
|
||||
<intent-filter>
|
||||
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
@@ -220,10 +231,24 @@
|
||||
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="android.app.shortcuts"
|
||||
android:resource="@xml/app_shortcuts" />
|
||||
</activity>
|
||||
</activity-alias>
|
||||
|
||||
<activity-alias
|
||||
android:name="org.autojs.autojs.launcher.TransparentBackgroundIconAlias"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:icon="@drawable/autojs6_material"
|
||||
android:targetActivity="org.autojs.autojs.ui.splash.SplashActivity">
|
||||
|
||||
<intent-filter>
|
||||
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
||||
<category android:name="${intentCategory}" />
|
||||
|
||||
</intent-filter>
|
||||
|
||||
</activity-alias>
|
||||
|
||||
<activity
|
||||
android:name="org.autojs.autojs.ui.main.MainActivity"
|
||||
|
||||
Reference in New Issue
Block a user