1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-06 10:17:04 +01:00

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;
public PebbleCoordinator() {
sampleProvider = new MorpheuzSampleProvider();
// sampleProvider = new PebbleGadgetBridgeSampleProvider();
//sampleProvider = new MorpheuzSampleProvider();
sampleProvider = new PebbleGadgetBridgeSampleProvider();
}
@Override

View File

@ -55,7 +55,8 @@
<string name="pref_title_pebble_settings">Pebble Settings</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_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="connecting">connecting</string>

View File

@ -72,6 +72,11 @@
android:key="pebble_force_protocol"
android:title="@string/pref_title_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>
</PreferenceScreen>
</PreferenceCategory>