update:2021.01.29
fix:锁屏界面修改为全屏,屏蔽导航栏和通知栏 add:
This commit is contained in:
@@ -11,10 +11,11 @@
|
||||
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
||||
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
|
||||
<uses-permission android:name="android.permission.MASTER_CLEAR" />
|
||||
<uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" /> <!-- 系统权限,有系统签名可以使用 -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH"/>
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
|
||||
<!-- Required -->
|
||||
<uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
|
||||
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
|
||||
<!-- 系统权限,有系统签名可以使用 -->
|
||||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||||
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <!-- Required -->
|
||||
<permission
|
||||
android:name="com.info.sn.permission.JPUSH_MESSAGE"
|
||||
android:protectionLevel="signature" /> <!-- Required 一些系统要求的权限,如访问网络等 -->
|
||||
@@ -56,6 +57,16 @@
|
||||
android:roundIcon="@mipmap/ic_launcher"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<service
|
||||
android:name=".service.ScreenLockService"
|
||||
android:enabled="true"
|
||||
android:exported="true">
|
||||
<intent-filter android:priority="1000">
|
||||
<action android:name="android.intent.action.USER_PRESENT" />
|
||||
<action android:name="android.intent.action.SCREEN_ON" />
|
||||
<action android:name="android.intent.action.SCREEN_OFF" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
<service
|
||||
android:name=".service.InitJpushServer"
|
||||
android:enabled="true"
|
||||
@@ -69,7 +80,8 @@
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
<activity android:name=".activity.MainActivity"
|
||||
<activity
|
||||
android:name=".activity.MainActivity"
|
||||
android:launchMode="singleTask"
|
||||
android:screenOrientation="sensor">
|
||||
<intent-filter>
|
||||
@@ -207,7 +219,14 @@
|
||||
<category android:name="com.info.sn" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".activity.TopActivity" /> <!-- Since JCore2.0.0 Required SDK核心功能 -->
|
||||
<activity
|
||||
android:name=".activity.ScreenLockActivity"
|
||||
android:taskAffinity=".activity.ScreenLockActivity">
|
||||
|
||||
</activity>
|
||||
|
||||
|
||||
<!-- Since JCore2.0.0 Required SDK核心功能 -->
|
||||
<!-- 这个Service要继承JCommonService -->
|
||||
<service
|
||||
android:name=".jpush.PushService"
|
||||
@@ -220,7 +239,7 @@
|
||||
<service android:name=".service.MyDownloadService" />
|
||||
<service android:name=".service.StepService" /> <!-- User defined. For test only 用户自定义的广播接收器 -->
|
||||
<receiver
|
||||
android:name="com.info.sn.jpush.MyReceiver"
|
||||
android:name=".jpush.MyReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
@@ -242,15 +261,13 @@
|
||||
<receiver
|
||||
android:name=".receiver.InstallResultReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true" />
|
||||
<!-- Required . Enable it you can get statistics data with channel -->
|
||||
android:exported="true" /> <!-- Required . Enable it you can get statistics data with channel -->
|
||||
<meta-data
|
||||
android:name="JPUSH_CHANNEL"
|
||||
android:value="developer-default" />
|
||||
<meta-data
|
||||
android:name="JPUSH_APPKEY"
|
||||
android:value="edf9cec22731b8b2fed56ee6" />
|
||||
<!-- 设置key -->
|
||||
android:value="edf9cec22731b8b2fed56ee6" /> <!-- 设置key -->
|
||||
<meta-data
|
||||
android:name="com.amap.api.v2.apikey"
|
||||
android:value="83869aed8624eb00615c2b6d3d15d777" />
|
||||
|
||||
Reference in New Issue
Block a user