diff --git a/app b/app index 69a760f0..4f4cca90 160000 --- a/app +++ b/app @@ -1 +1 @@ -Subproject commit 69a760f011368c696407d08dc09051f93022f9c4 +Subproject commit 4f4cca90e380af16755ad9ec6cf52d29e99298f6 diff --git a/src/main/java/io/lbry/browser/MainActivity.java b/src/main/java/io/lbry/browser/MainActivity.java index 2a034079..f4eee2a2 100644 --- a/src/main/java/io/lbry/browser/MainActivity.java +++ b/src/main/java/io/lbry/browser/MainActivity.java @@ -80,7 +80,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand private static final int PHONE_STATE_PERMISSION_REQ_CODE = 202; private static final int RECEIVE_SMS_PERMISSION_REQ_CODE = 203; - + public static final int DOCUMENT_PICKER_RESULT_CODE = 301; private BroadcastReceiver notificationsReceiver; @@ -297,7 +297,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand }; registerReceiver(smsReceiver, smsFilter); } - + @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == OVERLAY_PERMISSION_REQ_CODE) { @@ -307,7 +307,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand } } } - + if (requestCode == DOCUMENT_PICKER_RESULT_CODE) { ReactContext reactContext = mReactInstanceManager.getCurrentReactContext(); if (reactContext != null) { @@ -637,7 +637,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand return array; } - + /** * https://gist.github.com/HBiSoft/15899990b8cd0723c3a894c1636550a8 */