Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a46c9cc authored by Ian Lake's avatar Ian Lake
Browse files

Mark GridView mColumnWidth as maxTargetSdk P

Developers should use the public
getColumnWidth().

Test: m -j
BUG: 117521079
Change-Id: I2e99a441f8ba75ac5f434732b7fd6ebe3e02a57b
parent 01ce8981
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import android.content.Context;
import android.content.Intent;
import android.content.res.TypedArray;
import android.graphics.Rect;
import android.os.Build;
import android.os.Bundle;
import android.os.Trace;
import android.util.AttributeSet;
@@ -117,7 +118,7 @@ public class GridView extends AbsListView {
    @UnsupportedAppUsage
    private int mVerticalSpacing = 0;
    private int mStretchMode = STRETCH_COLUMN_WIDTH;
    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 117521079)
    private int mColumnWidth;
    @UnsupportedAppUsage
    private int mRequestedColumnWidth;