Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
exclude test activity in release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow578 committed Mar 29, 2021
1 parent 38c4089 commit af5bdd6
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Extensions-Lib
40 changes: 40 additions & 0 deletions app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.github.shadow578.tenshicontent">

<uses-permission android:name="android.permission.INTERNET" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.TenshiContent">

<!-- testing activity -->
<activity android:name=".TestActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<!-- Web Adapter -->
<service
android:name=".webadapter.WebAdapterService"
android:exported="true">
<intent-filter>
<action android:name="io.github.shadow578.tenshi.content.ADAPTER" />
<category android:name="io.github.shadow578.tenshi.content.ADAPTER" />
</intent-filter>

<meta-data
android:name="io.github.shadow578.tenshi.content.ADAPTER_VERSION"
android:value="2" />
</service>
<activity
android:name=".webadapter.WebAdapterActivity"
android:label="@string/webadapter_title" />
</application>
</manifest>
8 changes: 0 additions & 8 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@
android:supportsRtl="true"
android:theme="@style/Theme.TenshiContent">

<!-- testing activity -->
<activity android:name=".TestActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<!-- Web Adapter -->
<service
android:name=".webadapter.WebAdapterService"
Expand Down

0 comments on commit af5bdd6

Please sign in to comment.