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

Commit 677d4e84 authored by Joey's avatar Joey
Browse files

Recorder: use outline icon assets



Change-Id: I67a75376a3355f329b73f9538280926fea692fb5
Signed-off-by: default avatarJoey <joey@lineageos.org>
parent bde4e521
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ public class ScreencastService extends Service {

        return new NotificationCompat.Builder(this, SCREENCAST_NOTIFICATION_CHANNEL)
                .setOngoing(true)
                .setSmallIcon(R.drawable.ic_action_screen_record)
                .setSmallIcon(R.drawable.ic_notification_screen)
                .setContentTitle(getString(R.string.screen_notification_title))
                .setContentText(getString(R.string.screen_notification_message))
                .setContentIntent(PendingIntent.getActivity(this, 0, intent, 0))
@@ -294,7 +294,7 @@ public class ScreencastService extends Service {

        return new NotificationCompat.Builder(this, SCREENCAST_NOTIFICATION_CHANNEL)
                .setWhen(System.currentTimeMillis())
                .setSmallIcon(R.drawable.ic_action_screen_record)
                .setSmallIcon(R.drawable.ic_notification_screen)
                .setContentTitle(getString(R.string.screen_notification_message_done))
                .setContentText(getString(R.string.screen_notification_message,
                        DateUtils.formatElapsedTime(timeElapsed / 1000)))
+2 −2
Original line number Diff line number Diff line
@@ -301,7 +301,7 @@ public class SoundRecorderService extends Service {
                .setContentText(getString(R.string.sound_notification_message,
                        DateUtils.formatElapsedTime(mElapsedTime / 1000)))
                .setOngoing(true)
                .setSmallIcon(R.drawable.ic_action_sound_record)
                .setSmallIcon(R.drawable.ic_notification_sound)
                .setContentIntent(pi)
                .setColor(ContextCompat.getColor(this, R.color.colorPrimary));

@@ -327,7 +327,7 @@ public class SoundRecorderService extends Service {
        Notification notification = new NotificationCompat.Builder(
                this, SOUNDRECORDER_NOTIFICATION_CHANNEL)
                .setWhen(System.currentTimeMillis())
                .setSmallIcon(R.drawable.ic_action_sound_record)
                .setSmallIcon(R.drawable.ic_notification_sound)
                .setContentTitle(getString(R.string.sound_notification_title))
                .setContentText(getString(R.string.sound_notification_message,
                        DateUtils.formatElapsedTime(mElapsedTime / 1000)))
+1 −1
Original line number Diff line number Diff line
@@ -20,5 +20,5 @@
    android:viewportWidth="24">
    <path
        android:fillColor="@color/black"
        android:pathData="M6,19c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V9c0,-1.1 -0.9,-2 -2,-2H8C6.9,7 6,7.9 6,9V19zM18,4h-2.5l-0.71,-0.71C14.61,3.11 14.35,3 14.09,3H9.91C9.65,3 9.39,3.11 9.21,3.29L8.5,4H6C5.45,4 5,4.45 5,5v0c0,0.55 0.45,1 1,1h12c0.55,0 1,-0.45 1,-1v0C19,4.45 18.55,4 18,4z" />
        android:pathData="M16,9v10H8V9h8m-1.5,-6h-5l-1,1H5v2h14V4h-3.5l-1,-1zM18,7H6v12c0,1.1 0.9,2 2,2h8c1.1,0 2,-0.9 2,-2V7z"/>
</vector>
+1 −1
Original line number Diff line number Diff line
@@ -20,5 +20,5 @@
    android:viewportWidth="24">
    <path
        android:fillColor="@color/icon"
        android:pathData="M18,4l1.82,3.64C19.9,7.8 19.78,8 19.6,8h-1.98c-0.38,0 -0.73,-0.21 -0.89,-0.55L15,4h-2l1.82,3.64C14.9,7.8 14.78,8 14.6,8h-1.98c-0.38,0 -0.73,-0.21 -0.89,-0.55L10,4H8l1.82,3.64C9.9,7.8 9.78,8 9.6,8H7.62C7.24,8 6.89,7.79 6.72,7.45L5,4H4C2.9,4 2,4.9 2,6v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V5c0,-0.55 -0.45,-1 -1,-1H18z" />
        android:pathData="M4,6.47L5.76,10H20v8H4V6.47M22,4h-4l2,4h-3l-2,-4h-2l2,4h-3l-2,-4H8l2,4H7L5,4H4c-1.1,0 -1.99,0.9 -1.99,2L2,18c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V4z"/>
</vector>
+1 −1
Original line number Diff line number Diff line
@@ -20,5 +20,5 @@
    android:viewportWidth="24">
    <path
        android:fillColor="@color/icon"
        android:pathData="M20,4H4C2.9,4 2,4.9 2,6v12c0,1.1 0.9,2 2,2h16c1.1,0 2,-0.9 2,-2V6C22,4.9 21.1,4 20,4zM7.11,16.89L7.11,16.89c-0.43,0.43 -1.14,0.39 -1.51,-0.09C4.53,15.39 4,13.69 4,12c0,-1.69 0.53,-3.38 1.59,-4.8C5.96,6.72 6.67,6.67 7.1,7.1l0,0C7.45,7.45 7.49,8 7.2,8.39C6.4,9.46 6,10.73 6,12c0,1.27 0.4,2.53 1.2,3.6C7.5,15.99 7.46,16.54 7.11,16.89zM12,16c-2.21,0 -4,-1.79 -4,-4s1.79,-4 4,-4s4,1.79 4,4S14.21,16 12,16zM16.9,16.9L16.9,16.9c-0.35,-0.35 -0.39,-0.9 -0.09,-1.29C17.6,14.54 18,13.27 18,12c0,-1.27 -0.4,-2.53 -1.2,-3.6c-0.3,-0.39 -0.26,-0.95 0.09,-1.3l0,0c0.43,-0.43 1.14,-0.39 1.51,0.09c1.07,1.41 1.6,3.1 1.6,4.8c0,1.69 -0.53,3.38 -1.59,4.8C18.04,17.28 17.33,17.33 16.9,16.9zM12,10c-1.1,0 -2,0.9 -2,2s0.9,2 2,2s2,-0.9 2,-2S13.1,10 12,10z"/>
        android:pathData="M21,3L3,3c-1.1,0 -2,0.9 -2,2v14c0,1.1 0.9,2 2,2h18c1.1,0 2,-0.9 2,-2L23,5c0,-1.1 -0.9,-2 -2,-2zM21,19L3,19L3,5h18v14zM8,15c0,-1.66 1.34,-3 3,-3 0.35,0 0.69,0.07 1,0.18L12,6h5v2h-3v7.03c-0.02,1.64 -1.35,2.97 -3,2.97 -1.66,0 -3,-1.34 -3,-3z"/>
</vector>
Loading