Refactor code of API

Rename Automation API to API
Add API section to READMEs
This commit is contained in:
BinTianqi
2024-12-21 17:11:41 +08:00
parent 6d531f8fd5
commit 873896ec10
14 changed files with 147 additions and 135 deletions

View File

@@ -52,17 +52,6 @@
android:windowSoftInputMode="adjustResize|stateHidden"
android:theme="@style/Theme.Transparent">
</activity>
<activity
android:name=".AutomationActivity"
android:exported="true"
android:launchMode="singleInstance"
android:excludeFromRecents="true"
android:windowSoftInputMode="adjustResize|stateHidden"
android:theme="@style/Theme.Transparent">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
<activity
android:name=".InstallAppActivity"
android:exported="true"
@@ -107,10 +96,14 @@
android:description="@string/app_name">
</receiver>
<receiver
android:name=".AutomationReceiver"
android:exported="true">
android:name=".ApiReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="com.bintianqi.owndroid.action.HIDE"/>
<action android:name="com.bintianqi.owndroid.action.UNHIDE"/>
<action android:name="com.bintianqi.owndroid.action.SUSPEND"/>
<action android:name="com.bintianqi.owndroid.action.UNSUSPEND"/>
<action android:name="com.bintianqi.owndroid.action.LOCK"/>
</intent-filter>
</receiver>
<provider