Merge branch 'qa' into dev_custom_map

This commit is contained in:
wangcongtao
2020-07-07 20:53:00 +08:00
12 changed files with 67 additions and 24 deletions

View File

@@ -35,6 +35,9 @@ public class AppOperationIntentHandler implements IntentHandler {
String app = object.optString( "object" );
String operation = object.optString( "operation" );
if ( TextUtils.equals( "打开", operation ) ) {
if ( TextUtils.isEmpty( sAppPackages.get( app ) ) ) {
return;
}
try {
LaunchUtils.launchByPkg( context, sAppPackages.get( app ) );
} catch ( Exception e ) {