diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-01-14 20:38:16 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-01-14 20:38:16 +0100 |
commit | aa6955a0d687c0310d69658d0a68facb798daaf6 (patch) | |
tree | 3e0131cc9638c17116d3f0c40975c03c5c0d3d78 /src/main/java | |
parent | 12fd5c46ef96b78f1ce6056f743b5005e22a66c8 (diff) |
fixed typo when reading battery_op setting
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index 8c60d5f67..97849b6d0 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -1345,7 +1345,7 @@ public class ConversationActivity extends XmppActivity } private void openBatteryOptimizationDialogIfNeeded() { - if (showBatteryOptimizationWarning() && getPreferences().getBoolean("show_battery_optimizationF", true)) { + if (showBatteryOptimizationWarning() && getPreferences().getBoolean("show_battery_optimization", true)) { AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setTitle(R.string.battery_optimizations_enabled); builder.setMessage(R.string.battery_optimizations_enabled_dialog); |