Settings: Add empty activity
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
af8e013e33
commit
d00480a3a5
@ -26,6 +26,9 @@
|
|||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
<activity
|
||||||
|
android:name=".SettingsActivity"
|
||||||
|
android:label="@string/settings" />
|
||||||
|
|
||||||
<receiver android:name=".BootCompletedReceiver">
|
<receiver android:name=".BootCompletedReceiver">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
@ -57,7 +57,7 @@ abstract class ProfileActivity extends ServiceClientActivity<ProfileServiceInter
|
|||||||
public abstract void onMenuSave(MenuItem item);
|
public abstract void onMenuSave(MenuItem item);
|
||||||
|
|
||||||
public void onMenuSettings(MenuItem item) {
|
public void onMenuSettings(MenuItem item) {
|
||||||
|
startActivity(new Intent(this, SettingsActivity.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -0,0 +1,11 @@
|
|||||||
|
package com.wireguard.android;
|
||||||
|
|
||||||
|
import android.app.Activity;
|
||||||
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
public class SettingsActivity extends Activity {
|
||||||
|
@Override
|
||||||
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
super.onCreate(savedInstanceState);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user