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

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

[FM] Unable to save recorded audio from FM radio when a channel has a very long name

    Launch FM app and search for FM channels -> Add one of
    the channels to Favorite and rename the channel with a
    long name (60 characters or more) -> Now play the renamed
    channel and start recording the audio, stop recording and
    tap on the save button on the pop up to save the audio ->
    Start recording the audio again from the same channel, stop
    recording and tap on the save button on the pop up to save
    the audio, "<audio file name> already exists" and audio is
    not saved.

    The CL is to limit the maximum length for renaming a station
    and fix the layout issue when the station name is too long.

    Bug 18844225

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



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

Change-Id: I30eb19497e3181efe5143a39b84d9c25c3ee37a6
parent 0b5a1314
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
        android:singleLine="true"
        android:alpha="0.87"
        android:hint="@string/station_rename_hint"
        android:maxLength="60"
        android:textSize="16dp"
        android:textColor="@color/black_color" />
</LinearLayout>
+2 −1
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@
                android:layout_height="wrap_content"
                android:layout_marginTop="12dip"
                android:layout_marginBottom="-2dip"
                android:layout_marginRight="24dip"
                android:visibility="gone"
                android:orientation="horizontal" >