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

Commit 22510215 authored by Ian Lake's avatar Ian Lake
Browse files

Mark GridView mNumColumns as maxTargetSdk P

Developers should use the public
getNumColumns().

Test: m -j
BUG: 117521080
Change-Id: Ib581f65988a561e30659fc043ee13f2d1e08d4ae
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;
@@ -107,7 +108,7 @@ public class GridView extends AbsListView {
     */
    public static final int AUTO_FIT = -1;

    @UnsupportedAppUsage
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P, trackingBug = 117521080)
    private int mNumColumns = AUTO_FIT;

    @UnsupportedAppUsage