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

Commit f1a3c2ad authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Do not call ProfileService.stop() if not started

Bug: 267387873
Test: build
Change-Id: I91c8ca2bce1053f1401421f5439e762dded49c5b
parent 804d8083
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -378,6 +378,7 @@ public abstract class ProfileService extends Service {
        }
        if (!mProfileStarted) {
            Log.w(mName, "doStop() called, but the profile is not running.");
            return;
        }
        mProfileStarted = false;
        if (mAdapterService != null) {