Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logBundleBreakDown should show additional logs? #16

Open
littlehome-eugene opened this issue Oct 12, 2018 · 1 comment
Open

logBundleBreakDown should show additional logs? #16

littlehome-eugene opened this issue Oct 12, 2018 · 1 comment
Labels

Comments

@littlehome-eugene
Copy link

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?

@maxspencer
Copy link
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
Labels
Projects
None yet
Development

No branches or pull requests

2 participants