We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 949fc0e + 145e6c4 commit 752942eCopy full SHA for 752942e
core/java/android/content/ContentResolver.java
@@ -201,6 +201,7 @@ public final String getType(Uri url) {
201
} catch (RemoteException e) {
202
return null;
203
} catch (java.lang.Exception e) {
204
+ Log.w(TAG, "Failed to get type for: " + url + " (" + e.getMessage() + ")");
205
206
} finally {
207
releaseProvider(provider);
@@ -216,6 +217,9 @@ public final String getType(Uri url) {
216
217
return type;
218
219
220
+ } catch (java.lang.Exception e) {
221
222
+ return null;
223
}
224
225
0 commit comments