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

Commit 21086db9 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

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



Change-Id: Iaf771190118cafc634f02d90f8eb6446a290e934
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents cbb1b4d0 01f2673a
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