Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 307fe304 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Don't try to stop advertising on death of GATT clients

We should no longer stop advertising for GATT clients. Advertisers
are kept in AdvertiseClient, and their death is handled in
AdvertiserDeathRecipient.

Bug: 30622771
Test: Kill app with GATT client registered
Change-Id: I21f246042d1632824ed3d2d8937f13bcafe380ab
parent 04c4617c
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -248,10 +248,6 @@ public class GattService extends ProfileService {
                ScanClient client = new ScanClient(mAppIf, false);
                ScanClient client = new ScanClient(mAppIf, false);
                client.appDied = true;
                client.appDied = true;
                stopScan(client);
                stopScan(client);
            } else {
                AdvertiseClient client = new AdvertiseClient(mAppIf);
                client.appDied = true;
                stopMultiAdvertising(client);
            }
            }
        }
        }