Commit d7c493ab authored by Edward Wang's avatar Edward Wang Committed by Jean-Baptiste Kempf
Browse files

Add advanced debugging menu with quit app feature

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent a32513e7
......@@ -24,5 +24,8 @@
<PreferenceScreen android:title="@string/advanced_debugging">
<Preference android:title="Quit Application" android:key="quit_app" android:enabled="true"/>
......@@ -52,6 +52,17 @@ public class PreferencesActivity extends PreferenceActivity {
return true;
// Attach debugging items
Preference quitAppPref = (Preference) findPreference("quit_app");
new OnPreferenceClickListener() {
public boolean onPreferenceClick(Preference preference) {
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment