Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47636a25 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge changes Id53c298a,I7df0ece7,I9f41b1a7,Iffbfa408,I2aac0df1, ...

* changes:
  Don't use LoaderManager.getInstance() in dialer.
  Implement PhoneNumberCacheLookup
  Fix add call button behavior.
  Use component for iconography
  Move SpamStub to separate package.
  Initialize dialpadFragment and searchFragment with FragmentManager when MainSearchController is created
  Compress all of dialer's png files.
  Delete unused check__SpamStatus methods
  Refactor simulator menu and add portal package for adding simulator service later.
  Add simulator component in generated root component.
  Update DialerCall to use SpamStatus instead of booleans
  Added contacts permission screen to speed dial fragment.
  Don't crash when cp2 returns a null label.
  Register system call log content observer if user enables Phone permission.
  Exit multiselect mode when opening the dialpad.
  Support missing phone permission in new call log.
parents 21f2f3e1 3e2c6b8c
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
<!--
  ~ Copyright (C) 2018 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="24dp"
        android:height="24dp"
        android:viewportWidth="24.0"
        android:viewportHeight="24.0"
        android:tint="?attr/colorControlNormal">
    <path
        android:fillColor="@android:color/white"
        android:pathData="M11.99,2C6.47,2 2,6.48 2,12s4.47,10 9.99,10C17.52,22 22,17.52 22,12S17.52,2 11.99,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8zM12.5,7L11,7v6l5.25,3.15 0.75,-1.23 -4.5,-2.67z"/>
</vector>
+2 −1
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ import android.telecom.PhoneAccount;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.ActionMode;
import android.view.DragEvent;
import android.view.Gravity;
import android.view.Menu;
@@ -1532,7 +1533,7 @@ public class DialtactsActivity extends TransactionSafeActivity
  }

  @Override
  public void onActionModeStateChanged(boolean isEnabled) {
  public void onActionModeStateChanged(ActionMode mode, boolean isEnabled) {
    isMultiSelectModeEnabled = isEnabled;
  }

+3 −3
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ public class CallLogAdapter extends GroupingListAdapter
          MenuInflater inflater = mode.getMenuInflater();
          inflater.inflate(R.menu.actionbar_delete, menu);
          multiSelectRemoveView.showMultiSelectRemoveView(true);
          actionModeStateChangedListener.onActionModeStateChanged(true);
          actionModeStateChangedListener.onActionModeStateChanged(mode, true);
          return true;
        }

@@ -216,7 +216,7 @@ public class CallLogAdapter extends GroupingListAdapter
          selectAllMode = false;
          deselectAllMode = false;
          multiSelectRemoveView.showMultiSelectRemoveView(false);
          actionModeStateChangedListener.onActionModeStateChanged(false);
          actionModeStateChangedListener.onActionModeStateChanged(null, false);
          notifyDataSetChanged();
        }
      };
@@ -1511,7 +1511,7 @@ public class CallLogAdapter extends GroupingListAdapter
  /** Interface used to allow single tap multi select for contact photos. */
  public interface OnActionModeStateChangedListener {

    void onActionModeStateChanged(boolean isEnabled);
    void onActionModeStateChanged(ActionMode mode, boolean isEnabled);

    boolean isActionModeStateEnabled();
  }
−1.79 KiB (1.67 KiB)
Loading image diff...
−5.9 KiB
Loading image diff...
Loading