Skip to content

Fix screentext (#32) and crash (#34) on accessibility enable - #36

Merged
tinazhang128 merged 4 commits into
awareframework:betafrom
EcZww:fix/screentext-accessibility-issues
Apr 19, 2024
Merged

Fix screentext (#32) and crash (#34) on accessibility enable#36
tinazhang128 merged 4 commits into
awareframework:betafrom
EcZww:fix/screentext-accessibility-issues

Conversation

@EcZww

@EcZwwEcZww commented Apr 7, 2024

Copy link
Copy Markdown
Collaborator

This commit addresses two issues in the screen text sensor:

Addition:

  • Fix the problem of the wrong plugin API name in the gradle file

…cessibility enable
This commit addresses two issues in the screen text sensor:
1. The screen text sensor now correctly collects duplicate text when the foreground app changes. This ensures that screen text is captured during app switches, home screen access, and notification checks.
2. A crash that occurred when enabling accessibility before starting a study has been fixed. The issue was caused by attempting to parse an empty string for the package specification criteria. A default value is now used, and a try-catch block has been added to handle potential NumberFormatExceptions.
@EcZww
EcZww requested a review from tinazhang128April 7, 2024 11:06
@EcZwwEcZww self-assigned this Apr 7, 2024
@EcZwwEcZww changed the title Fix screentext(#32) and crash (#34) on accessibility enableFix screentext (#32) and crash (#34) on accessibility enableApr 7, 2024

@tinazhang128tinazhang128 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change log file, version number and APK needs to be updated with the function changes

EcZww added 3 commits April 9, 2024 14:04
change ":com.aware.plugin.studentlife.audio" into ':com.aware.plugin.studentlife.audio_final'

@tinazhang128tinazhang128 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tinazhang128
tinazhang128 merged commit 97e943b into awareframework:betaApr 19, 2024
Sign up for freeto 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

@EcZww@tinazhang128