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

Commit c2597f0e authored by Oliver Woodman's avatar Oliver Woodman Committed by android-build-merger
Browse files

am 9aa5cb76: am 69fd01d3: Merge "MediaSessionLegacyHelper uses global...

am 9aa5cb76: am 69fd01d3: Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
automerge: 20e52c34

* commit '20e52c34':
  MediaSessionLegacyHelper uses global Application context
parents 3c125575 20e52c34
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -69,12 +69,9 @@ public class MediaSessionLegacyHelper {
    }

    public static MediaSessionLegacyHelper getHelper(Context context) {
        if (DEBUG) {
            Log.d(TAG, "Attempting to get helper with context " + context);
        }
        synchronized (sLock) {
            if (sInstance == null) {
                sInstance = new MediaSessionLegacyHelper(context);
                sInstance = new MediaSessionLegacyHelper(context.getApplicationContext());
            }
        }
        return sInstance;