Skip to content

Commit 9dfc361

Browse files
author
hisyam
committed
remove screenshot disable flag, added deeplink string
1 parent 4bc37b8 commit 9dfc361

10 files changed

Lines changed: 5 additions & 4 deletions

File tree

328 KB
Binary file not shown.
0 Bytes
Binary file not shown.
650 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
578 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
51.4 KB
Binary file not shown.

.gradle/checksums/checksums.lock

0 Bytes
Binary file not shown.
2.9 KB
Binary file not shown.

molpayxdk/src/main/java/com/molpay/molpayxdk/MOLPayActivity.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public class MOLPayActivity extends AppCompatActivity {
9595
private final static String mppinstructioncapture = "mppinstructioncapture://";
9696
private final static String module_id = "module_id";
9797
private final static String wrapper_version = "wrapper_version";
98-
private final static String wrapperVersion = "1";
98+
private final static String wrapperVersion = "2";
9999

100100
private String base64Img;
101101
private String filename;
@@ -144,8 +144,6 @@ protected void onCreate(Bundle savedInstanceState) {
144144
super.onCreate(savedInstanceState);
145145
setContentView(R.layout.activity_molpay);
146146

147-
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
148-
149147
paymentDetails = (HashMap<String, Object>) getIntent().getSerializableExtra(MOLPayPaymentDetails);
150148

151149
// For submodule wrappers
@@ -270,7 +268,10 @@ public void onReceiveValue(String ref_no) {
270268
}
271269
});
272270
return true;
273-
} else if (url.contains("atome-my.onelink.me")) {
271+
} else if (url.contains("atome-my.onelink.me") ||
272+
url.contains("boostappdeeplink://") ||
273+
url.contains("market://") ||
274+
url.contains("intent://")) {
274275
try {
275276
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
276277
startActivity(intent);

0 commit comments

Comments
 (0)