feat: 联系人增加头像选择
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.ttstd.dialer.utils;
|
||||
|
||||
import android.content.ActivityNotFoundException;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
@@ -94,7 +95,7 @@ public class ApkUtils {
|
||||
try {
|
||||
context.startActivity(intent);
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
} catch (ActivityNotFoundException e) {
|
||||
Logger.e(TAG, "openApp: " + e.getMessage());
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user