Stub account details screen

This commit is contained in:
Niels Andriesse
2019-06-04 14:39:28 +10:00
parent b77ac07ef5
commit 96efb5d296
6 changed files with 115 additions and 3 deletions

View File

@@ -9,10 +9,11 @@ import android.support.annotation.IdRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import org.thoughtcrime.securesms.logging.Log;
import org.thoughtcrime.securesms.crypto.MasterSecretUtil;
import org.thoughtcrime.securesms.jobs.PushNotificationReceiveJob;
import org.thoughtcrime.securesms.logging.Log;
import org.thoughtcrime.securesms.loki.AccountDetailsActivity;
import org.thoughtcrime.securesms.push.SignalServiceNetworkAccess;
import org.thoughtcrime.securesms.registration.WelcomeActivity;
import org.thoughtcrime.securesms.service.KeyCachingService;
@@ -182,7 +183,7 @@ public abstract class PassphraseRequiredActionBarActivity extends BaseActionBarA
}
private Intent getPushRegistrationIntent() {
return getRoutedIntent(RegistrationActivity.class, getCreateProfileIntent());
return getRoutedIntent(AccountDetailsActivity.class, getCreateProfileIntent());
}
private Intent getCreateProfileIntent() {

View File

@@ -0,0 +1,13 @@
package org.thoughtcrime.securesms.loki
import android.os.Bundle
import org.thoughtcrime.securesms.BaseActionBarActivity
import org.thoughtcrime.securesms.R
class AccountDetailsActivity : BaseActionBarActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_account_details)
}
}

View File

@@ -111,7 +111,7 @@ class LokiPreKeyBundleDatabase(context: Context, helper: SQLCipherOpenHelper) :
/**
* Remove the `PreKeyBundle` for the given contact.
*
*
* @param pubKey String The hex encoded public key of the contact.
*/
fun removePreKeyBundle(pubKey: String) {