enable diagnostics and menu option
This commit is contained in:
parent
4aa3cd6ea2
commit
16f3a53529
|
@ -68,17 +68,7 @@
|
|||
|
||||
</activity>
|
||||
|
||||
<activity android:name=".OrbotDiagnosticsActivity" android:label="OrbotDiag"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:theme="@style/Theme.AppCompat"
|
||||
android:exported="true"
|
||||
android:taskAffinity="org.torproject.android.OrbotDiagnosticsActivity"
|
||||
>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name=".OrbotDiagnosticsActivity" android:label="OrbotDiag"/>
|
||||
|
||||
<activity android:name=".wizard.LotsaText" android:exported="false"/>
|
||||
<activity android:name=".wizard.Permissions" android:exported="false"/>
|
||||
|
|
|
@ -380,6 +380,11 @@ public class Orbot extends ActionBarActivity implements TorConstants, OnLongClic
|
|||
doExit();
|
||||
|
||||
|
||||
}
|
||||
else if (item.getItemId() == R.id.menu_diag)
|
||||
{
|
||||
startActivity(new Intent(getBaseContext(), OrbotDiagnosticsActivity.class));
|
||||
|
||||
}
|
||||
else if (item.getItemId() == R.id.menu_about)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue