|
|
@ -32,6 +32,7 @@ import org.thoughtcrime.securesms.recipients.RecipientFactory;
|
|
|
|
import org.thoughtcrime.securesms.recipients.RecipientFormattingException;
|
|
|
|
import org.thoughtcrime.securesms.recipients.RecipientFormattingException;
|
|
|
|
import org.thoughtcrime.securesms.recipients.Recipients;
|
|
|
|
import org.thoughtcrime.securesms.recipients.Recipients;
|
|
|
|
import org.thoughtcrime.securesms.util.DirectoryHelper;
|
|
|
|
import org.thoughtcrime.securesms.util.DirectoryHelper;
|
|
|
|
|
|
|
|
import org.thoughtcrime.securesms.util.DynamicLanguage;
|
|
|
|
import org.thoughtcrime.securesms.util.DynamicTheme;
|
|
|
|
import org.thoughtcrime.securesms.util.DynamicTheme;
|
|
|
|
import org.thoughtcrime.securesms.util.NumberUtil;
|
|
|
|
import org.thoughtcrime.securesms.util.NumberUtil;
|
|
|
|
import org.thoughtcrime.securesms.util.TextSecurePreferences;
|
|
|
|
import org.thoughtcrime.securesms.util.TextSecurePreferences;
|
|
|
@ -54,6 +55,7 @@ public class NewConversationActivity extends PassphraseRequiredSherlockFragmentA
|
|
|
|
public final static String MASTER_SECRET_EXTRA = "master_secret";
|
|
|
|
public final static String MASTER_SECRET_EXTRA = "master_secret";
|
|
|
|
|
|
|
|
|
|
|
|
private final DynamicTheme dynamicTheme = new DynamicTheme ();
|
|
|
|
private final DynamicTheme dynamicTheme = new DynamicTheme ();
|
|
|
|
|
|
|
|
private final DynamicLanguage dynamicLanguage = new DynamicLanguage();
|
|
|
|
private MasterSecret masterSecret;
|
|
|
|
private MasterSecret masterSecret;
|
|
|
|
|
|
|
|
|
|
|
|
private PushContactSelectionListFragment contactsFragment;
|
|
|
|
private PushContactSelectionListFragment contactsFragment;
|
|
|
@ -61,6 +63,7 @@ public class NewConversationActivity extends PassphraseRequiredSherlockFragmentA
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected void onCreate(Bundle icicle) {
|
|
|
|
protected void onCreate(Bundle icicle) {
|
|
|
|
dynamicTheme.onCreate(this);
|
|
|
|
dynamicTheme.onCreate(this);
|
|
|
|
|
|
|
|
dynamicLanguage.onCreate(this);
|
|
|
|
super.onCreate(icicle);
|
|
|
|
super.onCreate(icicle);
|
|
|
|
|
|
|
|
|
|
|
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
|
|
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
|
|
@ -73,6 +76,8 @@ public class NewConversationActivity extends PassphraseRequiredSherlockFragmentA
|
|
|
|
public void onResume() {
|
|
|
|
public void onResume() {
|
|
|
|
super.onResume();
|
|
|
|
super.onResume();
|
|
|
|
dynamicTheme.onResume(this);
|
|
|
|
dynamicTheme.onResume(this);
|
|
|
|
|
|
|
|
dynamicLanguage.onResume(this);
|
|
|
|
|
|
|
|
getSupportActionBar().setTitle(R.string.AndroidManifest__select_contacts);
|
|
|
|
masterSecret = getIntent().getParcelableExtra(MASTER_SECRET_EXTRA);
|
|
|
|
masterSecret = getIntent().getParcelableExtra(MASTER_SECRET_EXTRA);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|