* Still needs implementation for showing microG installation screen on huawei
* No anonymous mode on huawei
* Needs handling for showing permissions screen via settings
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Post user-readable error message in the notification as we already log the exception
in the logcat.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Deprecate setting to hide similar and related apps as they will be always
listed in the suggestions pane on widescreen devices
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
-- without this an action from searchbar to search result page results in crash
java.lang.IllegalArgumentException: Navigation action/destination com.aurora.store.debug:id/action_searchSuggestionFragment_to_searchResultsFragment cannot be found from the current destination Destination(com.aurora.store.debug:id/searchResultsFragment) label=Search results class=com.aurora.store.view.ui.search.SearchResultsFragment
Introduce a new activity to host composables as View system behaves
quite bad when composable are used inside it.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
They only apply to updates as we try to show all available apps in
installed and blacklist fragment to be clear about all possible apps
aurora store can check updates for.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
No need to check connectivity as soon as URL is set as SplashFragment will
only let you login when a valid connection is available.
Use a modern dialog and EditText to do set the URL with minimal verification.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
We have multiple checks implemented at this point in splashFragment to ensure
proper validation and navigation. If a user logs out and hits back button, he still
gets to browse Aurora Store which is an unintended behaviour.
Instead of handling same logic twice everywhere, make AccountFragment minimal and only
handle logging out here.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
* This makes onboarding minimal and only required screens are shown
* SessionInstaller is the recommended choice, user who needs a different can configure in settings
* Instead of showing minimal list, show installer fragment that contains more information
* Also show all installers like before
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
* Don't enable auto-install for updates if battery optimization permission
is not granted during onboarding.
* Drop showing warning in toolbar, show it instead if they want auto-install
* Don't check for the same during downloads. Failing is better instead.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
SplashFragment always removes itself from backstack in every other case, do same
when launching the app detail page to handle intents as well.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>