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

Enable strict mode in debug builds #4635

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

aitorvs
Copy link
Collaborator

@aitorvs aitorvs commented Jun 11, 2024

Task/Issue URL: https://app.asana.com/0/1198194956794324/1207518429728858/f

Description

Enable StrictMode in debug builds, configure it for:

  • detect disk reads/writes
  • detect network
  • log a message to the system log when a violation is detected
  • log to dropbox so that it can be retrieve later on using adb

Steps to test this PR

Test

  • build debug from this branch
  • launch app
  • enable AppTP
  • run adb shell dumpsys dropbox data_app_strictmode --print
  • verify violations are printed
  • alternatively filter logcat with tag: StrictMode
  • verify violations are logged

Copy link
Collaborator Author

aitorvs commented Jun 11, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @aitorvs and the rest of your teammates on Graphite Graphite

@aitorvs aitorvs merged commit b9bd10d into develop Jun 11, 2024
7 checks passed
@aitorvs aitorvs deleted the feature/aitor/strict_mode branch June 11, 2024 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants