Use phone icon for the back action in call log details.
In order for this to work, I had to also change the default icon for the
call log details activity. However, is that is logically part of the
phone app, it is reasonable to change it, even if it does not appear on
its own in the launcher.
Bug: 5105565
Change-Id: Ibe09f0ad17f5ed03b2236443cc9a3c8f192ce18f
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index b669152..48ef0c8 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -468,6 +468,7 @@
android:label="@string/callDetailTitle"
android:theme="@style/CallDetailActivityTheme"
android:screenOrientation="nosensor"
+ android:icon="@mipmap/ic_launcher_phone"
android:taskAffinity="android.task.contacts.phone"
>
<intent-filter>
diff --git a/src/com/android/contacts/CallDetailActivity.java b/src/com/android/contacts/CallDetailActivity.java
index d0eb817..17819f9 100644
--- a/src/com/android/contacts/CallDetailActivity.java
+++ b/src/com/android/contacts/CallDetailActivity.java
@@ -668,7 +668,6 @@
ActionBar actionBar = getActionBar();
if (actionBar != null) {
actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP | ActionBar.DISPLAY_SHOW_HOME);
- actionBar.setIcon(R.drawable.ic_ab_dialer_holo_dark);
}
}