Reduce verbosity of KeyboardAwareLinearLayout logs.

This commit is contained in:
Greyson Parrelli 2020-10-20 14:03:10 -04:00 committed by Cody Henthorne
parent d21782696a
commit daf93c473b

View File

@ -130,10 +130,8 @@ public class KeyboardAwareLinearLayout extends LinearLayoutCompat {
Rect insets = (Rect)stableInsetsField.get(attachInfo); Rect insets = (Rect)stableInsetsField.get(attachInfo);
return insets.bottom; return insets.bottom;
} }
} catch (NoSuchFieldException nsfe) { } catch (NoSuchFieldException | IllegalAccessException e) {
Log.w(TAG, "field reflection error when measuring view inset", nsfe); // Do nothing
} catch (IllegalAccessException iae) {
Log.w(TAG, "access reflection error when measuring view inset", iae);
} }
return 0; return 0;
} }