Skip to content

Update launch script to handle 26Q4 allowlist logic - #54

Open
mingweiliao wants to merge 1 commit into
android:mainfrom
mingweiliao:update-script
Open

Update launch script to handle 26Q4 allowlist logic#54
mingweiliao wants to merge 1 commit into
android:mainfrom
mingweiliao:update-script

Conversation

@mingweiliao

Copy link
Copy Markdown
Contributor

Update the script to handle 26Q4 allowlist logic

Also fix the issue that the signature is not always the same, therefore, the script should fetch it from device

Also fix the issue that signature is not always the same
@mingweiliao
mingweiliao requested a review from a team as a code owner August 17, 2026 11:57

@tony-mak tony-mak left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

thank you!

fi
# flush-allowlist-changes is not in help page. Use set-temporary-caller as proxy since it is
# guarded with the same flag
if $ADB shell cmd app_function help 2>&1 | grep -q "set-temporary-caller"; then

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good, but it general should we just check if it is 37.2+?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think checking if the command exist or not is safer in long term since shell command can be updated again in next release unlike API that most certainly would always exist.

Comment thread agent/startAppFunctionTestingAgent
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