KeyHandler: Remove BootCompletedReceiver

No longer needed.

Change-Id: Ib6d7388dc61b3c807710c77339a8bab0256fbaf4
This commit is contained in:
LuK1337
2022-04-13 09:52:44 +02:00
parent 6b6d45fe1f
commit 2aa828d7c2
2 changed files with 0 additions and 32 deletions

View File

@@ -17,7 +17,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:sharedUserId="android.uid.system"
package="org.lineageos.settings.device">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<application
@@ -27,15 +26,6 @@
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true">
<receiver
android:name="org.lineageos.settings.device.BootCompletedReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<provider
android:name=".ConfigPanelSearchIndexablesProvider"
android:authorities="org.lineageos.settings.device"

View File

@@ -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"
}
}