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

Commit cdd9a662 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 am: 61637990

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



Change-Id: Id5fa0b57a9813aed2f23950fcf7e8791a8f3d122
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 7923826d 61637990
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