This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Remove static leaks #8825
Merged
Merged
Remove static leaks #8825
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d67a843
remove asserts
dnfield c31d7a6
remove comment
dnfield 9af3fa5
format
dnfield 43db149
Catch a few more missing asserts, update baseline
dnfield 2b36e51
Guard logging calls using BuildConfig
dnfield e31d3ec
start removing static
dnfield a4200ac
missing imports
dnfield ef4dc20
Merge branch 'guard_log' into static_leak
dnfield 1192be5
merge
dnfield 8763b03
undo unintended ws change
dnfield 1051752
sort imports
dnfield 2fca0ee
Merge branch 'remove_assert' into static_leak
dnfield c4d196e
Remove static leaks
dnfield 4c27404
merge
dnfield 9e08955
cleanup
dnfield f66638e
stray import
dnfield 2745766
merge
dnfield bc49269
merge
dnfield 1b96d14
nonnull
dnfield 50dd4de
more nonnull
dnfield e8d305e
annotate
dnfield File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this just be made static and kept in the outer class, instead of moving it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could, you just then have to pass more references around to the method here (
mResources,mAssetManager,mDataDirPath)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit - It might be slightly better, to keep it symmetrical with deleteFiles and checkTimestamp.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM