From 56f79ba6c6608f7041f5e65866b7164499ca7676 Mon Sep 17 00:00:00 2001 From: twyen Date: Mon, 30 Apr 2018 14:25:46 -0700 Subject: Refactor PreferredAccountWorker to provide the dialog to be shown. When dual SIM selection support is added to In Call UI it was a rush order and codes are duplicated. This CL moves the duplicated logic into PreferredAccountWorker so the same dialog can be shown for both. TEST=manual Bug: 69675796,72618783 Test: manual PiperOrigin-RevId: 194845320 Change-Id: Id283ca7616580b0efd4e8f02e63691c70ee7f93c --- .../preferredsim/impl/res/values/strings.xml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 java/com/android/dialer/preferredsim/impl/res/values/strings.xml (limited to 'java/com/android/dialer/preferredsim/impl/res') diff --git a/java/com/android/dialer/preferredsim/impl/res/values/strings.xml b/java/com/android/dialer/preferredsim/impl/res/values/strings.xml new file mode 100644 index 000000000..5e7ddd36c --- /dev/null +++ b/java/com/android/dialer/preferredsim/impl/res/values/strings.xml @@ -0,0 +1,33 @@ + + + + + Cannot make call without phone permission + + + Choose SIM for this call + + + Remember this choice + + + Not available while using %1$s + \ No newline at end of file -- cgit v1.2.3