|
@@ -7,8 +7,6 @@ import DownloadItem
|
7
|
7
|
import android.Manifest
|
8
|
8
|
import android.annotation.SuppressLint
|
9
|
9
|
import android.app.ActivityManager
|
10
|
|
-import android.app.Notification
|
11
|
|
-import android.app.PendingIntent
|
12
|
10
|
import android.content.ComponentName
|
13
|
11
|
import android.content.Context
|
14
|
12
|
import android.content.Intent
|
|
@@ -1611,7 +1609,7 @@ class MainActivity : BaseActivity<MainViewModel, ActivityMainBinding>(),Download
|
1611
|
1609
|
private fun loginOutSucess() {
|
1612
|
1610
|
spUtils.setParam(Const.DISABLEPAD,false)
|
1613
|
1611
|
WorkManager.getInstance(this).cancelAllWork()
|
1614
|
|
- deleteSharedPreferences(SharedPreferencesUtils.SP_FILE_NAME)
|
|
1612
|
+ val deleteSharedPreferences =spUtils.clearData()
|
1615
|
1613
|
Const.USERID = null
|
1616
|
1614
|
Const.USERNAME = ""
|
1617
|
1615
|
AppSocket.onDestroy()
|