8000 logBundleBreakDown should show additional logs? · Issue #16 · guardian/toolargetool · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

logBundleBreakDown should show additional logs? #16

Open

Description

@littlehome-eugene

I'm calling logBundleBreakDown before calling startActivity

      Intent i = new Intent(activity, ReviewMetaActivity.class);
      i.putExtra(ReviewMetaActivity.ARG_FULL_PATH, fullPath);
      i.putExtra(ReviewMetaActivity.REVIEW_META_ID, review_meta_id);
      i.putExtra(ReviewMetaActivity.REVIEW_THREAD_ID, review_thread_id);
      i.putExtra(ReviewMetaActivity.REVIEW_META_JSONSTRING, review_meta_jsonstring);

      TooLargeTool.logBundleBreakdown("review-meta", i.getExtras());
      activity.startActivity(i);

But log only shows


10-12 19:17:10.376 13893 13893 D TooLargeTool: ReviewMetaActivity.onSaveInstanceState wrote: Bundle@6242526 contains 2 keys and measures 38.9 KB when serialized as a Parcel
10-12 19:17:10.376 13893 13893 D TooLargeTool: * android:viewHierarchyState = 38.7 KB
10-12 19:17:10.376 13893 13893 D TooLargeTool: * com.google.firebase.analytics.screen_service = 0.2 KB

Is there something I'm missing?

Activity

  1. maxspencer commented on Oct 16, 2018

    @maxspencer
    Contributor

    Hey there, I have one simple idea of what the problem might be:

    You're calling logBundleBreakdown with the tag "review-meta". Make sure you are not filtering those log lines out because the instructions in the README assume the default log tag which is "TooLargeTool". You could monitor just logs for this particular intent with:

    adb logcat -s "review-meta"

    Let me know if that's the problem, if not we can investigate what else it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0