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

Unverified Commit 41cbb114 authored by Michael Bestas's avatar Michael Bestas
Browse files

fixup! Screenrecord: Allow limiting the max framerate

Change-Id: I44c8d1d3555aecc55bc91204cf9eb8fe871c7a63
parent ec1bf974
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -55,7 +55,6 @@ import android.view.WindowManager;

import com.android.internal.R;
import com.android.systemui.mediaprojection.MediaProjectionCaptureTarget;
import com.android.systemui.res.R;

import java.io.Closeable;
import java.io.File;
@@ -117,7 +116,7 @@ public class ScreenMediaRecorder extends MediaProjection.Callback {
        mListener = listener;
        mAudioSource = audioSource;
        mMaxRefreshRate = mContext.getResources().getInteger(
                R.integer.config_screenRecorderMaxFramerate);
                com.android.systemui.res.R.integer.config_screenRecorderMaxFramerate);
        mAvcProfileLevel = mContext.getResources().getString(
                R.string.config_screenRecorderAVCProfileLevel);
    }