@@ -1260,8 +1260,6 @@ public LayoutParams(Parcel in) {
12601260 /** {@hide} */
12611261 public static final int PRIVATE_FLAGS_CHANGED = 1 <<16 ;
12621262 /** {@hide} */
1263- public static final int BUFFER_CHANGED = 1 <<17 ;
1264- /** {@hide} */
12651263 public static final int EVERYTHING_CHANGED = 0xffffffff ;
12661264
12671265 // internal buffer to backup/restore parameters under compatibility mode.
@@ -1272,11 +1270,11 @@ public final int copyFrom(LayoutParams o) {
12721270
12731271 if (width != o .width ) {
12741272 width = o .width ;
1275- changes |= LAYOUT_CHANGED | BUFFER_CHANGED ;
1273+ changes |= LAYOUT_CHANGED ;
12761274 }
12771275 if (height != o .height ) {
12781276 height = o .height ;
1279- changes |= LAYOUT_CHANGED | BUFFER_CHANGED ;
1277+ changes |= LAYOUT_CHANGED ;
12801278 }
12811279 if (x != o .x ) {
12821280 x = o .x ;
@@ -1288,27 +1286,27 @@ public final int copyFrom(LayoutParams o) {
12881286 }
12891287 if (horizontalWeight != o .horizontalWeight ) {
12901288 horizontalWeight = o .horizontalWeight ;
1291- changes |= LAYOUT_CHANGED | BUFFER_CHANGED ;
1289+ changes |= LAYOUT_CHANGED ;
12921290 }
12931291 if (verticalWeight != o .verticalWeight ) {
12941292 verticalWeight = o .verticalWeight ;
1295- changes |= LAYOUT_CHANGED | BUFFER_CHANGED ;
1293+ changes |= LAYOUT_CHANGED ;
12961294 }
12971295 if (horizontalMargin != o .horizontalMargin ) {
12981296 horizontalMargin = o .horizontalMargin ;
1299- changes |= LAYOUT_CHANGED | BUFFER_CHANGED ;
1297+ changes |= LAYOUT_CHANGED ;
13001298 }
13011299 if (verticalMargin != o .verticalMargin ) {
13021300 verticalMargin = o .verticalMargin ;
1303- changes |= LAYOUT_CHANGED | BUFFER_CHANGED ;
1301+ changes |= LAYOUT_CHANGED ;
13041302 }
13051303 if (type != o .type ) {
13061304 type = o .type ;
13071305 changes |= TYPE_CHANGED ;
13081306 }
13091307 if (flags != o .flags ) {
13101308 flags = o .flags ;
1311- changes |= FLAGS_CHANGED | BUFFER_CHANGED ;
1309+ changes |= FLAGS_CHANGED ;
13121310 }
13131311 if (privateFlags != o .privateFlags ) {
13141312 privateFlags = o .privateFlags ;
@@ -1320,11 +1318,11 @@ public final int copyFrom(LayoutParams o) {
13201318 }
13211319 if (gravity != o .gravity ) {
13221320 gravity = o .gravity ;
1323- changes |= LAYOUT_CHANGED | BUFFER_CHANGED ;
1321+ changes |= LAYOUT_CHANGED ;
13241322 }
13251323 if (format != o .format ) {
13261324 format = o .format ;
1327- changes |= FORMAT_CHANGED | BUFFER_CHANGED ;
1325+ changes |= FORMAT_CHANGED ;
13281326 }
13291327 if (windowAnimations != o .windowAnimations ) {
13301328 windowAnimations = o .windowAnimations ;
@@ -1363,7 +1361,7 @@ public final int copyFrom(LayoutParams o) {
13631361
13641362 if (screenOrientation != o .screenOrientation ) {
13651363 screenOrientation = o .screenOrientation ;
1366- changes |= SCREEN_ORIENTATION_CHANGED | BUFFER_CHANGED ;
1364+ changes |= SCREEN_ORIENTATION_CHANGED ;
13671365 }
13681366
13691367 if (systemUiVisibility != o .systemUiVisibility
0 commit comments