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

Commit cb447d38 authored by Wenyi Wang's avatar Wenyi Wang Committed by android-build-merger
Browse files

Remove unused case from onNewIntent

am: e026ef7e

Change-Id: Ifcd8948193d93fa6f7459b504118a766d1ffa00b
parents 7d38b66b e026ef7e
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -269,14 +269,6 @@ public class PeopleActivity extends ContactsDrawerActivity {
            return;
        }

        if (isGroupDeleteAction(action)) {
            popSecondLevel();
            mMembersFragment.toastForSaveAction(action);
            mCurrentView = ContactsView.ALL_CONTACTS;
            showFabWithAnimation(/* showFab */ true);
            return;
        }

        if (isGroupSaveAction(action)) {
            mGroupUri = intent.getData();
            if (mGroupUri == null) {
@@ -317,10 +309,6 @@ public class PeopleActivity extends ContactsDrawerActivity {
        invalidateOptionsMenuIfNeeded();
    }

    private static boolean isGroupDeleteAction(String action) {
        return GroupUtil.ACTION_DELETE_GROUP.equals(action);
    }

    private static boolean isGroupSaveAction(String action) {
        return GroupUtil.ACTION_UPDATE_GROUP.equals(action)
                || GroupUtil.ACTION_ADD_TO_GROUP.equals(action)