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

Commit 1990fe4e authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

PlayerRecord: remove obsolete accessors

Change-Id: I0a7789e28c1427b6e9f770368f9bab9c097b3594
parent 0456e3aa
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -257,18 +257,6 @@ class PlayerRecord implements DeathRecipient {
        return mMediaIntent;
    }

    // FIXME this is only used when comparing with the audio focus owner calling package name,
    //       accessor to be removed once audio focus and media button owner are dissociated
    protected String getCallingPackageName() {
        return mCallingPackageName;
    }

    // FIXME this is only used when comparing with the audio focus owner calling package name,
    //       accessor to be removed once audio focus and media button owner are dissociated
    protected int getCallingUid() {
        return mCallingUid;
    }

    protected boolean hasMatchingMediaButtonIntent(PendingIntent pi) {
        if (mToken != null) {
            return mMediaIntent.equals(pi);