20 lines
624 B
Java
20 lines
624 B
Java
package com.wireguard.android;
|
|
|
|
import android.app.Fragment;
|
|
import android.os.Bundle;
|
|
|
|
/**
|
|
* Activity that allows viewing information about a single WireGuard profile.
|
|
*/
|
|
|
|
public class ProfileDetailActivity extends ProfileActivity {
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
setContentView(R.layout.profile_detail_activity);
|
|
setTitle(getCurrentProfile());
|
|
Fragment detailFragment = getFragmentManager().findFragmentByTag(TAG_DETAIL);
|
|
((ProfileDetailFragment) detailFragment).setProfile(getCurrentProfile());
|
|
}
|
|
}
|