mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-20 08:39:22 +01:00
Reopen properly when we select launcher icon.
* Reopen properly when we select launcher icon. * Reduce noise
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package org.thoughtcrime.securesms.deeplinks;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
|
||||
import org.thoughtcrime.securesms.MainActivity;
|
||||
import org.thoughtcrime.securesms.PassphraseRequiredActivity;
|
||||
|
||||
public class DeepLinkEntryActivity extends PassphraseRequiredActivity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState, boolean ready) {
|
||||
Intent intent = MainActivity.clearTop(this);
|
||||
Uri data = getIntent().getData();
|
||||
intent.setData(data);
|
||||
startActivity(intent);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user