A
A
Alexander Sinitsyn2018-07-30 13:12:04
Android
Alexander Sinitsyn, 2018-07-30 13:12:04

At what point is the screen to be displayed in the application stack?

When switching to another application, the application is closed by a code. I brought out the pin input fragment in onPause, it is clear that when switching it is displayed, but for some reason the working fragment of the application remains in the application list, which should not be visible.
Can you advise?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Varakosov, 2018-07-30
@a_u_sinitsin

Set FLAG_SECURE for the activity.

getWindow().setFlags(LayoutParams.FLAG_SECURE,
                LayoutParams.FLAG_SECURE);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question