android-proxy-toggle
android-proxy-toggle copied to clipboard
accept proxy address from intent
Accept proxy setting from intent's extra data
- Add
SavedStateHandleinProxyManagerViewModelto accept initial input param - Mark MainActivity as
singleInstanceto receive any coming intent after it is started - 2 unit test case for this new function
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?