Skip to content

fix: direct boot should not crash/ANR #1712

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

Merged
merged 1 commit into from
May 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test-app/runtime/src/main/cpp/MetadataNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1812,7 +1812,7 @@ void MetadataNode::BuildMetadata(const string& filesPath) {

// TODO: Is there a way to detect if the screen is locked as verification
// We assume based on the error that this is the only way to get this specific error here at this point
if (errno == ENOENT) {
if (errno == ENOENT || errno == EACCES) {
// Log the error with error code
__android_log_print(ANDROID_LOG_ERROR, "TNS.error", "%s", ss.str().c_str());

Expand Down