Skip to content

Commit a2d1acc

Browse files
Fix compilation errors: correct MessageUtil method and add missing NotificationManager import
1 parent 12f6c4a commit a2d1acc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

V2rayNG/app/src/main/java/com/kiktor/v2whitelist/handler/SmartConnectManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ object SmartConnectManager {
6565
}
6666

6767
private fun sendStatus(context: Context, status: String) {
68-
MessageUtil.sendMsg2Activity(context, AppConfig.MSG_UI_STATUS_UPDATE, status)
68+
MessageUtil.sendMsg2UI(context, AppConfig.MSG_UI_STATUS_UPDATE, status)
6969
}
7070

7171
/**

V2rayNG/app/src/main/java/com/kiktor/v2whitelist/service/V2RayProxyOnlyService.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import android.content.Context
55
import android.content.Intent
66
import android.os.IBinder
77
import com.kiktor.v2whitelist.contracts.ServiceControl
8+
import com.kiktor.v2whitelist.handler.NotificationManager
89
import com.kiktor.v2whitelist.handler.SettingsManager
910
import com.kiktor.v2whitelist.handler.V2RayServiceManager
1011
import com.kiktor.v2whitelist.util.MyContextWrapper

0 commit comments

Comments
 (0)