mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 18:45:19 +00:00
f092e85b62
See: https://code.google.com/p/android/issues/detail?id=78154 Fixes #2424 Closes #2428 // FREEBIE
29 lines
688 B
Java
29 lines
688 B
Java
package org.thoughtcrime.securesms;
|
|
|
|
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
import android.support.v4.app.FragmentActivity;
|
|
|
|
public class CountrySelectionActivity extends BaseActivity
|
|
implements CountrySelectionFragment.CountrySelectedListener
|
|
|
|
{
|
|
|
|
@Override
|
|
public void onCreate(Bundle bundle) {
|
|
super.onCreate(bundle);
|
|
this.setContentView(R.layout.country_selection);
|
|
}
|
|
|
|
@Override
|
|
public void countrySelected(String countryName, int countryCode) {
|
|
Intent result = getIntent();
|
|
result.putExtra("country_name", countryName);
|
|
result.putExtra("country_code", countryCode);
|
|
|
|
this.setResult(RESULT_OK, result);
|
|
this.finish();
|
|
}
|
|
}
|