mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-02 23:25:10 +00:00
Remove gui counters logic
It had bugs and was never used. I've left in the Discovery Mode logic because we might want to expose that somehow like GSConnect does.
This commit is contained in:
@@ -401,14 +401,11 @@ public class Device implements BaseLink.PacketReceiver {
|
||||
.build();
|
||||
|
||||
NotificationHelper.notifyCompat(notificationManager, notificationId, noti);
|
||||
|
||||
BackgroundService.addGuiInUseCounter(context);
|
||||
}
|
||||
|
||||
public void hidePairingNotification() {
|
||||
final NotificationManager notificationManager = (NotificationManager) getContext().getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
notificationManager.cancel(notificationId);
|
||||
BackgroundService.removeGuiInUseCounter(context);
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user