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

Commit 61637990 authored by Stefan Andonian's avatar Stefan Andonian Committed by Automerger Merge Worker
Browse files

Merge "Don't add ViewCapture Data to the Bugreport if it is empty and...

Merge "Don't add ViewCapture Data to the Bugreport if it is empty and disabled." into tm-qpr-dev am: 01f2673a am: 21086db9

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/libs/systemui/+/21912020



Change-Id: I7bb18781f5bfc98c28bd027b9968c493eafcd01a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 7274a28e 21086db9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -156,6 +156,9 @@ public abstract class ViewCapture {
     * Dumps all the active view captures
     */
    public void dump(PrintWriter writer, FileDescriptor out, Context context) {
        if (!mIsEnabled) {
            return;
        }
        ViewIdProvider idProvider = new ViewIdProvider(context.getResources());

        // Collect all the tasks first so that all the tasks are posted on the executor