Merge "[PeopleService] Catch exception when failed to query call log." am: 9220245e47 am: 9966ff4bc5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1878225 Change-Id: I9a74ae94a66c0c3a761bdc18d8be069a872c9cfc
This commit is contained in:
@@ -93,6 +93,9 @@ class CallLogQueryHelper {
|
|||||||
hasResults = true;
|
hasResults = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} catch (SecurityException ex) {
|
||||||
|
Slog.e(TAG, "Query call log failed: " + ex);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return hasResults;
|
return hasResults;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user