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

Commit 00b97ae9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update notification title/content text" into sc-dev am: e79f709c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13782406

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I65665a33504c84316d0a203d5dd989f16614cc45
parents 420d58d7 e79f709c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -294,8 +294,10 @@
    <string name="screenrecord_share_label">Share</string>
    <!-- A toast message shown after successfully canceling a screen recording [CHAR LIMIT=NONE] -->
    <string name="screenrecord_cancel_success">Screen recording canceled</string>
    <!-- Notification text shown after saving a screen recording to prompt the user to view it [CHAR LIMIT=100] -->
    <string name="screenrecord_save_message">Screen recording saved, tap to view</string>
    <!-- Notification text shown after saving a screen recording [CHAR LIMIT=100] -->
    <string name="screenrecord_save_title">Screen recording saved</string>
    <!-- Subtext for a notification shown after saving a screen recording to prompt the user to view it [CHAR_LIMIT=100] -->
    <string name="screenrecord_save_text">Tap to view</string>
    <!-- A toast message shown when there is an error deleting a screen recording [CHAR LIMIT=NONE] -->
    <string name="screenrecord_delete_error">Error deleting screen recording</string>
    <!-- A toast message shown when the screen recording cannot be started due to insufficient permissions [CHAR LIMIT=NONE] -->
+2 −1
Original line number Diff line number Diff line
@@ -351,7 +351,8 @@ public class RecordingService extends Service implements MediaRecorder.OnInfoLis

        Notification.Builder builder = new Notification.Builder(this, CHANNEL_ID)
                .setSmallIcon(R.drawable.ic_screenrecord)
                .setContentTitle(getResources().getString(R.string.screenrecord_save_message))
                .setContentTitle(getResources().getString(R.string.screenrecord_save_title))
                .setContentText(getResources().getString(R.string.screenrecord_save_text))
                .setContentIntent(PendingIntent.getActivity(
                        this,
                        REQUEST_CODE,