Loading InCallUI/src/com/android/incallui/CallButtonFragment.java +8 −0 Original line number Diff line number Diff line Loading @@ -281,6 +281,7 @@ public class CallButtonFragment } else if (id == R.id.overflowButton) { if (mOverflowPopup != null) { updateRecordMenu(); updateMergeCallsMenuItem(); mOverflowPopup.show(); } } else if (id == R.id.manageVideoCallConferenceButton) { Loading Loading @@ -317,6 +318,13 @@ public class CallButtonFragment } } private void updateMergeCallsMenuItem() { MenuItem item = mOverflowPopup.getMenu().findItem(BUTTON_MERGE); if (item != null) { item.setEnabled(mMergeButton.isEnabled()); } } public void updateColors() { MaterialPalette themeColors = InCallPresenter.getInstance().getThemeColors(); Loading InCallUI/src/com/android/incallui/CallButtonPresenter.java +4 −0 Original line number Diff line number Diff line Loading @@ -268,6 +268,10 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto } public void mergeClicked() { if (mCall == null) { return; } if (getUi().getContext().getResources().getBoolean( R.bool.add_multi_participants_enabled)){ int participantsCount = 0; Loading InCallUI/src/com/android/incallui/InCallActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -309,8 +309,8 @@ public class InCallActivity extends TransactionSafeActivity implements FragmentD InCallPresenter.getInstance().setThemeColors(); InCallPresenter.getInstance().onUiShowing(true); // Clear fullscreen state onResume; the stored value may not match reality. InCallPresenter.getInstance().clearFullscreen(); // Exit fullscreen state onResume; the stored value may not match reality. InCallPresenter.getInstance().setFullScreen(false); // If there is a pending request to show or hide the dialpad, handle that now. if (mShowDialpadRequest != DIALPAD_REQUEST_NONE) { Loading src/com/android/dialer/dialpad/DialpadFragment.java +11 −10 Original line number Diff line number Diff line Loading @@ -2075,7 +2075,8 @@ public class DialpadFragment extends Fragment requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION}, PERMISSION_REQUEST_CODE_LOCATION); } else { if(WifiCallUtils.shallShowWifiCallDialog(getActivity())) { if (!PhoneNumberUtils.isEmergencyNumber(mDigits.getText().toString()) && WifiCallUtils.shallShowWifiCallDialog(getActivity())) { WifiCallUtils.showWifiCallDialog(getActivity()); WifiCallUtils.showWifiCallNotification(getActivity()); } else { Loading Loading
InCallUI/src/com/android/incallui/CallButtonFragment.java +8 −0 Original line number Diff line number Diff line Loading @@ -281,6 +281,7 @@ public class CallButtonFragment } else if (id == R.id.overflowButton) { if (mOverflowPopup != null) { updateRecordMenu(); updateMergeCallsMenuItem(); mOverflowPopup.show(); } } else if (id == R.id.manageVideoCallConferenceButton) { Loading Loading @@ -317,6 +318,13 @@ public class CallButtonFragment } } private void updateMergeCallsMenuItem() { MenuItem item = mOverflowPopup.getMenu().findItem(BUTTON_MERGE); if (item != null) { item.setEnabled(mMergeButton.isEnabled()); } } public void updateColors() { MaterialPalette themeColors = InCallPresenter.getInstance().getThemeColors(); Loading
InCallUI/src/com/android/incallui/CallButtonPresenter.java +4 −0 Original line number Diff line number Diff line Loading @@ -268,6 +268,10 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto } public void mergeClicked() { if (mCall == null) { return; } if (getUi().getContext().getResources().getBoolean( R.bool.add_multi_participants_enabled)){ int participantsCount = 0; Loading
InCallUI/src/com/android/incallui/InCallActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -309,8 +309,8 @@ public class InCallActivity extends TransactionSafeActivity implements FragmentD InCallPresenter.getInstance().setThemeColors(); InCallPresenter.getInstance().onUiShowing(true); // Clear fullscreen state onResume; the stored value may not match reality. InCallPresenter.getInstance().clearFullscreen(); // Exit fullscreen state onResume; the stored value may not match reality. InCallPresenter.getInstance().setFullScreen(false); // If there is a pending request to show or hide the dialpad, handle that now. if (mShowDialpadRequest != DIALPAD_REQUEST_NONE) { Loading
src/com/android/dialer/dialpad/DialpadFragment.java +11 −10 Original line number Diff line number Diff line Loading @@ -2075,7 +2075,8 @@ public class DialpadFragment extends Fragment requestPermissions(new String[]{Manifest.permission.ACCESS_COARSE_LOCATION}, PERMISSION_REQUEST_CODE_LOCATION); } else { if(WifiCallUtils.shallShowWifiCallDialog(getActivity())) { if (!PhoneNumberUtils.isEmergencyNumber(mDigits.getText().toString()) && WifiCallUtils.shallShowWifiCallDialog(getActivity())) { WifiCallUtils.showWifiCallDialog(getActivity()); WifiCallUtils.showWifiCallNotification(getActivity()); } else { Loading