Pebble: add option to enable untested features.

Bad things incoming ;)
This commit is contained in:
Andreas Shimokawa 2015-08-11 11:15:44 +02:00
parent 7bf45d9b9f
commit 5884684cad
3 changed files with 9 additions and 3 deletions

View File

@ -16,8 +16,8 @@ public class PebbleCoordinator implements DeviceCoordinator {
private MorpheuzSampleProvider sampleProvider; private MorpheuzSampleProvider sampleProvider;
public PebbleCoordinator() { public PebbleCoordinator() {
sampleProvider = new MorpheuzSampleProvider(); //sampleProvider = new MorpheuzSampleProvider();
// sampleProvider = new PebbleGadgetBridgeSampleProvider(); sampleProvider = new PebbleGadgetBridgeSampleProvider();
} }
@Override @Override

View File

@ -55,7 +55,8 @@
<string name="pref_title_pebble_settings">Pebble Settings</string> <string name="pref_title_pebble_settings">Pebble Settings</string>
<string name="pref_title_pebble_forceprotocol">Force Notification Protocol</string> <string name="pref_title_pebble_forceprotocol">Force Notification Protocol</string>
<string name="pref_summary_pebble_forceprotocol">This option forces using the latest notification protocol depending on the firmware version. ENABLE ONLY IF YOU KNOW WHAT YOU ARE DOING!</string> <string name="pref_summary_pebble_forceprotocol">This option forces using the latest notification protocol depending on the firmware version. ENABLE ONLY IF YOU KNOW WHAT YOU ARE DOING!</string>
<string name="pref_title_pebble_forceuntested">Enable untested features</string>
<string name="pref_summary_pebble_forceuntested">Enable features that are untested. ENABLE ONLY IF YOU KNOW WHAT YOU ARE DOING!</string>
<string name="not_connected">not connected</string> <string name="not_connected">not connected</string>
<string name="connecting">connecting</string> <string name="connecting">connecting</string>

View File

@ -72,6 +72,11 @@
android:key="pebble_force_protocol" android:key="pebble_force_protocol"
android:title="@string/pref_title_pebble_forceprotocol" android:title="@string/pref_title_pebble_forceprotocol"
android:summary="@string/pref_summary_pebble_forceprotocol" /> android:summary="@string/pref_summary_pebble_forceprotocol" />
<CheckBoxPreference
android:defaultValue="false"
android:key="pebble_force_untested"
android:title="@string/pref_title_pebble_forceuntested"
android:summary="@string/pref_summary_pebble_forceuntested" />
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>
</PreferenceCategory> </PreferenceCategory>