mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 10:35:50 +01:00
Fossil/Skagen Hybrids: Fix some preference crashes on the nightly
This commit is contained in:
parent
6ca73259b3
commit
11de66f8e4
@ -150,7 +150,9 @@ public class CalibrationActivity extends AbstractGBActivity {
|
||||
@Override
|
||||
protected void onDestroy() {
|
||||
super.onDestroy();
|
||||
localBroadcastManager.sendBroadcast(new Intent(QHybridSupport.QHYBRID_COMMAND_SAVE_CALIBRATION));
|
||||
localBroadcastManager.sendBroadcast(new Intent(QHybridSupport.QHYBRID_COMMAND_UNCONTROL));
|
||||
if (localBroadcastManager != null) {
|
||||
localBroadcastManager.sendBroadcast(new Intent(QHybridSupport.QHYBRID_COMMAND_SAVE_CALIBRATION));
|
||||
localBroadcastManager.sendBroadcast(new Intent(QHybridSupport.QHYBRID_COMMAND_UNCONTROL));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -119,7 +119,7 @@
|
||||
android:icon="@drawable/ic_pending_actions"
|
||||
android:summary="@string/qhybrid_pref_summary_actions">
|
||||
<intent
|
||||
android:targetPackage="nodomain.freeyourgadget.gadgetbridge"
|
||||
android:targetPackage="@string/applicationId"
|
||||
android:targetClass="nodomain.freeyourgadget.gadgetbridge.devices.qhybrid.CommuteActionsActivity" />
|
||||
</Preference>
|
||||
|
||||
@ -161,7 +161,7 @@
|
||||
android:title="@string/qhybrid_title_file_management"
|
||||
android:summary="@string/qhybrid_summary_file_management">
|
||||
<intent
|
||||
android:targetPackage="nodomain.freeyourgadget.gadgetbridge"
|
||||
android:targetPackage="@string/applicationId"
|
||||
android:targetClass="nodomain.freeyourgadget.gadgetbridge.devices.qhybrid.FileManagementActivity" />
|
||||
</Preference>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
android:icon="@drawable/ic_watch"
|
||||
android:summary="@string/qhybrid_watchface_configuration_old_firmware">
|
||||
<intent
|
||||
android:targetPackage="nodomain.freeyourgadget.gadgetbridge"
|
||||
android:targetPackage="@string/applicationId"
|
||||
android:targetClass="nodomain.freeyourgadget.gadgetbridge.devices.qhybrid.HRConfigActivity" />
|
||||
</Preference>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user