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

Commit 0485e357 authored by Winson Chung's avatar Winson Chung
Browse files

Fetching graphic buffer instead of bitmap for current screenshot.

Bug: 69166452
Change-Id: Iaeeca788c9afadb1ce6f7ee3056dddf9b2e339b2
parent 117386c9
Loading
Loading
Loading
Loading
+3.03 KiB (91 KiB)

File changed.

No diff preview for this file type.

+1 −1
Original line number Diff line number Diff line
@@ -256,7 +256,7 @@ public class TouchInteractionService extends Service {
        // TODO: We are using some hardcoded layers for now, to best approximate the activity layers
        try {
            return mISystemUiProxy.screenshot(new Rect(), mDisplaySize.x, mDisplaySize.y, 0, 100000,
                    false, mDisplayRotation);
                    false, mDisplayRotation).toBitmap();
        } catch (RemoteException e) {
            Log.e(TAG, "Error capturing snapshot", e);
            return null;