File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
app/src/main/java/com/surcumference/fingerprint/util Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11package com .surcumference .fingerprint .util ;
22
3+ import android .content .ActivityNotFoundException ;
34import android .content .Context ;
45import android .content .Intent ;
56
@@ -64,8 +65,13 @@ public static boolean openQQPay(Context context) {
6465 donateIntent .putExtra ("extra_data" , localJSONObject .toString ());
6566 donateIntent .putExtra ("app_info" , "appid#20000001|bargainor_id#1000026901|channel#wallet" );
6667 donateIntent .putExtra ("callbackSn" , "0" );
67- donateIntent .setClassName (context , "com.tencent.mobileqq.activity.qwallet.TransactionActivity" );
68- context .startActivity (donateIntent );
68+ donateIntent .setClassName (context , "com.tencent.mobileqq.qwallet.transaction.impl.TransactionActivity" );
69+ try {
70+ context .startActivity (donateIntent );
71+ } catch (ActivityNotFoundException e ) {
72+ donateIntent .setClassName (context , "com.tencent.mobileqq.activity.qwallet.TransactionActivity" );
73+ context .startActivity (donateIntent );
74+ }
6975 return true ;
7076 } catch (Exception e ) {
7177 L .e (e );
You can’t perform that action at this time.
0 commit comments