update:2021.03.29
fix:修改为mvp架构,顺序执行,优化连接的次数
add:
This commit is contained in:
FHT
2021-03-29 09:45:15 +08:00
parent 4c2a93cdce
commit 402fe64045
55 changed files with 6040 additions and 2906 deletions

View File

@@ -24,6 +24,7 @@
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<!-- 静默安装权限 -->
<uses-permission
android:name="android.permission.INSTALL_PACKAGES"
@@ -32,6 +33,7 @@
<uses-permission
android:name="android.permission.DELETE_PACKAGES"
tools:ignore="ProtectedPermissions" />
<!-- ##############################极光推送############################## -->
<!-- Required -->
<permission
@@ -53,7 +55,8 @@
android:maxSdkVersion="22" />
<uses-permission
android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"
android:maxSdkVersion="23" /> <!-- 高德地图 -->
android:maxSdkVersion="23" />
<!-- 高德地图 -->
<!-- 用于进行网络定位 -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<!-- 用于访问GPS定位 -->
@@ -78,47 +81,44 @@
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<application
android:name=".MyApplication"
android:name=".base.BaseApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".activity.TopActivity" />
<receiver
android:name=".utils.InstallResultReceiver"
android:enabled="true"
android:exported="true" />
<activity android:name=".activity.HomeActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activity.MainActivity"
android:excludeFromRecents="true"
android:launchMode="singleTop" />
<activity android:name=".activity.MainTestActivity">
android:launchMode="singleTop">
<!-- <intent-filter>-->
<!-- <action android:name="android.intent.action.MAIN" />-->
<!-- <category android:name="android.intent.category.LAUNCHER" />-->
<!-- </intent-filter>-->
</activity>
<service android:name=".server.MyDownloadService" />
<activity
android:name=".activity.OldActivity"
android:excludeFromRecents="true"
android:launchMode="singleTop" />
<!-- <service android:name=".server.MyDownloadService" />-->
<service android:name=".server.GuardService" />
<service
android:name=".server.StepService"
android:exported="true" />
<service
android:name=".server.InitJpushServer"
android:name=".server.MainService"
android:enabled="true"
android:exported="true">
<intent-filter android:priority="1000">
@@ -129,6 +129,12 @@
<data android:scheme="package" />
</intent-filter>
</service>
<!-- <service-->
<!-- android:name=".server.InitJpushServer"-->
<!-- android:enabled="true"-->
<!-- android:exported="true">-->
<!-- </service>-->
<receiver
android:name=".receiver.NewAppReceiver"
@@ -143,6 +149,10 @@
<data android:scheme="package" />
</intent-filter>
</receiver>
<receiver
android:name=".utils.InstallResultReceiver"
android:enabled="true"
android:exported="true" />
<receiver
android:name=".receiver.BootReceiver"
android:enabled="true"
@@ -377,6 +387,9 @@
<service
android:name="com.amap.api.location.APSService"
android:foregroundServiceType="location" />
<meta-data
android:name="CHANNEL_VALUE"
android:value="${channel_value}" />
</application>
</manifest>