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

Commit c393989f authored by Benson Huang's avatar Benson Huang Committed by leozwang
Browse files

[FM] The channel name will not disappear on the main screen after deleting...

    [FM] The channel name will not disappear on the main screen after deleting a channel from the Favorites

    Enter FM radio -> Tap star icon to add the channel in
    the Favorites -> Rename the channel -> Tap star icon
    to delete a channel from the Favorites -> Check the name
    on the main screen, the channel name will not disappear.

    The CL is to fix the issue that gjalan reproduced.

    Bug 18847141

    Review: https://partner-android-review.git.corp.google.com/#/c/192521



    Signed-off-by: default avatarBenson Huang <benson.huang@mediatek.com>

Change-Id: Ib5339c1e956981bdbcff74767b5c422d2e4fcf8b
parent 51530a28
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -454,6 +454,7 @@ public class FmMainActivity extends Activity implements FmFavoriteEditDialog.Edi
            mButtonAddToFavorite.setImageResource(R.drawable.btn_fm_favorite_off_selector);
            // Notify scroller
            mScroller.onRemoveFavorite();
            mTextStationName.setText(FmStation.getStationName(mContext, mCurrentStation));
        } else {
            // Add the station to favorite
            if (FmStation.isStationExist(mContext, mCurrentStation)) {