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

Commit f608f965 authored by William Escande's avatar William Escande
Browse files

24q2 flag clean: keep_stopped_media_browser_service

Fix: 314855224
Bug: 314855224
Test: m Bluetooth
Flag: com.android.bluetooth.flags.keep_stopped_media_browser_service
Change-Id: Ie0dddd9ae129f7e3cb5d417deb23e480e4e491b4
parent 1c233a71
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -233,10 +233,8 @@ public class MediaPlayerList {
        } else {
            // Build the list of browsable players and afterwards, build the list of media players
            Intent intent = new Intent(android.service.media.MediaBrowserService.SERVICE_INTERFACE);
            if (Flags.keepStoppedMediaBrowserService()) {
            // Don't query stopped apps, that would end up unstopping them
            intent.addFlags(Intent.FLAG_EXCLUDE_STOPPED_PACKAGES);
            }
            List<ResolveInfo> playerList =
                    mContext.getApplicationContext()
                            .getPackageManager()
@@ -856,10 +854,8 @@ public class MediaPlayerList {
                        .getPackageManager()
                        .queryIntentActivities(intentPlayer, 0);

        if (Flags.keepStoppedMediaBrowserService()) {
        // Don't query stopped apps, that would end up unstopping them
        intentBrowsable.addFlags(Intent.FLAG_EXCLUDE_STOPPED_PACKAGES);
        }
        List<ResolveInfo> browsablePlayerList =
                mContext.getApplicationContext()
                        .getPackageManager()
+0 −7
Original line number Diff line number Diff line
@@ -35,13 +35,6 @@ flag {
    bug: "311447399"
}

flag {
    name: "keep_stopped_media_browser_service"
    namespace: "bluetooth"
    description: "Do not start stopped media browser services"
    bug: "314855224"
}

flag {
    name: "identity_address_null_if_not_known"
    namespace: "bluetooth"