Reopen properly when we select launcher icon.

* Reopen properly when we select launcher icon.

* Reduce noise
This commit is contained in:
Alex Hart
2020-12-19 16:54:00 -04:00
committed by Alan Evans
parent 6bab6c2454
commit b7477d287b
20 changed files with 72 additions and 34 deletions

View File

@@ -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);
}
}