aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-03-21 19:36:19 +0100
committerChristian Schneppe <christian@pix-art.de>2018-03-21 19:36:19 +0100
commit84d4869572f69014793b463e6613230dc39b5370 (patch)
tree61b5ca6e235fb91248ac1cf97acabe2656f667b0 /src/main/java/de
parent1042a2cde7081522434901aa579faa932d03139e (diff)
fix crashes because requestCode was too long
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/ui/EditAccountActivity.java2
-rw-r--r--src/main/java/de/pixart/messenger/ui/XmppActivity.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
index d26c2123c..3bba088ad 100644
--- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
@@ -71,7 +71,7 @@ import de.pixart.messenger.xmpp.pep.Avatar;
public class EditAccountActivity extends OmemoActivity implements OnAccountUpdate, OnUpdateBlocklist,
OnKeyStatusUpdated, OnCaptchaRequested, KeyChainAliasCallback, XmppConnectionService.OnShowErrorToast, XmppConnectionService.OnMamPreferencesFetched {
- private static final int REQUEST_DATA_SAVER = 0x37af244;
+ private static final int REQUEST_DATA_SAVER = 0xf244;
private TextInputLayout mAccountJidLayout;
private EditText mPassword;
private TextInputLayout mPasswordLayout;
diff --git a/src/main/java/de/pixart/messenger/ui/XmppActivity.java b/src/main/java/de/pixart/messenger/ui/XmppActivity.java
index 7e0df64ca..f226613d7 100644
--- a/src/main/java/de/pixart/messenger/ui/XmppActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/XmppActivity.java
@@ -88,8 +88,8 @@ public abstract class XmppActivity extends AppCompatActivity {
protected static final int REQUEST_ANNOUNCE_PGP = 0x0101;
protected static final int REQUEST_INVITE_TO_CONVERSATION = 0x0102;
protected static final int REQUEST_CHOOSE_PGP_ID = 0x0103;
- protected static final int REQUEST_BATTERY_OP = 0x13849ff;
- protected static final int REQUEST_UNKNOWN_SOURCE_OP = 0x14958ff;
+ protected static final int REQUEST_BATTERY_OP = 0x49ff;
+ protected static final int REQUEST_UNKNOWN_SOURCE_OP = 0x98ff;
public static final String EXTRA_ACCOUNT = "account";