Loading res/values/bools.xml +1 −0 Original line number Diff line number Diff line Loading @@ -17,5 +17,6 @@ <bool name="quickcontact_two_panel">false</bool> <bool name="contact_all_list_show_card_frame">false</bool> <bool name="config_presence_enabled">false</bool> </resources> src/com/android/contacts/quickcontact/ExpandingEntryCardView.java 100755 → 100644 +1 −2 Original line number Diff line number Diff line Loading @@ -357,8 +357,7 @@ public class ExpandingEntryCardView extends CardView { mTitleTextView = (TextView) expandingEntryCardView.findViewById(R.id.title); mContainer = (LinearLayout) expandingEntryCardView.findViewById(R.id.container); mEnablePresence = mContext.getResources().getBoolean(Resources.getSystem(). getIdentifier("config_presence_enabled", "bool", "android")); mEnablePresence = getResources().getBoolean(R.bool.config_presence_enabled); Log.d(TAG, "ExpandingEntryCardView mEnablePresence = " + mEnablePresence); if (mEnablePresence) { mVideoCalling = (Switch) expandingEntryCardView Loading src/com/android/contacts/quickcontact/QuickContactActivity.java +1 −2 Original line number Diff line number Diff line Loading @@ -1026,8 +1026,7 @@ public class QuickContactActivity extends ContactsActivity mContactCard.setExpandButtonText( getResources().getString(R.string.expanding_entry_card_view_see_all)); mContactCard.setOnCreateContextMenuListener(mEntryContextMenuListener); mEnablePresence = mContext.getResources().getBoolean(Resources.getSystem(). getIdentifier("config_presence_enabled", "bool", "android")); mEnablePresence = getResources().getBoolean(R.bool.config_presence_enabled); Log.e(TAG, "onCreate mEnablePresence = " + mEnablePresence); if (mEnablePresence) { mContactCard.disPlayVideoCallSwitch(mEnablePresence); Loading Loading
res/values/bools.xml +1 −0 Original line number Diff line number Diff line Loading @@ -17,5 +17,6 @@ <bool name="quickcontact_two_panel">false</bool> <bool name="contact_all_list_show_card_frame">false</bool> <bool name="config_presence_enabled">false</bool> </resources>
src/com/android/contacts/quickcontact/ExpandingEntryCardView.java 100755 → 100644 +1 −2 Original line number Diff line number Diff line Loading @@ -357,8 +357,7 @@ public class ExpandingEntryCardView extends CardView { mTitleTextView = (TextView) expandingEntryCardView.findViewById(R.id.title); mContainer = (LinearLayout) expandingEntryCardView.findViewById(R.id.container); mEnablePresence = mContext.getResources().getBoolean(Resources.getSystem(). getIdentifier("config_presence_enabled", "bool", "android")); mEnablePresence = getResources().getBoolean(R.bool.config_presence_enabled); Log.d(TAG, "ExpandingEntryCardView mEnablePresence = " + mEnablePresence); if (mEnablePresence) { mVideoCalling = (Switch) expandingEntryCardView Loading
src/com/android/contacts/quickcontact/QuickContactActivity.java +1 −2 Original line number Diff line number Diff line Loading @@ -1026,8 +1026,7 @@ public class QuickContactActivity extends ContactsActivity mContactCard.setExpandButtonText( getResources().getString(R.string.expanding_entry_card_view_see_all)); mContactCard.setOnCreateContextMenuListener(mEntryContextMenuListener); mEnablePresence = mContext.getResources().getBoolean(Resources.getSystem(). getIdentifier("config_presence_enabled", "bool", "android")); mEnablePresence = getResources().getBoolean(R.bool.config_presence_enabled); Log.e(TAG, "onCreate mEnablePresence = " + mEnablePresence); if (mEnablePresence) { mContactCard.disPlayVideoCallSwitch(mEnablePresence); Loading