Commit b7bb76d7 authored by wanglei's avatar wanglei

...

parent ca3016f4
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/Theme.LocalWeatherWhite" android:theme="@style/Theme.LocalWeatherWhite"
tools:targetApi="31"> tools:targetApi="31">
<activity
android:name=".ui.splash.SplashActivity"
android:exported="false" />
<activity <activity
android:name=".ui.main.MainActivity" android:name=".ui.main.MainActivity"
android:exported="true"> android:exported="true">
...@@ -100,7 +102,6 @@ ...@@ -100,7 +102,6 @@
<meta-data <meta-data
android:name="com.facebook.sdk.ApplicationId" android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" /> android:value="@string/facebook_app_id" />
</application> </application>
</manifest> </manifest>
\ No newline at end of file
...@@ -31,7 +31,7 @@ class StayJobService : JobService() { ...@@ -31,7 +31,7 @@ class StayJobService : JobService() {
companion object { companion object {
private val TAG = "StayJobService" private val TAG = "StayJobService"
private val NOTIFICATION_STAY_ID = 186 val NOTIFICATION_STAY_ID = 186
private var isRunning = false private var isRunning = false
......
package com.base.appzxhy.ui.splash
import android.annotation.SuppressLint
import com.base.appzxhy.base.BaseActivity
import com.base.appzxhy.databinding.ActivitySplashBinding
@SuppressLint("CustomSplashScreen")
class SplashActivity : BaseActivity<ActivitySplashBinding>(ActivitySplashBinding::inflate) {
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ui.splash.SplashActivity">
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment