Commit d62f5a70 authored by Han Wang's avatar Han Wang Committed by Luca Stefani
Browse files

Revert "ScreenService: start recording on a background Thread"

 * Fixed by https://github.com/LineageOS/android_frameworks_base/commit/7c2677486c5520feaab48ebe63f95bb9d8b91183.

This reverts commit 67c21fd4.

Change-Id: I41cc8cfd4d3f3657d8b0955ea25a5676aabcb75e
parent a88190c3
......@@ -231,7 +231,7 @@ public class ScreencastService extends Service implements MediaProviderHelper.On
Intent data = intent.getParcelableExtra(EXTRA_DATA);
if (data != null) {
mMediaProjection = mMediaProjectionManager.getMediaProjection(resultCode, data);
new Thread(this::startRecording).start();
startRecording();
}
return START_STICKY;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment