T
T
tutam2019-01-11 22:17:10
Android
tutam, 2019-01-11 22:17:10

How much does a previously launched activity open instead of the one launched by the user?

The application has several activities, each with its own icon in the launcher. Here is their intent-filter:

<intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

If you start the first activity and return to the launcher (press home), and then start on the icon of the second activity, the first one will continue to work.
How can this behavior be changed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Solovov, 2019-01-12
@romanika

Maybe this is a simple bug and this bug can be a victim of your launcher for hackers fix it quickly before it gets hacked.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question