From a9ac419b3564590e5fccba048988e287490bc79c Mon Sep 17 00:00:00 2001 From: lzw <lzw@github.aaej.cn> Date: 星期一, 19 二月 2024 13:50:06 +0800 Subject: [PATCH] 1.修改成无界面的apk 2.修改成服务 --- app/src/main/AndroidManifest.xml | 22 +--------------------- 1 files changed, 1 insertions(+), 21 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 70b4af1..5c0b4a2 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -14,28 +14,8 @@ android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> - <activity android:name=".HomePageActivity" - android:theme="@style/Theme.AppCompat.Light.NoActionBar" - android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize" - android:launchMode="singleTask" - android:screenOrientation="portrait" - android:windowSoftInputMode="stateAlwaysHidden|adjustResize"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> - -<!-- <intent-filter>--> -<!-- <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/>--> -<!-- <action android:name="android.hardware.usb.action.ACTION_USB_DEVICE_DETACHED"/>--> -<!-- <action android:name="android.hardware.usb.action.USB_STATE"/>--> -<!-- </intent-filter>--> - -<!-- <meta-data--> -<!-- android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"--> -<!-- android:resource="@xml/device_filter"/>--> - </activity> + <service android:name=".FwUpgradeService" android:exported="true"/> </application> </manifest> \ No newline at end of file -- Gitblit v1.8.0