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

Commit 5ab717f2 authored by Svetoslav's avatar Svetoslav
Browse files

Print UI tweaks.

1. The refresh button in a print notification was using
   wrong asset.

2. If the page count is unknown, just not show the page
   count instead unknown.

bug:10983508

Change-Id: I15f1fcbff60fe1f30d37868864da41550bb14487
parent 19565ad1
Loading
Loading
Loading
Loading
+3.06 KiB
Loading image diff...
+2.96 KiB
Loading image diff...
+3.14 KiB
Loading image diff...
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@
    <string name="printing_app_crashed">Printing app crashed</string>

    <!-- Title if the number of pages in a printed document is unknown. [CHAR LIMIT=20] -->
    <string name="page_count_unknown">unavailable</string>
    <string name="page_count_unknown">Pages</string>

    <!-- Title for the temporary dialog show while an app is generating a print job. [CHAR LIMIT=30] -->
    <string name="generating_print_job">Generating print job</string>
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ public class NotificationController {
                        printJob.getLabel()))
                .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel),
                        createCancelIntent(printJob))
                .addAction(android.R.drawable.ic_secure, mContext.getString(R.string.restart),
                .addAction(R.drawable.ic_restart, mContext.getString(R.string.restart),
                        createRestartIntent(printJob.getId()))
                .setContentText(printJob.getPrinterName())
                .setWhen(System.currentTimeMillis())
Loading