app head: rc

This commit is contained in:
Akinwale Ariwodola 2019-10-30 10:33:09 +01:00
parent 22327bf33e
commit 6e6ed07890
2 changed files with 5 additions and 5 deletions

2
app

@ -1 +1 @@
Subproject commit 69a760f011368c696407d08dc09051f93022f9c4 Subproject commit 4f4cca90e380af16755ad9ec6cf52d29e99298f6

View file

@ -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 PHONE_STATE_PERMISSION_REQ_CODE = 202;
private static final int RECEIVE_SMS_PERMISSION_REQ_CODE = 203; private static final int RECEIVE_SMS_PERMISSION_REQ_CODE = 203;
public static final int DOCUMENT_PICKER_RESULT_CODE = 301; public static final int DOCUMENT_PICKER_RESULT_CODE = 301;
private BroadcastReceiver notificationsReceiver; private BroadcastReceiver notificationsReceiver;
@ -297,7 +297,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
}; };
registerReceiver(smsReceiver, smsFilter); registerReceiver(smsReceiver, smsFilter);
} }
@Override @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) { protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == OVERLAY_PERMISSION_REQ_CODE) { if (requestCode == OVERLAY_PERMISSION_REQ_CODE) {
@ -307,7 +307,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
} }
} }
} }
if (requestCode == DOCUMENT_PICKER_RESULT_CODE) { if (requestCode == DOCUMENT_PICKER_RESULT_CODE) {
ReactContext reactContext = mReactInstanceManager.getCurrentReactContext(); ReactContext reactContext = mReactInstanceManager.getCurrentReactContext();
if (reactContext != null) { if (reactContext != null) {
@ -637,7 +637,7 @@ public class MainActivity extends Activity implements DefaultHardwareBackBtnHand
return array; return array;
} }
/** /**
* https://gist.github.com/HBiSoft/15899990b8cd0723c3a894c1636550a8 * https://gist.github.com/HBiSoft/15899990b8cd0723c3a894c1636550a8
*/ */