Skip to content
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

accept proxy address from intent #39

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xiaozhikang0916
Copy link

Accept proxy setting from intent's extra data

  • Add SavedStateHandle in ProxyManagerViewModel to accept initial input param
  • Mark MainActivity as singleInstance to receive any coming intent after it is started
  • 2 unit test case for this new function

@xiaozhikang0916
Copy link
Author

To wait for a synchronization of the uiState, which may be modified by init block and the deviceSettingsManager instance, I used a while-yield loop here, which may be not elegant. Any advise?

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