Settings: Add empty activity

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Samuel Holland 2017-08-09 07:34:28 -05:00
parent af8e013e33
commit d00480a3a5
3 changed files with 15 additions and 1 deletions

View File

@ -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>

View File

@ -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

View File

@ -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);
}
}