Skip to content

Commit 10a2979

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing" into jb-mr1-dev
2 parents 7befb7d + 75aefb8 commit 10a2979

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/java/android/view/View.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2787,14 +2787,14 @@ static class TransformationInfo {
27872787
* {@hide}
27882788
*/
27892789
@ViewDebug.ExportedProperty(category = "padding")
2790-
protected int mPaddingLeft = UNDEFINED_PADDING;
2790+
protected int mPaddingLeft = 0;
27912791
/**
27922792
* The right padding in pixels, that is the distance in pixels between the
27932793
* right edge of this view and the right edge of its content.
27942794
* {@hide}
27952795
*/
27962796
@ViewDebug.ExportedProperty(category = "padding")
2797-
protected int mPaddingRight = UNDEFINED_PADDING;
2797+
protected int mPaddingRight = 0;
27982798
/**
27992799
* The top padding in pixels, that is the distance in pixels between the
28002800
* top edge of this view and the top edge of its content.
@@ -3664,9 +3664,9 @@ public void onClick(View v) {
36643664
mUserPaddingLeftInitial = leftPadding >= 0 ? leftPadding : mPaddingLeft;
36653665
mUserPaddingRightInitial = rightPadding >= 0 ? rightPadding : mPaddingRight;
36663666
internalSetPadding(
3667-
mUserPaddingLeftInitial != UNDEFINED_PADDING ? mUserPaddingLeftInitial : 0,
3667+
mUserPaddingLeftInitial,
36683668
topPadding >= 0 ? topPadding : mPaddingTop,
3669-
mUserPaddingRightInitial != UNDEFINED_PADDING ? mUserPaddingRightInitial : 0,
3669+
mUserPaddingRightInitial,
36703670
bottomPadding >= 0 ? bottomPadding : mPaddingBottom);
36713671

36723672
if (viewFlagMasks != 0) {

0 commit comments

Comments
 (0)