KeyHandler: Remove BootCompletedReceiver
No longer needed. Change-Id: Ib6d7388dc61b3c807710c77339a8bab0256fbaf4
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 The LineageOS Project
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
package org.lineageos.settings.device
|
||||
|
||||
import android.content.BroadcastReceiver
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.util.Log
|
||||
|
||||
class BootCompletedReceiver : BroadcastReceiver() {
|
||||
override fun onReceive(context: Context, intent: Intent) {
|
||||
Log.d(TAG, "Starting")
|
||||
context.startService(Intent(context, KeyHandler::class.java))
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val TAG = "KeyHandler"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user