Skip to content

Re-check the ad hoc debug capability on every request - #27

Open
PM84 wants to merge 1 commit into
grabs:mainfrom
bycs-lp:fix-recheck-adhoc-debug-capability
Open

PM84 wants to merge 1 commit into
grabs:mainfrom
bycs-lp:fix-recheck-adhoc-debug-capability

Conversation

@PM84

@PM84 PM84 commented Oct 18, 2026

Copy link
Copy Markdown

The ad hoc debug flag stored in the session is applied on every request without checking tool/userdebug:adhocdebug again, so removing the capability from a user does not end the debug mode of an already running session. This change re-checks the capability whenever the flag is used, clears the flag once the capability is gone and adds unit tests for both cases.

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.

1 participant