Starting in Android Q, launching an activity from the background will no longer be permitted. Given this, how does an Android app do authorization in the background, without displaying the Activity UI to force the user to input his password, to do authorization?

More...