Merge "Don't prune read only contacts in SaveService for joins and splits" into nyc-dev
diff --git a/res/layout/compact_photo_editor_view.xml b/res/layout/compact_photo_editor_view.xml
index 9806f64..8f791ca 100644
--- a/res/layout/compact_photo_editor_view.xml
+++ b/res/layout/compact_photo_editor_view.xml
@@ -47,9 +47,10 @@
<View
android:id="@+id/photo_touch_intercept_overlay"
+ android:focusable="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/item_background_material_dark"
android:contentDescription="@string/compact_editor_change_photo_content_description" />
-</com.android.contacts.editor.CompactPhotoEditorView>
\ No newline at end of file
+</com.android.contacts.editor.CompactPhotoEditorView>
diff --git a/src/com/android/contacts/activities/PeopleActivity.java b/src/com/android/contacts/activities/PeopleActivity.java
index 3077a63..8c3d227 100644
--- a/src/com/android/contacts/activities/PeopleActivity.java
+++ b/src/com/android/contacts/activities/PeopleActivity.java
@@ -1102,7 +1102,7 @@
makeMenuItemVisible(menu, R.id.menu_search, showMiscOptions);
makeMenuItemVisible(menu, R.id.menu_import_export, showMiscOptions);
makeMenuItemVisible(menu, R.id.menu_accounts, showMiscOptions);
- makeMenuItemVisible(menu, R.id.menu_blocked_numbers, showBlockedNumbers);
+ makeMenuItemVisible(menu, R.id.menu_blocked_numbers, showMiscOptions && showBlockedNumbers);
makeMenuItemVisible(menu, R.id.menu_settings,
showMiscOptions && !ContactsPreferenceActivity.isEmpty(this));