Skip to content

Remove ANR by replacing stream logger with android.util.Log in content provider path#34

Merged
aleksandar-apostolov merged 1 commit intodevelopfrom
bugfix/rahullohra/content-provider-anr
Mar 10, 2026
Merged

Remove ANR by replacing stream logger with android.util.Log in content provider path#34
aleksandar-apostolov merged 1 commit intodevelopfrom
bugfix/rahullohra/content-provider-anr

Conversation

@rahul-lohra
Copy link
Contributor

🎯 Goal

Remove ANR by replacing StreamLogger with android.util.Log in ContentProvider initialization path

StreamLogger is not optimized for use during application startup. Since ContentProvider code executes as part of the application initialization sequence, using StreamLogger in this path can introduce unnecessary overhead during startup.

This change replaces StreamLogger with android.util.Log within the ContentProvider initialization flow to avoid potential ANRs and reduce startup overhead.

🛠 Implementation details

Remove ANR by replacing stream logger with android.util.Log in content provider path

🎨 UI Changes

none

🧪 Testing

none

@aleksandar-apostolov aleksandar-apostolov merged commit 3083284 into develop Mar 10, 2026
4 checks passed
@aleksandar-apostolov aleksandar-apostolov deleted the bugfix/rahullohra/content-provider-anr branch March 10, 2026 19:39
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