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

Commit 95877da9 authored by Daichi Hirono's avatar Daichi Hirono Committed by android-build-merger
Browse files

Merge "Remove "don\'t disconnect the device" description." into nyc-dev

am: 30506508

* commit '30506508':
  Remove "don't disconnect the device" description.

Change-Id: I88751f56f07aaee862ee7a6519340a40c8ccb48f
parents f2f53a94 30506508
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -25,8 +25,6 @@
    <string name="root_name"><xliff:g id="device_model" example="Nexus 9">%1$s</xliff:g> <xliff:g id="storage_name" example="Internal Storage">%2$s</xliff:g></string>
    <!-- Title of notification showing Files app is accessing files in a MTP device. [CHAR LIMIT=60]-->
    <string name="accessing_notification_title">Accessing files from <xliff:g id="device_model" example="Nexus 9">%1$s</xliff:g></string>
    <!-- Description of notification showing Files app is accessing files in a MTP device. [CHAR LIMIT=60]-->
    <string name="accessing_notification_description">Don\'t disconnect the device</string>
    <!-- Error message shown in Files app when the connected MTP device is busy. [CHAR LIMIT=150]-->
    <string name="error_busy_device">The other device is busy. You can\'t transfer files until it\'s available.</string>
    <!-- Error message shown in Files app when the connected MTP device may be locked. [CHAR LIMIT=150]-->
+0 −3
Original line number Diff line number Diff line
@@ -74,13 +74,10 @@ public class MtpDocumentsService extends Service {
            final String title = getResources().getString(
                    R.string.accessing_notification_title,
                    record.name);
            final String description = getResources().getString(
                    R.string.accessing_notification_description);
            notificationId = record.deviceId;
            notification = new Notification.Builder(this)
                    .setLocalOnly(true)
                    .setContentTitle(title)
                    .setContentText(description)
                    .setSmallIcon(com.android.internal.R.drawable.stat_sys_data_usb)
                    .setCategory(Notification.CATEGORY_SYSTEM)
                    .setPriority(Notification.PRIORITY_LOW)