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

Commit 9af0a89d authored by Prerepa Viswanadham's avatar Prerepa Viswanadham
Browse files

Merge commit 'b1c7028' into merge_try2

parents 3fd12d54 7fdc5438
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto
        InCallPresenter.getInstance().removeIncomingCallListener(this);
        InCallPresenter.getInstance().removeDetailsListener(this);
        InCallPresenter.getInstance().getInCallCameraManager().removeCameraSelectionListener(this);
        InCallPresenter.getInstance().removeCanAddCallListener(this);
    }

    @Override
+0 −11
Original line number Diff line number Diff line
@@ -16,14 +16,10 @@

package com.android.incallui;

import android.content.Context;
import android.content.res.Resources;
import android.graphics.Matrix;
import android.graphics.Point;
import android.graphics.SurfaceTexture;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.telecom.VideoProfile;
import android.view.Display;
import android.view.LayoutInflater;
import android.view.Surface;
@@ -34,7 +30,6 @@ import android.view.ViewStub;
import android.view.ViewTreeObserver;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.Toast;

import com.google.common.base.Objects;

@@ -66,12 +61,6 @@ public class VideoCallFragment extends BaseFragment<VideoCallPresenter,
     */
    public static final int ORIENTATION_UNKNOWN = -1;

    /**
     * Invalid resource id.
     */
    public static final int INVALID_RESOURCE_ID = -1;


    // Static storage used to retain the video surfaces across Activity restart.
    // TextureViews are not parcelable, so it is not possible to store them in the saved state.
    private static boolean sVideoSurfacesInUse = false;