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