From feb273687ee52263874e93c5ac4daa675be7f965 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Tue, 28 Nov 2023 18:39:04 +0530 Subject: [PATCH] receiver: Drop unused broadcast receivers Keep InstallReceiver as that will be used with the upcoming downloads refactor Signed-off-by: Aayush Gupta --- .../store/data/receiver/BootReceiver.kt | 27 ----------------- .../store/data/receiver/UpdatesReceiver.kt | 30 ------------------- 2 files changed, 57 deletions(-) delete mode 100644 app/src/main/java/com/aurora/store/data/receiver/BootReceiver.kt delete mode 100644 app/src/main/java/com/aurora/store/data/receiver/UpdatesReceiver.kt diff --git a/app/src/main/java/com/aurora/store/data/receiver/BootReceiver.kt b/app/src/main/java/com/aurora/store/data/receiver/BootReceiver.kt deleted file mode 100644 index 3e21e49c9..000000000 --- a/app/src/main/java/com/aurora/store/data/receiver/BootReceiver.kt +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Aurora Store - * Copyright (C) 2021, Rahul Kumar Patel - * - * Aurora Store is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * Aurora Store is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Aurora Store. If not, see . - * - */ -package com.aurora.store.data.receiver - -import android.content.BroadcastReceiver -import android.content.Context -import android.content.Intent - -class BootReceiver : BroadcastReceiver() { - override fun onReceive(context: Context, intent: Intent) {} -} \ No newline at end of file diff --git a/app/src/main/java/com/aurora/store/data/receiver/UpdatesReceiver.kt b/app/src/main/java/com/aurora/store/data/receiver/UpdatesReceiver.kt deleted file mode 100644 index 6c2948e07..000000000 --- a/app/src/main/java/com/aurora/store/data/receiver/UpdatesReceiver.kt +++ /dev/null @@ -1,30 +0,0 @@ -/* - * Aurora Store - * Copyright (C) 2021, Rahul Kumar Patel - * - * Aurora Store is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * Aurora Store is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Aurora Store. If not, see . - * - */ - -package com.aurora.store.data.receiver - -import android.content.BroadcastReceiver -import android.content.Context -import android.content.Intent - -class UpdatesReceiver : BroadcastReceiver() { - override fun onReceive(context: Context, intent: Intent) { - - } -} \ No newline at end of file