Merge changes I11a9d69d,I3c40c6c8 into androidx-main
* changes:
Add font variations to Android font constructors
FontVariation definition
diff --git a/activity/integration-tests/testapp/lint-baseline.xml b/activity/integration-tests/testapp/lint-baseline.xml
index cba2783..5bc6817 100644
--- a/activity/integration-tests/testapp/lint-baseline.xml
+++ b/activity/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="cli" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/ads/ads-identifier-provider/integration-tests/testapp/lint-baseline.xml b/ads/ads-identifier-provider/integration-tests/testapp/lint-baseline.xml
index 9702a61..7683bde 100644
--- a/ads/ads-identifier-provider/integration-tests/testapp/lint-baseline.xml
+++ b/ads/ads-identifier-provider/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="cli" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/ads/ads-identifier/integration-tests/testapp/lint-baseline.xml b/ads/ads-identifier/integration-tests/testapp/lint-baseline.xml
index f924709..eabfd5a 100644
--- a/ads/ads-identifier/integration-tests/testapp/lint-baseline.xml
+++ b/ads/ads-identifier/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
@@ -7,9 +7,7 @@
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"
- line="51"
- column="29"/>
+ file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"/>
</issue>
<issue
@@ -18,9 +16,7 @@
errorLine1=" public void getId(View view) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"
- line="57"
- column="23"/>
+ file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"/>
</issue>
<issue
@@ -29,9 +25,7 @@
errorLine1=" public void getIdSync(View view) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"
- line="76"
- column="27"/>
+ file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"/>
</issue>
<issue
@@ -40,9 +34,7 @@
errorLine1=" public void isProviderAvailable(View view) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"
- line="98"
- column="37"/>
+ file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"/>
</issue>
<issue
@@ -51,9 +43,7 @@
errorLine1=" public void listProvider(View view) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"
- line="106"
- column="30"/>
+ file="src/main/java/androidx/ads/identifier/testapp/AdsIdentifierActivity.java"/>
</issue>
</issues>
diff --git a/appcompat/appcompat-lint/integration-tests/lint-baseline.xml b/appcompat/appcompat-lint/integration-tests/lint-baseline.xml
index a4b89aa..55f0f27 100644
--- a/appcompat/appcompat-lint/integration-tests/lint-baseline.xml
+++ b/appcompat/appcompat-lint/integration-tests/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="ClassVerificationFailure"
@@ -52,8 +52,7 @@
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/AppCompatLintDemoExt.java"
- column="26"/>
+ file="src/main/java/com/example/android/appcompat/AppCompatLintDemoExt.java"/>
</issue>
<issue
@@ -62,9 +61,7 @@
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/CoreActivityExt.java"
- line="34"
- column="13"/>
+ file="src/main/java/com/example/android/appcompat/CoreActivityExt.java"/>
</issue>
<issue
@@ -73,9 +70,7 @@
errorLine1=" setActionBar(new Toolbar(this));"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/CoreActivityExt.java"
- line="34"
- column="26"/>
+ file="src/main/java/com/example/android/appcompat/CoreActivityExt.java"/>
</issue>
<issue
@@ -84,9 +79,7 @@
errorLine1=" <item app:alpha="?android:disabledAlpha""
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/res/color/color_state_list_missing_android_alpha.xml"
- line="19"
- column="11"/>
+ file="src/main/res/color/color_state_list_missing_android_alpha.xml"/>
</issue>
<issue
@@ -95,9 +88,7 @@
errorLine1=" android:tint="#FF0000" />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/res/layout/image_view_using_android_tint.xml"
- line="39"
- column="9"/>
+ file="src/main/res/layout/image_view_using_android_tint.xml"/>
</issue>
<issue
@@ -106,31 +97,7 @@
errorLine1=" android:tint="#FF0000" />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/res/layout/image_view_using_android_tint.xml"
- line="51"
- column="9"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ResourceLoader` requires synthetic accessor"
- errorLine1=" ColorStateList csl2 = new ResourceLoader().getColorStateList("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/appcompat/AppCompatLintDemo.java"
- line="54"
- column="31"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `getColorStateList` of class `ResourceLoader` requires synthetic accessor"
- errorLine1=" ColorStateList csl2 = new ResourceLoader().getColorStateList("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/appcompat/AppCompatLintDemo.java"
- line="54"
- column="31"/>
+ file="src/main/res/layout/image_view_using_android_tint.xml"/>
</issue>
<issue
@@ -139,9 +106,7 @@
errorLine1=" public void myButtonClick(View view) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/appcompat/ActivityWithClick.java"
- line="39"
- column="31"/>
+ file="src/main/java/com/example/android/appcompat/ActivityWithClick.java"/>
</issue>
<issue
@@ -150,9 +115,7 @@
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/AppCompatLintDemo.java"
- line="42"
- column="26"/>
+ file="src/main/java/com/example/android/appcompat/AppCompatLintDemo.java"/>
</issue>
<issue
@@ -161,9 +124,7 @@
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/AppCompatLintDemoExt.java"
- line="28"
- column="26"/>
+ file="src/main/java/com/example/android/appcompat/AppCompatLintDemoExt.java"/>
</issue>
<issue
@@ -172,9 +133,7 @@
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/CoreActivityExt.java"
- line="29"
- column="26"/>
+ file="src/main/java/com/example/android/appcompat/CoreActivityExt.java"/>
</issue>
<issue
@@ -183,9 +142,7 @@
errorLine1=" public CustomSwitch(Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/CustomSwitch.java"
- line="28"
- column="25"/>
+ file="src/main/java/com/example/android/appcompat/CustomSwitch.java"/>
</issue>
<issue
@@ -194,9 +151,7 @@
errorLine1=" public CustomSwitch(Context context, AttributeSet attrs) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/CustomSwitch.java"
- line="32"
- column="25"/>
+ file="src/main/java/com/example/android/appcompat/CustomSwitch.java"/>
</issue>
<issue
@@ -205,9 +160,7 @@
errorLine1=" public CustomSwitch(Context context, AttributeSet attrs) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/CustomSwitch.java"
- line="32"
- column="42"/>
+ file="src/main/java/com/example/android/appcompat/CustomSwitch.java"/>
</issue>
<issue
@@ -216,9 +169,7 @@
errorLine1=" public CustomSwitch(Context context, AttributeSet attrs, int defStyleAttr) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/CustomSwitch.java"
- line="36"
- column="25"/>
+ file="src/main/java/com/example/android/appcompat/CustomSwitch.java"/>
</issue>
<issue
@@ -227,9 +178,7 @@
errorLine1=" public CustomSwitch(Context context, AttributeSet attrs, int defStyleAttr) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/appcompat/CustomSwitch.java"
- line="36"
- column="42"/>
+ file="src/main/java/com/example/android/appcompat/CustomSwitch.java"/>
</issue>
</issues>
diff --git a/appcompat/appcompat-resources/api/1.6.0-beta01.txt b/appcompat/appcompat-resources/api/1.6.0-beta01.txt
new file mode 100644
index 0000000..0d2a788
--- /dev/null
+++ b/appcompat/appcompat-resources/api/1.6.0-beta01.txt
@@ -0,0 +1,57 @@
+// Signature format: 4.0
+package androidx.appcompat.content.res {
+
+ public final class AppCompatResources {
+ method public static android.content.res.ColorStateList! getColorStateList(android.content.Context, @ColorRes int);
+ method public static android.graphics.drawable.Drawable? getDrawable(android.content.Context, @DrawableRes int);
+ }
+
+}
+
+package androidx.appcompat.graphics.drawable {
+
+ public class AnimatedStateListDrawableCompat extends androidx.appcompat.graphics.drawable.StateListDrawableCompat {
+ ctor public AnimatedStateListDrawableCompat();
+ method public void addState(int[], android.graphics.drawable.Drawable, int);
+ method public <T extends android.graphics.drawable.Drawable & android.graphics.drawable.Animatable> void addTransition(int, int, T, boolean);
+ method public static androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat? create(android.content.Context, @DrawableRes int, android.content.res.Resources.Theme?);
+ method public static androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat createFromXmlInner(android.content.Context, android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme?) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
+ }
+
+ public class DrawableContainerCompat extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
+ ctor public DrawableContainerCompat();
+ method public void draw(android.graphics.Canvas);
+ method public final android.graphics.drawable.Drawable.ConstantState! getConstantState();
+ method public int getOpacity();
+ method public void invalidateDrawable(android.graphics.drawable.Drawable);
+ method public void scheduleDrawable(android.graphics.drawable.Drawable, Runnable, long);
+ method public void setAlpha(int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDither(boolean);
+ method public void setEnterFadeDuration(int);
+ method public void setExitFadeDuration(int);
+ method public void unscheduleDrawable(android.graphics.drawable.Drawable, Runnable);
+ }
+
+ public class DrawableWrapperCompat extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
+ ctor public DrawableWrapperCompat(android.graphics.drawable.Drawable!);
+ method public void draw(android.graphics.Canvas!);
+ method public android.graphics.drawable.Drawable? getDrawable();
+ method public int getOpacity();
+ method public void invalidateDrawable(android.graphics.drawable.Drawable!);
+ method public void scheduleDrawable(android.graphics.drawable.Drawable!, Runnable!, long);
+ method public void setAlpha(int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDither(boolean);
+ method public void setDrawable(android.graphics.drawable.Drawable?);
+ method public void unscheduleDrawable(android.graphics.drawable.Drawable!, Runnable!);
+ }
+
+ public class StateListDrawableCompat extends androidx.appcompat.graphics.drawable.DrawableContainerCompat {
+ ctor public StateListDrawableCompat();
+ method public void addState(int[]!, android.graphics.drawable.Drawable!);
+ method public void inflate(android.content.Context, android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme?) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
+ }
+
+}
+
diff --git a/appcompat/appcompat-resources/api/public_plus_experimental_1.6.0-beta01.txt b/appcompat/appcompat-resources/api/public_plus_experimental_1.6.0-beta01.txt
new file mode 100644
index 0000000..0d2a788
--- /dev/null
+++ b/appcompat/appcompat-resources/api/public_plus_experimental_1.6.0-beta01.txt
@@ -0,0 +1,57 @@
+// Signature format: 4.0
+package androidx.appcompat.content.res {
+
+ public final class AppCompatResources {
+ method public static android.content.res.ColorStateList! getColorStateList(android.content.Context, @ColorRes int);
+ method public static android.graphics.drawable.Drawable? getDrawable(android.content.Context, @DrawableRes int);
+ }
+
+}
+
+package androidx.appcompat.graphics.drawable {
+
+ public class AnimatedStateListDrawableCompat extends androidx.appcompat.graphics.drawable.StateListDrawableCompat {
+ ctor public AnimatedStateListDrawableCompat();
+ method public void addState(int[], android.graphics.drawable.Drawable, int);
+ method public <T extends android.graphics.drawable.Drawable & android.graphics.drawable.Animatable> void addTransition(int, int, T, boolean);
+ method public static androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat? create(android.content.Context, @DrawableRes int, android.content.res.Resources.Theme?);
+ method public static androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat createFromXmlInner(android.content.Context, android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme?) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
+ }
+
+ public class DrawableContainerCompat extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
+ ctor public DrawableContainerCompat();
+ method public void draw(android.graphics.Canvas);
+ method public final android.graphics.drawable.Drawable.ConstantState! getConstantState();
+ method public int getOpacity();
+ method public void invalidateDrawable(android.graphics.drawable.Drawable);
+ method public void scheduleDrawable(android.graphics.drawable.Drawable, Runnable, long);
+ method public void setAlpha(int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDither(boolean);
+ method public void setEnterFadeDuration(int);
+ method public void setExitFadeDuration(int);
+ method public void unscheduleDrawable(android.graphics.drawable.Drawable, Runnable);
+ }
+
+ public class DrawableWrapperCompat extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
+ ctor public DrawableWrapperCompat(android.graphics.drawable.Drawable!);
+ method public void draw(android.graphics.Canvas!);
+ method public android.graphics.drawable.Drawable? getDrawable();
+ method public int getOpacity();
+ method public void invalidateDrawable(android.graphics.drawable.Drawable!);
+ method public void scheduleDrawable(android.graphics.drawable.Drawable!, Runnable!, long);
+ method public void setAlpha(int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDither(boolean);
+ method public void setDrawable(android.graphics.drawable.Drawable?);
+ method public void unscheduleDrawable(android.graphics.drawable.Drawable!, Runnable!);
+ }
+
+ public class StateListDrawableCompat extends androidx.appcompat.graphics.drawable.DrawableContainerCompat {
+ ctor public StateListDrawableCompat();
+ method public void addState(int[]!, android.graphics.drawable.Drawable!);
+ method public void inflate(android.content.Context, android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme?) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
+ }
+
+}
+
diff --git a/appcompat/appcompat-resources/api/res-1.6.0-beta01.txt b/appcompat/appcompat-resources/api/res-1.6.0-beta01.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/appcompat/appcompat-resources/api/res-1.6.0-beta01.txt
diff --git a/appcompat/appcompat-resources/api/restricted_1.6.0-beta01.txt b/appcompat/appcompat-resources/api/restricted_1.6.0-beta01.txt
new file mode 100644
index 0000000..d998c06
--- /dev/null
+++ b/appcompat/appcompat-resources/api/restricted_1.6.0-beta01.txt
@@ -0,0 +1,111 @@
+// Signature format: 4.0
+package androidx.appcompat.content.res {
+
+ public final class AppCompatResources {
+ method public static android.content.res.ColorStateList! getColorStateList(android.content.Context, @ColorRes int);
+ method public static android.graphics.drawable.Drawable? getDrawable(android.content.Context, @DrawableRes int);
+ }
+
+}
+
+package androidx.appcompat.graphics.drawable {
+
+ public class AnimatedStateListDrawableCompat extends androidx.appcompat.graphics.drawable.StateListDrawableCompat implements androidx.core.graphics.drawable.TintAwareDrawable {
+ ctor public AnimatedStateListDrawableCompat();
+ method public void addState(int[], android.graphics.drawable.Drawable, int);
+ method public <T extends android.graphics.drawable.Drawable & android.graphics.drawable.Animatable> void addTransition(int, int, T, boolean);
+ method public static androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat? create(android.content.Context, @DrawableRes int, android.content.res.Resources.Theme?);
+ method public static androidx.appcompat.graphics.drawable.AnimatedStateListDrawableCompat createFromXmlInner(android.content.Context, android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme?) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
+ }
+
+ public class DrawableContainerCompat extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
+ ctor public DrawableContainerCompat();
+ method public void draw(android.graphics.Canvas);
+ method public final android.graphics.drawable.Drawable.ConstantState! getConstantState();
+ method public int getOpacity();
+ method public void invalidateDrawable(android.graphics.drawable.Drawable);
+ method public void scheduleDrawable(android.graphics.drawable.Drawable, Runnable, long);
+ method public void setAlpha(int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDither(boolean);
+ method public void setEnterFadeDuration(int);
+ method public void setExitFadeDuration(int);
+ method public void unscheduleDrawable(android.graphics.drawable.Drawable, Runnable);
+ }
+
+ public class DrawableWrapperCompat extends android.graphics.drawable.Drawable implements android.graphics.drawable.Drawable.Callback {
+ ctor public DrawableWrapperCompat(android.graphics.drawable.Drawable!);
+ method public void draw(android.graphics.Canvas!);
+ method public android.graphics.drawable.Drawable? getDrawable();
+ method public int getOpacity();
+ method public void invalidateDrawable(android.graphics.drawable.Drawable!);
+ method public void scheduleDrawable(android.graphics.drawable.Drawable!, Runnable!, long);
+ method public void setAlpha(int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDither(boolean);
+ method public void setDrawable(android.graphics.drawable.Drawable?);
+ method public void unscheduleDrawable(android.graphics.drawable.Drawable!, Runnable!);
+ }
+
+ public class StateListDrawableCompat extends androidx.appcompat.graphics.drawable.DrawableContainerCompat {
+ ctor public StateListDrawableCompat();
+ method public void addState(int[]!, android.graphics.drawable.Drawable!);
+ method public void inflate(android.content.Context, android.content.res.Resources, org.xmlpull.v1.XmlPullParser, android.util.AttributeSet, android.content.res.Resources.Theme?) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException;
+ }
+
+}
+
+package androidx.appcompat.widget {
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class DrawableUtils {
+ method public static boolean canSafelyMutateDrawable(android.graphics.drawable.Drawable);
+ method public static android.graphics.Rect getOpticalBounds(android.graphics.drawable.Drawable);
+ method public static android.graphics.PorterDuff.Mode! parseTintMode(int, android.graphics.PorterDuff.Mode!);
+ field public static final android.graphics.Rect! INSETS_NONE;
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class ResourceManagerInternal {
+ ctor public ResourceManagerInternal();
+ method public static androidx.appcompat.widget.ResourceManagerInternal! get();
+ method public android.graphics.drawable.Drawable! getDrawable(android.content.Context, @DrawableRes int);
+ method public static android.graphics.PorterDuffColorFilter! getPorterDuffColorFilter(int, android.graphics.PorterDuff.Mode!);
+ method public void onConfigurationChanged(android.content.Context);
+ method public void setHooks(androidx.appcompat.widget.ResourceManagerInternal.ResourceManagerHooks!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static interface ResourceManagerInternal.ResourceManagerHooks {
+ method public android.graphics.drawable.Drawable? createDrawableFor(androidx.appcompat.widget.ResourceManagerInternal, android.content.Context, @DrawableRes int);
+ method public android.content.res.ColorStateList? getTintListForDrawableRes(android.content.Context, @DrawableRes int);
+ method public android.graphics.PorterDuff.Mode? getTintModeForDrawableRes(int);
+ method public boolean tintDrawable(android.content.Context, @DrawableRes int, android.graphics.drawable.Drawable);
+ method public boolean tintDrawableUsingColorFilter(android.content.Context, @DrawableRes int, android.graphics.drawable.Drawable);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class TintContextWrapper extends android.content.ContextWrapper {
+ method public static android.content.Context! wrap(android.content.Context);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class TintInfo {
+ ctor public TintInfo();
+ field public boolean mHasTintList;
+ field public boolean mHasTintMode;
+ field public android.content.res.ColorStateList! mTintList;
+ field public android.graphics.PorterDuff.Mode! mTintMode;
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class VectorEnabledTintResources extends android.content.res.Resources {
+ ctor public VectorEnabledTintResources(android.content.Context, android.content.res.Resources);
+ method public int getColor(int) throws android.content.res.Resources.NotFoundException;
+ method public android.content.res.ColorStateList! getColorStateList(int) throws android.content.res.Resources.NotFoundException;
+ method public android.graphics.drawable.Drawable! getDrawable(int) throws android.content.res.Resources.NotFoundException;
+ method @RequiresApi(15) public android.graphics.drawable.Drawable! getDrawableForDensity(int, int) throws android.content.res.Resources.NotFoundException;
+ method public android.graphics.Movie! getMovie(int) throws android.content.res.Resources.NotFoundException;
+ method public static boolean isCompatVectorFromResourcesEnabled();
+ method public static void setCompatVectorFromResourcesEnabled(boolean);
+ method public static boolean shouldBeUsed();
+ method public void updateConfiguration(android.content.res.Configuration!, android.util.DisplayMetrics!);
+ field public static final int MAX_SDK_WHERE_REQUIRED = 20; // 0x14
+ }
+
+}
+
diff --git a/appcompat/appcompat/api/1.6.0-beta01.txt b/appcompat/appcompat/api/1.6.0-beta01.txt
new file mode 100644
index 0000000..0219b45
--- /dev/null
+++ b/appcompat/appcompat/api/1.6.0-beta01.txt
@@ -0,0 +1,1063 @@
+// Signature format: 4.0
+package androidx.appcompat.app {
+
+ public abstract class ActionBar {
+ ctor public ActionBar();
+ method public abstract void addOnMenuVisibilityListener(androidx.appcompat.app.ActionBar.OnMenuVisibilityListener!);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, boolean);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, int);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, int, boolean);
+ method public abstract android.view.View! getCustomView();
+ method public abstract int getDisplayOptions();
+ method public float getElevation();
+ method public abstract int getHeight();
+ method public int getHideOffset();
+ method @Deprecated public abstract int getNavigationItemCount();
+ method @Deprecated public abstract int getNavigationMode();
+ method @Deprecated public abstract int getSelectedNavigationIndex();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab? getSelectedTab();
+ method public abstract CharSequence? getSubtitle();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! getTabAt(int);
+ method @Deprecated public abstract int getTabCount();
+ method public android.content.Context! getThemedContext();
+ method public abstract CharSequence? getTitle();
+ method public abstract void hide();
+ method public boolean isHideOnContentScrollEnabled();
+ method public abstract boolean isShowing();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! newTab();
+ method @Deprecated public abstract void removeAllTabs();
+ method public abstract void removeOnMenuVisibilityListener(androidx.appcompat.app.ActionBar.OnMenuVisibilityListener!);
+ method @Deprecated public abstract void removeTab(androidx.appcompat.app.ActionBar.Tab!);
+ method @Deprecated public abstract void removeTabAt(int);
+ method @Deprecated public abstract void selectTab(androidx.appcompat.app.ActionBar.Tab!);
+ method public abstract void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public abstract void setCustomView(android.view.View!);
+ method public abstract void setCustomView(android.view.View!, androidx.appcompat.app.ActionBar.LayoutParams!);
+ method public abstract void setCustomView(int);
+ method public abstract void setDisplayHomeAsUpEnabled(boolean);
+ method public abstract void setDisplayOptions(int);
+ method public abstract void setDisplayOptions(int, int);
+ method public abstract void setDisplayShowCustomEnabled(boolean);
+ method public abstract void setDisplayShowHomeEnabled(boolean);
+ method public abstract void setDisplayShowTitleEnabled(boolean);
+ method public abstract void setDisplayUseLogoEnabled(boolean);
+ method public void setElevation(float);
+ method public void setHideOffset(int);
+ method public void setHideOnContentScrollEnabled(boolean);
+ method public void setHomeActionContentDescription(CharSequence?);
+ method public void setHomeActionContentDescription(@StringRes int);
+ method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable?);
+ method public void setHomeAsUpIndicator(@DrawableRes int);
+ method public void setHomeButtonEnabled(boolean);
+ method public abstract void setIcon(@DrawableRes int);
+ method public abstract void setIcon(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract void setListNavigationCallbacks(android.widget.SpinnerAdapter!, androidx.appcompat.app.ActionBar.OnNavigationListener!);
+ method public abstract void setLogo(@DrawableRes int);
+ method public abstract void setLogo(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract void setNavigationMode(int);
+ method @Deprecated public abstract void setSelectedNavigationItem(int);
+ method public void setSplitBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public void setStackedBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public abstract void setSubtitle(CharSequence!);
+ method public abstract void setSubtitle(int);
+ method public abstract void setTitle(CharSequence!);
+ method public abstract void setTitle(@StringRes int);
+ method public abstract void show();
+ field public static final int DISPLAY_HOME_AS_UP = 4; // 0x4
+ field public static final int DISPLAY_SHOW_CUSTOM = 16; // 0x10
+ field public static final int DISPLAY_SHOW_HOME = 2; // 0x2
+ field public static final int DISPLAY_SHOW_TITLE = 8; // 0x8
+ field public static final int DISPLAY_USE_LOGO = 1; // 0x1
+ field @Deprecated public static final int NAVIGATION_MODE_LIST = 1; // 0x1
+ field @Deprecated public static final int NAVIGATION_MODE_STANDARD = 0; // 0x0
+ field @Deprecated public static final int NAVIGATION_MODE_TABS = 2; // 0x2
+ }
+
+ public static class ActionBar.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
+ ctor public ActionBar.LayoutParams(android.content.Context, android.util.AttributeSet!);
+ ctor public ActionBar.LayoutParams(int, int);
+ ctor public ActionBar.LayoutParams(int, int, int);
+ ctor public ActionBar.LayoutParams(int);
+ ctor public ActionBar.LayoutParams(androidx.appcompat.app.ActionBar.LayoutParams!);
+ ctor public ActionBar.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ field public int gravity;
+ }
+
+ public static interface ActionBar.OnMenuVisibilityListener {
+ method public void onMenuVisibilityChanged(boolean);
+ }
+
+ @Deprecated public static interface ActionBar.OnNavigationListener {
+ method @Deprecated public boolean onNavigationItemSelected(int, long);
+ }
+
+ @Deprecated public abstract static class ActionBar.Tab {
+ ctor @Deprecated public ActionBar.Tab();
+ method @Deprecated public abstract CharSequence! getContentDescription();
+ method @Deprecated public abstract android.view.View! getCustomView();
+ method @Deprecated public abstract android.graphics.drawable.Drawable! getIcon();
+ method @Deprecated public abstract int getPosition();
+ method @Deprecated public abstract Object! getTag();
+ method @Deprecated public abstract CharSequence! getText();
+ method @Deprecated public abstract void select();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setContentDescription(@StringRes int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setContentDescription(CharSequence!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setCustomView(android.view.View!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setCustomView(int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setIcon(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setIcon(@DrawableRes int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setTabListener(androidx.appcompat.app.ActionBar.TabListener!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setTag(Object!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setText(CharSequence!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setText(int);
+ field @Deprecated public static final int INVALID_POSITION = -1; // 0xffffffff
+ }
+
+ @Deprecated public static interface ActionBar.TabListener {
+ method @Deprecated public void onTabReselected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ method @Deprecated public void onTabSelected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ method @Deprecated public void onTabUnselected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ }
+
+ public class ActionBarDrawerToggle implements androidx.drawerlayout.widget.DrawerLayout.DrawerListener {
+ ctor public ActionBarDrawerToggle(android.app.Activity!, androidx.drawerlayout.widget.DrawerLayout!, @StringRes int, @StringRes int);
+ ctor public ActionBarDrawerToggle(android.app.Activity!, androidx.drawerlayout.widget.DrawerLayout!, androidx.appcompat.widget.Toolbar!, @StringRes int, @StringRes int);
+ method public androidx.appcompat.graphics.drawable.DrawerArrowDrawable getDrawerArrowDrawable();
+ method public android.view.View.OnClickListener! getToolbarNavigationClickListener();
+ method public boolean isDrawerIndicatorEnabled();
+ method public boolean isDrawerSlideAnimationEnabled();
+ method public void onConfigurationChanged(android.content.res.Configuration!);
+ method public void onDrawerClosed(android.view.View!);
+ method public void onDrawerOpened(android.view.View!);
+ method public void onDrawerSlide(android.view.View!, float);
+ method public void onDrawerStateChanged(int);
+ method public boolean onOptionsItemSelected(android.view.MenuItem!);
+ method public void setDrawerArrowDrawable(androidx.appcompat.graphics.drawable.DrawerArrowDrawable);
+ method public void setDrawerIndicatorEnabled(boolean);
+ method public void setDrawerSlideAnimationEnabled(boolean);
+ method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable!);
+ method public void setHomeAsUpIndicator(int);
+ method public void setToolbarNavigationClickListener(android.view.View.OnClickListener!);
+ method public void syncState();
+ }
+
+ public static interface ActionBarDrawerToggle.Delegate {
+ method public android.content.Context! getActionBarThemedContext();
+ method public android.graphics.drawable.Drawable! getThemeUpIndicator();
+ method public boolean isNavigationVisible();
+ method public void setActionBarDescription(@StringRes int);
+ method public void setActionBarUpIndicator(android.graphics.drawable.Drawable!, @StringRes int);
+ }
+
+ public static interface ActionBarDrawerToggle.DelegateProvider {
+ method public androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ }
+
+ public class AlertDialog extends androidx.appcompat.app.AppCompatDialog implements android.content.DialogInterface {
+ ctor protected AlertDialog(android.content.Context);
+ ctor protected AlertDialog(android.content.Context, @StyleRes int);
+ ctor protected AlertDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener?);
+ method public android.widget.Button! getButton(int);
+ method public android.widget.ListView! getListView();
+ method public void setButton(int, CharSequence!, android.os.Message!);
+ method public void setButton(int, CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public void setButton(int, CharSequence!, android.graphics.drawable.Drawable!, android.content.DialogInterface.OnClickListener!);
+ method public void setCustomTitle(android.view.View!);
+ method public void setIcon(int);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setIconAttribute(int);
+ method public void setMessage(CharSequence!);
+ method public void setView(android.view.View!);
+ method public void setView(android.view.View!, int, int, int, int);
+ }
+
+ public static class AlertDialog.Builder {
+ ctor public AlertDialog.Builder(android.content.Context);
+ ctor public AlertDialog.Builder(android.content.Context, @StyleRes int);
+ method public androidx.appcompat.app.AlertDialog create();
+ method public android.content.Context getContext();
+ method public androidx.appcompat.app.AlertDialog.Builder! setAdapter(android.widget.ListAdapter!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCancelable(boolean);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCursor(android.database.Cursor!, android.content.DialogInterface.OnClickListener!, String!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCustomTitle(android.view.View?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIcon(@DrawableRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIcon(android.graphics.drawable.Drawable?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIconAttribute(@AttrRes int);
+ method @Deprecated public androidx.appcompat.app.AlertDialog.Builder! setInverseBackgroundForced(boolean);
+ method public androidx.appcompat.app.AlertDialog.Builder! setItems(@ArrayRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setItems(CharSequence![]!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMessage(@StringRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMessage(CharSequence?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(@ArrayRes int, boolean[]!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(CharSequence![]!, boolean[]!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(android.database.Cursor!, String!, String!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButtonIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButtonIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnCancelListener(android.content.DialogInterface.OnCancelListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnDismissListener(android.content.DialogInterface.OnDismissListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnKeyListener(android.content.DialogInterface.OnKeyListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButtonIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(@ArrayRes int, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(android.database.Cursor!, int, String!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(CharSequence![]!, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(android.widget.ListAdapter!, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setTitle(@StringRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setTitle(CharSequence?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setView(int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setView(android.view.View!);
+ method public androidx.appcompat.app.AlertDialog! show();
+ }
+
+ public class AppCompatActivity extends androidx.fragment.app.FragmentActivity implements androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider androidx.appcompat.app.AppCompatCallback androidx.lifecycle.LifecycleOwner androidx.core.app.TaskStackBuilder.SupportParentable {
+ ctor public AppCompatActivity();
+ ctor @ContentView public AppCompatActivity(@LayoutRes int);
+ method public androidx.appcompat.app.AppCompatDelegate getDelegate();
+ method public androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ method public androidx.appcompat.app.ActionBar? getSupportActionBar();
+ method public android.content.Intent? getSupportParentActivityIntent();
+ method public void onCreateSupportNavigateUpTaskStack(androidx.core.app.TaskStackBuilder);
+ method protected void onLocalesChanged(androidx.core.os.LocaleListCompat);
+ method public final boolean onMenuItemSelected(int, android.view.MenuItem);
+ method protected void onNightModeChanged(int);
+ method public void onPrepareSupportNavigateUpTaskStack(androidx.core.app.TaskStackBuilder);
+ method @CallSuper public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode);
+ method @CallSuper public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode);
+ method @Deprecated public void onSupportContentChanged();
+ method public boolean onSupportNavigateUp();
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ method public void setSupportActionBar(androidx.appcompat.widget.Toolbar?);
+ method @Deprecated public void setSupportProgress(int);
+ method @Deprecated public void setSupportProgressBarIndeterminate(boolean);
+ method @Deprecated public void setSupportProgressBarIndeterminateVisibility(boolean);
+ method @Deprecated public void setSupportProgressBarVisibility(boolean);
+ method public androidx.appcompat.view.ActionMode? startSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ method public void supportInvalidateOptionsMenu();
+ method public void supportNavigateUpTo(android.content.Intent);
+ method public boolean supportRequestWindowFeature(int);
+ method public boolean supportShouldUpRecreateTask(android.content.Intent);
+ }
+
+ public interface AppCompatCallback {
+ method public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode!);
+ method public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode!);
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback!);
+ }
+
+ public abstract class AppCompatDelegate {
+ method public abstract void addContentView(android.view.View!, android.view.ViewGroup.LayoutParams!);
+ method public abstract boolean applyDayNight();
+ method @Deprecated public void attachBaseContext(android.content.Context!);
+ method @CallSuper public android.content.Context attachBaseContext2(android.content.Context);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.app.Activity, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.app.Dialog, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.content.Context, android.view.Window, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.content.Context, android.app.Activity, androidx.appcompat.app.AppCompatCallback?);
+ method public abstract android.view.View! createView(android.view.View?, String!, android.content.Context, android.util.AttributeSet);
+ method public abstract <T extends android.view.View> T! findViewById(@IdRes int);
+ method @AnyThread public static androidx.core.os.LocaleListCompat getApplicationLocales();
+ method public android.content.Context? getContextForDelegate();
+ method public static int getDefaultNightMode();
+ method public abstract androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ method public int getLocalNightMode();
+ method public abstract android.view.MenuInflater! getMenuInflater();
+ method public abstract androidx.appcompat.app.ActionBar? getSupportActionBar();
+ method public abstract boolean hasWindowFeature(int);
+ method public abstract void installViewFactory();
+ method public abstract void invalidateOptionsMenu();
+ method public static boolean isCompatVectorFromResourcesEnabled();
+ method public abstract boolean isHandleNativeActionModesEnabled();
+ method public abstract void onConfigurationChanged(android.content.res.Configuration!);
+ method public abstract void onCreate(android.os.Bundle!);
+ method public abstract void onDestroy();
+ method public abstract void onPostCreate(android.os.Bundle!);
+ method public abstract void onPostResume();
+ method public abstract void onSaveInstanceState(android.os.Bundle!);
+ method public abstract void onStart();
+ method public abstract void onStop();
+ method public abstract boolean requestWindowFeature(int);
+ method public static void setApplicationLocales(androidx.core.os.LocaleListCompat);
+ method public static void setCompatVectorFromResourcesEnabled(boolean);
+ method public abstract void setContentView(android.view.View!);
+ method public abstract void setContentView(@LayoutRes int);
+ method public abstract void setContentView(android.view.View!, android.view.ViewGroup.LayoutParams!);
+ method public static void setDefaultNightMode(int);
+ method public abstract void setHandleNativeActionModesEnabled(boolean);
+ method @RequiresApi(17) public abstract void setLocalNightMode(int);
+ method @CallSuper @RequiresApi(33) public void setOnBackInvokedDispatcher(android.window.OnBackInvokedDispatcher?);
+ method public abstract void setSupportActionBar(androidx.appcompat.widget.Toolbar?);
+ method public void setTheme(@StyleRes int);
+ method public abstract void setTitle(CharSequence?);
+ method public abstract androidx.appcompat.view.ActionMode? startSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ field public static final int FEATURE_ACTION_MODE_OVERLAY = 10; // 0xa
+ field public static final int FEATURE_SUPPORT_ACTION_BAR = 108; // 0x6c
+ field public static final int FEATURE_SUPPORT_ACTION_BAR_OVERLAY = 109; // 0x6d
+ field @Deprecated public static final int MODE_NIGHT_AUTO = 0; // 0x0
+ field public static final int MODE_NIGHT_AUTO_BATTERY = 3; // 0x3
+ field @Deprecated public static final int MODE_NIGHT_AUTO_TIME = 0; // 0x0
+ field public static final int MODE_NIGHT_FOLLOW_SYSTEM = -1; // 0xffffffff
+ field public static final int MODE_NIGHT_NO = 1; // 0x1
+ field public static final int MODE_NIGHT_UNSPECIFIED = -100; // 0xffffff9c
+ field public static final int MODE_NIGHT_YES = 2; // 0x2
+ }
+
+ public class AppCompatDialog extends androidx.activity.ComponentDialog implements androidx.appcompat.app.AppCompatCallback {
+ ctor public AppCompatDialog(android.content.Context);
+ ctor public AppCompatDialog(android.content.Context, int);
+ ctor protected AppCompatDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener?);
+ method public androidx.appcompat.app.AppCompatDelegate getDelegate();
+ method public androidx.appcompat.app.ActionBar! getSupportActionBar();
+ method public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode!);
+ method public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode!);
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback!);
+ method public boolean supportRequestWindowFeature(int);
+ }
+
+ public class AppCompatDialogFragment extends androidx.fragment.app.DialogFragment {
+ ctor public AppCompatDialogFragment();
+ ctor public AppCompatDialogFragment(@LayoutRes int);
+ }
+
+ public class AppCompatViewInflater {
+ ctor public AppCompatViewInflater();
+ method protected androidx.appcompat.widget.AppCompatAutoCompleteTextView createAutoCompleteTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatButton createButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatCheckBox createCheckBox(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatCheckedTextView createCheckedTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatEditText createEditText(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatImageButton createImageButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatImageView createImageView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatMultiAutoCompleteTextView createMultiAutoCompleteTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatRadioButton createRadioButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatRatingBar createRatingBar(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatSeekBar createSeekBar(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatSpinner createSpinner(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatTextView createTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatToggleButton createToggleButton(android.content.Context!, android.util.AttributeSet!);
+ method public final android.view.View? createView(android.view.View?, String, android.content.Context, android.util.AttributeSet, boolean, boolean, boolean, boolean);
+ method protected android.view.View? createView(android.content.Context!, String!, android.util.AttributeSet!);
+ }
+
+ public final class AppLocalesMetadataHolderService extends android.app.Service {
+ ctor public AppLocalesMetadataHolderService();
+ method public static android.content.pm.ServiceInfo getServiceInfo(android.content.Context) throws android.content.pm.PackageManager.NameNotFoundException;
+ method public android.os.IBinder onBind(android.content.Intent);
+ }
+
+}
+
+package androidx.appcompat.graphics.drawable {
+
+ public class DrawerArrowDrawable extends android.graphics.drawable.Drawable {
+ ctor public DrawerArrowDrawable(android.content.Context!);
+ method public void draw(android.graphics.Canvas!);
+ method public float getArrowHeadLength();
+ method public float getArrowShaftLength();
+ method public float getBarLength();
+ method public float getBarThickness();
+ method @ColorInt public int getColor();
+ method public int getDirection();
+ method public float getGapSize();
+ method public int getOpacity();
+ method public final android.graphics.Paint! getPaint();
+ method @FloatRange(from=0.0, to=1.0) public float getProgress();
+ method public boolean isSpinEnabled();
+ method public void setAlpha(int);
+ method public void setArrowHeadLength(float);
+ method public void setArrowShaftLength(float);
+ method public void setBarLength(float);
+ method public void setBarThickness(float);
+ method public void setColor(@ColorInt int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDirection(int);
+ method public void setGapSize(float);
+ method public void setProgress(@FloatRange(from=0.0, to=1.0) float);
+ method public void setSpinEnabled(boolean);
+ method public void setVerticalMirror(boolean);
+ field public static final int ARROW_DIRECTION_END = 3; // 0x3
+ field public static final int ARROW_DIRECTION_LEFT = 0; // 0x0
+ field public static final int ARROW_DIRECTION_RIGHT = 1; // 0x1
+ field public static final int ARROW_DIRECTION_START = 2; // 0x2
+ }
+
+}
+
+package androidx.appcompat.view {
+
+ public abstract class ActionMode {
+ ctor public ActionMode();
+ method public abstract void finish();
+ method public abstract android.view.View! getCustomView();
+ method public abstract android.view.Menu! getMenu();
+ method public abstract android.view.MenuInflater! getMenuInflater();
+ method public abstract CharSequence! getSubtitle();
+ method public Object! getTag();
+ method public abstract CharSequence! getTitle();
+ method public boolean getTitleOptionalHint();
+ method public abstract void invalidate();
+ method public boolean isTitleOptional();
+ method public abstract void setCustomView(android.view.View!);
+ method public abstract void setSubtitle(CharSequence!);
+ method public abstract void setSubtitle(int);
+ method public void setTag(Object!);
+ method public abstract void setTitle(CharSequence!);
+ method public abstract void setTitle(int);
+ method public void setTitleOptionalHint(boolean);
+ }
+
+ public static interface ActionMode.Callback {
+ method public boolean onActionItemClicked(androidx.appcompat.view.ActionMode!, android.view.MenuItem!);
+ method public boolean onCreateActionMode(androidx.appcompat.view.ActionMode!, android.view.Menu!);
+ method public void onDestroyActionMode(androidx.appcompat.view.ActionMode!);
+ method public boolean onPrepareActionMode(androidx.appcompat.view.ActionMode!, android.view.Menu!);
+ }
+
+ @Deprecated public interface CollapsibleActionView {
+ method @Deprecated public void onActionViewCollapsed();
+ method @Deprecated public void onActionViewExpanded();
+ }
+
+ public class ContextThemeWrapper extends android.content.ContextWrapper {
+ ctor public ContextThemeWrapper();
+ ctor public ContextThemeWrapper(android.content.Context!, @StyleRes int);
+ ctor public ContextThemeWrapper(android.content.Context!, android.content.res.Resources.Theme!);
+ method public void applyOverrideConfiguration(android.content.res.Configuration!);
+ method public int getThemeResId();
+ method protected void onApplyThemeResource(android.content.res.Resources.Theme!, int, boolean);
+ }
+
+}
+
+package androidx.appcompat.widget {
+
+ public class ActionMenuView extends androidx.appcompat.widget.LinearLayoutCompat {
+ ctor public ActionMenuView(android.content.Context);
+ ctor public ActionMenuView(android.content.Context, android.util.AttributeSet?);
+ method public void dismissPopupMenus();
+ method protected androidx.appcompat.widget.ActionMenuView.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.ActionMenuView.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.ActionMenuView.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method public android.view.Menu! getMenu();
+ method public android.graphics.drawable.Drawable? getOverflowIcon();
+ method public int getPopupTheme();
+ method public boolean hideOverflowMenu();
+ method public boolean isOverflowMenuShowing();
+ method public void onConfigurationChanged(android.content.res.Configuration!);
+ method public void onDetachedFromWindow();
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.ActionMenuView.OnMenuItemClickListener!);
+ method public void setOverflowIcon(android.graphics.drawable.Drawable?);
+ method public void setPopupTheme(@StyleRes int);
+ method public boolean showOverflowMenu();
+ }
+
+ public static class ActionMenuView.LayoutParams extends androidx.appcompat.widget.LinearLayoutCompat.LayoutParams {
+ ctor public ActionMenuView.LayoutParams(android.content.Context!, android.util.AttributeSet!);
+ ctor public ActionMenuView.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ ctor public ActionMenuView.LayoutParams(androidx.appcompat.widget.ActionMenuView.LayoutParams!);
+ ctor public ActionMenuView.LayoutParams(int, int);
+ field public int cellsUsed;
+ field public boolean expandable;
+ field public int extraPixels;
+ field public boolean isOverflowButton;
+ field public boolean preventEdgeOffset;
+ }
+
+ public static interface ActionMenuView.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ public class AppCompatAutoCompleteTextView extends android.widget.AutoCompleteTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatAutoCompleteTextView(android.content.Context);
+ ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ public class AppCompatButton extends android.widget.Button implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatButton(android.content.Context);
+ ctor public AppCompatButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) throws java.lang.IllegalArgumentException;
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithPresetSizes(int[], int) throws java.lang.IllegalArgumentException;
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method public void setSupportAllCaps(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ public class AppCompatCheckBox extends android.widget.CheckBox implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundButton androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatCheckBox(android.content.Context);
+ ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportButtonTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportButtonTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatCheckedTextView extends android.widget.CheckedTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatCheckedTextView(android.content.Context);
+ ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context, int);
+ }
+
+ public class AppCompatEditText extends android.widget.EditText implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.OnReceiveContentViewBehavior androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatEditText(android.content.Context);
+ ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public androidx.core.view.ContentInfoCompat? onReceiveContent(androidx.core.view.ContentInfoCompat);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ public class AppCompatImageButton extends android.widget.ImageButton implements androidx.core.view.TintableBackgroundView {
+ ctor public AppCompatImageButton(android.content.Context);
+ ctor public AppCompatImageButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatImageButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatImageView extends android.widget.ImageView implements androidx.core.view.TintableBackgroundView {
+ ctor public AppCompatImageView(android.content.Context);
+ ctor public AppCompatImageView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatImageView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatMultiAutoCompleteTextView extends android.widget.MultiAutoCompleteTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context);
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ public class AppCompatRadioButton extends android.widget.RadioButton implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundButton androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatRadioButton(android.content.Context!);
+ ctor public AppCompatRadioButton(android.content.Context!, android.util.AttributeSet?);
+ ctor public AppCompatRadioButton(android.content.Context!, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportButtonTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportButtonTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatRatingBar extends android.widget.RatingBar {
+ ctor public AppCompatRatingBar(android.content.Context);
+ ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet?, int);
+ }
+
+ public class AppCompatSeekBar extends android.widget.SeekBar {
+ ctor public AppCompatSeekBar(android.content.Context);
+ ctor public AppCompatSeekBar(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatSeekBar(android.content.Context, android.util.AttributeSet?, int);
+ }
+
+ public class AppCompatSpinner extends android.widget.Spinner implements androidx.core.view.TintableBackgroundView {
+ ctor public AppCompatSpinner(android.content.Context);
+ ctor public AppCompatSpinner(android.content.Context, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int, int, android.content.res.Resources.Theme!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatTextView extends android.widget.TextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatTextView(android.content.Context);
+ ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public androidx.core.text.PrecomputedTextCompat.Params getTextMetricsParamsCompat();
+ method public boolean isEmojiCompatEnabled();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) throws java.lang.IllegalArgumentException;
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithPresetSizes(int[], int) throws java.lang.IllegalArgumentException;
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method public void setPrecomputedText(androidx.core.text.PrecomputedTextCompat);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ method public void setTextFuture(java.util.concurrent.Future<androidx.core.text.PrecomputedTextCompat!>?);
+ method public void setTextMetricsParamsCompat(androidx.core.text.PrecomputedTextCompat.Params);
+ }
+
+ public class AppCompatToggleButton extends android.widget.ToggleButton implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatToggleButton(android.content.Context);
+ ctor public AppCompatToggleButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatToggleButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public interface EmojiCompatConfigurationView {
+ method public boolean isEmojiCompatEnabled();
+ method public void setEmojiCompatEnabled(boolean);
+ }
+
+ public class LinearLayoutCompat extends android.view.ViewGroup {
+ ctor public LinearLayoutCompat(android.content.Context);
+ ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet?);
+ ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet?, int);
+ method protected androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method @androidx.resourceinspection.annotation.Attribute("android:baselineAlignedChildIndex") public int getBaselineAlignedChildIndex();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:divider") public android.graphics.drawable.Drawable! getDividerDrawable();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:dividerPadding") public int getDividerPadding();
+ method @GravityInt @androidx.resourceinspection.annotation.Attribute("android:gravity") public int getGravity();
+ method @androidx.resourceinspection.annotation.Attribute(value="android:orientation", intMapping={@androidx.resourceinspection.annotation.Attribute.IntMap(name="horizontal", value=0), @androidx.resourceinspection.annotation.Attribute.IntMap(name="vertical", value=1)}) public int getOrientation();
+ method @androidx.resourceinspection.annotation.Attribute(value="androidx.appcompat:showDividers", intMapping={@androidx.resourceinspection.annotation.Attribute.IntMap(name="none", value=0), @androidx.resourceinspection.annotation.Attribute.IntMap(name="beginning", value=1, mask=1), @androidx.resourceinspection.annotation.Attribute.IntMap(name="middle", value=2, mask=2), @androidx.resourceinspection.annotation.Attribute.IntMap(name="end", value=4, mask=4)}) public int getShowDividers();
+ method @androidx.resourceinspection.annotation.Attribute("android:weightSum") public float getWeightSum();
+ method @androidx.resourceinspection.annotation.Attribute("android:baselineAligned") public boolean isBaselineAligned();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:measureWithLargestChild") public boolean isMeasureWithLargestChildEnabled();
+ method public void setBaselineAligned(boolean);
+ method public void setBaselineAlignedChildIndex(int);
+ method public void setDividerDrawable(android.graphics.drawable.Drawable!);
+ method public void setDividerPadding(int);
+ method public void setGravity(@GravityInt int);
+ method public void setHorizontalGravity(int);
+ method public void setMeasureWithLargestChildEnabled(boolean);
+ method public void setOrientation(int);
+ method public void setShowDividers(int);
+ method public void setVerticalGravity(int);
+ method public void setWeightSum(float);
+ field public static final int HORIZONTAL = 0; // 0x0
+ field public static final int SHOW_DIVIDER_BEGINNING = 1; // 0x1
+ field public static final int SHOW_DIVIDER_END = 4; // 0x4
+ field public static final int SHOW_DIVIDER_MIDDLE = 2; // 0x2
+ field public static final int SHOW_DIVIDER_NONE = 0; // 0x0
+ field public static final int VERTICAL = 1; // 0x1
+ }
+
+ public static class LinearLayoutCompat.LayoutParams extends android.widget.LinearLayout.LayoutParams {
+ ctor public LinearLayoutCompat.LayoutParams(android.content.Context!, android.util.AttributeSet!);
+ ctor public LinearLayoutCompat.LayoutParams(int, int);
+ ctor public LinearLayoutCompat.LayoutParams(int, int, float);
+ ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.MarginLayoutParams!);
+ }
+
+ public class ListPopupWindow {
+ ctor public ListPopupWindow(android.content.Context);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?, @AttrRes int);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?, @AttrRes int, @StyleRes int);
+ method public void clearListSelection();
+ method public android.view.View.OnTouchListener! createDragToOpenListener(android.view.View!);
+ method public void dismiss();
+ method public android.view.View? getAnchorView();
+ method @StyleRes public int getAnimationStyle();
+ method public android.graphics.drawable.Drawable? getBackground();
+ method public android.graphics.Rect? getEpicenterBounds();
+ method public int getHeight();
+ method public int getHorizontalOffset();
+ method public int getInputMethodMode();
+ method public android.widget.ListView? getListView();
+ method public int getPromptPosition();
+ method public Object? getSelectedItem();
+ method public long getSelectedItemId();
+ method public int getSelectedItemPosition();
+ method public android.view.View? getSelectedView();
+ method public int getSoftInputMode();
+ method public int getVerticalOffset();
+ method public int getWidth();
+ method public boolean isInputMethodNotNeeded();
+ method public boolean isModal();
+ method public boolean isShowing();
+ method public boolean onKeyDown(int, android.view.KeyEvent);
+ method public boolean onKeyPreIme(int, android.view.KeyEvent);
+ method public boolean onKeyUp(int, android.view.KeyEvent);
+ method public boolean performItemClick(int);
+ method public void postShow();
+ method public void setAdapter(android.widget.ListAdapter?);
+ method public void setAnchorView(android.view.View?);
+ method public void setAnimationStyle(@StyleRes int);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setContentWidth(int);
+ method public void setDropDownGravity(int);
+ method public void setEpicenterBounds(android.graphics.Rect?);
+ method public void setHeight(int);
+ method public void setHorizontalOffset(int);
+ method public void setInputMethodMode(int);
+ method public void setListSelector(android.graphics.drawable.Drawable!);
+ method public void setModal(boolean);
+ method public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener?);
+ method public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener?);
+ method public void setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener?);
+ method public void setPromptPosition(int);
+ method public void setPromptView(android.view.View?);
+ method public void setSelection(int);
+ method public void setSoftInputMode(int);
+ method public void setVerticalOffset(int);
+ method public void setWidth(int);
+ method public void setWindowLayoutType(int);
+ method public void show();
+ field public static final int INPUT_METHOD_FROM_FOCUSABLE = 0; // 0x0
+ field public static final int INPUT_METHOD_NEEDED = 1; // 0x1
+ field public static final int INPUT_METHOD_NOT_NEEDED = 2; // 0x2
+ field public static final int MATCH_PARENT = -1; // 0xffffffff
+ field public static final int POSITION_PROMPT_ABOVE = 0; // 0x0
+ field public static final int POSITION_PROMPT_BELOW = 1; // 0x1
+ field public static final int WRAP_CONTENT = -2; // 0xfffffffe
+ }
+
+ public class PopupMenu {
+ ctor public PopupMenu(android.content.Context, android.view.View);
+ ctor public PopupMenu(android.content.Context, android.view.View, int);
+ ctor public PopupMenu(android.content.Context, android.view.View, int, @AttrRes int, @StyleRes int);
+ method public void dismiss();
+ method public android.view.View.OnTouchListener getDragToOpenListener();
+ method public int getGravity();
+ method public android.view.Menu getMenu();
+ method public android.view.MenuInflater getMenuInflater();
+ method public void inflate(@MenuRes int);
+ method public void setForceShowIcon(boolean);
+ method public void setGravity(int);
+ method public void setOnDismissListener(androidx.appcompat.widget.PopupMenu.OnDismissListener?);
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.PopupMenu.OnMenuItemClickListener?);
+ method public void show();
+ }
+
+ public static interface PopupMenu.OnDismissListener {
+ method public void onDismiss(androidx.appcompat.widget.PopupMenu!);
+ }
+
+ public static interface PopupMenu.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ public class SearchView extends androidx.appcompat.widget.LinearLayoutCompat implements androidx.appcompat.view.CollapsibleActionView {
+ ctor public SearchView(android.content.Context);
+ ctor public SearchView(android.content.Context, android.util.AttributeSet?);
+ ctor public SearchView(android.content.Context, android.util.AttributeSet?, int);
+ method @androidx.resourceinspection.annotation.Attribute("android:imeOptions") public int getImeOptions();
+ method public int getInputType();
+ method @androidx.resourceinspection.annotation.Attribute("android:maxWidth") public int getMaxWidth();
+ method public CharSequence! getQuery();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:queryHint") public CharSequence? getQueryHint();
+ method public androidx.cursoradapter.widget.CursorAdapter! getSuggestionsAdapter();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:iconifiedByDefault") public boolean isIconfiedByDefault();
+ method public boolean isIconified();
+ method public boolean isQueryRefinementEnabled();
+ method public boolean isSubmitButtonEnabled();
+ method public void onActionViewCollapsed();
+ method public void onActionViewExpanded();
+ method protected void onQueryRefine(CharSequence?);
+ method public void setIconified(boolean);
+ method public void setIconifiedByDefault(boolean);
+ method public void setImeOptions(int);
+ method public void setInputType(int);
+ method public void setMaxWidth(int);
+ method public void setOnCloseListener(androidx.appcompat.widget.SearchView.OnCloseListener!);
+ method public void setOnQueryTextFocusChangeListener(android.view.View.OnFocusChangeListener!);
+ method public void setOnQueryTextListener(androidx.appcompat.widget.SearchView.OnQueryTextListener!);
+ method public void setOnSearchClickListener(android.view.View.OnClickListener!);
+ method public void setOnSuggestionListener(androidx.appcompat.widget.SearchView.OnSuggestionListener!);
+ method public void setQuery(CharSequence!, boolean);
+ method public void setQueryHint(CharSequence?);
+ method public void setQueryRefinementEnabled(boolean);
+ method public void setSearchableInfo(android.app.SearchableInfo!);
+ method public void setSubmitButtonEnabled(boolean);
+ method public void setSuggestionsAdapter(androidx.cursoradapter.widget.CursorAdapter!);
+ }
+
+ public static interface SearchView.OnCloseListener {
+ method public boolean onClose();
+ }
+
+ public static interface SearchView.OnQueryTextListener {
+ method public boolean onQueryTextChange(String!);
+ method public boolean onQueryTextSubmit(String!);
+ }
+
+ public static interface SearchView.OnSuggestionListener {
+ method public boolean onSuggestionClick(int);
+ method public boolean onSuggestionSelect(int);
+ }
+
+ public class ShareActionProvider extends androidx.core.view.ActionProvider {
+ ctor public ShareActionProvider(android.content.Context!);
+ method public android.view.View! onCreateActionView();
+ method public void setOnShareTargetSelectedListener(androidx.appcompat.widget.ShareActionProvider.OnShareTargetSelectedListener!);
+ method public void setShareHistoryFileName(String!);
+ method public void setShareIntent(android.content.Intent!);
+ field public static final String DEFAULT_SHARE_HISTORY_FILE_NAME = "share_history.xml";
+ }
+
+ public static interface ShareActionProvider.OnShareTargetSelectedListener {
+ method public boolean onShareTargetSelected(androidx.appcompat.widget.ShareActionProvider!, android.content.Intent!);
+ }
+
+ public class SwitchCompat extends android.widget.CompoundButton implements androidx.appcompat.widget.EmojiCompatConfigurationView {
+ ctor public SwitchCompat(android.content.Context);
+ ctor public SwitchCompat(android.content.Context, android.util.AttributeSet?);
+ ctor public SwitchCompat(android.content.Context, android.util.AttributeSet?, int);
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:showText") public boolean getShowText();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:splitTrack") public boolean getSplitTrack();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:switchMinWidth") public int getSwitchMinWidth();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:switchPadding") public int getSwitchPadding();
+ method @androidx.resourceinspection.annotation.Attribute("android:textOff") public CharSequence! getTextOff();
+ method @androidx.resourceinspection.annotation.Attribute("android:textOn") public CharSequence! getTextOn();
+ method @androidx.resourceinspection.annotation.Attribute("android:thumb") public android.graphics.drawable.Drawable! getThumbDrawable();
+ method @FloatRange(from=0.0, to=1.0) protected final float getThumbPosition();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTextPadding") public int getThumbTextPadding();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTint") public android.content.res.ColorStateList? getThumbTintList();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTintMode") public android.graphics.PorterDuff.Mode? getThumbTintMode();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:track") public android.graphics.drawable.Drawable! getTrackDrawable();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:trackTint") public android.content.res.ColorStateList? getTrackTintList();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:trackTintMode") public android.graphics.PorterDuff.Mode? getTrackTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void onMeasure(int, int);
+ method public void setEmojiCompatEnabled(boolean);
+ method protected final void setEnforceSwitchWidth(boolean);
+ method public void setShowText(boolean);
+ method public void setSplitTrack(boolean);
+ method public void setSwitchMinWidth(int);
+ method public void setSwitchPadding(int);
+ method public void setSwitchTextAppearance(android.content.Context!, int);
+ method public void setSwitchTypeface(android.graphics.Typeface!, int);
+ method public void setSwitchTypeface(android.graphics.Typeface!);
+ method public void setTextOff(CharSequence!);
+ method public void setTextOn(CharSequence!);
+ method public void setThumbDrawable(android.graphics.drawable.Drawable!);
+ method public void setThumbResource(int);
+ method public void setThumbTextPadding(int);
+ method public void setThumbTintList(android.content.res.ColorStateList?);
+ method public void setThumbTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTrackDrawable(android.graphics.drawable.Drawable!);
+ method public void setTrackResource(int);
+ method public void setTrackTintList(android.content.res.ColorStateList?);
+ method public void setTrackTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public interface ThemedSpinnerAdapter extends android.widget.SpinnerAdapter {
+ method public android.content.res.Resources.Theme? getDropDownViewTheme();
+ method public void setDropDownViewTheme(android.content.res.Resources.Theme?);
+ }
+
+ public static final class ThemedSpinnerAdapter.Helper {
+ ctor public ThemedSpinnerAdapter.Helper(android.content.Context);
+ method public android.view.LayoutInflater getDropDownViewInflater();
+ method public android.content.res.Resources.Theme? getDropDownViewTheme();
+ method public void setDropDownViewTheme(android.content.res.Resources.Theme?);
+ }
+
+ public class Toolbar extends android.view.ViewGroup implements androidx.core.view.MenuHost {
+ ctor public Toolbar(android.content.Context);
+ ctor public Toolbar(android.content.Context, android.util.AttributeSet?);
+ ctor public Toolbar(android.content.Context, android.util.AttributeSet?, int);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.Lifecycle.State);
+ method public void collapseActionView();
+ method public void dismissPopupMenus();
+ method protected androidx.appcompat.widget.Toolbar.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.Toolbar.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.Toolbar.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:collapseContentDescription") public CharSequence? getCollapseContentDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:collapseIcon") public android.graphics.drawable.Drawable? getCollapseIcon();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetEnd") public int getContentInsetEnd();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetEndWithActions") public int getContentInsetEndWithActions();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetLeft") public int getContentInsetLeft();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetRight") public int getContentInsetRight();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetStart") public int getContentInsetStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetStartWithNavigation") public int getContentInsetStartWithNavigation();
+ method public int getCurrentContentInsetEnd();
+ method public int getCurrentContentInsetLeft();
+ method public int getCurrentContentInsetRight();
+ method public int getCurrentContentInsetStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:logo") public android.graphics.drawable.Drawable! getLogo();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:logoDescription") public CharSequence! getLogoDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:menu") public android.view.Menu! getMenu();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:navigationContentDescription") public CharSequence? getNavigationContentDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:navigationIcon") public android.graphics.drawable.Drawable? getNavigationIcon();
+ method public android.graphics.drawable.Drawable? getOverflowIcon();
+ method @StyleRes @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:popupTheme") public int getPopupTheme();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:subtitle") public CharSequence! getSubtitle();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:title") public CharSequence! getTitle();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginBottom") public int getTitleMarginBottom();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginEnd") public int getTitleMarginEnd();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginStart") public int getTitleMarginStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginTop") public int getTitleMarginTop();
+ method public boolean hasExpandedActionView();
+ method public boolean hideOverflowMenu();
+ method public void inflateMenu(@MenuRes int);
+ method @MainThread public void invalidateMenu();
+ method public boolean isBackInvokedCallbackEnabled();
+ method public boolean isOverflowMenuShowing();
+ method @MainThread public void removeMenuProvider(androidx.core.view.MenuProvider);
+ method public void setBackInvokedCallbackEnabled(boolean);
+ method public void setCollapseContentDescription(@StringRes int);
+ method public void setCollapseContentDescription(CharSequence?);
+ method public void setCollapseIcon(@DrawableRes int);
+ method public void setCollapseIcon(android.graphics.drawable.Drawable?);
+ method public void setContentInsetEndWithActions(int);
+ method public void setContentInsetStartWithNavigation(int);
+ method public void setContentInsetsAbsolute(int, int);
+ method public void setContentInsetsRelative(int, int);
+ method public void setLogo(@DrawableRes int);
+ method public void setLogo(android.graphics.drawable.Drawable!);
+ method public void setLogoDescription(@StringRes int);
+ method public void setLogoDescription(CharSequence!);
+ method public void setNavigationContentDescription(@StringRes int);
+ method public void setNavigationContentDescription(CharSequence?);
+ method public void setNavigationIcon(@DrawableRes int);
+ method public void setNavigationIcon(android.graphics.drawable.Drawable?);
+ method public void setNavigationOnClickListener(android.view.View.OnClickListener!);
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.Toolbar.OnMenuItemClickListener!);
+ method public void setOverflowIcon(android.graphics.drawable.Drawable?);
+ method public void setPopupTheme(@StyleRes int);
+ method public void setSubtitle(@StringRes int);
+ method public void setSubtitle(CharSequence!);
+ method public void setSubtitleTextAppearance(android.content.Context!, @StyleRes int);
+ method public void setSubtitleTextColor(@ColorInt int);
+ method public void setSubtitleTextColor(android.content.res.ColorStateList);
+ method public void setTitle(@StringRes int);
+ method public void setTitle(CharSequence!);
+ method public void setTitleMargin(int, int, int, int);
+ method public void setTitleMarginBottom(int);
+ method public void setTitleMarginEnd(int);
+ method public void setTitleMarginStart(int);
+ method public void setTitleMarginTop(int);
+ method public void setTitleTextAppearance(android.content.Context!, @StyleRes int);
+ method public void setTitleTextColor(@ColorInt int);
+ method public void setTitleTextColor(android.content.res.ColorStateList);
+ method public boolean showOverflowMenu();
+ }
+
+ public static class Toolbar.LayoutParams extends androidx.appcompat.app.ActionBar.LayoutParams {
+ ctor public Toolbar.LayoutParams(android.content.Context, android.util.AttributeSet!);
+ ctor public Toolbar.LayoutParams(int, int);
+ ctor public Toolbar.LayoutParams(int, int, int);
+ ctor public Toolbar.LayoutParams(int);
+ ctor public Toolbar.LayoutParams(androidx.appcompat.widget.Toolbar.LayoutParams!);
+ ctor public Toolbar.LayoutParams(androidx.appcompat.app.ActionBar.LayoutParams!);
+ ctor public Toolbar.LayoutParams(android.view.ViewGroup.MarginLayoutParams!);
+ ctor public Toolbar.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ }
+
+ public static interface Toolbar.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ public static class Toolbar.SavedState extends androidx.customview.view.AbsSavedState {
+ ctor public Toolbar.SavedState(android.os.Parcel!);
+ ctor public Toolbar.SavedState(android.os.Parcel!, ClassLoader!);
+ ctor public Toolbar.SavedState(android.os.Parcelable!);
+ field public static final android.os.Parcelable.Creator<androidx.appcompat.widget.Toolbar.SavedState!>! CREATOR;
+ }
+
+ public class TooltipCompat {
+ method public static void setTooltipText(android.view.View, CharSequence?);
+ }
+
+}
+
diff --git a/appcompat/appcompat/api/public_plus_experimental_1.6.0-beta01.txt b/appcompat/appcompat/api/public_plus_experimental_1.6.0-beta01.txt
new file mode 100644
index 0000000..0219b45
--- /dev/null
+++ b/appcompat/appcompat/api/public_plus_experimental_1.6.0-beta01.txt
@@ -0,0 +1,1063 @@
+// Signature format: 4.0
+package androidx.appcompat.app {
+
+ public abstract class ActionBar {
+ ctor public ActionBar();
+ method public abstract void addOnMenuVisibilityListener(androidx.appcompat.app.ActionBar.OnMenuVisibilityListener!);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, boolean);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, int);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, int, boolean);
+ method public abstract android.view.View! getCustomView();
+ method public abstract int getDisplayOptions();
+ method public float getElevation();
+ method public abstract int getHeight();
+ method public int getHideOffset();
+ method @Deprecated public abstract int getNavigationItemCount();
+ method @Deprecated public abstract int getNavigationMode();
+ method @Deprecated public abstract int getSelectedNavigationIndex();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab? getSelectedTab();
+ method public abstract CharSequence? getSubtitle();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! getTabAt(int);
+ method @Deprecated public abstract int getTabCount();
+ method public android.content.Context! getThemedContext();
+ method public abstract CharSequence? getTitle();
+ method public abstract void hide();
+ method public boolean isHideOnContentScrollEnabled();
+ method public abstract boolean isShowing();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! newTab();
+ method @Deprecated public abstract void removeAllTabs();
+ method public abstract void removeOnMenuVisibilityListener(androidx.appcompat.app.ActionBar.OnMenuVisibilityListener!);
+ method @Deprecated public abstract void removeTab(androidx.appcompat.app.ActionBar.Tab!);
+ method @Deprecated public abstract void removeTabAt(int);
+ method @Deprecated public abstract void selectTab(androidx.appcompat.app.ActionBar.Tab!);
+ method public abstract void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public abstract void setCustomView(android.view.View!);
+ method public abstract void setCustomView(android.view.View!, androidx.appcompat.app.ActionBar.LayoutParams!);
+ method public abstract void setCustomView(int);
+ method public abstract void setDisplayHomeAsUpEnabled(boolean);
+ method public abstract void setDisplayOptions(int);
+ method public abstract void setDisplayOptions(int, int);
+ method public abstract void setDisplayShowCustomEnabled(boolean);
+ method public abstract void setDisplayShowHomeEnabled(boolean);
+ method public abstract void setDisplayShowTitleEnabled(boolean);
+ method public abstract void setDisplayUseLogoEnabled(boolean);
+ method public void setElevation(float);
+ method public void setHideOffset(int);
+ method public void setHideOnContentScrollEnabled(boolean);
+ method public void setHomeActionContentDescription(CharSequence?);
+ method public void setHomeActionContentDescription(@StringRes int);
+ method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable?);
+ method public void setHomeAsUpIndicator(@DrawableRes int);
+ method public void setHomeButtonEnabled(boolean);
+ method public abstract void setIcon(@DrawableRes int);
+ method public abstract void setIcon(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract void setListNavigationCallbacks(android.widget.SpinnerAdapter!, androidx.appcompat.app.ActionBar.OnNavigationListener!);
+ method public abstract void setLogo(@DrawableRes int);
+ method public abstract void setLogo(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract void setNavigationMode(int);
+ method @Deprecated public abstract void setSelectedNavigationItem(int);
+ method public void setSplitBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public void setStackedBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public abstract void setSubtitle(CharSequence!);
+ method public abstract void setSubtitle(int);
+ method public abstract void setTitle(CharSequence!);
+ method public abstract void setTitle(@StringRes int);
+ method public abstract void show();
+ field public static final int DISPLAY_HOME_AS_UP = 4; // 0x4
+ field public static final int DISPLAY_SHOW_CUSTOM = 16; // 0x10
+ field public static final int DISPLAY_SHOW_HOME = 2; // 0x2
+ field public static final int DISPLAY_SHOW_TITLE = 8; // 0x8
+ field public static final int DISPLAY_USE_LOGO = 1; // 0x1
+ field @Deprecated public static final int NAVIGATION_MODE_LIST = 1; // 0x1
+ field @Deprecated public static final int NAVIGATION_MODE_STANDARD = 0; // 0x0
+ field @Deprecated public static final int NAVIGATION_MODE_TABS = 2; // 0x2
+ }
+
+ public static class ActionBar.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
+ ctor public ActionBar.LayoutParams(android.content.Context, android.util.AttributeSet!);
+ ctor public ActionBar.LayoutParams(int, int);
+ ctor public ActionBar.LayoutParams(int, int, int);
+ ctor public ActionBar.LayoutParams(int);
+ ctor public ActionBar.LayoutParams(androidx.appcompat.app.ActionBar.LayoutParams!);
+ ctor public ActionBar.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ field public int gravity;
+ }
+
+ public static interface ActionBar.OnMenuVisibilityListener {
+ method public void onMenuVisibilityChanged(boolean);
+ }
+
+ @Deprecated public static interface ActionBar.OnNavigationListener {
+ method @Deprecated public boolean onNavigationItemSelected(int, long);
+ }
+
+ @Deprecated public abstract static class ActionBar.Tab {
+ ctor @Deprecated public ActionBar.Tab();
+ method @Deprecated public abstract CharSequence! getContentDescription();
+ method @Deprecated public abstract android.view.View! getCustomView();
+ method @Deprecated public abstract android.graphics.drawable.Drawable! getIcon();
+ method @Deprecated public abstract int getPosition();
+ method @Deprecated public abstract Object! getTag();
+ method @Deprecated public abstract CharSequence! getText();
+ method @Deprecated public abstract void select();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setContentDescription(@StringRes int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setContentDescription(CharSequence!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setCustomView(android.view.View!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setCustomView(int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setIcon(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setIcon(@DrawableRes int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setTabListener(androidx.appcompat.app.ActionBar.TabListener!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setTag(Object!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setText(CharSequence!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setText(int);
+ field @Deprecated public static final int INVALID_POSITION = -1; // 0xffffffff
+ }
+
+ @Deprecated public static interface ActionBar.TabListener {
+ method @Deprecated public void onTabReselected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ method @Deprecated public void onTabSelected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ method @Deprecated public void onTabUnselected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ }
+
+ public class ActionBarDrawerToggle implements androidx.drawerlayout.widget.DrawerLayout.DrawerListener {
+ ctor public ActionBarDrawerToggle(android.app.Activity!, androidx.drawerlayout.widget.DrawerLayout!, @StringRes int, @StringRes int);
+ ctor public ActionBarDrawerToggle(android.app.Activity!, androidx.drawerlayout.widget.DrawerLayout!, androidx.appcompat.widget.Toolbar!, @StringRes int, @StringRes int);
+ method public androidx.appcompat.graphics.drawable.DrawerArrowDrawable getDrawerArrowDrawable();
+ method public android.view.View.OnClickListener! getToolbarNavigationClickListener();
+ method public boolean isDrawerIndicatorEnabled();
+ method public boolean isDrawerSlideAnimationEnabled();
+ method public void onConfigurationChanged(android.content.res.Configuration!);
+ method public void onDrawerClosed(android.view.View!);
+ method public void onDrawerOpened(android.view.View!);
+ method public void onDrawerSlide(android.view.View!, float);
+ method public void onDrawerStateChanged(int);
+ method public boolean onOptionsItemSelected(android.view.MenuItem!);
+ method public void setDrawerArrowDrawable(androidx.appcompat.graphics.drawable.DrawerArrowDrawable);
+ method public void setDrawerIndicatorEnabled(boolean);
+ method public void setDrawerSlideAnimationEnabled(boolean);
+ method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable!);
+ method public void setHomeAsUpIndicator(int);
+ method public void setToolbarNavigationClickListener(android.view.View.OnClickListener!);
+ method public void syncState();
+ }
+
+ public static interface ActionBarDrawerToggle.Delegate {
+ method public android.content.Context! getActionBarThemedContext();
+ method public android.graphics.drawable.Drawable! getThemeUpIndicator();
+ method public boolean isNavigationVisible();
+ method public void setActionBarDescription(@StringRes int);
+ method public void setActionBarUpIndicator(android.graphics.drawable.Drawable!, @StringRes int);
+ }
+
+ public static interface ActionBarDrawerToggle.DelegateProvider {
+ method public androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ }
+
+ public class AlertDialog extends androidx.appcompat.app.AppCompatDialog implements android.content.DialogInterface {
+ ctor protected AlertDialog(android.content.Context);
+ ctor protected AlertDialog(android.content.Context, @StyleRes int);
+ ctor protected AlertDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener?);
+ method public android.widget.Button! getButton(int);
+ method public android.widget.ListView! getListView();
+ method public void setButton(int, CharSequence!, android.os.Message!);
+ method public void setButton(int, CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public void setButton(int, CharSequence!, android.graphics.drawable.Drawable!, android.content.DialogInterface.OnClickListener!);
+ method public void setCustomTitle(android.view.View!);
+ method public void setIcon(int);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setIconAttribute(int);
+ method public void setMessage(CharSequence!);
+ method public void setView(android.view.View!);
+ method public void setView(android.view.View!, int, int, int, int);
+ }
+
+ public static class AlertDialog.Builder {
+ ctor public AlertDialog.Builder(android.content.Context);
+ ctor public AlertDialog.Builder(android.content.Context, @StyleRes int);
+ method public androidx.appcompat.app.AlertDialog create();
+ method public android.content.Context getContext();
+ method public androidx.appcompat.app.AlertDialog.Builder! setAdapter(android.widget.ListAdapter!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCancelable(boolean);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCursor(android.database.Cursor!, android.content.DialogInterface.OnClickListener!, String!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCustomTitle(android.view.View?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIcon(@DrawableRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIcon(android.graphics.drawable.Drawable?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIconAttribute(@AttrRes int);
+ method @Deprecated public androidx.appcompat.app.AlertDialog.Builder! setInverseBackgroundForced(boolean);
+ method public androidx.appcompat.app.AlertDialog.Builder! setItems(@ArrayRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setItems(CharSequence![]!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMessage(@StringRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMessage(CharSequence?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(@ArrayRes int, boolean[]!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(CharSequence![]!, boolean[]!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(android.database.Cursor!, String!, String!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButtonIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButtonIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnCancelListener(android.content.DialogInterface.OnCancelListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnDismissListener(android.content.DialogInterface.OnDismissListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnKeyListener(android.content.DialogInterface.OnKeyListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButtonIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(@ArrayRes int, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(android.database.Cursor!, int, String!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(CharSequence![]!, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(android.widget.ListAdapter!, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setTitle(@StringRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setTitle(CharSequence?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setView(int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setView(android.view.View!);
+ method public androidx.appcompat.app.AlertDialog! show();
+ }
+
+ public class AppCompatActivity extends androidx.fragment.app.FragmentActivity implements androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider androidx.appcompat.app.AppCompatCallback androidx.lifecycle.LifecycleOwner androidx.core.app.TaskStackBuilder.SupportParentable {
+ ctor public AppCompatActivity();
+ ctor @ContentView public AppCompatActivity(@LayoutRes int);
+ method public androidx.appcompat.app.AppCompatDelegate getDelegate();
+ method public androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ method public androidx.appcompat.app.ActionBar? getSupportActionBar();
+ method public android.content.Intent? getSupportParentActivityIntent();
+ method public void onCreateSupportNavigateUpTaskStack(androidx.core.app.TaskStackBuilder);
+ method protected void onLocalesChanged(androidx.core.os.LocaleListCompat);
+ method public final boolean onMenuItemSelected(int, android.view.MenuItem);
+ method protected void onNightModeChanged(int);
+ method public void onPrepareSupportNavigateUpTaskStack(androidx.core.app.TaskStackBuilder);
+ method @CallSuper public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode);
+ method @CallSuper public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode);
+ method @Deprecated public void onSupportContentChanged();
+ method public boolean onSupportNavigateUp();
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ method public void setSupportActionBar(androidx.appcompat.widget.Toolbar?);
+ method @Deprecated public void setSupportProgress(int);
+ method @Deprecated public void setSupportProgressBarIndeterminate(boolean);
+ method @Deprecated public void setSupportProgressBarIndeterminateVisibility(boolean);
+ method @Deprecated public void setSupportProgressBarVisibility(boolean);
+ method public androidx.appcompat.view.ActionMode? startSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ method public void supportInvalidateOptionsMenu();
+ method public void supportNavigateUpTo(android.content.Intent);
+ method public boolean supportRequestWindowFeature(int);
+ method public boolean supportShouldUpRecreateTask(android.content.Intent);
+ }
+
+ public interface AppCompatCallback {
+ method public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode!);
+ method public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode!);
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback!);
+ }
+
+ public abstract class AppCompatDelegate {
+ method public abstract void addContentView(android.view.View!, android.view.ViewGroup.LayoutParams!);
+ method public abstract boolean applyDayNight();
+ method @Deprecated public void attachBaseContext(android.content.Context!);
+ method @CallSuper public android.content.Context attachBaseContext2(android.content.Context);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.app.Activity, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.app.Dialog, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.content.Context, android.view.Window, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.content.Context, android.app.Activity, androidx.appcompat.app.AppCompatCallback?);
+ method public abstract android.view.View! createView(android.view.View?, String!, android.content.Context, android.util.AttributeSet);
+ method public abstract <T extends android.view.View> T! findViewById(@IdRes int);
+ method @AnyThread public static androidx.core.os.LocaleListCompat getApplicationLocales();
+ method public android.content.Context? getContextForDelegate();
+ method public static int getDefaultNightMode();
+ method public abstract androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ method public int getLocalNightMode();
+ method public abstract android.view.MenuInflater! getMenuInflater();
+ method public abstract androidx.appcompat.app.ActionBar? getSupportActionBar();
+ method public abstract boolean hasWindowFeature(int);
+ method public abstract void installViewFactory();
+ method public abstract void invalidateOptionsMenu();
+ method public static boolean isCompatVectorFromResourcesEnabled();
+ method public abstract boolean isHandleNativeActionModesEnabled();
+ method public abstract void onConfigurationChanged(android.content.res.Configuration!);
+ method public abstract void onCreate(android.os.Bundle!);
+ method public abstract void onDestroy();
+ method public abstract void onPostCreate(android.os.Bundle!);
+ method public abstract void onPostResume();
+ method public abstract void onSaveInstanceState(android.os.Bundle!);
+ method public abstract void onStart();
+ method public abstract void onStop();
+ method public abstract boolean requestWindowFeature(int);
+ method public static void setApplicationLocales(androidx.core.os.LocaleListCompat);
+ method public static void setCompatVectorFromResourcesEnabled(boolean);
+ method public abstract void setContentView(android.view.View!);
+ method public abstract void setContentView(@LayoutRes int);
+ method public abstract void setContentView(android.view.View!, android.view.ViewGroup.LayoutParams!);
+ method public static void setDefaultNightMode(int);
+ method public abstract void setHandleNativeActionModesEnabled(boolean);
+ method @RequiresApi(17) public abstract void setLocalNightMode(int);
+ method @CallSuper @RequiresApi(33) public void setOnBackInvokedDispatcher(android.window.OnBackInvokedDispatcher?);
+ method public abstract void setSupportActionBar(androidx.appcompat.widget.Toolbar?);
+ method public void setTheme(@StyleRes int);
+ method public abstract void setTitle(CharSequence?);
+ method public abstract androidx.appcompat.view.ActionMode? startSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ field public static final int FEATURE_ACTION_MODE_OVERLAY = 10; // 0xa
+ field public static final int FEATURE_SUPPORT_ACTION_BAR = 108; // 0x6c
+ field public static final int FEATURE_SUPPORT_ACTION_BAR_OVERLAY = 109; // 0x6d
+ field @Deprecated public static final int MODE_NIGHT_AUTO = 0; // 0x0
+ field public static final int MODE_NIGHT_AUTO_BATTERY = 3; // 0x3
+ field @Deprecated public static final int MODE_NIGHT_AUTO_TIME = 0; // 0x0
+ field public static final int MODE_NIGHT_FOLLOW_SYSTEM = -1; // 0xffffffff
+ field public static final int MODE_NIGHT_NO = 1; // 0x1
+ field public static final int MODE_NIGHT_UNSPECIFIED = -100; // 0xffffff9c
+ field public static final int MODE_NIGHT_YES = 2; // 0x2
+ }
+
+ public class AppCompatDialog extends androidx.activity.ComponentDialog implements androidx.appcompat.app.AppCompatCallback {
+ ctor public AppCompatDialog(android.content.Context);
+ ctor public AppCompatDialog(android.content.Context, int);
+ ctor protected AppCompatDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener?);
+ method public androidx.appcompat.app.AppCompatDelegate getDelegate();
+ method public androidx.appcompat.app.ActionBar! getSupportActionBar();
+ method public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode!);
+ method public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode!);
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback!);
+ method public boolean supportRequestWindowFeature(int);
+ }
+
+ public class AppCompatDialogFragment extends androidx.fragment.app.DialogFragment {
+ ctor public AppCompatDialogFragment();
+ ctor public AppCompatDialogFragment(@LayoutRes int);
+ }
+
+ public class AppCompatViewInflater {
+ ctor public AppCompatViewInflater();
+ method protected androidx.appcompat.widget.AppCompatAutoCompleteTextView createAutoCompleteTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatButton createButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatCheckBox createCheckBox(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatCheckedTextView createCheckedTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatEditText createEditText(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatImageButton createImageButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatImageView createImageView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatMultiAutoCompleteTextView createMultiAutoCompleteTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatRadioButton createRadioButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatRatingBar createRatingBar(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatSeekBar createSeekBar(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatSpinner createSpinner(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatTextView createTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatToggleButton createToggleButton(android.content.Context!, android.util.AttributeSet!);
+ method public final android.view.View? createView(android.view.View?, String, android.content.Context, android.util.AttributeSet, boolean, boolean, boolean, boolean);
+ method protected android.view.View? createView(android.content.Context!, String!, android.util.AttributeSet!);
+ }
+
+ public final class AppLocalesMetadataHolderService extends android.app.Service {
+ ctor public AppLocalesMetadataHolderService();
+ method public static android.content.pm.ServiceInfo getServiceInfo(android.content.Context) throws android.content.pm.PackageManager.NameNotFoundException;
+ method public android.os.IBinder onBind(android.content.Intent);
+ }
+
+}
+
+package androidx.appcompat.graphics.drawable {
+
+ public class DrawerArrowDrawable extends android.graphics.drawable.Drawable {
+ ctor public DrawerArrowDrawable(android.content.Context!);
+ method public void draw(android.graphics.Canvas!);
+ method public float getArrowHeadLength();
+ method public float getArrowShaftLength();
+ method public float getBarLength();
+ method public float getBarThickness();
+ method @ColorInt public int getColor();
+ method public int getDirection();
+ method public float getGapSize();
+ method public int getOpacity();
+ method public final android.graphics.Paint! getPaint();
+ method @FloatRange(from=0.0, to=1.0) public float getProgress();
+ method public boolean isSpinEnabled();
+ method public void setAlpha(int);
+ method public void setArrowHeadLength(float);
+ method public void setArrowShaftLength(float);
+ method public void setBarLength(float);
+ method public void setBarThickness(float);
+ method public void setColor(@ColorInt int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDirection(int);
+ method public void setGapSize(float);
+ method public void setProgress(@FloatRange(from=0.0, to=1.0) float);
+ method public void setSpinEnabled(boolean);
+ method public void setVerticalMirror(boolean);
+ field public static final int ARROW_DIRECTION_END = 3; // 0x3
+ field public static final int ARROW_DIRECTION_LEFT = 0; // 0x0
+ field public static final int ARROW_DIRECTION_RIGHT = 1; // 0x1
+ field public static final int ARROW_DIRECTION_START = 2; // 0x2
+ }
+
+}
+
+package androidx.appcompat.view {
+
+ public abstract class ActionMode {
+ ctor public ActionMode();
+ method public abstract void finish();
+ method public abstract android.view.View! getCustomView();
+ method public abstract android.view.Menu! getMenu();
+ method public abstract android.view.MenuInflater! getMenuInflater();
+ method public abstract CharSequence! getSubtitle();
+ method public Object! getTag();
+ method public abstract CharSequence! getTitle();
+ method public boolean getTitleOptionalHint();
+ method public abstract void invalidate();
+ method public boolean isTitleOptional();
+ method public abstract void setCustomView(android.view.View!);
+ method public abstract void setSubtitle(CharSequence!);
+ method public abstract void setSubtitle(int);
+ method public void setTag(Object!);
+ method public abstract void setTitle(CharSequence!);
+ method public abstract void setTitle(int);
+ method public void setTitleOptionalHint(boolean);
+ }
+
+ public static interface ActionMode.Callback {
+ method public boolean onActionItemClicked(androidx.appcompat.view.ActionMode!, android.view.MenuItem!);
+ method public boolean onCreateActionMode(androidx.appcompat.view.ActionMode!, android.view.Menu!);
+ method public void onDestroyActionMode(androidx.appcompat.view.ActionMode!);
+ method public boolean onPrepareActionMode(androidx.appcompat.view.ActionMode!, android.view.Menu!);
+ }
+
+ @Deprecated public interface CollapsibleActionView {
+ method @Deprecated public void onActionViewCollapsed();
+ method @Deprecated public void onActionViewExpanded();
+ }
+
+ public class ContextThemeWrapper extends android.content.ContextWrapper {
+ ctor public ContextThemeWrapper();
+ ctor public ContextThemeWrapper(android.content.Context!, @StyleRes int);
+ ctor public ContextThemeWrapper(android.content.Context!, android.content.res.Resources.Theme!);
+ method public void applyOverrideConfiguration(android.content.res.Configuration!);
+ method public int getThemeResId();
+ method protected void onApplyThemeResource(android.content.res.Resources.Theme!, int, boolean);
+ }
+
+}
+
+package androidx.appcompat.widget {
+
+ public class ActionMenuView extends androidx.appcompat.widget.LinearLayoutCompat {
+ ctor public ActionMenuView(android.content.Context);
+ ctor public ActionMenuView(android.content.Context, android.util.AttributeSet?);
+ method public void dismissPopupMenus();
+ method protected androidx.appcompat.widget.ActionMenuView.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.ActionMenuView.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.ActionMenuView.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method public android.view.Menu! getMenu();
+ method public android.graphics.drawable.Drawable? getOverflowIcon();
+ method public int getPopupTheme();
+ method public boolean hideOverflowMenu();
+ method public boolean isOverflowMenuShowing();
+ method public void onConfigurationChanged(android.content.res.Configuration!);
+ method public void onDetachedFromWindow();
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.ActionMenuView.OnMenuItemClickListener!);
+ method public void setOverflowIcon(android.graphics.drawable.Drawable?);
+ method public void setPopupTheme(@StyleRes int);
+ method public boolean showOverflowMenu();
+ }
+
+ public static class ActionMenuView.LayoutParams extends androidx.appcompat.widget.LinearLayoutCompat.LayoutParams {
+ ctor public ActionMenuView.LayoutParams(android.content.Context!, android.util.AttributeSet!);
+ ctor public ActionMenuView.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ ctor public ActionMenuView.LayoutParams(androidx.appcompat.widget.ActionMenuView.LayoutParams!);
+ ctor public ActionMenuView.LayoutParams(int, int);
+ field public int cellsUsed;
+ field public boolean expandable;
+ field public int extraPixels;
+ field public boolean isOverflowButton;
+ field public boolean preventEdgeOffset;
+ }
+
+ public static interface ActionMenuView.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ public class AppCompatAutoCompleteTextView extends android.widget.AutoCompleteTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatAutoCompleteTextView(android.content.Context);
+ ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ public class AppCompatButton extends android.widget.Button implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatButton(android.content.Context);
+ ctor public AppCompatButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) throws java.lang.IllegalArgumentException;
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithPresetSizes(int[], int) throws java.lang.IllegalArgumentException;
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method public void setSupportAllCaps(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ public class AppCompatCheckBox extends android.widget.CheckBox implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundButton androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatCheckBox(android.content.Context);
+ ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportButtonTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportButtonTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatCheckedTextView extends android.widget.CheckedTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatCheckedTextView(android.content.Context);
+ ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context, int);
+ }
+
+ public class AppCompatEditText extends android.widget.EditText implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.OnReceiveContentViewBehavior androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatEditText(android.content.Context);
+ ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public androidx.core.view.ContentInfoCompat? onReceiveContent(androidx.core.view.ContentInfoCompat);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ public class AppCompatImageButton extends android.widget.ImageButton implements androidx.core.view.TintableBackgroundView {
+ ctor public AppCompatImageButton(android.content.Context);
+ ctor public AppCompatImageButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatImageButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatImageView extends android.widget.ImageView implements androidx.core.view.TintableBackgroundView {
+ ctor public AppCompatImageView(android.content.Context);
+ ctor public AppCompatImageView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatImageView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatMultiAutoCompleteTextView extends android.widget.MultiAutoCompleteTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context);
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ public class AppCompatRadioButton extends android.widget.RadioButton implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundButton androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatRadioButton(android.content.Context!);
+ ctor public AppCompatRadioButton(android.content.Context!, android.util.AttributeSet?);
+ ctor public AppCompatRadioButton(android.content.Context!, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportButtonTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportButtonTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatRatingBar extends android.widget.RatingBar {
+ ctor public AppCompatRatingBar(android.content.Context);
+ ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet?, int);
+ }
+
+ public class AppCompatSeekBar extends android.widget.SeekBar {
+ ctor public AppCompatSeekBar(android.content.Context);
+ ctor public AppCompatSeekBar(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatSeekBar(android.content.Context, android.util.AttributeSet?, int);
+ }
+
+ public class AppCompatSpinner extends android.widget.Spinner implements androidx.core.view.TintableBackgroundView {
+ ctor public AppCompatSpinner(android.content.Context);
+ ctor public AppCompatSpinner(android.content.Context, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int, int, android.content.res.Resources.Theme!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatTextView extends android.widget.TextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatTextView(android.content.Context);
+ ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public androidx.core.text.PrecomputedTextCompat.Params getTextMetricsParamsCompat();
+ method public boolean isEmojiCompatEnabled();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) throws java.lang.IllegalArgumentException;
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithPresetSizes(int[], int) throws java.lang.IllegalArgumentException;
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method public void setPrecomputedText(androidx.core.text.PrecomputedTextCompat);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ method public void setTextFuture(java.util.concurrent.Future<androidx.core.text.PrecomputedTextCompat!>?);
+ method public void setTextMetricsParamsCompat(androidx.core.text.PrecomputedTextCompat.Params);
+ }
+
+ public class AppCompatToggleButton extends android.widget.ToggleButton implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatToggleButton(android.content.Context);
+ ctor public AppCompatToggleButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatToggleButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public interface EmojiCompatConfigurationView {
+ method public boolean isEmojiCompatEnabled();
+ method public void setEmojiCompatEnabled(boolean);
+ }
+
+ public class LinearLayoutCompat extends android.view.ViewGroup {
+ ctor public LinearLayoutCompat(android.content.Context);
+ ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet?);
+ ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet?, int);
+ method protected androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method @androidx.resourceinspection.annotation.Attribute("android:baselineAlignedChildIndex") public int getBaselineAlignedChildIndex();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:divider") public android.graphics.drawable.Drawable! getDividerDrawable();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:dividerPadding") public int getDividerPadding();
+ method @GravityInt @androidx.resourceinspection.annotation.Attribute("android:gravity") public int getGravity();
+ method @androidx.resourceinspection.annotation.Attribute(value="android:orientation", intMapping={@androidx.resourceinspection.annotation.Attribute.IntMap(name="horizontal", value=0), @androidx.resourceinspection.annotation.Attribute.IntMap(name="vertical", value=1)}) public int getOrientation();
+ method @androidx.resourceinspection.annotation.Attribute(value="androidx.appcompat:showDividers", intMapping={@androidx.resourceinspection.annotation.Attribute.IntMap(name="none", value=0), @androidx.resourceinspection.annotation.Attribute.IntMap(name="beginning", value=1, mask=1), @androidx.resourceinspection.annotation.Attribute.IntMap(name="middle", value=2, mask=2), @androidx.resourceinspection.annotation.Attribute.IntMap(name="end", value=4, mask=4)}) public int getShowDividers();
+ method @androidx.resourceinspection.annotation.Attribute("android:weightSum") public float getWeightSum();
+ method @androidx.resourceinspection.annotation.Attribute("android:baselineAligned") public boolean isBaselineAligned();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:measureWithLargestChild") public boolean isMeasureWithLargestChildEnabled();
+ method public void setBaselineAligned(boolean);
+ method public void setBaselineAlignedChildIndex(int);
+ method public void setDividerDrawable(android.graphics.drawable.Drawable!);
+ method public void setDividerPadding(int);
+ method public void setGravity(@GravityInt int);
+ method public void setHorizontalGravity(int);
+ method public void setMeasureWithLargestChildEnabled(boolean);
+ method public void setOrientation(int);
+ method public void setShowDividers(int);
+ method public void setVerticalGravity(int);
+ method public void setWeightSum(float);
+ field public static final int HORIZONTAL = 0; // 0x0
+ field public static final int SHOW_DIVIDER_BEGINNING = 1; // 0x1
+ field public static final int SHOW_DIVIDER_END = 4; // 0x4
+ field public static final int SHOW_DIVIDER_MIDDLE = 2; // 0x2
+ field public static final int SHOW_DIVIDER_NONE = 0; // 0x0
+ field public static final int VERTICAL = 1; // 0x1
+ }
+
+ public static class LinearLayoutCompat.LayoutParams extends android.widget.LinearLayout.LayoutParams {
+ ctor public LinearLayoutCompat.LayoutParams(android.content.Context!, android.util.AttributeSet!);
+ ctor public LinearLayoutCompat.LayoutParams(int, int);
+ ctor public LinearLayoutCompat.LayoutParams(int, int, float);
+ ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.MarginLayoutParams!);
+ }
+
+ public class ListPopupWindow {
+ ctor public ListPopupWindow(android.content.Context);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?, @AttrRes int);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?, @AttrRes int, @StyleRes int);
+ method public void clearListSelection();
+ method public android.view.View.OnTouchListener! createDragToOpenListener(android.view.View!);
+ method public void dismiss();
+ method public android.view.View? getAnchorView();
+ method @StyleRes public int getAnimationStyle();
+ method public android.graphics.drawable.Drawable? getBackground();
+ method public android.graphics.Rect? getEpicenterBounds();
+ method public int getHeight();
+ method public int getHorizontalOffset();
+ method public int getInputMethodMode();
+ method public android.widget.ListView? getListView();
+ method public int getPromptPosition();
+ method public Object? getSelectedItem();
+ method public long getSelectedItemId();
+ method public int getSelectedItemPosition();
+ method public android.view.View? getSelectedView();
+ method public int getSoftInputMode();
+ method public int getVerticalOffset();
+ method public int getWidth();
+ method public boolean isInputMethodNotNeeded();
+ method public boolean isModal();
+ method public boolean isShowing();
+ method public boolean onKeyDown(int, android.view.KeyEvent);
+ method public boolean onKeyPreIme(int, android.view.KeyEvent);
+ method public boolean onKeyUp(int, android.view.KeyEvent);
+ method public boolean performItemClick(int);
+ method public void postShow();
+ method public void setAdapter(android.widget.ListAdapter?);
+ method public void setAnchorView(android.view.View?);
+ method public void setAnimationStyle(@StyleRes int);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setContentWidth(int);
+ method public void setDropDownGravity(int);
+ method public void setEpicenterBounds(android.graphics.Rect?);
+ method public void setHeight(int);
+ method public void setHorizontalOffset(int);
+ method public void setInputMethodMode(int);
+ method public void setListSelector(android.graphics.drawable.Drawable!);
+ method public void setModal(boolean);
+ method public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener?);
+ method public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener?);
+ method public void setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener?);
+ method public void setPromptPosition(int);
+ method public void setPromptView(android.view.View?);
+ method public void setSelection(int);
+ method public void setSoftInputMode(int);
+ method public void setVerticalOffset(int);
+ method public void setWidth(int);
+ method public void setWindowLayoutType(int);
+ method public void show();
+ field public static final int INPUT_METHOD_FROM_FOCUSABLE = 0; // 0x0
+ field public static final int INPUT_METHOD_NEEDED = 1; // 0x1
+ field public static final int INPUT_METHOD_NOT_NEEDED = 2; // 0x2
+ field public static final int MATCH_PARENT = -1; // 0xffffffff
+ field public static final int POSITION_PROMPT_ABOVE = 0; // 0x0
+ field public static final int POSITION_PROMPT_BELOW = 1; // 0x1
+ field public static final int WRAP_CONTENT = -2; // 0xfffffffe
+ }
+
+ public class PopupMenu {
+ ctor public PopupMenu(android.content.Context, android.view.View);
+ ctor public PopupMenu(android.content.Context, android.view.View, int);
+ ctor public PopupMenu(android.content.Context, android.view.View, int, @AttrRes int, @StyleRes int);
+ method public void dismiss();
+ method public android.view.View.OnTouchListener getDragToOpenListener();
+ method public int getGravity();
+ method public android.view.Menu getMenu();
+ method public android.view.MenuInflater getMenuInflater();
+ method public void inflate(@MenuRes int);
+ method public void setForceShowIcon(boolean);
+ method public void setGravity(int);
+ method public void setOnDismissListener(androidx.appcompat.widget.PopupMenu.OnDismissListener?);
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.PopupMenu.OnMenuItemClickListener?);
+ method public void show();
+ }
+
+ public static interface PopupMenu.OnDismissListener {
+ method public void onDismiss(androidx.appcompat.widget.PopupMenu!);
+ }
+
+ public static interface PopupMenu.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ public class SearchView extends androidx.appcompat.widget.LinearLayoutCompat implements androidx.appcompat.view.CollapsibleActionView {
+ ctor public SearchView(android.content.Context);
+ ctor public SearchView(android.content.Context, android.util.AttributeSet?);
+ ctor public SearchView(android.content.Context, android.util.AttributeSet?, int);
+ method @androidx.resourceinspection.annotation.Attribute("android:imeOptions") public int getImeOptions();
+ method public int getInputType();
+ method @androidx.resourceinspection.annotation.Attribute("android:maxWidth") public int getMaxWidth();
+ method public CharSequence! getQuery();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:queryHint") public CharSequence? getQueryHint();
+ method public androidx.cursoradapter.widget.CursorAdapter! getSuggestionsAdapter();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:iconifiedByDefault") public boolean isIconfiedByDefault();
+ method public boolean isIconified();
+ method public boolean isQueryRefinementEnabled();
+ method public boolean isSubmitButtonEnabled();
+ method public void onActionViewCollapsed();
+ method public void onActionViewExpanded();
+ method protected void onQueryRefine(CharSequence?);
+ method public void setIconified(boolean);
+ method public void setIconifiedByDefault(boolean);
+ method public void setImeOptions(int);
+ method public void setInputType(int);
+ method public void setMaxWidth(int);
+ method public void setOnCloseListener(androidx.appcompat.widget.SearchView.OnCloseListener!);
+ method public void setOnQueryTextFocusChangeListener(android.view.View.OnFocusChangeListener!);
+ method public void setOnQueryTextListener(androidx.appcompat.widget.SearchView.OnQueryTextListener!);
+ method public void setOnSearchClickListener(android.view.View.OnClickListener!);
+ method public void setOnSuggestionListener(androidx.appcompat.widget.SearchView.OnSuggestionListener!);
+ method public void setQuery(CharSequence!, boolean);
+ method public void setQueryHint(CharSequence?);
+ method public void setQueryRefinementEnabled(boolean);
+ method public void setSearchableInfo(android.app.SearchableInfo!);
+ method public void setSubmitButtonEnabled(boolean);
+ method public void setSuggestionsAdapter(androidx.cursoradapter.widget.CursorAdapter!);
+ }
+
+ public static interface SearchView.OnCloseListener {
+ method public boolean onClose();
+ }
+
+ public static interface SearchView.OnQueryTextListener {
+ method public boolean onQueryTextChange(String!);
+ method public boolean onQueryTextSubmit(String!);
+ }
+
+ public static interface SearchView.OnSuggestionListener {
+ method public boolean onSuggestionClick(int);
+ method public boolean onSuggestionSelect(int);
+ }
+
+ public class ShareActionProvider extends androidx.core.view.ActionProvider {
+ ctor public ShareActionProvider(android.content.Context!);
+ method public android.view.View! onCreateActionView();
+ method public void setOnShareTargetSelectedListener(androidx.appcompat.widget.ShareActionProvider.OnShareTargetSelectedListener!);
+ method public void setShareHistoryFileName(String!);
+ method public void setShareIntent(android.content.Intent!);
+ field public static final String DEFAULT_SHARE_HISTORY_FILE_NAME = "share_history.xml";
+ }
+
+ public static interface ShareActionProvider.OnShareTargetSelectedListener {
+ method public boolean onShareTargetSelected(androidx.appcompat.widget.ShareActionProvider!, android.content.Intent!);
+ }
+
+ public class SwitchCompat extends android.widget.CompoundButton implements androidx.appcompat.widget.EmojiCompatConfigurationView {
+ ctor public SwitchCompat(android.content.Context);
+ ctor public SwitchCompat(android.content.Context, android.util.AttributeSet?);
+ ctor public SwitchCompat(android.content.Context, android.util.AttributeSet?, int);
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:showText") public boolean getShowText();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:splitTrack") public boolean getSplitTrack();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:switchMinWidth") public int getSwitchMinWidth();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:switchPadding") public int getSwitchPadding();
+ method @androidx.resourceinspection.annotation.Attribute("android:textOff") public CharSequence! getTextOff();
+ method @androidx.resourceinspection.annotation.Attribute("android:textOn") public CharSequence! getTextOn();
+ method @androidx.resourceinspection.annotation.Attribute("android:thumb") public android.graphics.drawable.Drawable! getThumbDrawable();
+ method @FloatRange(from=0.0, to=1.0) protected final float getThumbPosition();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTextPadding") public int getThumbTextPadding();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTint") public android.content.res.ColorStateList? getThumbTintList();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTintMode") public android.graphics.PorterDuff.Mode? getThumbTintMode();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:track") public android.graphics.drawable.Drawable! getTrackDrawable();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:trackTint") public android.content.res.ColorStateList? getTrackTintList();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:trackTintMode") public android.graphics.PorterDuff.Mode? getTrackTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void onMeasure(int, int);
+ method public void setEmojiCompatEnabled(boolean);
+ method protected final void setEnforceSwitchWidth(boolean);
+ method public void setShowText(boolean);
+ method public void setSplitTrack(boolean);
+ method public void setSwitchMinWidth(int);
+ method public void setSwitchPadding(int);
+ method public void setSwitchTextAppearance(android.content.Context!, int);
+ method public void setSwitchTypeface(android.graphics.Typeface!, int);
+ method public void setSwitchTypeface(android.graphics.Typeface!);
+ method public void setTextOff(CharSequence!);
+ method public void setTextOn(CharSequence!);
+ method public void setThumbDrawable(android.graphics.drawable.Drawable!);
+ method public void setThumbResource(int);
+ method public void setThumbTextPadding(int);
+ method public void setThumbTintList(android.content.res.ColorStateList?);
+ method public void setThumbTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTrackDrawable(android.graphics.drawable.Drawable!);
+ method public void setTrackResource(int);
+ method public void setTrackTintList(android.content.res.ColorStateList?);
+ method public void setTrackTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public interface ThemedSpinnerAdapter extends android.widget.SpinnerAdapter {
+ method public android.content.res.Resources.Theme? getDropDownViewTheme();
+ method public void setDropDownViewTheme(android.content.res.Resources.Theme?);
+ }
+
+ public static final class ThemedSpinnerAdapter.Helper {
+ ctor public ThemedSpinnerAdapter.Helper(android.content.Context);
+ method public android.view.LayoutInflater getDropDownViewInflater();
+ method public android.content.res.Resources.Theme? getDropDownViewTheme();
+ method public void setDropDownViewTheme(android.content.res.Resources.Theme?);
+ }
+
+ public class Toolbar extends android.view.ViewGroup implements androidx.core.view.MenuHost {
+ ctor public Toolbar(android.content.Context);
+ ctor public Toolbar(android.content.Context, android.util.AttributeSet?);
+ ctor public Toolbar(android.content.Context, android.util.AttributeSet?, int);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.Lifecycle.State);
+ method public void collapseActionView();
+ method public void dismissPopupMenus();
+ method protected androidx.appcompat.widget.Toolbar.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.Toolbar.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.Toolbar.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:collapseContentDescription") public CharSequence? getCollapseContentDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:collapseIcon") public android.graphics.drawable.Drawable? getCollapseIcon();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetEnd") public int getContentInsetEnd();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetEndWithActions") public int getContentInsetEndWithActions();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetLeft") public int getContentInsetLeft();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetRight") public int getContentInsetRight();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetStart") public int getContentInsetStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetStartWithNavigation") public int getContentInsetStartWithNavigation();
+ method public int getCurrentContentInsetEnd();
+ method public int getCurrentContentInsetLeft();
+ method public int getCurrentContentInsetRight();
+ method public int getCurrentContentInsetStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:logo") public android.graphics.drawable.Drawable! getLogo();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:logoDescription") public CharSequence! getLogoDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:menu") public android.view.Menu! getMenu();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:navigationContentDescription") public CharSequence? getNavigationContentDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:navigationIcon") public android.graphics.drawable.Drawable? getNavigationIcon();
+ method public android.graphics.drawable.Drawable? getOverflowIcon();
+ method @StyleRes @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:popupTheme") public int getPopupTheme();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:subtitle") public CharSequence! getSubtitle();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:title") public CharSequence! getTitle();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginBottom") public int getTitleMarginBottom();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginEnd") public int getTitleMarginEnd();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginStart") public int getTitleMarginStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginTop") public int getTitleMarginTop();
+ method public boolean hasExpandedActionView();
+ method public boolean hideOverflowMenu();
+ method public void inflateMenu(@MenuRes int);
+ method @MainThread public void invalidateMenu();
+ method public boolean isBackInvokedCallbackEnabled();
+ method public boolean isOverflowMenuShowing();
+ method @MainThread public void removeMenuProvider(androidx.core.view.MenuProvider);
+ method public void setBackInvokedCallbackEnabled(boolean);
+ method public void setCollapseContentDescription(@StringRes int);
+ method public void setCollapseContentDescription(CharSequence?);
+ method public void setCollapseIcon(@DrawableRes int);
+ method public void setCollapseIcon(android.graphics.drawable.Drawable?);
+ method public void setContentInsetEndWithActions(int);
+ method public void setContentInsetStartWithNavigation(int);
+ method public void setContentInsetsAbsolute(int, int);
+ method public void setContentInsetsRelative(int, int);
+ method public void setLogo(@DrawableRes int);
+ method public void setLogo(android.graphics.drawable.Drawable!);
+ method public void setLogoDescription(@StringRes int);
+ method public void setLogoDescription(CharSequence!);
+ method public void setNavigationContentDescription(@StringRes int);
+ method public void setNavigationContentDescription(CharSequence?);
+ method public void setNavigationIcon(@DrawableRes int);
+ method public void setNavigationIcon(android.graphics.drawable.Drawable?);
+ method public void setNavigationOnClickListener(android.view.View.OnClickListener!);
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.Toolbar.OnMenuItemClickListener!);
+ method public void setOverflowIcon(android.graphics.drawable.Drawable?);
+ method public void setPopupTheme(@StyleRes int);
+ method public void setSubtitle(@StringRes int);
+ method public void setSubtitle(CharSequence!);
+ method public void setSubtitleTextAppearance(android.content.Context!, @StyleRes int);
+ method public void setSubtitleTextColor(@ColorInt int);
+ method public void setSubtitleTextColor(android.content.res.ColorStateList);
+ method public void setTitle(@StringRes int);
+ method public void setTitle(CharSequence!);
+ method public void setTitleMargin(int, int, int, int);
+ method public void setTitleMarginBottom(int);
+ method public void setTitleMarginEnd(int);
+ method public void setTitleMarginStart(int);
+ method public void setTitleMarginTop(int);
+ method public void setTitleTextAppearance(android.content.Context!, @StyleRes int);
+ method public void setTitleTextColor(@ColorInt int);
+ method public void setTitleTextColor(android.content.res.ColorStateList);
+ method public boolean showOverflowMenu();
+ }
+
+ public static class Toolbar.LayoutParams extends androidx.appcompat.app.ActionBar.LayoutParams {
+ ctor public Toolbar.LayoutParams(android.content.Context, android.util.AttributeSet!);
+ ctor public Toolbar.LayoutParams(int, int);
+ ctor public Toolbar.LayoutParams(int, int, int);
+ ctor public Toolbar.LayoutParams(int);
+ ctor public Toolbar.LayoutParams(androidx.appcompat.widget.Toolbar.LayoutParams!);
+ ctor public Toolbar.LayoutParams(androidx.appcompat.app.ActionBar.LayoutParams!);
+ ctor public Toolbar.LayoutParams(android.view.ViewGroup.MarginLayoutParams!);
+ ctor public Toolbar.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ }
+
+ public static interface Toolbar.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ public static class Toolbar.SavedState extends androidx.customview.view.AbsSavedState {
+ ctor public Toolbar.SavedState(android.os.Parcel!);
+ ctor public Toolbar.SavedState(android.os.Parcel!, ClassLoader!);
+ ctor public Toolbar.SavedState(android.os.Parcelable!);
+ field public static final android.os.Parcelable.Creator<androidx.appcompat.widget.Toolbar.SavedState!>! CREATOR;
+ }
+
+ public class TooltipCompat {
+ method public static void setTooltipText(android.view.View, CharSequence?);
+ }
+
+}
+
diff --git a/appcompat/appcompat/api/res-1.6.0-beta01.txt b/appcompat/appcompat/api/res-1.6.0-beta01.txt
new file mode 100644
index 0000000..b9f58a8
--- /dev/null
+++ b/appcompat/appcompat/api/res-1.6.0-beta01.txt
@@ -0,0 +1,369 @@
+attr actionBarDivider
+attr actionBarItemBackground
+attr actionBarPopupTheme
+attr actionBarSize
+attr actionBarSplitStyle
+attr actionBarStyle
+attr actionBarTabBarStyle
+attr actionBarTabStyle
+attr actionBarTabTextStyle
+attr actionBarTheme
+attr actionBarWidgetTheme
+attr actionButtonStyle
+attr actionDropDownStyle
+attr actionLayout
+attr actionMenuTextAppearance
+attr actionMenuTextColor
+attr actionModeBackground
+attr actionModeCloseButtonStyle
+attr actionModeCloseContentDescription
+attr actionModeCloseDrawable
+attr actionModeCopyDrawable
+attr actionModeCutDrawable
+attr actionModeFindDrawable
+attr actionModePasteDrawable
+attr actionModeSelectAllDrawable
+attr actionModeShareDrawable
+attr actionModeSplitBackground
+attr actionModeStyle
+attr actionModeTheme
+attr actionModeWebSearchDrawable
+attr actionOverflowButtonStyle
+attr actionOverflowMenuStyle
+attr actionProviderClass
+attr actionViewClass
+attr alertDialogStyle
+attr alertDialogTheme
+attr arrowHeadLength
+attr arrowShaftLength
+attr autoCompleteTextViewStyle
+attr autoSizeMaxTextSize
+attr autoSizeMinTextSize
+attr autoSizePresetSizes
+attr autoSizeStepGranularity
+attr autoSizeTextType
+attr background
+attr backgroundSplit
+attr backgroundStacked
+attr backgroundTint
+attr backgroundTintMode
+attr barLength
+attr borderlessButtonStyle
+attr buttonBarButtonStyle
+attr buttonBarNegativeButtonStyle
+attr buttonBarNeutralButtonStyle
+attr buttonBarPositiveButtonStyle
+attr buttonBarStyle
+attr buttonGravity
+attr buttonStyle
+attr buttonStyleSmall
+attr buttonTint
+attr buttonTintMode
+attr checkboxStyle
+attr checkedTextViewStyle
+attr closeIcon
+attr closeItemLayout
+attr collapseContentDescription
+attr collapseIcon
+attr color
+attr colorAccent
+attr colorBackgroundFloating
+attr colorButtonNormal
+attr colorControlActivated
+attr colorControlHighlight
+attr colorControlNormal
+attr colorError
+attr colorPrimary
+attr colorPrimaryDark
+attr commitIcon
+attr contentInsetEnd
+attr contentInsetEndWithActions
+attr contentInsetLeft
+attr contentInsetRight
+attr contentInsetStart
+attr contentInsetStartWithNavigation
+attr customNavigationLayout
+attr dialogCornerRadius
+attr dialogPreferredPadding
+attr dialogTheme
+attr displayOptions
+attr divider
+attr dividerHorizontal
+attr dividerPadding
+attr dividerVertical
+attr drawableSize
+attr drawerArrowStyle
+attr dropDownListViewStyle
+attr editTextBackground
+attr editTextColor
+attr editTextStyle
+attr elevation
+attr emojiCompatEnabled
+attr firstBaselineToTopHeight
+attr fontFamily
+attr fontVariationSettings
+attr gapBetweenBars
+attr goIcon
+attr height
+attr hideOnContentScroll
+attr homeAsUpIndicator
+attr homeLayout
+attr icon
+attr iconTint
+attr iconTintMode
+attr iconifiedByDefault
+attr imageButtonStyle
+attr indeterminateProgressStyle
+attr isLightTheme
+attr itemPadding
+attr lastBaselineToBottomHeight
+attr layout
+attr lineHeight
+attr listChoiceBackgroundIndicator
+attr listChoiceIndicatorMultipleAnimated
+attr listChoiceIndicatorSingleAnimated
+attr listDividerAlertDialog
+attr listPopupWindowStyle
+attr listPreferredItemHeight
+attr listPreferredItemHeightLarge
+attr listPreferredItemHeightSmall
+attr listPreferredItemPaddingEnd
+attr listPreferredItemPaddingLeft
+attr listPreferredItemPaddingRight
+attr listPreferredItemPaddingStart
+attr logo
+attr logoDescription
+attr maxButtonHeight
+attr measureWithLargestChild
+attr navigationContentDescription
+attr navigationIcon
+attr navigationMode
+attr overlapAnchor
+attr paddingEnd
+attr paddingStart
+attr panelBackground
+attr popupMenuStyle
+attr popupTheme
+attr popupWindowStyle
+attr preserveIconSpacing
+attr progressBarPadding
+attr progressBarStyle
+attr queryBackground
+attr queryHint
+attr radioButtonStyle
+attr ratingBarStyle
+attr ratingBarStyleIndicator
+attr ratingBarStyleSmall
+attr searchHintIcon
+attr searchIcon
+attr searchViewStyle
+attr seekBarStyle
+attr selectableItemBackground
+attr selectableItemBackgroundBorderless
+attr showAsAction
+attr showDividers
+attr showText
+attr spinBars
+attr spinnerDropDownItemStyle
+attr spinnerStyle
+attr splitTrack
+attr srcCompat
+attr state_above_anchor
+attr submitBackground
+attr subtitle
+attr subtitleTextAppearance
+attr subtitleTextColor
+attr subtitleTextStyle
+attr suggestionRowLayout
+attr switchMinWidth
+attr switchPadding
+attr switchStyle
+attr switchTextAppearance
+attr textAllCaps
+attr textAppearanceLargePopupMenu
+attr textAppearanceListItem
+attr textAppearanceListItemSecondary
+attr textAppearanceListItemSmall
+attr textAppearancePopupMenuHeader
+attr textAppearanceSearchResultSubtitle
+attr textAppearanceSearchResultTitle
+attr textAppearanceSmallPopupMenu
+attr textColorAlertDialogListItem
+attr textLocale
+attr theme
+attr thickness
+attr thumbTextPadding
+attr thumbTint
+attr thumbTintMode
+attr tickMark
+attr tickMarkTint
+attr tickMarkTintMode
+attr tint
+attr tintMode
+attr title
+attr titleMargin
+attr titleMarginBottom
+attr titleMarginEnd
+attr titleMarginStart
+attr titleMarginTop
+attr titleMargins
+attr titleTextAppearance
+attr titleTextColor
+attr titleTextStyle
+attr toolbarNavigationButtonStyle
+attr toolbarStyle
+attr track
+attr trackTint
+attr trackTintMode
+attr voiceIcon
+attr windowActionBar
+attr windowActionBarOverlay
+attr windowActionModeOverlay
+attr windowNoTitle
+layout support_simple_spinner_dropdown_item
+style TextAppearance_AppCompat
+style TextAppearance_AppCompat_Body1
+style TextAppearance_AppCompat_Body2
+style TextAppearance_AppCompat_Button
+style TextAppearance_AppCompat_Caption
+style TextAppearance_AppCompat_Display1
+style TextAppearance_AppCompat_Display2
+style TextAppearance_AppCompat_Display3
+style TextAppearance_AppCompat_Display4
+style TextAppearance_AppCompat_Headline
+style TextAppearance_AppCompat_Inverse
+style TextAppearance_AppCompat_Large
+style TextAppearance_AppCompat_Large_Inverse
+style TextAppearance_AppCompat_Light_SearchResult_Subtitle
+style TextAppearance_AppCompat_Light_SearchResult_Title
+style TextAppearance_AppCompat_Light_Widget_PopupMenu_Large
+style TextAppearance_AppCompat_Light_Widget_PopupMenu_Small
+style TextAppearance_AppCompat_Medium
+style TextAppearance_AppCompat_Medium_Inverse
+style TextAppearance_AppCompat_Menu
+style TextAppearance_AppCompat_SearchResult_Subtitle
+style TextAppearance_AppCompat_SearchResult_Title
+style TextAppearance_AppCompat_Small
+style TextAppearance_AppCompat_Small_Inverse
+style TextAppearance_AppCompat_Subhead
+style TextAppearance_AppCompat_Subhead_Inverse
+style TextAppearance_AppCompat_Title
+style TextAppearance_AppCompat_Title_Inverse
+style TextAppearance_AppCompat_Widget_ActionBar_Menu
+style TextAppearance_AppCompat_Widget_ActionBar_Subtitle
+style TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse
+style TextAppearance_AppCompat_Widget_ActionBar_Title
+style TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse
+style TextAppearance_AppCompat_Widget_ActionMode_Subtitle
+style TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse
+style TextAppearance_AppCompat_Widget_ActionMode_Title
+style TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse
+style TextAppearance_AppCompat_Widget_Button
+style TextAppearance_AppCompat_Widget_Button_Borderless_Colored
+style TextAppearance_AppCompat_Widget_Button_Colored
+style TextAppearance_AppCompat_Widget_Button_Inverse
+style TextAppearance_AppCompat_Widget_DropDownItem
+style TextAppearance_AppCompat_Widget_PopupMenu_Header
+style TextAppearance_AppCompat_Widget_PopupMenu_Large
+style TextAppearance_AppCompat_Widget_PopupMenu_Small
+style TextAppearance_AppCompat_Widget_Switch
+style TextAppearance_AppCompat_Widget_TextView_SpinnerItem
+style ThemeOverlay_AppCompat
+style ThemeOverlay_AppCompat_ActionBar
+style ThemeOverlay_AppCompat_Dark
+style ThemeOverlay_AppCompat_Dark_ActionBar
+style ThemeOverlay_AppCompat_DayNight
+style ThemeOverlay_AppCompat_DayNight_ActionBar
+style ThemeOverlay_AppCompat_Dialog
+style ThemeOverlay_AppCompat_Dialog_Alert
+style ThemeOverlay_AppCompat_Light
+style Theme_AppCompat
+style Theme_AppCompat_DayNight
+style Theme_AppCompat_DayNight_DarkActionBar
+style Theme_AppCompat_DayNight_Dialog
+style Theme_AppCompat_DayNight_DialogWhenLarge
+style Theme_AppCompat_DayNight_Dialog_Alert
+style Theme_AppCompat_DayNight_Dialog_MinWidth
+style Theme_AppCompat_DayNight_NoActionBar
+style Theme_AppCompat_Dialog
+style Theme_AppCompat_DialogWhenLarge
+style Theme_AppCompat_Dialog_Alert
+style Theme_AppCompat_Dialog_MinWidth
+style Theme_AppCompat_Light
+style Theme_AppCompat_Light_DarkActionBar
+style Theme_AppCompat_Light_Dialog
+style Theme_AppCompat_Light_DialogWhenLarge
+style Theme_AppCompat_Light_Dialog_Alert
+style Theme_AppCompat_Light_Dialog_MinWidth
+style Theme_AppCompat_Light_NoActionBar
+style Theme_AppCompat_NoActionBar
+style Widget_AppCompat_ActionBar
+style Widget_AppCompat_ActionBar_Solid
+style Widget_AppCompat_ActionBar_TabBar
+style Widget_AppCompat_ActionBar_TabText
+style Widget_AppCompat_ActionBar_TabView
+style Widget_AppCompat_ActionButton
+style Widget_AppCompat_ActionButton_CloseMode
+style Widget_AppCompat_ActionButton_Overflow
+style Widget_AppCompat_ActionMode
+style Widget_AppCompat_AutoCompleteTextView
+style Widget_AppCompat_Button
+style Widget_AppCompat_ButtonBar
+style Widget_AppCompat_ButtonBar_AlertDialog
+style Widget_AppCompat_Button_Borderless
+style Widget_AppCompat_Button_Borderless_Colored
+style Widget_AppCompat_Button_ButtonBar_AlertDialog
+style Widget_AppCompat_Button_Colored
+style Widget_AppCompat_Button_Small
+style Widget_AppCompat_CompoundButton_CheckBox
+style Widget_AppCompat_CompoundButton_RadioButton
+style Widget_AppCompat_CompoundButton_Switch
+style Widget_AppCompat_DrawerArrowToggle
+style Widget_AppCompat_DropDownItem_Spinner
+style Widget_AppCompat_EditText
+style Widget_AppCompat_ImageButton
+style Widget_AppCompat_Light_ActionBar
+style Widget_AppCompat_Light_ActionBar_Solid
+style Widget_AppCompat_Light_ActionBar_Solid_Inverse
+style Widget_AppCompat_Light_ActionBar_TabBar
+style Widget_AppCompat_Light_ActionBar_TabBar_Inverse
+style Widget_AppCompat_Light_ActionBar_TabText
+style Widget_AppCompat_Light_ActionBar_TabText_Inverse
+style Widget_AppCompat_Light_ActionBar_TabView
+style Widget_AppCompat_Light_ActionBar_TabView_Inverse
+style Widget_AppCompat_Light_ActionButton
+style Widget_AppCompat_Light_ActionButton_CloseMode
+style Widget_AppCompat_Light_ActionButton_Overflow
+style Widget_AppCompat_Light_ActionMode_Inverse
+style Widget_AppCompat_Light_AutoCompleteTextView
+style Widget_AppCompat_Light_DropDownItem_Spinner
+style Widget_AppCompat_Light_ListPopupWindow
+style Widget_AppCompat_Light_ListView_DropDown
+style Widget_AppCompat_Light_PopupMenu
+style Widget_AppCompat_Light_PopupMenu_Overflow
+style Widget_AppCompat_Light_SearchView
+style Widget_AppCompat_Light_Spinner_DropDown_ActionBar
+style Widget_AppCompat_ListPopupWindow
+style Widget_AppCompat_ListView
+style Widget_AppCompat_ListView_DropDown
+style Widget_AppCompat_ListView_Menu
+style Widget_AppCompat_PopupMenu
+style Widget_AppCompat_PopupMenu_Overflow
+style Widget_AppCompat_PopupWindow
+style Widget_AppCompat_ProgressBar
+style Widget_AppCompat_ProgressBar_Horizontal
+style Widget_AppCompat_RatingBar
+style Widget_AppCompat_RatingBar_Indicator
+style Widget_AppCompat_RatingBar_Small
+style Widget_AppCompat_SearchView
+style Widget_AppCompat_SearchView_ActionBar
+style Widget_AppCompat_SeekBar
+style Widget_AppCompat_SeekBar_Discrete
+style Widget_AppCompat_Spinner
+style Widget_AppCompat_Spinner_DropDown
+style Widget_AppCompat_Spinner_DropDown_ActionBar
+style Widget_AppCompat_Spinner_Underlined
+style Widget_AppCompat_TextView
+style Widget_AppCompat_TextView_SpinnerItem
+style Widget_AppCompat_Toolbar
+style Widget_AppCompat_Toolbar_Button_Navigation
diff --git a/appcompat/appcompat/api/restricted_1.6.0-beta01.txt b/appcompat/appcompat/api/restricted_1.6.0-beta01.txt
new file mode 100644
index 0000000..5454c84
--- /dev/null
+++ b/appcompat/appcompat/api/restricted_1.6.0-beta01.txt
@@ -0,0 +1,2287 @@
+// Signature format: 4.0
+package androidx.appcompat.app {
+
+ public abstract class ActionBar {
+ ctor public ActionBar();
+ method public abstract void addOnMenuVisibilityListener(androidx.appcompat.app.ActionBar.OnMenuVisibilityListener!);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, boolean);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, int);
+ method @Deprecated public abstract void addTab(androidx.appcompat.app.ActionBar.Tab!, int, boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean closeOptionsMenu();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean collapseActionView();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void dispatchMenuVisibilityChanged(boolean);
+ method public abstract android.view.View! getCustomView();
+ method @androidx.appcompat.app.ActionBar.DisplayOptions public abstract int getDisplayOptions();
+ method public float getElevation();
+ method public abstract int getHeight();
+ method public int getHideOffset();
+ method @Deprecated public abstract int getNavigationItemCount();
+ method @Deprecated @androidx.appcompat.app.ActionBar.NavigationMode public abstract int getNavigationMode();
+ method @Deprecated public abstract int getSelectedNavigationIndex();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab? getSelectedTab();
+ method public abstract CharSequence? getSubtitle();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! getTabAt(int);
+ method @Deprecated public abstract int getTabCount();
+ method public android.content.Context! getThemedContext();
+ method public abstract CharSequence? getTitle();
+ method public abstract void hide();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean invalidateOptionsMenu();
+ method public boolean isHideOnContentScrollEnabled();
+ method public abstract boolean isShowing();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean isTitleTruncated();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! newTab();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void onConfigurationChanged(android.content.res.Configuration!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean onKeyShortcut(int, android.view.KeyEvent!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean onMenuKeyEvent(android.view.KeyEvent!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean openOptionsMenu();
+ method @Deprecated public abstract void removeAllTabs();
+ method public abstract void removeOnMenuVisibilityListener(androidx.appcompat.app.ActionBar.OnMenuVisibilityListener!);
+ method @Deprecated public abstract void removeTab(androidx.appcompat.app.ActionBar.Tab!);
+ method @Deprecated public abstract void removeTabAt(int);
+ method @Deprecated public abstract void selectTab(androidx.appcompat.app.ActionBar.Tab!);
+ method public abstract void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public abstract void setCustomView(android.view.View!);
+ method public abstract void setCustomView(android.view.View!, androidx.appcompat.app.ActionBar.LayoutParams!);
+ method public abstract void setCustomView(int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setDefaultDisplayHomeAsUpEnabled(boolean);
+ method public abstract void setDisplayHomeAsUpEnabled(boolean);
+ method public abstract void setDisplayOptions(@androidx.appcompat.app.ActionBar.DisplayOptions int);
+ method public abstract void setDisplayOptions(@androidx.appcompat.app.ActionBar.DisplayOptions int, @androidx.appcompat.app.ActionBar.DisplayOptions int);
+ method public abstract void setDisplayShowCustomEnabled(boolean);
+ method public abstract void setDisplayShowHomeEnabled(boolean);
+ method public abstract void setDisplayShowTitleEnabled(boolean);
+ method public abstract void setDisplayUseLogoEnabled(boolean);
+ method public void setElevation(float);
+ method public void setHideOffset(int);
+ method public void setHideOnContentScrollEnabled(boolean);
+ method public void setHomeActionContentDescription(CharSequence?);
+ method public void setHomeActionContentDescription(@StringRes int);
+ method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable?);
+ method public void setHomeAsUpIndicator(@DrawableRes int);
+ method public void setHomeButtonEnabled(boolean);
+ method public abstract void setIcon(@DrawableRes int);
+ method public abstract void setIcon(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract void setListNavigationCallbacks(android.widget.SpinnerAdapter!, androidx.appcompat.app.ActionBar.OnNavigationListener!);
+ method public abstract void setLogo(@DrawableRes int);
+ method public abstract void setLogo(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract void setNavigationMode(@androidx.appcompat.app.ActionBar.NavigationMode int);
+ method @Deprecated public abstract void setSelectedNavigationItem(int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setShowHideAnimationEnabled(boolean);
+ method public void setSplitBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public void setStackedBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public abstract void setSubtitle(CharSequence!);
+ method public abstract void setSubtitle(int);
+ method public abstract void setTitle(CharSequence!);
+ method public abstract void setTitle(@StringRes int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setWindowTitle(CharSequence!);
+ method public abstract void show();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.appcompat.view.ActionMode! startActionMode(androidx.appcompat.view.ActionMode.Callback!);
+ field public static final int DISPLAY_HOME_AS_UP = 4; // 0x4
+ field public static final int DISPLAY_SHOW_CUSTOM = 16; // 0x10
+ field public static final int DISPLAY_SHOW_HOME = 2; // 0x2
+ field public static final int DISPLAY_SHOW_TITLE = 8; // 0x8
+ field public static final int DISPLAY_USE_LOGO = 1; // 0x1
+ field @Deprecated public static final int NAVIGATION_MODE_LIST = 1; // 0x1
+ field @Deprecated public static final int NAVIGATION_MODE_STANDARD = 0; // 0x0
+ field @Deprecated public static final int NAVIGATION_MODE_TABS = 2; // 0x2
+ }
+
+ @IntDef(flag=true, value={androidx.appcompat.app.ActionBar.DISPLAY_USE_LOGO, androidx.appcompat.app.ActionBar.DISPLAY_SHOW_HOME, androidx.appcompat.app.ActionBar.DISPLAY_HOME_AS_UP, androidx.appcompat.app.ActionBar.DISPLAY_SHOW_TITLE, androidx.appcompat.app.ActionBar.DISPLAY_SHOW_CUSTOM}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ActionBar.DisplayOptions {
+ }
+
+ public static class ActionBar.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
+ ctor public ActionBar.LayoutParams(android.content.Context, android.util.AttributeSet!);
+ ctor public ActionBar.LayoutParams(int, int);
+ ctor public ActionBar.LayoutParams(int, int, int);
+ ctor public ActionBar.LayoutParams(int);
+ ctor public ActionBar.LayoutParams(androidx.appcompat.app.ActionBar.LayoutParams!);
+ ctor public ActionBar.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ field public int gravity;
+ }
+
+ @IntDef({androidx.appcompat.app.ActionBar.NAVIGATION_MODE_STANDARD, androidx.appcompat.app.ActionBar.NAVIGATION_MODE_LIST, androidx.appcompat.app.ActionBar.NAVIGATION_MODE_TABS}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface ActionBar.NavigationMode {
+ }
+
+ public static interface ActionBar.OnMenuVisibilityListener {
+ method public void onMenuVisibilityChanged(boolean);
+ }
+
+ @Deprecated public static interface ActionBar.OnNavigationListener {
+ method @Deprecated public boolean onNavigationItemSelected(int, long);
+ }
+
+ @Deprecated public abstract static class ActionBar.Tab {
+ ctor @Deprecated public ActionBar.Tab();
+ method @Deprecated public abstract CharSequence! getContentDescription();
+ method @Deprecated public abstract android.view.View! getCustomView();
+ method @Deprecated public abstract android.graphics.drawable.Drawable! getIcon();
+ method @Deprecated public abstract int getPosition();
+ method @Deprecated public abstract Object! getTag();
+ method @Deprecated public abstract CharSequence! getText();
+ method @Deprecated public abstract void select();
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setContentDescription(@StringRes int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setContentDescription(CharSequence!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setCustomView(android.view.View!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setCustomView(int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setIcon(android.graphics.drawable.Drawable!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setIcon(@DrawableRes int);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setTabListener(androidx.appcompat.app.ActionBar.TabListener!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setTag(Object!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setText(CharSequence!);
+ method @Deprecated public abstract androidx.appcompat.app.ActionBar.Tab! setText(int);
+ field @Deprecated public static final int INVALID_POSITION = -1; // 0xffffffff
+ }
+
+ @Deprecated public static interface ActionBar.TabListener {
+ method @Deprecated public void onTabReselected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ method @Deprecated public void onTabSelected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ method @Deprecated public void onTabUnselected(androidx.appcompat.app.ActionBar.Tab!, androidx.fragment.app.FragmentTransaction!);
+ }
+
+ public class ActionBarDrawerToggle implements androidx.drawerlayout.widget.DrawerLayout.DrawerListener {
+ ctor public ActionBarDrawerToggle(android.app.Activity!, androidx.drawerlayout.widget.DrawerLayout!, @StringRes int, @StringRes int);
+ ctor public ActionBarDrawerToggle(android.app.Activity!, androidx.drawerlayout.widget.DrawerLayout!, androidx.appcompat.widget.Toolbar!, @StringRes int, @StringRes int);
+ method public androidx.appcompat.graphics.drawable.DrawerArrowDrawable getDrawerArrowDrawable();
+ method public android.view.View.OnClickListener! getToolbarNavigationClickListener();
+ method public boolean isDrawerIndicatorEnabled();
+ method public boolean isDrawerSlideAnimationEnabled();
+ method public void onConfigurationChanged(android.content.res.Configuration!);
+ method public void onDrawerClosed(android.view.View!);
+ method public void onDrawerOpened(android.view.View!);
+ method public void onDrawerSlide(android.view.View!, float);
+ method public void onDrawerStateChanged(int);
+ method public boolean onOptionsItemSelected(android.view.MenuItem!);
+ method public void setDrawerArrowDrawable(androidx.appcompat.graphics.drawable.DrawerArrowDrawable);
+ method public void setDrawerIndicatorEnabled(boolean);
+ method public void setDrawerSlideAnimationEnabled(boolean);
+ method public void setHomeAsUpIndicator(android.graphics.drawable.Drawable!);
+ method public void setHomeAsUpIndicator(int);
+ method public void setToolbarNavigationClickListener(android.view.View.OnClickListener!);
+ method public void syncState();
+ }
+
+ public static interface ActionBarDrawerToggle.Delegate {
+ method public android.content.Context! getActionBarThemedContext();
+ method public android.graphics.drawable.Drawable! getThemeUpIndicator();
+ method public boolean isNavigationVisible();
+ method public void setActionBarDescription(@StringRes int);
+ method public void setActionBarUpIndicator(android.graphics.drawable.Drawable!, @StringRes int);
+ }
+
+ public static interface ActionBarDrawerToggle.DelegateProvider {
+ method public androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ }
+
+ public class AlertDialog extends androidx.appcompat.app.AppCompatDialog implements android.content.DialogInterface {
+ ctor protected AlertDialog(android.content.Context);
+ ctor protected AlertDialog(android.content.Context, @StyleRes int);
+ ctor protected AlertDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener?);
+ method public android.widget.Button! getButton(int);
+ method public android.widget.ListView! getListView();
+ method public void setButton(int, CharSequence!, android.os.Message!);
+ method public void setButton(int, CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public void setButton(int, CharSequence!, android.graphics.drawable.Drawable!, android.content.DialogInterface.OnClickListener!);
+ method public void setCustomTitle(android.view.View!);
+ method public void setIcon(int);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setIconAttribute(int);
+ method public void setMessage(CharSequence!);
+ method public void setView(android.view.View!);
+ method public void setView(android.view.View!, int, int, int, int);
+ }
+
+ public static class AlertDialog.Builder {
+ ctor public AlertDialog.Builder(android.content.Context);
+ ctor public AlertDialog.Builder(android.content.Context, @StyleRes int);
+ method public androidx.appcompat.app.AlertDialog create();
+ method public android.content.Context getContext();
+ method public androidx.appcompat.app.AlertDialog.Builder! setAdapter(android.widget.ListAdapter!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCancelable(boolean);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCursor(android.database.Cursor!, android.content.DialogInterface.OnClickListener!, String!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setCustomTitle(android.view.View?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIcon(@DrawableRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIcon(android.graphics.drawable.Drawable?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setIconAttribute(@AttrRes int);
+ method @Deprecated public androidx.appcompat.app.AlertDialog.Builder! setInverseBackgroundForced(boolean);
+ method public androidx.appcompat.app.AlertDialog.Builder! setItems(@ArrayRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setItems(CharSequence![]!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMessage(@StringRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMessage(CharSequence?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(@ArrayRes int, boolean[]!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(CharSequence![]!, boolean[]!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setMultiChoiceItems(android.database.Cursor!, String!, String!, android.content.DialogInterface.OnMultiChoiceClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNegativeButtonIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setNeutralButtonIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnCancelListener(android.content.DialogInterface.OnCancelListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnDismissListener(android.content.DialogInterface.OnDismissListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setOnKeyListener(android.content.DialogInterface.OnKeyListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButton(@StringRes int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButton(CharSequence!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setPositiveButtonIcon(android.graphics.drawable.Drawable!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.appcompat.app.AlertDialog.Builder! setRecycleOnMeasureEnabled(boolean);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(@ArrayRes int, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(android.database.Cursor!, int, String!, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(CharSequence![]!, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setSingleChoiceItems(android.widget.ListAdapter!, int, android.content.DialogInterface.OnClickListener!);
+ method public androidx.appcompat.app.AlertDialog.Builder! setTitle(@StringRes int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setTitle(CharSequence?);
+ method public androidx.appcompat.app.AlertDialog.Builder! setView(int);
+ method public androidx.appcompat.app.AlertDialog.Builder! setView(android.view.View!);
+ method @Deprecated @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.appcompat.app.AlertDialog.Builder! setView(android.view.View!, int, int, int, int);
+ method public androidx.appcompat.app.AlertDialog! show();
+ }
+
+ public class AppCompatActivity extends androidx.fragment.app.FragmentActivity implements androidx.appcompat.app.ActionBarDrawerToggle.DelegateProvider androidx.appcompat.app.AppCompatCallback androidx.core.app.TaskStackBuilder.SupportParentable {
+ ctor public AppCompatActivity();
+ ctor @ContentView public AppCompatActivity(@LayoutRes int);
+ method public androidx.appcompat.app.AppCompatDelegate getDelegate();
+ method public androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ method public androidx.appcompat.app.ActionBar? getSupportActionBar();
+ method public android.content.Intent? getSupportParentActivityIntent();
+ method public void onCreateSupportNavigateUpTaskStack(androidx.core.app.TaskStackBuilder);
+ method protected void onLocalesChanged(androidx.core.os.LocaleListCompat);
+ method public final boolean onMenuItemSelected(int, android.view.MenuItem);
+ method protected void onNightModeChanged(@androidx.appcompat.app.AppCompatDelegate.NightMode int);
+ method public void onPrepareSupportNavigateUpTaskStack(androidx.core.app.TaskStackBuilder);
+ method @CallSuper public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode);
+ method @CallSuper public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode);
+ method @Deprecated public void onSupportContentChanged();
+ method public boolean onSupportNavigateUp();
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ method public void setSupportActionBar(androidx.appcompat.widget.Toolbar?);
+ method @Deprecated public void setSupportProgress(int);
+ method @Deprecated public void setSupportProgressBarIndeterminate(boolean);
+ method @Deprecated public void setSupportProgressBarIndeterminateVisibility(boolean);
+ method @Deprecated public void setSupportProgressBarVisibility(boolean);
+ method public androidx.appcompat.view.ActionMode? startSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ method public void supportInvalidateOptionsMenu();
+ method public void supportNavigateUpTo(android.content.Intent);
+ method public boolean supportRequestWindowFeature(int);
+ method public boolean supportShouldUpRecreateTask(android.content.Intent);
+ }
+
+ public interface AppCompatCallback {
+ method public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode!);
+ method public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode!);
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback!);
+ }
+
+ public abstract class AppCompatDelegate {
+ method public abstract void addContentView(android.view.View!, android.view.ViewGroup.LayoutParams!);
+ method public abstract boolean applyDayNight();
+ method @Deprecated public void attachBaseContext(android.content.Context!);
+ method @CallSuper public android.content.Context attachBaseContext2(android.content.Context);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.app.Activity, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.app.Dialog, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.content.Context, android.view.Window, androidx.appcompat.app.AppCompatCallback?);
+ method public static androidx.appcompat.app.AppCompatDelegate create(android.content.Context, android.app.Activity, androidx.appcompat.app.AppCompatCallback?);
+ method public abstract android.view.View! createView(android.view.View?, String!, android.content.Context, android.util.AttributeSet);
+ method public abstract <T extends android.view.View> T! findViewById(@IdRes int);
+ method @AnyThread public static androidx.core.os.LocaleListCompat getApplicationLocales();
+ method public android.content.Context? getContextForDelegate();
+ method @androidx.appcompat.app.AppCompatDelegate.NightMode public static int getDefaultNightMode();
+ method public abstract androidx.appcompat.app.ActionBarDrawerToggle.Delegate? getDrawerToggleDelegate();
+ method @androidx.appcompat.app.AppCompatDelegate.NightMode public int getLocalNightMode();
+ method public abstract android.view.MenuInflater! getMenuInflater();
+ method public abstract androidx.appcompat.app.ActionBar? getSupportActionBar();
+ method public abstract boolean hasWindowFeature(int);
+ method public abstract void installViewFactory();
+ method public abstract void invalidateOptionsMenu();
+ method public static boolean isCompatVectorFromResourcesEnabled();
+ method public abstract boolean isHandleNativeActionModesEnabled();
+ method public abstract void onConfigurationChanged(android.content.res.Configuration!);
+ method public abstract void onCreate(android.os.Bundle!);
+ method public abstract void onDestroy();
+ method public abstract void onPostCreate(android.os.Bundle!);
+ method public abstract void onPostResume();
+ method public abstract void onSaveInstanceState(android.os.Bundle!);
+ method public abstract void onStart();
+ method public abstract void onStop();
+ method public abstract boolean requestWindowFeature(int);
+ method public static void setApplicationLocales(androidx.core.os.LocaleListCompat);
+ method public static void setCompatVectorFromResourcesEnabled(boolean);
+ method public abstract void setContentView(android.view.View!);
+ method public abstract void setContentView(@LayoutRes int);
+ method public abstract void setContentView(android.view.View!, android.view.ViewGroup.LayoutParams!);
+ method public static void setDefaultNightMode(@androidx.appcompat.app.AppCompatDelegate.NightMode int);
+ method public abstract void setHandleNativeActionModesEnabled(boolean);
+ method @RequiresApi(17) public abstract void setLocalNightMode(@androidx.appcompat.app.AppCompatDelegate.NightMode int);
+ method @CallSuper @RequiresApi(33) public void setOnBackInvokedDispatcher(android.window.OnBackInvokedDispatcher?);
+ method public abstract void setSupportActionBar(androidx.appcompat.widget.Toolbar?);
+ method public void setTheme(@StyleRes int);
+ method public abstract void setTitle(CharSequence?);
+ method public abstract androidx.appcompat.view.ActionMode? startSupportActionMode(androidx.appcompat.view.ActionMode.Callback);
+ field public static final int FEATURE_ACTION_MODE_OVERLAY = 10; // 0xa
+ field public static final int FEATURE_SUPPORT_ACTION_BAR = 108; // 0x6c
+ field public static final int FEATURE_SUPPORT_ACTION_BAR_OVERLAY = 109; // 0x6d
+ field @Deprecated public static final int MODE_NIGHT_AUTO = 0; // 0x0
+ field public static final int MODE_NIGHT_AUTO_BATTERY = 3; // 0x3
+ field @Deprecated public static final int MODE_NIGHT_AUTO_TIME = 0; // 0x0
+ field public static final int MODE_NIGHT_FOLLOW_SYSTEM = -1; // 0xffffffff
+ field public static final int MODE_NIGHT_NO = 1; // 0x1
+ field public static final int MODE_NIGHT_UNSPECIFIED = -100; // 0xffffff9c
+ field public static final int MODE_NIGHT_YES = 2; // 0x2
+ }
+
+ @IntDef({androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_NO, androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES, androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_AUTO_TIME, androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM, androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_UNSPECIFIED, androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_AUTO_BATTERY}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface AppCompatDelegate.NightMode {
+ }
+
+ public class AppCompatDialog extends androidx.activity.ComponentDialog implements androidx.appcompat.app.AppCompatCallback {
+ ctor public AppCompatDialog(android.content.Context);
+ ctor public AppCompatDialog(android.content.Context, int);
+ ctor protected AppCompatDialog(android.content.Context, boolean, android.content.DialogInterface.OnCancelListener?);
+ method public androidx.appcompat.app.AppCompatDelegate getDelegate();
+ method public androidx.appcompat.app.ActionBar! getSupportActionBar();
+ method public void onSupportActionModeFinished(androidx.appcompat.view.ActionMode!);
+ method public void onSupportActionModeStarted(androidx.appcompat.view.ActionMode!);
+ method public androidx.appcompat.view.ActionMode? onWindowStartingSupportActionMode(androidx.appcompat.view.ActionMode.Callback!);
+ method public boolean supportRequestWindowFeature(int);
+ }
+
+ public class AppCompatDialogFragment extends androidx.fragment.app.DialogFragment {
+ ctor public AppCompatDialogFragment();
+ ctor public AppCompatDialogFragment(@LayoutRes int);
+ }
+
+ public class AppCompatViewInflater {
+ ctor public AppCompatViewInflater();
+ method protected androidx.appcompat.widget.AppCompatAutoCompleteTextView createAutoCompleteTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatButton createButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatCheckBox createCheckBox(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatCheckedTextView createCheckedTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatEditText createEditText(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatImageButton createImageButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatImageView createImageView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatMultiAutoCompleteTextView createMultiAutoCompleteTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatRadioButton createRadioButton(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatRatingBar createRatingBar(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatSeekBar createSeekBar(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatSpinner createSpinner(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatTextView createTextView(android.content.Context!, android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.AppCompatToggleButton createToggleButton(android.content.Context!, android.util.AttributeSet!);
+ method public final android.view.View? createView(android.view.View?, String, android.content.Context, android.util.AttributeSet, boolean, boolean, boolean, boolean);
+ method protected android.view.View? createView(android.content.Context!, String!, android.util.AttributeSet!);
+ }
+
+ public final class AppLocalesMetadataHolderService extends android.app.Service {
+ ctor public AppLocalesMetadataHolderService();
+ method public static android.content.pm.ServiceInfo getServiceInfo(android.content.Context) throws android.content.pm.PackageManager.NameNotFoundException;
+ method public android.os.IBinder onBind(android.content.Intent);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class WindowDecorActionBar extends androidx.appcompat.app.ActionBar implements androidx.appcompat.widget.ActionBarOverlayLayout.ActionBarVisibilityCallback {
+ ctor public WindowDecorActionBar(android.app.Activity!, boolean);
+ ctor public WindowDecorActionBar(android.app.Dialog!);
+ ctor @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public WindowDecorActionBar(android.view.View!);
+ method public void addOnMenuVisibilityListener(androidx.appcompat.app.ActionBar.OnMenuVisibilityListener!);
+ method public void addTab(androidx.appcompat.app.ActionBar.Tab!);
+ method public void addTab(androidx.appcompat.app.ActionBar.Tab!, int);
+ method public void addTab(androidx.appcompat.app.ActionBar.Tab!, boolean);
+ method public void addTab(androidx.appcompat.app.ActionBar.Tab!, int, boolean);
+ method public void animateToMode(boolean);
+ method public void doHide(boolean);
+ method public void doShow(boolean);
+ method public void enableContentAnimations(boolean);
+ method public android.view.View! getCustomView();
+ method public int getDisplayOptions();
+ method public int getHeight();
+ method public int getNavigationItemCount();
+ method public int getNavigationMode();
+ method public int getSelectedNavigationIndex();
+ method public androidx.appcompat.app.ActionBar.Tab! getSelectedTab();
+ method public CharSequence! getSubtitle();
+ method public androidx.appcompat.app.ActionBar.Tab! getTabAt(int);
+ method public int getTabCount();
+ method public CharSequence! getTitle();
+ method public boolean hasIcon();
+ method public boolean hasLogo();
+ method public void hide();
+ method public void hideForSystem();
+ method public boolean isShowing();
+ method public androidx.appcompat.app.ActionBar.Tab! newTab();
+ method public void onContentScrollStarted();
+ method public void onContentScrollStopped();
+ method public void onWindowVisibilityChanged(int);
+ method public void removeAllTabs();
+ method public void removeOnMenuVisibilityListener(androidx.appcompat.app.ActionBar.OnMenuVisibilityListener!);
+ method public void removeTab(androidx.appcompat.app.ActionBar.Tab!);
+ method public void removeTabAt(int);
+ method public boolean requestFocus();
+ method public void selectTab(androidx.appcompat.app.ActionBar.Tab!);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public void setCustomView(int);
+ method public void setCustomView(android.view.View!);
+ method public void setCustomView(android.view.View!, androidx.appcompat.app.ActionBar.LayoutParams!);
+ method public void setDisplayHomeAsUpEnabled(boolean);
+ method public void setDisplayOptions(int);
+ method public void setDisplayOptions(int, int);
+ method public void setDisplayShowCustomEnabled(boolean);
+ method public void setDisplayShowHomeEnabled(boolean);
+ method public void setDisplayShowTitleEnabled(boolean);
+ method public void setDisplayUseLogoEnabled(boolean);
+ method public void setIcon(int);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setListNavigationCallbacks(android.widget.SpinnerAdapter!, androidx.appcompat.app.ActionBar.OnNavigationListener!);
+ method public void setLogo(int);
+ method public void setLogo(android.graphics.drawable.Drawable!);
+ method public void setNavigationMode(int);
+ method public void setSelectedNavigationItem(int);
+ method public void setSubtitle(int);
+ method public void setSubtitle(CharSequence!);
+ method public void setTitle(int);
+ method public void setTitle(CharSequence!);
+ method public void show();
+ method public void showForSystem();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class WindowDecorActionBar.ActionModeImpl extends androidx.appcompat.view.ActionMode implements androidx.appcompat.view.menu.MenuBuilder.Callback {
+ ctor public WindowDecorActionBar.ActionModeImpl(android.content.Context!, androidx.appcompat.view.ActionMode.Callback!);
+ method public boolean dispatchOnCreate();
+ method public void finish();
+ method public android.view.View! getCustomView();
+ method public android.view.Menu! getMenu();
+ method public android.view.MenuInflater! getMenuInflater();
+ method public CharSequence! getSubtitle();
+ method public CharSequence! getTitle();
+ method public void invalidate();
+ method public void onCloseMenu(androidx.appcompat.view.menu.MenuBuilder!, boolean);
+ method public void onCloseSubMenu(androidx.appcompat.view.menu.SubMenuBuilder!);
+ method public boolean onMenuItemSelected(androidx.appcompat.view.menu.MenuBuilder, android.view.MenuItem);
+ method public void onMenuModeChange(androidx.appcompat.view.menu.MenuBuilder);
+ method public boolean onSubMenuSelected(androidx.appcompat.view.menu.SubMenuBuilder!);
+ method public void setCustomView(android.view.View!);
+ method public void setSubtitle(CharSequence!);
+ method public void setSubtitle(int);
+ method public void setTitle(CharSequence!);
+ method public void setTitle(int);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class WindowDecorActionBar.TabImpl extends androidx.appcompat.app.ActionBar.Tab {
+ ctor public WindowDecorActionBar.TabImpl();
+ method public androidx.appcompat.app.ActionBar.TabListener! getCallback();
+ method public CharSequence! getContentDescription();
+ method public android.view.View! getCustomView();
+ method public android.graphics.drawable.Drawable! getIcon();
+ method public int getPosition();
+ method public Object! getTag();
+ method public CharSequence! getText();
+ method public void select();
+ method public androidx.appcompat.app.ActionBar.Tab! setContentDescription(int);
+ method public androidx.appcompat.app.ActionBar.Tab! setContentDescription(CharSequence!);
+ method public androidx.appcompat.app.ActionBar.Tab! setCustomView(android.view.View!);
+ method public androidx.appcompat.app.ActionBar.Tab! setCustomView(int);
+ method public androidx.appcompat.app.ActionBar.Tab! setIcon(android.graphics.drawable.Drawable!);
+ method public androidx.appcompat.app.ActionBar.Tab! setIcon(int);
+ method public void setPosition(int);
+ method public androidx.appcompat.app.ActionBar.Tab! setTabListener(androidx.appcompat.app.ActionBar.TabListener!);
+ method public androidx.appcompat.app.ActionBar.Tab! setTag(Object!);
+ method public androidx.appcompat.app.ActionBar.Tab! setText(CharSequence!);
+ method public androidx.appcompat.app.ActionBar.Tab! setText(int);
+ }
+
+}
+
+package androidx.appcompat.graphics.drawable {
+
+ public class DrawerArrowDrawable extends android.graphics.drawable.Drawable {
+ ctor public DrawerArrowDrawable(android.content.Context!);
+ method public void draw(android.graphics.Canvas!);
+ method public float getArrowHeadLength();
+ method public float getArrowShaftLength();
+ method public float getBarLength();
+ method public float getBarThickness();
+ method @ColorInt public int getColor();
+ method @androidx.appcompat.graphics.drawable.DrawerArrowDrawable.ArrowDirection public int getDirection();
+ method public float getGapSize();
+ method public int getOpacity();
+ method public final android.graphics.Paint! getPaint();
+ method @FloatRange(from=0.0, to=1.0) public float getProgress();
+ method public boolean isSpinEnabled();
+ method public void setAlpha(int);
+ method public void setArrowHeadLength(float);
+ method public void setArrowShaftLength(float);
+ method public void setBarLength(float);
+ method public void setBarThickness(float);
+ method public void setColor(@ColorInt int);
+ method public void setColorFilter(android.graphics.ColorFilter!);
+ method public void setDirection(@androidx.appcompat.graphics.drawable.DrawerArrowDrawable.ArrowDirection int);
+ method public void setGapSize(float);
+ method public void setProgress(@FloatRange(from=0.0, to=1.0) float);
+ method public void setSpinEnabled(boolean);
+ method public void setVerticalMirror(boolean);
+ field public static final int ARROW_DIRECTION_END = 3; // 0x3
+ field public static final int ARROW_DIRECTION_LEFT = 0; // 0x0
+ field public static final int ARROW_DIRECTION_RIGHT = 1; // 0x1
+ field public static final int ARROW_DIRECTION_START = 2; // 0x2
+ }
+
+ @IntDef({androidx.appcompat.graphics.drawable.DrawerArrowDrawable.ARROW_DIRECTION_LEFT, androidx.appcompat.graphics.drawable.DrawerArrowDrawable.ARROW_DIRECTION_RIGHT, androidx.appcompat.graphics.drawable.DrawerArrowDrawable.ARROW_DIRECTION_START, androidx.appcompat.graphics.drawable.DrawerArrowDrawable.ARROW_DIRECTION_END}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface DrawerArrowDrawable.ArrowDirection {
+ }
+
+}
+
+package androidx.appcompat.text {
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class AllCapsTransformationMethod implements android.text.method.TransformationMethod {
+ ctor public AllCapsTransformationMethod(android.content.Context!);
+ method public CharSequence! getTransformation(CharSequence!, android.view.View!);
+ method public void onFocusChanged(android.view.View!, CharSequence!, boolean, int, android.graphics.Rect!);
+ }
+
+}
+
+package androidx.appcompat.view {
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ActionBarPolicy {
+ method public boolean enableHomeButtonByDefault();
+ method public static androidx.appcompat.view.ActionBarPolicy! get(android.content.Context!);
+ method public int getEmbeddedMenuWidthLimit();
+ method public int getMaxActionButtons();
+ method public int getStackedTabMaxWidth();
+ method public int getTabContainerHeight();
+ method public boolean hasEmbeddedTabs();
+ method public boolean showsOverflowMenuButton();
+ }
+
+ public abstract class ActionMode {
+ ctor public ActionMode();
+ method public abstract void finish();
+ method public abstract android.view.View! getCustomView();
+ method public abstract android.view.Menu! getMenu();
+ method public abstract android.view.MenuInflater! getMenuInflater();
+ method public abstract CharSequence! getSubtitle();
+ method public Object! getTag();
+ method public abstract CharSequence! getTitle();
+ method public boolean getTitleOptionalHint();
+ method public abstract void invalidate();
+ method public boolean isTitleOptional();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean isUiFocusable();
+ method public abstract void setCustomView(android.view.View!);
+ method public abstract void setSubtitle(CharSequence!);
+ method public abstract void setSubtitle(int);
+ method public void setTag(Object!);
+ method public abstract void setTitle(CharSequence!);
+ method public abstract void setTitle(int);
+ method public void setTitleOptionalHint(boolean);
+ }
+
+ public static interface ActionMode.Callback {
+ method public boolean onActionItemClicked(androidx.appcompat.view.ActionMode!, android.view.MenuItem!);
+ method public boolean onCreateActionMode(androidx.appcompat.view.ActionMode!, android.view.Menu!);
+ method public void onDestroyActionMode(androidx.appcompat.view.ActionMode!);
+ method public boolean onPrepareActionMode(androidx.appcompat.view.ActionMode!, android.view.Menu!);
+ }
+
+ @Deprecated public interface CollapsibleActionView {
+ method @Deprecated public void onActionViewCollapsed();
+ method @Deprecated public void onActionViewExpanded();
+ }
+
+ public class ContextThemeWrapper extends android.content.ContextWrapper {
+ ctor public ContextThemeWrapper();
+ ctor public ContextThemeWrapper(android.content.Context!, @StyleRes int);
+ ctor public ContextThemeWrapper(android.content.Context!, android.content.res.Resources.Theme!);
+ method public void applyOverrideConfiguration(android.content.res.Configuration!);
+ method public int getThemeResId();
+ method protected void onApplyThemeResource(android.content.res.Resources.Theme!, int, boolean);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class StandaloneActionMode extends androidx.appcompat.view.ActionMode implements androidx.appcompat.view.menu.MenuBuilder.Callback {
+ ctor public StandaloneActionMode(android.content.Context!, androidx.appcompat.widget.ActionBarContextView!, androidx.appcompat.view.ActionMode.Callback!, boolean);
+ method public void finish();
+ method public android.view.View! getCustomView();
+ method public android.view.Menu! getMenu();
+ method public android.view.MenuInflater! getMenuInflater();
+ method public CharSequence! getSubtitle();
+ method public CharSequence! getTitle();
+ method public void invalidate();
+ method public void onCloseMenu(androidx.appcompat.view.menu.MenuBuilder!, boolean);
+ method public void onCloseSubMenu(androidx.appcompat.view.menu.SubMenuBuilder!);
+ method public boolean onMenuItemSelected(androidx.appcompat.view.menu.MenuBuilder, android.view.MenuItem);
+ method public void onMenuModeChange(androidx.appcompat.view.menu.MenuBuilder);
+ method public boolean onSubMenuSelected(androidx.appcompat.view.menu.SubMenuBuilder!);
+ method public void setCustomView(android.view.View!);
+ method public void setSubtitle(CharSequence!);
+ method public void setSubtitle(int);
+ method public void setTitle(CharSequence!);
+ method public void setTitle(int);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class SupportActionModeWrapper extends android.view.ActionMode {
+ ctor public SupportActionModeWrapper(android.content.Context!, androidx.appcompat.view.ActionMode!);
+ method public void finish();
+ method public android.view.View! getCustomView();
+ method public android.view.Menu! getMenu();
+ method public android.view.MenuInflater! getMenuInflater();
+ method public CharSequence! getSubtitle();
+ method public CharSequence! getTitle();
+ method public void invalidate();
+ method public void setCustomView(android.view.View!);
+ method public void setSubtitle(CharSequence!);
+ method public void setSubtitle(int);
+ method public void setTitle(CharSequence!);
+ method public void setTitle(int);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static class SupportActionModeWrapper.CallbackWrapper implements androidx.appcompat.view.ActionMode.Callback {
+ ctor public SupportActionModeWrapper.CallbackWrapper(android.content.Context!, android.view.ActionMode.Callback!);
+ method public android.view.ActionMode! getActionModeWrapper(androidx.appcompat.view.ActionMode!);
+ method public boolean onActionItemClicked(androidx.appcompat.view.ActionMode!, android.view.MenuItem!);
+ method public boolean onCreateActionMode(androidx.appcompat.view.ActionMode!, android.view.Menu!);
+ method public void onDestroyActionMode(androidx.appcompat.view.ActionMode!);
+ method public boolean onPrepareActionMode(androidx.appcompat.view.ActionMode!, android.view.Menu!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class SupportMenuInflater extends android.view.MenuInflater {
+ ctor public SupportMenuInflater(android.content.Context!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ViewPropertyAnimatorCompatSet {
+ ctor public ViewPropertyAnimatorCompatSet();
+ method public void cancel();
+ method public androidx.appcompat.view.ViewPropertyAnimatorCompatSet! play(androidx.core.view.ViewPropertyAnimatorCompat!);
+ method public androidx.appcompat.view.ViewPropertyAnimatorCompatSet! playSequentially(androidx.core.view.ViewPropertyAnimatorCompat!, androidx.core.view.ViewPropertyAnimatorCompat!);
+ method public androidx.appcompat.view.ViewPropertyAnimatorCompatSet! setDuration(long);
+ method public androidx.appcompat.view.ViewPropertyAnimatorCompatSet! setInterpolator(android.view.animation.Interpolator!);
+ method public androidx.appcompat.view.ViewPropertyAnimatorCompatSet! setListener(androidx.core.view.ViewPropertyAnimatorListener!);
+ method public void start();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class WindowCallbackWrapper implements android.view.Window.Callback {
+ ctor public WindowCallbackWrapper(android.view.Window.Callback!);
+ method public boolean dispatchGenericMotionEvent(android.view.MotionEvent!);
+ method public boolean dispatchKeyEvent(android.view.KeyEvent!);
+ method public boolean dispatchKeyShortcutEvent(android.view.KeyEvent!);
+ method public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent!);
+ method public boolean dispatchTouchEvent(android.view.MotionEvent!);
+ method public boolean dispatchTrackballEvent(android.view.MotionEvent!);
+ method public final android.view.Window.Callback! getWrapped();
+ method public void onActionModeFinished(android.view.ActionMode!);
+ method public void onActionModeStarted(android.view.ActionMode!);
+ method public void onAttachedToWindow();
+ method public void onContentChanged();
+ method public boolean onCreatePanelMenu(int, android.view.Menu!);
+ method public android.view.View! onCreatePanelView(int);
+ method public void onDetachedFromWindow();
+ method public boolean onMenuItemSelected(int, android.view.MenuItem!);
+ method public boolean onMenuOpened(int, android.view.Menu!);
+ method public void onPanelClosed(int, android.view.Menu!);
+ method public boolean onPreparePanel(int, android.view.View!, android.view.Menu!);
+ method @RequiresApi(23) public boolean onSearchRequested(android.view.SearchEvent!);
+ method public boolean onSearchRequested();
+ method public void onWindowAttributesChanged(android.view.WindowManager.LayoutParams!);
+ method public void onWindowFocusChanged(boolean);
+ method public android.view.ActionMode! onWindowStartingActionMode(android.view.ActionMode.Callback!);
+ method @RequiresApi(23) public android.view.ActionMode! onWindowStartingActionMode(android.view.ActionMode.Callback!, int);
+ }
+
+}
+
+package androidx.appcompat.view.menu {
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ActionMenuItem implements androidx.core.internal.view.SupportMenuItem {
+ ctor public ActionMenuItem(android.content.Context!, int, int, int, int, CharSequence!);
+ method public boolean collapseActionView();
+ method public boolean expandActionView();
+ method public android.view.ActionProvider! getActionProvider();
+ method public android.view.View! getActionView();
+ method public char getAlphabeticShortcut();
+ method public int getGroupId();
+ method public android.graphics.drawable.Drawable! getIcon();
+ method public android.content.Intent! getIntent();
+ method public int getItemId();
+ method public android.view.ContextMenu.ContextMenuInfo! getMenuInfo();
+ method public char getNumericShortcut();
+ method public int getOrder();
+ method public android.view.SubMenu! getSubMenu();
+ method public androidx.core.view.ActionProvider! getSupportActionProvider();
+ method public CharSequence! getTitle();
+ method public CharSequence! getTitleCondensed();
+ method public boolean hasSubMenu();
+ method public boolean invoke();
+ method public boolean isActionViewExpanded();
+ method public boolean isCheckable();
+ method public boolean isChecked();
+ method public boolean isEnabled();
+ method public boolean isVisible();
+ method public boolean requiresActionButton();
+ method public boolean requiresOverflow();
+ method public android.view.MenuItem! setActionProvider(android.view.ActionProvider!);
+ method public androidx.core.internal.view.SupportMenuItem setActionView(android.view.View!);
+ method public androidx.core.internal.view.SupportMenuItem setActionView(int);
+ method public android.view.MenuItem! setAlphabeticShortcut(char);
+ method public android.view.MenuItem! setCheckable(boolean);
+ method public android.view.MenuItem! setChecked(boolean);
+ method public androidx.core.internal.view.SupportMenuItem setContentDescription(CharSequence!);
+ method public android.view.MenuItem! setEnabled(boolean);
+ method public androidx.appcompat.view.menu.ActionMenuItem! setExclusiveCheckable(boolean);
+ method public android.view.MenuItem! setIcon(android.graphics.drawable.Drawable!);
+ method public android.view.MenuItem! setIcon(int);
+ method public android.view.MenuItem! setIntent(android.content.Intent!);
+ method public android.view.MenuItem! setNumericShortcut(char);
+ method public android.view.MenuItem! setOnActionExpandListener(android.view.MenuItem.OnActionExpandListener!);
+ method public android.view.MenuItem! setOnMenuItemClickListener(android.view.MenuItem.OnMenuItemClickListener!);
+ method public android.view.MenuItem! setShortcut(char, char);
+ method public void setShowAsAction(int);
+ method public androidx.core.internal.view.SupportMenuItem setShowAsActionFlags(int);
+ method public androidx.core.internal.view.SupportMenuItem setSupportActionProvider(androidx.core.view.ActionProvider!);
+ method public android.view.MenuItem! setTitle(CharSequence!);
+ method public android.view.MenuItem! setTitle(int);
+ method public android.view.MenuItem! setTitleCondensed(CharSequence!);
+ method public androidx.core.internal.view.SupportMenuItem setTooltipText(CharSequence!);
+ method public android.view.MenuItem! setVisible(boolean);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ActionMenuItemView extends androidx.appcompat.widget.AppCompatTextView implements androidx.appcompat.widget.ActionMenuView.ActionMenuChildView androidx.appcompat.view.menu.MenuView.ItemView android.view.View.OnClickListener {
+ ctor public ActionMenuItemView(android.content.Context!);
+ ctor public ActionMenuItemView(android.content.Context!, android.util.AttributeSet!);
+ ctor public ActionMenuItemView(android.content.Context!, android.util.AttributeSet!, int);
+ method public androidx.appcompat.view.menu.MenuItemImpl! getItemData();
+ method public boolean hasText();
+ method public void initialize(androidx.appcompat.view.menu.MenuItemImpl!, int);
+ method public boolean needsDividerAfter();
+ method public boolean needsDividerBefore();
+ method public void onClick(android.view.View!);
+ method public void onConfigurationChanged(android.content.res.Configuration!);
+ method public boolean prefersCondensedTitle();
+ method public void setCheckable(boolean);
+ method public void setChecked(boolean);
+ method public void setExpandedFormat(boolean);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setItemInvoker(androidx.appcompat.view.menu.MenuBuilder.ItemInvoker!);
+ method public void setPopupCallback(androidx.appcompat.view.menu.ActionMenuItemView.PopupCallback!);
+ method public void setShortcut(boolean, char);
+ method public void setTitle(CharSequence!);
+ method public boolean showsIcon();
+ }
+
+ public abstract static class ActionMenuItemView.PopupCallback {
+ ctor public ActionMenuItemView.PopupCallback();
+ method public abstract androidx.appcompat.view.menu.ShowableListMenu! getPopup();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public abstract class BaseMenuPresenter implements androidx.appcompat.view.menu.MenuPresenter {
+ ctor public BaseMenuPresenter(android.content.Context!, int, int);
+ method protected void addItemView(android.view.View!, int);
+ method public abstract void bindItemView(androidx.appcompat.view.menu.MenuItemImpl!, androidx.appcompat.view.menu.MenuView.ItemView!);
+ method public boolean collapseItemActionView(androidx.appcompat.view.menu.MenuBuilder!, androidx.appcompat.view.menu.MenuItemImpl!);
+ method public androidx.appcompat.view.menu.MenuView.ItemView! createItemView(android.view.ViewGroup!);
+ method public boolean expandItemActionView(androidx.appcompat.view.menu.MenuBuilder!, androidx.appcompat.view.menu.MenuItemImpl!);
+ method protected boolean filterLeftoverView(android.view.ViewGroup!, int);
+ method public boolean flagActionItems();
+ method public androidx.appcompat.view.menu.MenuPresenter.Callback! getCallback();
+ method public int getId();
+ method public android.view.View! getItemView(androidx.appcompat.view.menu.MenuItemImpl!, android.view.View!, android.view.ViewGroup!);
+ method public androidx.appcompat.view.menu.MenuView! getMenuView(android.view.ViewGroup!);
+ method public void initForMenu(android.content.Context!, androidx.appcompat.view.menu.MenuBuilder!);
+ method public void onCloseMenu(androidx.appcompat.view.menu.MenuBuilder!, boolean);
+ method public boolean onSubMenuSelected(androidx.appcompat.view.menu.SubMenuBuilder!);
+ method public void setCallback(androidx.appcompat.view.menu.MenuPresenter.Callback!);
+ method public void setId(int);
+ method public boolean shouldIncludeItem(int, androidx.appcompat.view.menu.MenuItemImpl!);
+ method public void updateMenuView(boolean);
+ field protected android.content.Context! mContext;
+ field protected android.view.LayoutInflater! mInflater;
+ field protected androidx.appcompat.view.menu.MenuBuilder! mMenu;
+ field protected androidx.appcompat.view.menu.MenuView! mMenuView;
+ field protected android.content.Context! mSystemContext;
+ field protected android.view.LayoutInflater! mSystemInflater;
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class ExpandedMenuView extends android.widget.ListView implements android.widget.AdapterView.OnItemClickListener androidx.appcompat.view.menu.MenuBuilder.ItemInvoker androidx.appcompat.view.menu.MenuView {
+ ctor public ExpandedMenuView(android.content.Context!, android.util.AttributeSet!);
+ ctor public ExpandedMenuView(android.content.Context!, android.util.AttributeSet!, int);
+ method public int getWindowAnimations();
+ method public void initialize(androidx.appcompat.view.menu.MenuBuilder!);
+ method public boolean invokeItem(androidx.appcompat.view.menu.MenuItemImpl!);
+ method public void onItemClick(android.widget.AdapterView!, android.view.View!, int, long);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ListMenuItemView extends android.widget.LinearLayout implements android.widget.AbsListView.SelectionBoundsAdjuster androidx.appcompat.view.menu.MenuView.ItemView {
+ ctor public ListMenuItemView(android.content.Context!, android.util.AttributeSet!);
+ ctor public ListMenuItemView(android.content.Context!, android.util.AttributeSet!, int);
+ method public void adjustListItemSelectionBounds(android.graphics.Rect!);
+ method public androidx.appcompat.view.menu.MenuItemImpl! getItemData();
+ method public void initialize(androidx.appcompat.view.menu.MenuItemImpl!, int);
+ method public boolean prefersCondensedTitle();
+ method public void setCheckable(boolean);
+ method public void setChecked(boolean);
+ method public void setForceShowIcon(boolean);
+ method public void setGroupDividerEnabled(boolean);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setShortcut(boolean, char);
+ method public void setTitle(CharSequence!);
+ method public boolean showsIcon();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ListMenuPresenter implements android.widget.AdapterView.OnItemClickListener androidx.appcompat.view.menu.MenuPresenter {
+ ctor public ListMenuPresenter(android.content.Context!, int);
+ ctor public ListMenuPresenter(int, int);
+ method public boolean collapseItemActionView(androidx.appcompat.view.menu.MenuBuilder!, androidx.appcompat.view.menu.MenuItemImpl!);
+ method public boolean expandItemActionView(androidx.appcompat.view.menu.MenuBuilder!, androidx.appcompat.view.menu.MenuItemImpl!);
+ method public boolean flagActionItems();
+ method public android.widget.ListAdapter! getAdapter();
+ method public int getId();
+ method public androidx.appcompat.view.menu.MenuView! getMenuView(android.view.ViewGroup!);
+ method public void initForMenu(android.content.Context!, androidx.appcompat.view.menu.MenuBuilder!);
+ method public void onCloseMenu(androidx.appcompat.view.menu.MenuBuilder!, boolean);
+ method public void onItemClick(android.widget.AdapterView<?>!, android.view.View!, int, long);
+ method public void onRestoreInstanceState(android.os.Parcelable!);
+ method public android.os.Parcelable! onSaveInstanceState();
+ method public boolean onSubMenuSelected(androidx.appcompat.view.menu.SubMenuBuilder!);
+ method public void restoreHierarchyState(android.os.Bundle!);
+ method public void saveHierarchyState(android.os.Bundle!);
+ method public void setCallback(androidx.appcompat.view.menu.MenuPresenter.Callback!);
+ method public void setId(int);
+ method public void setItemIndexOffset(int);
+ method public void updateMenuView(boolean);
+ field public static final String VIEWS_TAG = "android:menu:list";
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class MenuAdapter extends android.widget.BaseAdapter {
+ ctor public MenuAdapter(androidx.appcompat.view.menu.MenuBuilder!, android.view.LayoutInflater!, boolean, int);
+ method public androidx.appcompat.view.menu.MenuBuilder! getAdapterMenu();
+ method public int getCount();
+ method public boolean getForceShowIcon();
+ method public androidx.appcompat.view.menu.MenuItemImpl! getItem(int);
+ method public long getItemId(int);
+ method public android.view.View! getView(int, android.view.View!, android.view.ViewGroup!);
+ method public void setForceShowIcon(boolean);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class MenuBuilder implements androidx.core.internal.view.SupportMenu {
+ ctor public MenuBuilder(android.content.Context!);
+ method public android.view.MenuItem! add(CharSequence!);
+ method public android.view.MenuItem! add(int);
+ method public android.view.MenuItem! add(int, int, int, CharSequence!);
+ method public android.view.MenuItem! add(int, int, int, int);
+ method public int addIntentOptions(int, int, int, android.content.ComponentName!, android.content.Intent![]!, android.content.Intent!, int, android.view.MenuItem![]!);
+ method protected android.view.MenuItem! addInternal(int, int, int, CharSequence!);
+ method public void addMenuPresenter(androidx.appcompat.view.menu.MenuPresenter!);
+ method public void addMenuPresenter(androidx.appcompat.view.menu.MenuPresenter!, android.content.Context!);
+ method public android.view.SubMenu! addSubMenu(CharSequence!);
+ method public android.view.SubMenu! addSubMenu(int);
+ method public android.view.SubMenu! addSubMenu(int, int, int, CharSequence!);
+ method public android.view.SubMenu! addSubMenu(int, int, int, int);
+ method public void changeMenuMode();
+ method public void clear();
+ method public void clearAll();
+ method public void clearHeader();
+ method public final void close(boolean);
+ method public void close();
+ method public boolean collapseItemActionView(androidx.appcompat.view.menu.MenuItemImpl!);
+ method public boolean expandItemActionView(androidx.appcompat.view.menu.MenuItemImpl!);
+ method public int findGroupIndex(int);
+ method public int findGroupIndex(int, int);
+ method public android.view.MenuItem! findItem(int);
+ method public int findItemIndex(int);
+ method public void flagActionItems();
+ method public java.util.ArrayList<androidx.appcompat.view.menu.MenuItemImpl!>! getActionItems();
+ method protected String! getActionViewStatesKey();
+ method public android.content.Context! getContext();
+ method public androidx.appcompat.view.menu.MenuItemImpl! getExpandedItem();
+ method public android.graphics.drawable.Drawable! getHeaderIcon();
+ method public CharSequence! getHeaderTitle();
+ method public android.view.View! getHeaderView();
+ method public android.view.MenuItem! getItem(int);
+ method public java.util.ArrayList<androidx.appcompat.view.menu.MenuItemImpl!>! getNonActionItems();
+ method public androidx.appcompat.view.menu.MenuBuilder! getRootMenu();
+ method public java.util.ArrayList<androidx.appcompat.view.menu.MenuItemImpl!> getVisibleItems();
+ method public boolean hasVisibleItems();
+ method public boolean isGroupDividerEnabled();
+ method public boolean isShortcutKey(int, android.view.KeyEvent!);
+ method public boolean isShortcutsVisible();
+ method public void onItemsChanged(boolean);
+ method public boolean performIdentifierAction(int, int);
+ method public boolean performItemAction(android.view.MenuItem!, int);
+ method public boolean performItemAction(android.view.MenuItem!, androidx.appcompat.view.menu.MenuPresenter!, int);
+ method public boolean performShortcut(int, android.view.KeyEvent!, int);
+ method public void removeGroup(int);
+ method public void removeItem(int);
+ method public void removeItemAt(int);
+ method public void removeMenuPresenter(androidx.appcompat.view.menu.MenuPresenter!);
+ method public void restoreActionViewStates(android.os.Bundle!);
+ method public void restorePresenterStates(android.os.Bundle!);
+ method public void saveActionViewStates(android.os.Bundle!);
+ method public void savePresenterStates(android.os.Bundle!);
+ method public void setCallback(androidx.appcompat.view.menu.MenuBuilder.Callback!);
+ method public void setCurrentMenuInfo(android.view.ContextMenu.ContextMenuInfo!);
+ method public androidx.appcompat.view.menu.MenuBuilder! setDefaultShowAsAction(int);
+ method public void setGroupCheckable(int, boolean, boolean);
+ method public void setGroupEnabled(int, boolean);
+ method public void setGroupVisible(int, boolean);
+ method protected androidx.appcompat.view.menu.MenuBuilder! setHeaderIconInt(android.graphics.drawable.Drawable!);
+ method protected androidx.appcompat.view.menu.MenuBuilder! setHeaderIconInt(int);
+ method protected androidx.appcompat.view.menu.MenuBuilder! setHeaderTitleInt(CharSequence!);
+ method protected androidx.appcompat.view.menu.MenuBuilder! setHeaderTitleInt(int);
+ method protected androidx.appcompat.view.menu.MenuBuilder! setHeaderViewInt(android.view.View!);
+ method public void setOptionalIconsVisible(boolean);
+ method public void setOverrideVisibleItems(boolean);
+ method public void setQwertyMode(boolean);
+ method public void setShortcutsVisible(boolean);
+ method public int size();
+ method public void startDispatchingItemsChanged();
+ method public void stopDispatchingItemsChanged();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static interface MenuBuilder.Callback {
+ method public boolean onMenuItemSelected(androidx.appcompat.view.menu.MenuBuilder, android.view.MenuItem);
+ method public void onMenuModeChange(androidx.appcompat.view.menu.MenuBuilder);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static interface MenuBuilder.ItemInvoker {
+ method public boolean invokeItem(androidx.appcompat.view.menu.MenuItemImpl!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class MenuItemImpl implements androidx.core.internal.view.SupportMenuItem {
+ method public void actionFormatChanged();
+ method public boolean collapseActionView();
+ method public boolean expandActionView();
+ method public android.view.ActionProvider! getActionProvider();
+ method public android.view.View! getActionView();
+ method public char getAlphabeticShortcut();
+ method public int getGroupId();
+ method public android.graphics.drawable.Drawable! getIcon();
+ method public android.content.Intent! getIntent();
+ method public int getItemId();
+ method public android.view.ContextMenu.ContextMenuInfo! getMenuInfo();
+ method public char getNumericShortcut();
+ method public int getOrder();
+ method public int getOrdering();
+ method public android.view.SubMenu! getSubMenu();
+ method public androidx.core.view.ActionProvider! getSupportActionProvider();
+ method public CharSequence! getTitle();
+ method public CharSequence! getTitleCondensed();
+ method public boolean hasCollapsibleActionView();
+ method public boolean hasSubMenu();
+ method public boolean invoke();
+ method public boolean isActionButton();
+ method public boolean isActionViewExpanded();
+ method public boolean isCheckable();
+ method public boolean isChecked();
+ method public boolean isEnabled();
+ method public boolean isExclusiveCheckable();
+ method public boolean isVisible();
+ method public boolean requestsActionButton();
+ method public boolean requiresActionButton();
+ method public boolean requiresOverflow();
+ method public android.view.MenuItem! setActionProvider(android.view.ActionProvider!);
+ method public androidx.core.internal.view.SupportMenuItem setActionView(android.view.View!);
+ method public androidx.core.internal.view.SupportMenuItem setActionView(int);
+ method public void setActionViewExpanded(boolean);
+ method public android.view.MenuItem! setAlphabeticShortcut(char);
+ method public android.view.MenuItem! setCallback(Runnable!);
+ method public android.view.MenuItem! setCheckable(boolean);
+ method public android.view.MenuItem! setChecked(boolean);
+ method public androidx.core.internal.view.SupportMenuItem setContentDescription(CharSequence!);
+ method public android.view.MenuItem! setEnabled(boolean);
+ method public void setExclusiveCheckable(boolean);
+ method public android.view.MenuItem! setIcon(android.graphics.drawable.Drawable!);
+ method public android.view.MenuItem! setIcon(int);
+ method public android.view.MenuItem! setIntent(android.content.Intent!);
+ method public void setIsActionButton(boolean);
+ method public android.view.MenuItem! setNumericShortcut(char);
+ method public android.view.MenuItem! setOnActionExpandListener(android.view.MenuItem.OnActionExpandListener!);
+ method public android.view.MenuItem! setOnMenuItemClickListener(android.view.MenuItem.OnMenuItemClickListener!);
+ method public android.view.MenuItem! setShortcut(char, char);
+ method public void setShowAsAction(int);
+ method public androidx.core.internal.view.SupportMenuItem setShowAsActionFlags(int);
+ method public void setSubMenu(androidx.appcompat.view.menu.SubMenuBuilder!);
+ method public androidx.core.internal.view.SupportMenuItem setSupportActionProvider(androidx.core.view.ActionProvider!);
+ method public android.view.MenuItem! setTitle(CharSequence!);
+ method public android.view.MenuItem! setTitle(int);
+ method public android.view.MenuItem! setTitleCondensed(CharSequence!);
+ method public androidx.core.internal.view.SupportMenuItem setTooltipText(CharSequence!);
+ method public android.view.MenuItem! setVisible(boolean);
+ method public boolean shouldShowIcon();
+ method public boolean showsTextAsAction();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class MenuItemWrapperICS implements android.view.MenuItem {
+ ctor public MenuItemWrapperICS(android.content.Context!, androidx.core.internal.view.SupportMenuItem!);
+ method public boolean collapseActionView();
+ method public boolean expandActionView();
+ method public android.view.ActionProvider! getActionProvider();
+ method public android.view.View! getActionView();
+ method public char getAlphabeticShortcut();
+ method public int getGroupId();
+ method public android.graphics.drawable.Drawable! getIcon();
+ method public android.content.Intent! getIntent();
+ method public int getItemId();
+ method public android.view.ContextMenu.ContextMenuInfo! getMenuInfo();
+ method public char getNumericShortcut();
+ method public int getOrder();
+ method public android.view.SubMenu! getSubMenu();
+ method public CharSequence! getTitle();
+ method public CharSequence! getTitleCondensed();
+ method public boolean hasSubMenu();
+ method public boolean isActionViewExpanded();
+ method public boolean isCheckable();
+ method public boolean isChecked();
+ method public boolean isEnabled();
+ method public boolean isVisible();
+ method public android.view.MenuItem! setActionProvider(android.view.ActionProvider!);
+ method public android.view.MenuItem! setActionView(android.view.View!);
+ method public android.view.MenuItem! setActionView(int);
+ method public android.view.MenuItem! setAlphabeticShortcut(char);
+ method public android.view.MenuItem! setCheckable(boolean);
+ method public android.view.MenuItem! setChecked(boolean);
+ method public android.view.MenuItem! setEnabled(boolean);
+ method public void setExclusiveCheckable(boolean);
+ method public android.view.MenuItem! setIcon(android.graphics.drawable.Drawable!);
+ method public android.view.MenuItem! setIcon(int);
+ method public android.view.MenuItem! setIntent(android.content.Intent!);
+ method public android.view.MenuItem! setNumericShortcut(char);
+ method public android.view.MenuItem! setOnActionExpandListener(android.view.MenuItem.OnActionExpandListener!);
+ method public android.view.MenuItem! setOnMenuItemClickListener(android.view.MenuItem.OnMenuItemClickListener!);
+ method public android.view.MenuItem! setShortcut(char, char);
+ method public void setShowAsAction(int);
+ method public android.view.MenuItem! setShowAsActionFlags(int);
+ method public android.view.MenuItem! setTitle(CharSequence!);
+ method public android.view.MenuItem! setTitle(int);
+ method public android.view.MenuItem! setTitleCondensed(CharSequence!);
+ method public android.view.MenuItem! setVisible(boolean);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class MenuPopupHelper {
+ ctor public MenuPopupHelper(android.content.Context, androidx.appcompat.view.menu.MenuBuilder);
+ ctor public MenuPopupHelper(android.content.Context, androidx.appcompat.view.menu.MenuBuilder, android.view.View);
+ ctor public MenuPopupHelper(android.content.Context, androidx.appcompat.view.menu.MenuBuilder, android.view.View, boolean, @AttrRes int);
+ ctor public MenuPopupHelper(android.content.Context, androidx.appcompat.view.menu.MenuBuilder, android.view.View, boolean, @AttrRes int, @StyleRes int);
+ method public void dismiss();
+ method public int getGravity();
+ method public android.widget.ListView! getListView();
+ method public boolean isShowing();
+ method protected void onDismiss();
+ method public void setAnchorView(android.view.View);
+ method public void setForceShowIcon(boolean);
+ method public void setGravity(int);
+ method public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener?);
+ method public void setPresenterCallback(androidx.appcompat.view.menu.MenuPresenter.Callback?);
+ method public void show();
+ method public void show(int, int);
+ method public boolean tryShow();
+ method public boolean tryShow(int, int);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface MenuPresenter {
+ method public boolean collapseItemActionView(androidx.appcompat.view.menu.MenuBuilder!, androidx.appcompat.view.menu.MenuItemImpl!);
+ method public boolean expandItemActionView(androidx.appcompat.view.menu.MenuBuilder!, androidx.appcompat.view.menu.MenuItemImpl!);
+ method public boolean flagActionItems();
+ method public int getId();
+ method public androidx.appcompat.view.menu.MenuView! getMenuView(android.view.ViewGroup!);
+ method public void initForMenu(android.content.Context!, androidx.appcompat.view.menu.MenuBuilder!);
+ method public void onCloseMenu(androidx.appcompat.view.menu.MenuBuilder!, boolean);
+ method public void onRestoreInstanceState(android.os.Parcelable!);
+ method public android.os.Parcelable! onSaveInstanceState();
+ method public boolean onSubMenuSelected(androidx.appcompat.view.menu.SubMenuBuilder!);
+ method public void setCallback(androidx.appcompat.view.menu.MenuPresenter.Callback!);
+ method public void updateMenuView(boolean);
+ }
+
+ public static interface MenuPresenter.Callback {
+ method public void onCloseMenu(androidx.appcompat.view.menu.MenuBuilder, boolean);
+ method public boolean onOpenSubMenu(androidx.appcompat.view.menu.MenuBuilder);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface MenuView {
+ method public int getWindowAnimations();
+ method public void initialize(androidx.appcompat.view.menu.MenuBuilder!);
+ }
+
+ public static interface MenuView.ItemView {
+ method public androidx.appcompat.view.menu.MenuItemImpl! getItemData();
+ method public void initialize(androidx.appcompat.view.menu.MenuItemImpl!, int);
+ method public boolean prefersCondensedTitle();
+ method public void setCheckable(boolean);
+ method public void setChecked(boolean);
+ method public void setEnabled(boolean);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setShortcut(boolean, char);
+ method public void setTitle(CharSequence!);
+ method public boolean showsIcon();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class MenuWrapperICS implements android.view.Menu {
+ ctor public MenuWrapperICS(android.content.Context!, androidx.core.internal.view.SupportMenu!);
+ method public android.view.MenuItem! add(CharSequence!);
+ method public android.view.MenuItem! add(int);
+ method public android.view.MenuItem! add(int, int, int, CharSequence!);
+ method public android.view.MenuItem! add(int, int, int, int);
+ method public int addIntentOptions(int, int, int, android.content.ComponentName!, android.content.Intent![]!, android.content.Intent!, int, android.view.MenuItem![]!);
+ method public android.view.SubMenu! addSubMenu(CharSequence!);
+ method public android.view.SubMenu! addSubMenu(int);
+ method public android.view.SubMenu! addSubMenu(int, int, int, CharSequence!);
+ method public android.view.SubMenu! addSubMenu(int, int, int, int);
+ method public void clear();
+ method public void close();
+ method public android.view.MenuItem! findItem(int);
+ method public android.view.MenuItem! getItem(int);
+ method public boolean hasVisibleItems();
+ method public boolean isShortcutKey(int, android.view.KeyEvent!);
+ method public boolean performIdentifierAction(int, int);
+ method public boolean performShortcut(int, android.view.KeyEvent!, int);
+ method public void removeGroup(int);
+ method public void removeItem(int);
+ method public void setGroupCheckable(int, boolean, boolean);
+ method public void setGroupEnabled(int, boolean);
+ method public void setGroupVisible(int, boolean);
+ method public void setQwertyMode(boolean);
+ method public int size();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface ShowableListMenu {
+ method public void dismiss();
+ method public android.widget.ListView! getListView();
+ method public boolean isShowing();
+ method public void show();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class SubMenuBuilder extends androidx.appcompat.view.menu.MenuBuilder implements android.view.SubMenu {
+ ctor public SubMenuBuilder(android.content.Context!, androidx.appcompat.view.menu.MenuBuilder!, androidx.appcompat.view.menu.MenuItemImpl!);
+ method public String! getActionViewStatesKey();
+ method public android.view.MenuItem! getItem();
+ method public android.view.Menu! getParentMenu();
+ method public boolean isQwertyMode();
+ method public android.view.SubMenu! setHeaderIcon(android.graphics.drawable.Drawable!);
+ method public android.view.SubMenu! setHeaderIcon(int);
+ method public android.view.SubMenu! setHeaderTitle(CharSequence!);
+ method public android.view.SubMenu! setHeaderTitle(int);
+ method public android.view.SubMenu! setHeaderView(android.view.View!);
+ method public android.view.SubMenu! setIcon(android.graphics.drawable.Drawable!);
+ method public android.view.SubMenu! setIcon(int);
+ }
+
+}
+
+package androidx.appcompat.widget {
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ActionBarContainer extends android.widget.FrameLayout {
+ ctor public ActionBarContainer(android.content.Context!);
+ ctor public ActionBarContainer(android.content.Context!, android.util.AttributeSet!);
+ method public android.view.View! getTabContainer();
+ method public void onFinishInflate();
+ method public void onLayout(boolean, int, int, int, int);
+ method public void onMeasure(int, int);
+ method public void setPrimaryBackground(android.graphics.drawable.Drawable!);
+ method public void setSplitBackground(android.graphics.drawable.Drawable!);
+ method public void setStackedBackground(android.graphics.drawable.Drawable!);
+ method public void setTabContainer(androidx.appcompat.widget.ScrollingTabContainerView!);
+ method public void setTransitioning(boolean);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ActionBarContextView extends android.view.ViewGroup {
+ ctor public ActionBarContextView(android.content.Context);
+ ctor public ActionBarContextView(android.content.Context, android.util.AttributeSet?);
+ ctor public ActionBarContextView(android.content.Context, android.util.AttributeSet?, int);
+ method public void animateToVisibility(int);
+ method public boolean canShowOverflowMenu();
+ method public void closeMode();
+ method public void dismissPopupMenus();
+ method public int getAnimatedVisibility();
+ method public int getContentHeight();
+ method public CharSequence! getSubtitle();
+ method public CharSequence! getTitle();
+ method public boolean hideOverflowMenu();
+ method public void initForMode(androidx.appcompat.view.ActionMode!);
+ method public boolean isOverflowMenuShowPending();
+ method public boolean isOverflowMenuShowing();
+ method public boolean isOverflowReserved();
+ method public boolean isTitleOptional();
+ method public void killMode();
+ method public void onDetachedFromWindow();
+ method public void postShowOverflowMenu();
+ method public void setContentHeight(int);
+ method public void setCustomView(android.view.View!);
+ method public void setSubtitle(CharSequence!);
+ method public void setTitle(CharSequence!);
+ method public void setTitleOptional(boolean);
+ method public androidx.core.view.ViewPropertyAnimatorCompat! setupAnimatorToVisibility(int, long);
+ method public boolean showOverflowMenu();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ActionBarOverlayLayout extends android.view.ViewGroup implements androidx.appcompat.widget.DecorContentParent androidx.core.view.NestedScrollingParent androidx.core.view.NestedScrollingParent2 androidx.core.view.NestedScrollingParent3 {
+ ctor public ActionBarOverlayLayout(android.content.Context);
+ ctor public ActionBarOverlayLayout(android.content.Context, android.util.AttributeSet?);
+ method public boolean canShowOverflowMenu();
+ method public void dismissPopups();
+ method protected boolean fitSystemWindows(android.graphics.Rect!);
+ method protected androidx.appcompat.widget.ActionBarOverlayLayout.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.ActionBarOverlayLayout.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method public int getActionBarHideOffset();
+ method public CharSequence! getTitle();
+ method public boolean hasIcon();
+ method public boolean hasLogo();
+ method public boolean hideOverflowMenu();
+ method public void initFeature(int);
+ method public boolean isHideOnContentScrollEnabled();
+ method public boolean isInOverlayMode();
+ method public boolean isOverflowMenuShowPending();
+ method public boolean isOverflowMenuShowing();
+ method public void onNestedPreScroll(android.view.View!, int, int, int[]!, int);
+ method public void onNestedScroll(android.view.View!, int, int, int, int, int, int[]!);
+ method public void onNestedScroll(android.view.View!, int, int, int, int, int);
+ method public void onNestedScrollAccepted(android.view.View!, android.view.View!, int, int);
+ method public boolean onStartNestedScroll(android.view.View!, android.view.View!, int, int);
+ method public void onStopNestedScroll(android.view.View!, int);
+ method public void restoreToolbarHierarchyState(android.util.SparseArray<android.os.Parcelable!>!);
+ method public void saveToolbarHierarchyState(android.util.SparseArray<android.os.Parcelable!>!);
+ method public void setActionBarHideOffset(int);
+ method public void setActionBarVisibilityCallback(androidx.appcompat.widget.ActionBarOverlayLayout.ActionBarVisibilityCallback!);
+ method public void setHasNonEmbeddedTabs(boolean);
+ method public void setHideOnContentScrollEnabled(boolean);
+ method public void setIcon(int);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setLogo(int);
+ method public void setMenu(android.view.Menu!, androidx.appcompat.view.menu.MenuPresenter.Callback!);
+ method public void setMenuPrepared();
+ method public void setOverlayMode(boolean);
+ method public void setShowingForActionMode(boolean);
+ method public void setUiOptions(int);
+ method public void setWindowCallback(android.view.Window.Callback!);
+ method public void setWindowTitle(CharSequence!);
+ method public boolean showOverflowMenu();
+ }
+
+ public static interface ActionBarOverlayLayout.ActionBarVisibilityCallback {
+ method public void enableContentAnimations(boolean);
+ method public void hideForSystem();
+ method public void onContentScrollStarted();
+ method public void onContentScrollStopped();
+ method public void onWindowVisibilityChanged(int);
+ method public void showForSystem();
+ }
+
+ public static class ActionBarOverlayLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams {
+ ctor public ActionBarOverlayLayout.LayoutParams(android.content.Context!, android.util.AttributeSet!);
+ ctor public ActionBarOverlayLayout.LayoutParams(int, int);
+ ctor public ActionBarOverlayLayout.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ ctor public ActionBarOverlayLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams!);
+ }
+
+ public class ActionMenuView extends androidx.appcompat.widget.LinearLayoutCompat implements androidx.appcompat.view.menu.MenuBuilder.ItemInvoker androidx.appcompat.view.menu.MenuView {
+ ctor public ActionMenuView(android.content.Context);
+ ctor public ActionMenuView(android.content.Context, android.util.AttributeSet?);
+ method public void dismissPopupMenus();
+ method protected androidx.appcompat.widget.ActionMenuView.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.ActionMenuView.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.ActionMenuView.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.appcompat.widget.ActionMenuView.LayoutParams! generateOverflowButtonLayoutParams();
+ method public android.view.Menu! getMenu();
+ method public android.graphics.drawable.Drawable? getOverflowIcon();
+ method public int getPopupTheme();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public int getWindowAnimations();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) protected boolean hasSupportDividerBeforeChildAt(int);
+ method public boolean hideOverflowMenu();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void initialize(androidx.appcompat.view.menu.MenuBuilder!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean invokeItem(androidx.appcompat.view.menu.MenuItemImpl!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean isOverflowMenuShowPending();
+ method public boolean isOverflowMenuShowing();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean isOverflowReserved();
+ method public void onConfigurationChanged(android.content.res.Configuration!);
+ method public void onDetachedFromWindow();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.appcompat.view.menu.MenuBuilder! peekMenu();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setExpandedActionViewsExclusive(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setMenuCallbacks(androidx.appcompat.view.menu.MenuPresenter.Callback!, androidx.appcompat.view.menu.MenuBuilder.Callback!);
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.ActionMenuView.OnMenuItemClickListener!);
+ method public void setOverflowIcon(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setOverflowReserved(boolean);
+ method public void setPopupTheme(@StyleRes int);
+ method public boolean showOverflowMenu();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static interface ActionMenuView.ActionMenuChildView {
+ method public boolean needsDividerAfter();
+ method public boolean needsDividerBefore();
+ }
+
+ public static class ActionMenuView.LayoutParams extends androidx.appcompat.widget.LinearLayoutCompat.LayoutParams {
+ ctor public ActionMenuView.LayoutParams(android.content.Context!, android.util.AttributeSet!);
+ ctor public ActionMenuView.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ ctor public ActionMenuView.LayoutParams(androidx.appcompat.widget.ActionMenuView.LayoutParams!);
+ ctor public ActionMenuView.LayoutParams(int, int);
+ field public int cellsUsed;
+ field public boolean expandable;
+ field public int extraPixels;
+ field public boolean isOverflowButton;
+ field public boolean preventEdgeOffset;
+ }
+
+ public static interface ActionMenuView.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ActivityChooserView extends android.view.ViewGroup {
+ ctor public ActivityChooserView(android.content.Context);
+ ctor public ActivityChooserView(android.content.Context, android.util.AttributeSet?);
+ ctor public ActivityChooserView(android.content.Context, android.util.AttributeSet?, int);
+ method public boolean dismissPopup();
+ method public boolean isShowingPopup();
+ method public void setDefaultActionButtonContentDescription(int);
+ method public void setExpandActivityOverflowButtonContentDescription(int);
+ method public void setExpandActivityOverflowButtonDrawable(android.graphics.drawable.Drawable!);
+ method public void setInitialActivityCount(int);
+ method public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setProvider(androidx.core.view.ActionProvider!);
+ method public boolean showPopup();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static class ActivityChooserView.InnerLayout extends android.widget.LinearLayout {
+ ctor public ActivityChooserView.InnerLayout(android.content.Context!, android.util.AttributeSet!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class AlertDialogLayout extends androidx.appcompat.widget.LinearLayoutCompat {
+ ctor public AlertDialogLayout(android.content.Context?);
+ ctor public AlertDialogLayout(android.content.Context?, android.util.AttributeSet?);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatAutoCompleteTextView extends android.widget.AutoCompleteTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatAutoCompleteTextView(android.content.Context);
+ ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatAutoCompleteTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatButton extends android.widget.Button implements androidx.core.widget.AutoSizeableTextView androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatButton(android.content.Context);
+ ctor public AppCompatButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) throws java.lang.IllegalArgumentException;
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithPresetSizes(int[], int) throws java.lang.IllegalArgumentException;
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method public void setSupportAllCaps(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatCheckBox extends android.widget.CheckBox implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundButton androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatCheckBox(android.content.Context);
+ ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatCheckBox(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportButtonTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportButtonTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatCheckedTextView extends android.widget.CheckedTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCheckedTextView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatCheckedTextView(android.content.Context);
+ ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatCheckedTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCheckMarkTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCheckMarkTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCheckMarkTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCheckMarkTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context, int);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class AppCompatDrawableManager {
+ ctor public AppCompatDrawableManager();
+ method public static androidx.appcompat.widget.AppCompatDrawableManager! get();
+ method public android.graphics.drawable.Drawable! getDrawable(android.content.Context, @DrawableRes int);
+ method public static android.graphics.PorterDuffColorFilter! getPorterDuffColorFilter(int, android.graphics.PorterDuff.Mode!);
+ method public void onConfigurationChanged(android.content.Context);
+ method public static void preload();
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatEditText extends android.widget.EditText implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.OnReceiveContentViewBehavior androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatEditText(android.content.Context);
+ ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatEditText(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public androidx.core.view.ContentInfoCompat? onReceiveContent(androidx.core.view.ContentInfoCompat);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatImageButton extends android.widget.ImageButton implements androidx.core.view.TintableBackgroundView androidx.core.widget.TintableImageSourceView {
+ ctor public AppCompatImageButton(android.content.Context);
+ ctor public AppCompatImageButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatImageButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportImageTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportImageTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportImageTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportImageTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class AppCompatImageHelper {
+ ctor public AppCompatImageHelper(android.widget.ImageView);
+ method public void loadFromAttributes(android.util.AttributeSet!, int);
+ method public void setImageResource(int);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatImageView extends android.widget.ImageView implements androidx.core.view.TintableBackgroundView androidx.core.widget.TintableImageSourceView {
+ ctor public AppCompatImageView(android.content.Context);
+ ctor public AppCompatImageView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatImageView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportImageTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportImageTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportImageTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportImageTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatMultiAutoCompleteTextView extends android.widget.MultiAutoCompleteTextView implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context);
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatMultiAutoCompleteTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatRadioButton extends android.widget.RadioButton implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundButton androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatRadioButton(android.content.Context!);
+ ctor public AppCompatRadioButton(android.content.Context!, android.util.AttributeSet?);
+ ctor public AppCompatRadioButton(android.content.Context!, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportButtonTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportButtonTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportButtonTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public class AppCompatRatingBar extends android.widget.RatingBar {
+ ctor public AppCompatRatingBar(android.content.Context);
+ ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatRatingBar(android.content.Context, android.util.AttributeSet?, int);
+ }
+
+ public class AppCompatSeekBar extends android.widget.SeekBar {
+ ctor public AppCompatSeekBar(android.content.Context);
+ ctor public AppCompatSeekBar(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatSeekBar(android.content.Context, android.util.AttributeSet?, int);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatSpinner extends android.widget.Spinner implements androidx.core.view.TintableBackgroundView {
+ ctor public AppCompatSpinner(android.content.Context);
+ ctor public AppCompatSpinner(android.content.Context, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int, int);
+ ctor public AppCompatSpinner(android.content.Context, android.util.AttributeSet?, int, int, android.content.res.Resources.Theme!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatTextView extends android.widget.TextView implements androidx.core.widget.AutoSizeableTextView androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatTextView(android.content.Context);
+ ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatTextView(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public androidx.core.text.PrecomputedTextCompat.Params getTextMetricsParamsCompat();
+ method public boolean isEmojiCompatEnabled();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithConfiguration(int, int, int, int) throws java.lang.IllegalArgumentException;
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAutoSizeTextTypeUniformWithPresetSizes(int[], int) throws java.lang.IllegalArgumentException;
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setEmojiCompatEnabled(boolean);
+ method public void setPrecomputedText(androidx.core.text.PrecomputedTextCompat);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTextAppearance(android.content.Context!, int);
+ method public void setTextFuture(java.util.concurrent.Future<androidx.core.text.PrecomputedTextCompat!>?);
+ method public void setTextMetricsParamsCompat(androidx.core.text.PrecomputedTextCompat.Params);
+ }
+
+ @androidx.resourceinspection.annotation.AppCompatShadowedAttributes public class AppCompatToggleButton extends android.widget.ToggleButton implements androidx.appcompat.widget.EmojiCompatConfigurationView androidx.core.view.TintableBackgroundView androidx.core.widget.TintableCompoundDrawablesView {
+ ctor public AppCompatToggleButton(android.content.Context);
+ ctor public AppCompatToggleButton(android.content.Context, android.util.AttributeSet?);
+ ctor public AppCompatToggleButton(android.content.Context, android.util.AttributeSet?, int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportBackgroundTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportBackgroundTintMode();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.content.res.ColorStateList? getSupportCompoundDrawablesTintList();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public android.graphics.PorterDuff.Mode? getSupportCompoundDrawablesTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void setEmojiCompatEnabled(boolean);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportBackgroundTintMode(android.graphics.PorterDuff.Mode?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintList(android.content.res.ColorStateList?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setSupportCompoundDrawablesTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ButtonBarLayout extends android.widget.LinearLayout {
+ ctor public ButtonBarLayout(android.content.Context, android.util.AttributeSet?);
+ method public void setAllowStacking(boolean);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface DecorContentParent {
+ method public boolean canShowOverflowMenu();
+ method public void dismissPopups();
+ method public CharSequence! getTitle();
+ method public boolean hasIcon();
+ method public boolean hasLogo();
+ method public boolean hideOverflowMenu();
+ method public void initFeature(int);
+ method public boolean isOverflowMenuShowPending();
+ method public boolean isOverflowMenuShowing();
+ method public void restoreToolbarHierarchyState(android.util.SparseArray<android.os.Parcelable!>!);
+ method public void saveToolbarHierarchyState(android.util.SparseArray<android.os.Parcelable!>!);
+ method public void setIcon(int);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setLogo(int);
+ method public void setMenu(android.view.Menu!, androidx.appcompat.view.menu.MenuPresenter.Callback!);
+ method public void setMenuPrepared();
+ method public void setUiOptions(int);
+ method public void setWindowCallback(android.view.Window.Callback!);
+ method public void setWindowTitle(CharSequence!);
+ method public boolean showOverflowMenu();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface DecorToolbar {
+ method public void animateToVisibility(int);
+ method public boolean canShowOverflowMenu();
+ method public void collapseActionView();
+ method public void dismissPopupMenus();
+ method public android.content.Context! getContext();
+ method public android.view.View! getCustomView();
+ method public int getDisplayOptions();
+ method public int getDropdownItemCount();
+ method public int getDropdownSelectedPosition();
+ method public int getHeight();
+ method public android.view.Menu! getMenu();
+ method public int getNavigationMode();
+ method public CharSequence! getSubtitle();
+ method public CharSequence! getTitle();
+ method public android.view.ViewGroup! getViewGroup();
+ method public int getVisibility();
+ method public boolean hasEmbeddedTabs();
+ method public boolean hasExpandedActionView();
+ method public boolean hasIcon();
+ method public boolean hasLogo();
+ method public boolean hideOverflowMenu();
+ method public void initIndeterminateProgress();
+ method public void initProgress();
+ method public boolean isOverflowMenuShowPending();
+ method public boolean isOverflowMenuShowing();
+ method public boolean isTitleTruncated();
+ method public void restoreHierarchyState(android.util.SparseArray<android.os.Parcelable!>!);
+ method public void saveHierarchyState(android.util.SparseArray<android.os.Parcelable!>!);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public void setCollapsible(boolean);
+ method public void setCustomView(android.view.View!);
+ method public void setDefaultNavigationContentDescription(int);
+ method public void setDefaultNavigationIcon(android.graphics.drawable.Drawable!);
+ method public void setDisplayOptions(int);
+ method public void setDropdownParams(android.widget.SpinnerAdapter!, android.widget.AdapterView.OnItemSelectedListener!);
+ method public void setDropdownSelectedPosition(int);
+ method public void setEmbeddedTabView(androidx.appcompat.widget.ScrollingTabContainerView!);
+ method public void setHomeButtonEnabled(boolean);
+ method public void setIcon(int);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setLogo(int);
+ method public void setLogo(android.graphics.drawable.Drawable!);
+ method public void setMenu(android.view.Menu!, androidx.appcompat.view.menu.MenuPresenter.Callback!);
+ method public void setMenuCallbacks(androidx.appcompat.view.menu.MenuPresenter.Callback!, androidx.appcompat.view.menu.MenuBuilder.Callback!);
+ method public void setMenuPrepared();
+ method public void setNavigationContentDescription(CharSequence!);
+ method public void setNavigationContentDescription(int);
+ method public void setNavigationIcon(android.graphics.drawable.Drawable!);
+ method public void setNavigationIcon(int);
+ method public void setNavigationMode(int);
+ method public void setSubtitle(CharSequence!);
+ method public void setTitle(CharSequence!);
+ method public void setVisibility(int);
+ method public void setWindowCallback(android.view.Window.Callback!);
+ method public void setWindowTitle(CharSequence!);
+ method public androidx.core.view.ViewPropertyAnimatorCompat! setupAnimatorToVisibility(int, long);
+ method public boolean showOverflowMenu();
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class DialogTitle extends androidx.appcompat.widget.AppCompatTextView {
+ ctor public DialogTitle(android.content.Context, android.util.AttributeSet?, int);
+ ctor public DialogTitle(android.content.Context, android.util.AttributeSet?);
+ ctor public DialogTitle(android.content.Context);
+ }
+
+ public interface EmojiCompatConfigurationView {
+ method public boolean isEmojiCompatEnabled();
+ method public void setEmojiCompatEnabled(boolean);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class FitWindowsFrameLayout extends android.widget.FrameLayout implements androidx.appcompat.widget.FitWindowsViewGroup {
+ ctor public FitWindowsFrameLayout(android.content.Context);
+ ctor public FitWindowsFrameLayout(android.content.Context, android.util.AttributeSet?);
+ method protected boolean fitSystemWindows(android.graphics.Rect!);
+ method public void setOnFitSystemWindowsListener(androidx.appcompat.widget.FitWindowsViewGroup.OnFitSystemWindowsListener!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class FitWindowsLinearLayout extends android.widget.LinearLayout implements androidx.appcompat.widget.FitWindowsViewGroup {
+ ctor public FitWindowsLinearLayout(android.content.Context);
+ ctor public FitWindowsLinearLayout(android.content.Context, android.util.AttributeSet?);
+ method protected boolean fitSystemWindows(android.graphics.Rect!);
+ method public void setOnFitSystemWindowsListener(androidx.appcompat.widget.FitWindowsViewGroup.OnFitSystemWindowsListener!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface FitWindowsViewGroup {
+ method public void setOnFitSystemWindowsListener(androidx.appcompat.widget.FitWindowsViewGroup.OnFitSystemWindowsListener!);
+ }
+
+ public static interface FitWindowsViewGroup.OnFitSystemWindowsListener {
+ method public void onFitSystemWindows(android.graphics.Rect!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public abstract class ForwardingListener implements android.view.View.OnAttachStateChangeListener android.view.View.OnTouchListener {
+ ctor public ForwardingListener(android.view.View!);
+ method public abstract androidx.appcompat.view.menu.ShowableListMenu! getPopup();
+ method protected boolean onForwardingStarted();
+ method protected boolean onForwardingStopped();
+ method public boolean onTouch(android.view.View!, android.view.MotionEvent!);
+ method public void onViewAttachedToWindow(android.view.View!);
+ method public void onViewDetachedFromWindow(android.view.View!);
+ }
+
+ public class LinearLayoutCompat extends android.view.ViewGroup {
+ ctor public LinearLayoutCompat(android.content.Context);
+ ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet?);
+ ctor public LinearLayoutCompat(android.content.Context, android.util.AttributeSet?, int);
+ method protected androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.LinearLayoutCompat.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method @androidx.resourceinspection.annotation.Attribute("android:baselineAlignedChildIndex") public int getBaselineAlignedChildIndex();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:divider") public android.graphics.drawable.Drawable! getDividerDrawable();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:dividerPadding") public int getDividerPadding();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public int getDividerWidth();
+ method @GravityInt @androidx.resourceinspection.annotation.Attribute("android:gravity") public int getGravity();
+ method @androidx.appcompat.widget.LinearLayoutCompat.OrientationMode @androidx.resourceinspection.annotation.Attribute(value="android:orientation", intMapping={@androidx.resourceinspection.annotation.Attribute.IntMap(name="horizontal", value=0), @androidx.resourceinspection.annotation.Attribute.IntMap(name="vertical", value=1)}) public int getOrientation();
+ method @androidx.appcompat.widget.LinearLayoutCompat.DividerMode @androidx.resourceinspection.annotation.Attribute(value="androidx.appcompat:showDividers", intMapping={@androidx.resourceinspection.annotation.Attribute.IntMap(name="none", value=0), @androidx.resourceinspection.annotation.Attribute.IntMap(name="beginning", value=1, mask=1), @androidx.resourceinspection.annotation.Attribute.IntMap(name="middle", value=2, mask=2), @androidx.resourceinspection.annotation.Attribute.IntMap(name="end", value=4, mask=4)}) public int getShowDividers();
+ method @androidx.resourceinspection.annotation.Attribute("android:weightSum") public float getWeightSum();
+ method @androidx.resourceinspection.annotation.Attribute("android:baselineAligned") public boolean isBaselineAligned();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:measureWithLargestChild") public boolean isMeasureWithLargestChildEnabled();
+ method public void setBaselineAligned(boolean);
+ method public void setBaselineAlignedChildIndex(int);
+ method public void setDividerDrawable(android.graphics.drawable.Drawable!);
+ method public void setDividerPadding(int);
+ method public void setGravity(@GravityInt int);
+ method public void setHorizontalGravity(int);
+ method public void setMeasureWithLargestChildEnabled(boolean);
+ method public void setOrientation(@androidx.appcompat.widget.LinearLayoutCompat.OrientationMode int);
+ method public void setShowDividers(@androidx.appcompat.widget.LinearLayoutCompat.DividerMode int);
+ method public void setVerticalGravity(int);
+ method public void setWeightSum(float);
+ field public static final int HORIZONTAL = 0; // 0x0
+ field public static final int SHOW_DIVIDER_BEGINNING = 1; // 0x1
+ field public static final int SHOW_DIVIDER_END = 4; // 0x4
+ field public static final int SHOW_DIVIDER_MIDDLE = 2; // 0x2
+ field public static final int SHOW_DIVIDER_NONE = 0; // 0x0
+ field public static final int VERTICAL = 1; // 0x1
+ }
+
+ @IntDef(flag=true, value={androidx.appcompat.widget.LinearLayoutCompat.SHOW_DIVIDER_NONE, androidx.appcompat.widget.LinearLayoutCompat.SHOW_DIVIDER_BEGINNING, androidx.appcompat.widget.LinearLayoutCompat.SHOW_DIVIDER_MIDDLE, androidx.appcompat.widget.LinearLayoutCompat.SHOW_DIVIDER_END}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface LinearLayoutCompat.DividerMode {
+ }
+
+ public static class LinearLayoutCompat.LayoutParams extends android.widget.LinearLayout.LayoutParams {
+ ctor public LinearLayoutCompat.LayoutParams(android.content.Context!, android.util.AttributeSet!);
+ ctor public LinearLayoutCompat.LayoutParams(int, int);
+ ctor public LinearLayoutCompat.LayoutParams(int, int, float);
+ ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ ctor public LinearLayoutCompat.LayoutParams(android.view.ViewGroup.MarginLayoutParams!);
+ }
+
+ @IntDef({androidx.appcompat.widget.LinearLayoutCompat.HORIZONTAL, androidx.appcompat.widget.LinearLayoutCompat.VERTICAL}) @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) @java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface LinearLayoutCompat.OrientationMode {
+ }
+
+ public class ListPopupWindow implements androidx.appcompat.view.menu.ShowableListMenu {
+ ctor public ListPopupWindow(android.content.Context);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?, @AttrRes int);
+ ctor public ListPopupWindow(android.content.Context, android.util.AttributeSet?, @AttrRes int, @StyleRes int);
+ method public void clearListSelection();
+ method public android.view.View.OnTouchListener! createDragToOpenListener(android.view.View!);
+ method public void dismiss();
+ method public android.view.View? getAnchorView();
+ method @StyleRes public int getAnimationStyle();
+ method public android.graphics.drawable.Drawable? getBackground();
+ method public android.graphics.Rect? getEpicenterBounds();
+ method public int getHeight();
+ method public int getHorizontalOffset();
+ method public int getInputMethodMode();
+ method public android.widget.ListView? getListView();
+ method public int getPromptPosition();
+ method public Object? getSelectedItem();
+ method public long getSelectedItemId();
+ method public int getSelectedItemPosition();
+ method public android.view.View? getSelectedView();
+ method public int getSoftInputMode();
+ method public int getVerticalOffset();
+ method public int getWidth();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean isDropDownAlwaysVisible();
+ method public boolean isInputMethodNotNeeded();
+ method public boolean isModal();
+ method public boolean isShowing();
+ method public boolean onKeyDown(int, android.view.KeyEvent);
+ method public boolean onKeyPreIme(int, android.view.KeyEvent);
+ method public boolean onKeyUp(int, android.view.KeyEvent);
+ method public boolean performItemClick(int);
+ method public void postShow();
+ method public void setAdapter(android.widget.ListAdapter?);
+ method public void setAnchorView(android.view.View?);
+ method public void setAnimationStyle(@StyleRes int);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable?);
+ method public void setContentWidth(int);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setDropDownAlwaysVisible(boolean);
+ method public void setDropDownGravity(int);
+ method public void setEpicenterBounds(android.graphics.Rect?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setForceIgnoreOutsideTouch(boolean);
+ method public void setHeight(int);
+ method public void setHorizontalOffset(int);
+ method public void setInputMethodMode(int);
+ method public void setListSelector(android.graphics.drawable.Drawable!);
+ method public void setModal(boolean);
+ method public void setOnDismissListener(android.widget.PopupWindow.OnDismissListener?);
+ method public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener?);
+ method public void setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setOverlapAnchor(boolean);
+ method public void setPromptPosition(int);
+ method public void setPromptView(android.view.View?);
+ method public void setSelection(int);
+ method public void setSoftInputMode(int);
+ method public void setVerticalOffset(int);
+ method public void setWidth(int);
+ method public void setWindowLayoutType(int);
+ method public void show();
+ field public static final int INPUT_METHOD_FROM_FOCUSABLE = 0; // 0x0
+ field public static final int INPUT_METHOD_NEEDED = 1; // 0x1
+ field public static final int INPUT_METHOD_NOT_NEEDED = 2; // 0x2
+ field public static final int MATCH_PARENT = -1; // 0xffffffff
+ field public static final int POSITION_PROMPT_ABOVE = 0; // 0x0
+ field public static final int POSITION_PROMPT_BELOW = 1; // 0x1
+ field public static final int WRAP_CONTENT = -2; // 0xfffffffe
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface MenuItemHoverListener {
+ method public void onItemHoverEnter(androidx.appcompat.view.menu.MenuBuilder, android.view.MenuItem);
+ method public void onItemHoverExit(androidx.appcompat.view.menu.MenuBuilder, android.view.MenuItem);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class MenuPopupWindow extends androidx.appcompat.widget.ListPopupWindow implements androidx.appcompat.widget.MenuItemHoverListener {
+ ctor public MenuPopupWindow(android.content.Context, android.util.AttributeSet?, int, int);
+ method public void onItemHoverEnter(androidx.appcompat.view.menu.MenuBuilder, android.view.MenuItem);
+ method public void onItemHoverExit(androidx.appcompat.view.menu.MenuBuilder, android.view.MenuItem);
+ method public void setEnterTransition(Object!);
+ method public void setExitTransition(Object!);
+ method public void setHoverListener(androidx.appcompat.widget.MenuItemHoverListener!);
+ method public void setTouchModal(boolean);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static class MenuPopupWindow.MenuDropDownListView extends android.widget.ListView {
+ ctor public MenuPopupWindow.MenuDropDownListView(android.content.Context!, boolean);
+ method public void clearSelection();
+ method public int lookForSelectablePosition(int, boolean);
+ method public int measureHeightOfChildrenCompat(int, int, int, int, int);
+ method public boolean onForwardedEvent(android.view.MotionEvent!, int);
+ method public void setHoverListener(androidx.appcompat.widget.MenuItemHoverListener!);
+ field public static final int INVALID_POSITION = -1; // 0xffffffff
+ field public static final int NO_POSITION = -1; // 0xffffffff
+ }
+
+ public class PopupMenu {
+ ctor public PopupMenu(android.content.Context, android.view.View);
+ ctor public PopupMenu(android.content.Context, android.view.View, int);
+ ctor public PopupMenu(android.content.Context, android.view.View, int, @AttrRes int, @StyleRes int);
+ method public void dismiss();
+ method public android.view.View.OnTouchListener getDragToOpenListener();
+ method public int getGravity();
+ method public android.view.Menu getMenu();
+ method public android.view.MenuInflater getMenuInflater();
+ method public void inflate(@MenuRes int);
+ method public void setForceShowIcon(boolean);
+ method public void setGravity(int);
+ method public void setOnDismissListener(androidx.appcompat.widget.PopupMenu.OnDismissListener?);
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.PopupMenu.OnMenuItemClickListener?);
+ method public void show();
+ }
+
+ public static interface PopupMenu.OnDismissListener {
+ method public void onDismiss(androidx.appcompat.widget.PopupMenu!);
+ }
+
+ public static interface PopupMenu.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ScrollingTabContainerView extends android.widget.HorizontalScrollView implements android.widget.AdapterView.OnItemSelectedListener {
+ ctor public ScrollingTabContainerView(android.content.Context);
+ method public void addTab(androidx.appcompat.app.ActionBar.Tab!, boolean);
+ method public void addTab(androidx.appcompat.app.ActionBar.Tab!, int, boolean);
+ method public void animateToTab(int);
+ method public void animateToVisibility(int);
+ method public void onAttachedToWindow();
+ method public void onDetachedFromWindow();
+ method public void onItemSelected(android.widget.AdapterView<?>!, android.view.View!, int, long);
+ method public void onMeasure(int, int);
+ method public void onNothingSelected(android.widget.AdapterView<?>!);
+ method public void removeAllTabs();
+ method public void removeTabAt(int);
+ method public void setAllowCollapse(boolean);
+ method public void setContentHeight(int);
+ method public void setTabSelected(int);
+ method public void updateTab(int);
+ field protected final androidx.appcompat.widget.ScrollingTabContainerView.VisibilityAnimListener! mVisAnimListener;
+ field protected android.view.ViewPropertyAnimator! mVisibilityAnim;
+ }
+
+ protected class ScrollingTabContainerView.VisibilityAnimListener extends android.animation.AnimatorListenerAdapter {
+ ctor protected ScrollingTabContainerView.VisibilityAnimListener();
+ method public androidx.appcompat.widget.ScrollingTabContainerView.VisibilityAnimListener! withFinalVisibility(android.view.ViewPropertyAnimator!, int);
+ }
+
+ public class SearchView extends androidx.appcompat.widget.LinearLayoutCompat implements androidx.appcompat.view.CollapsibleActionView {
+ ctor public SearchView(android.content.Context);
+ ctor public SearchView(android.content.Context, android.util.AttributeSet?);
+ ctor public SearchView(android.content.Context, android.util.AttributeSet?, int);
+ method @androidx.resourceinspection.annotation.Attribute("android:imeOptions") public int getImeOptions();
+ method public int getInputType();
+ method @androidx.resourceinspection.annotation.Attribute("android:maxWidth") public int getMaxWidth();
+ method public CharSequence! getQuery();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:queryHint") public CharSequence? getQueryHint();
+ method public androidx.cursoradapter.widget.CursorAdapter! getSuggestionsAdapter();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:iconifiedByDefault") public boolean isIconfiedByDefault();
+ method public boolean isIconified();
+ method public boolean isQueryRefinementEnabled();
+ method public boolean isSubmitButtonEnabled();
+ method public void onActionViewCollapsed();
+ method public void onActionViewExpanded();
+ method protected void onQueryRefine(CharSequence?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setAppSearchData(android.os.Bundle!);
+ method public void setIconified(boolean);
+ method public void setIconifiedByDefault(boolean);
+ method public void setImeOptions(int);
+ method public void setInputType(int);
+ method public void setMaxWidth(int);
+ method public void setOnCloseListener(androidx.appcompat.widget.SearchView.OnCloseListener!);
+ method public void setOnQueryTextFocusChangeListener(android.view.View.OnFocusChangeListener!);
+ method public void setOnQueryTextListener(androidx.appcompat.widget.SearchView.OnQueryTextListener!);
+ method public void setOnSearchClickListener(android.view.View.OnClickListener!);
+ method public void setOnSuggestionListener(androidx.appcompat.widget.SearchView.OnSuggestionListener!);
+ method public void setQuery(CharSequence!, boolean);
+ method public void setQueryHint(CharSequence?);
+ method public void setQueryRefinementEnabled(boolean);
+ method public void setSearchableInfo(android.app.SearchableInfo!);
+ method public void setSubmitButtonEnabled(boolean);
+ method public void setSuggestionsAdapter(androidx.cursoradapter.widget.CursorAdapter!);
+ }
+
+ public static interface SearchView.OnCloseListener {
+ method public boolean onClose();
+ }
+
+ public static interface SearchView.OnQueryTextListener {
+ method public boolean onQueryTextChange(String!);
+ method public boolean onQueryTextSubmit(String!);
+ }
+
+ public static interface SearchView.OnSuggestionListener {
+ method public boolean onSuggestionClick(int);
+ method public boolean onSuggestionSelect(int);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public static class SearchView.SearchAutoComplete extends androidx.appcompat.widget.AppCompatAutoCompleteTextView {
+ ctor public SearchView.SearchAutoComplete(android.content.Context!);
+ ctor public SearchView.SearchAutoComplete(android.content.Context!, android.util.AttributeSet!);
+ ctor public SearchView.SearchAutoComplete(android.content.Context!, android.util.AttributeSet!, int);
+ }
+
+ public class ShareActionProvider extends androidx.core.view.ActionProvider {
+ ctor public ShareActionProvider(android.content.Context!);
+ method public android.view.View! onCreateActionView();
+ method public void setOnShareTargetSelectedListener(androidx.appcompat.widget.ShareActionProvider.OnShareTargetSelectedListener!);
+ method public void setShareHistoryFileName(String!);
+ method public void setShareIntent(android.content.Intent!);
+ field public static final String DEFAULT_SHARE_HISTORY_FILE_NAME = "share_history.xml";
+ }
+
+ public static interface ShareActionProvider.OnShareTargetSelectedListener {
+ method public boolean onShareTargetSelected(androidx.appcompat.widget.ShareActionProvider!, android.content.Intent!);
+ }
+
+ public class SwitchCompat extends android.widget.CompoundButton implements androidx.appcompat.widget.EmojiCompatConfigurationView {
+ ctor public SwitchCompat(android.content.Context);
+ ctor public SwitchCompat(android.content.Context, android.util.AttributeSet?);
+ ctor public SwitchCompat(android.content.Context, android.util.AttributeSet?, int);
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:showText") public boolean getShowText();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:splitTrack") public boolean getSplitTrack();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:switchMinWidth") public int getSwitchMinWidth();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:switchPadding") public int getSwitchPadding();
+ method @androidx.resourceinspection.annotation.Attribute("android:textOff") public CharSequence! getTextOff();
+ method @androidx.resourceinspection.annotation.Attribute("android:textOn") public CharSequence! getTextOn();
+ method @androidx.resourceinspection.annotation.Attribute("android:thumb") public android.graphics.drawable.Drawable! getThumbDrawable();
+ method @FloatRange(from=0.0, to=1.0) protected final float getThumbPosition();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTextPadding") public int getThumbTextPadding();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTint") public android.content.res.ColorStateList? getThumbTintList();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:thumbTintMode") public android.graphics.PorterDuff.Mode? getThumbTintMode();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:track") public android.graphics.drawable.Drawable! getTrackDrawable();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:trackTint") public android.content.res.ColorStateList? getTrackTintList();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:trackTintMode") public android.graphics.PorterDuff.Mode? getTrackTintMode();
+ method public boolean isEmojiCompatEnabled();
+ method public void onMeasure(int, int);
+ method public void setEmojiCompatEnabled(boolean);
+ method protected final void setEnforceSwitchWidth(boolean);
+ method public void setShowText(boolean);
+ method public void setSplitTrack(boolean);
+ method public void setSwitchMinWidth(int);
+ method public void setSwitchPadding(int);
+ method public void setSwitchTextAppearance(android.content.Context!, int);
+ method public void setSwitchTypeface(android.graphics.Typeface!, int);
+ method public void setSwitchTypeface(android.graphics.Typeface!);
+ method public void setTextOff(CharSequence!);
+ method public void setTextOn(CharSequence!);
+ method public void setThumbDrawable(android.graphics.drawable.Drawable!);
+ method public void setThumbResource(int);
+ method public void setThumbTextPadding(int);
+ method public void setThumbTintList(android.content.res.ColorStateList?);
+ method public void setThumbTintMode(android.graphics.PorterDuff.Mode?);
+ method public void setTrackDrawable(android.graphics.drawable.Drawable!);
+ method public void setTrackResource(int);
+ method public void setTrackTintList(android.content.res.ColorStateList?);
+ method public void setTrackTintMode(android.graphics.PorterDuff.Mode?);
+ }
+
+ public interface ThemedSpinnerAdapter extends android.widget.SpinnerAdapter {
+ method public android.content.res.Resources.Theme? getDropDownViewTheme();
+ method public void setDropDownViewTheme(android.content.res.Resources.Theme?);
+ }
+
+ public static final class ThemedSpinnerAdapter.Helper {
+ ctor public ThemedSpinnerAdapter.Helper(android.content.Context);
+ method public android.view.LayoutInflater getDropDownViewInflater();
+ method public android.content.res.Resources.Theme? getDropDownViewTheme();
+ method public void setDropDownViewTheme(android.content.res.Resources.Theme?);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class TintTypedArray {
+ method public boolean getBoolean(int, boolean);
+ method @RequiresApi(21) public int getChangingConfigurations();
+ method public int getColor(int, int);
+ method public android.content.res.ColorStateList! getColorStateList(int);
+ method public float getDimension(int, float);
+ method public int getDimensionPixelOffset(int, int);
+ method public int getDimensionPixelSize(int, int);
+ method public android.graphics.drawable.Drawable! getDrawable(int);
+ method public android.graphics.drawable.Drawable! getDrawableIfKnown(int);
+ method public float getFloat(int, float);
+ method public android.graphics.Typeface? getFont(@StyleableRes int, int, androidx.core.content.res.ResourcesCompat.FontCallback?);
+ method public float getFraction(int, int, int, float);
+ method public int getIndex(int);
+ method public int getIndexCount();
+ method public int getInt(int, int);
+ method public int getInteger(int, int);
+ method public int getLayoutDimension(int, String!);
+ method public int getLayoutDimension(int, int);
+ method public String! getNonResourceString(int);
+ method public String! getPositionDescription();
+ method public int getResourceId(int, int);
+ method public android.content.res.Resources! getResources();
+ method public String! getString(int);
+ method public CharSequence! getText(int);
+ method public CharSequence![]! getTextArray(int);
+ method public int getType(int);
+ method public boolean getValue(int, android.util.TypedValue!);
+ method public android.content.res.TypedArray! getWrappedTypeArray();
+ method public boolean hasValue(int);
+ method public int length();
+ method public static androidx.appcompat.widget.TintTypedArray! obtainStyledAttributes(android.content.Context!, android.util.AttributeSet!, int[]!);
+ method public static androidx.appcompat.widget.TintTypedArray! obtainStyledAttributes(android.content.Context!, android.util.AttributeSet!, int[]!, int, int);
+ method public static androidx.appcompat.widget.TintTypedArray! obtainStyledAttributes(android.content.Context!, int, int[]!);
+ method public android.util.TypedValue! peekValue(int);
+ method public void recycle();
+ }
+
+ public class Toolbar extends android.view.ViewGroup implements androidx.core.view.MenuHost {
+ ctor public Toolbar(android.content.Context);
+ ctor public Toolbar(android.content.Context, android.util.AttributeSet?);
+ ctor public Toolbar(android.content.Context, android.util.AttributeSet?, int);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner);
+ method @MainThread public void addMenuProvider(androidx.core.view.MenuProvider, androidx.lifecycle.LifecycleOwner, androidx.lifecycle.Lifecycle.State);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean canShowOverflowMenu();
+ method public void collapseActionView();
+ method public void dismissPopupMenus();
+ method protected androidx.appcompat.widget.Toolbar.LayoutParams! generateDefaultLayoutParams();
+ method public androidx.appcompat.widget.Toolbar.LayoutParams! generateLayoutParams(android.util.AttributeSet!);
+ method protected androidx.appcompat.widget.Toolbar.LayoutParams! generateLayoutParams(android.view.ViewGroup.LayoutParams!);
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:collapseContentDescription") public CharSequence? getCollapseContentDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:collapseIcon") public android.graphics.drawable.Drawable? getCollapseIcon();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetEnd") public int getContentInsetEnd();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetEndWithActions") public int getContentInsetEndWithActions();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetLeft") public int getContentInsetLeft();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetRight") public int getContentInsetRight();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetStart") public int getContentInsetStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:contentInsetStartWithNavigation") public int getContentInsetStartWithNavigation();
+ method public int getCurrentContentInsetEnd();
+ method public int getCurrentContentInsetLeft();
+ method public int getCurrentContentInsetRight();
+ method public int getCurrentContentInsetStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:logo") public android.graphics.drawable.Drawable! getLogo();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:logoDescription") public CharSequence! getLogoDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:menu") public android.view.Menu! getMenu();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:navigationContentDescription") public CharSequence? getNavigationContentDescription();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:navigationIcon") public android.graphics.drawable.Drawable? getNavigationIcon();
+ method public android.graphics.drawable.Drawable? getOverflowIcon();
+ method @StyleRes @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:popupTheme") public int getPopupTheme();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:subtitle") public CharSequence! getSubtitle();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:title") public CharSequence! getTitle();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginBottom") public int getTitleMarginBottom();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginEnd") public int getTitleMarginEnd();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginStart") public int getTitleMarginStart();
+ method @androidx.resourceinspection.annotation.Attribute("androidx.appcompat:titleMarginTop") public int getTitleMarginTop();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public androidx.appcompat.widget.DecorToolbar! getWrapper();
+ method public boolean hasExpandedActionView();
+ method public boolean hideOverflowMenu();
+ method public void inflateMenu(@MenuRes int);
+ method @MainThread public void invalidateMenu();
+ method public boolean isBackInvokedCallbackEnabled();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean isOverflowMenuShowPending();
+ method public boolean isOverflowMenuShowing();
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public boolean isTitleTruncated();
+ method @MainThread public void removeMenuProvider(androidx.core.view.MenuProvider);
+ method public void setBackInvokedCallbackEnabled(boolean);
+ method public void setCollapseContentDescription(@StringRes int);
+ method public void setCollapseContentDescription(CharSequence?);
+ method public void setCollapseIcon(@DrawableRes int);
+ method public void setCollapseIcon(android.graphics.drawable.Drawable?);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setCollapsible(boolean);
+ method public void setContentInsetEndWithActions(int);
+ method public void setContentInsetStartWithNavigation(int);
+ method public void setContentInsetsAbsolute(int, int);
+ method public void setContentInsetsRelative(int, int);
+ method public void setLogo(@DrawableRes int);
+ method public void setLogo(android.graphics.drawable.Drawable!);
+ method public void setLogoDescription(@StringRes int);
+ method public void setLogoDescription(CharSequence!);
+ method @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public void setMenuCallbacks(androidx.appcompat.view.menu.MenuPresenter.Callback!, androidx.appcompat.view.menu.MenuBuilder.Callback!);
+ method public void setNavigationContentDescription(@StringRes int);
+ method public void setNavigationContentDescription(CharSequence?);
+ method public void setNavigationIcon(@DrawableRes int);
+ method public void setNavigationIcon(android.graphics.drawable.Drawable?);
+ method public void setNavigationOnClickListener(android.view.View.OnClickListener!);
+ method public void setOnMenuItemClickListener(androidx.appcompat.widget.Toolbar.OnMenuItemClickListener!);
+ method public void setOverflowIcon(android.graphics.drawable.Drawable?);
+ method public void setPopupTheme(@StyleRes int);
+ method public void setSubtitle(@StringRes int);
+ method public void setSubtitle(CharSequence!);
+ method public void setSubtitleTextAppearance(android.content.Context!, @StyleRes int);
+ method public void setSubtitleTextColor(@ColorInt int);
+ method public void setSubtitleTextColor(android.content.res.ColorStateList);
+ method public void setTitle(@StringRes int);
+ method public void setTitle(CharSequence!);
+ method public void setTitleMargin(int, int, int, int);
+ method public void setTitleMarginBottom(int);
+ method public void setTitleMarginEnd(int);
+ method public void setTitleMarginStart(int);
+ method public void setTitleMarginTop(int);
+ method public void setTitleTextAppearance(android.content.Context!, @StyleRes int);
+ method public void setTitleTextColor(@ColorInt int);
+ method public void setTitleTextColor(android.content.res.ColorStateList);
+ method public boolean showOverflowMenu();
+ }
+
+ public static class Toolbar.LayoutParams extends androidx.appcompat.app.ActionBar.LayoutParams {
+ ctor public Toolbar.LayoutParams(android.content.Context, android.util.AttributeSet!);
+ ctor public Toolbar.LayoutParams(int, int);
+ ctor public Toolbar.LayoutParams(int, int, int);
+ ctor public Toolbar.LayoutParams(int);
+ ctor public Toolbar.LayoutParams(androidx.appcompat.widget.Toolbar.LayoutParams!);
+ ctor public Toolbar.LayoutParams(androidx.appcompat.app.ActionBar.LayoutParams!);
+ ctor public Toolbar.LayoutParams(android.view.ViewGroup.MarginLayoutParams!);
+ ctor public Toolbar.LayoutParams(android.view.ViewGroup.LayoutParams!);
+ }
+
+ public static interface Toolbar.OnMenuItemClickListener {
+ method public boolean onMenuItemClick(android.view.MenuItem!);
+ }
+
+ public static class Toolbar.SavedState extends androidx.customview.view.AbsSavedState {
+ ctor public Toolbar.SavedState(android.os.Parcel!);
+ ctor public Toolbar.SavedState(android.os.Parcel!, ClassLoader!);
+ ctor public Toolbar.SavedState(android.os.Parcelable!);
+ field public static final android.os.Parcelable.Creator<androidx.appcompat.widget.Toolbar.SavedState!>! CREATOR;
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ToolbarWidgetWrapper implements androidx.appcompat.widget.DecorToolbar {
+ ctor public ToolbarWidgetWrapper(androidx.appcompat.widget.Toolbar!, boolean);
+ ctor public ToolbarWidgetWrapper(androidx.appcompat.widget.Toolbar!, boolean, int, int);
+ method public void animateToVisibility(int);
+ method public boolean canShowOverflowMenu();
+ method public void collapseActionView();
+ method public void dismissPopupMenus();
+ method public android.content.Context! getContext();
+ method public android.view.View! getCustomView();
+ method public int getDisplayOptions();
+ method public int getDropdownItemCount();
+ method public int getDropdownSelectedPosition();
+ method public int getHeight();
+ method public android.view.Menu! getMenu();
+ method public int getNavigationMode();
+ method public CharSequence! getSubtitle();
+ method public CharSequence! getTitle();
+ method public android.view.ViewGroup! getViewGroup();
+ method public int getVisibility();
+ method public boolean hasEmbeddedTabs();
+ method public boolean hasExpandedActionView();
+ method public boolean hasIcon();
+ method public boolean hasLogo();
+ method public boolean hideOverflowMenu();
+ method public void initIndeterminateProgress();
+ method public void initProgress();
+ method public boolean isOverflowMenuShowPending();
+ method public boolean isOverflowMenuShowing();
+ method public boolean isTitleTruncated();
+ method public void restoreHierarchyState(android.util.SparseArray<android.os.Parcelable!>!);
+ method public void saveHierarchyState(android.util.SparseArray<android.os.Parcelable!>!);
+ method public void setBackgroundDrawable(android.graphics.drawable.Drawable!);
+ method public void setCollapsible(boolean);
+ method public void setCustomView(android.view.View!);
+ method public void setDefaultNavigationContentDescription(int);
+ method public void setDefaultNavigationIcon(android.graphics.drawable.Drawable!);
+ method public void setDisplayOptions(int);
+ method public void setDropdownParams(android.widget.SpinnerAdapter!, android.widget.AdapterView.OnItemSelectedListener!);
+ method public void setDropdownSelectedPosition(int);
+ method public void setEmbeddedTabView(androidx.appcompat.widget.ScrollingTabContainerView!);
+ method public void setHomeButtonEnabled(boolean);
+ method public void setIcon(int);
+ method public void setIcon(android.graphics.drawable.Drawable!);
+ method public void setLogo(int);
+ method public void setLogo(android.graphics.drawable.Drawable!);
+ method public void setMenu(android.view.Menu!, androidx.appcompat.view.menu.MenuPresenter.Callback!);
+ method public void setMenuCallbacks(androidx.appcompat.view.menu.MenuPresenter.Callback!, androidx.appcompat.view.menu.MenuBuilder.Callback!);
+ method public void setMenuPrepared();
+ method public void setNavigationContentDescription(CharSequence!);
+ method public void setNavigationContentDescription(int);
+ method public void setNavigationIcon(android.graphics.drawable.Drawable!);
+ method public void setNavigationIcon(int);
+ method public void setNavigationMode(int);
+ method public void setSubtitle(CharSequence!);
+ method public void setTitle(CharSequence!);
+ method public void setVisibility(int);
+ method public void setWindowCallback(android.view.Window.Callback!);
+ method public void setWindowTitle(CharSequence!);
+ method public androidx.core.view.ViewPropertyAnimatorCompat! setupAnimatorToVisibility(int, long);
+ method public boolean showOverflowMenu();
+ }
+
+ public class TooltipCompat {
+ method public static void setTooltipText(android.view.View, CharSequence?);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public final class ViewStubCompat extends android.view.View {
+ ctor public ViewStubCompat(android.content.Context, android.util.AttributeSet?);
+ ctor public ViewStubCompat(android.content.Context, android.util.AttributeSet?, int);
+ method public int getInflatedId();
+ method public android.view.LayoutInflater! getLayoutInflater();
+ method public int getLayoutResource();
+ method public android.view.View! inflate();
+ method public void setInflatedId(int);
+ method public void setLayoutInflater(android.view.LayoutInflater!);
+ method public void setLayoutResource(int);
+ method public void setOnInflateListener(androidx.appcompat.widget.ViewStubCompat.OnInflateListener!);
+ }
+
+ public static interface ViewStubCompat.OnInflateListener {
+ method public void onInflate(androidx.appcompat.widget.ViewStubCompat!, android.view.View!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class ViewUtils {
+ method public static void computeFitSystemWindows(android.view.View!, android.graphics.Rect!, android.graphics.Rect!);
+ method public static boolean isLayoutRtl(android.view.View!);
+ method public static void makeOptionalFitsSystemWindows(android.view.View!);
+ }
+
+ @RestrictTo(androidx.annotation.RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public interface WithHint {
+ method public CharSequence? getHint();
+ }
+
+}
+
diff --git a/appcompat/appcompat/build.gradle b/appcompat/appcompat/build.gradle
index 73d6439..ed904b7 100644
--- a/appcompat/appcompat/build.gradle
+++ b/appcompat/appcompat/build.gradle
@@ -20,8 +20,8 @@
implementation("androidx.core:core-ktx:1.8.0")
implementation(libs.kotlinStdlib)
- implementation(projectOrArtifact(":emoji2:emoji2"))
- implementation(projectOrArtifact(":emoji2:emoji2-views-helper"))
+ implementation("androidx.emoji2:emoji2:1.2.0-rc01")
+ implementation("androidx.emoji2:emoji2-views-helper:1.2.0-rc01")
implementation("androidx.collection:collection:1.0.0")
api("androidx.cursoradapter:cursoradapter:1.0.0")
api(projectOrArtifact(":activity:activity"))
diff --git a/arch/core/core-testing/lint-baseline.xml b/arch/core/core-testing/lint-baseline.xml
index 0004e63..e4e77e4 100644
--- a/arch/core/core-testing/lint-baseline.xml
+++ b/arch/core/core-testing/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/benchmark/benchmark-common/lint-baseline.xml b/benchmark/benchmark-common/lint-baseline.xml
deleted file mode 100644
index bbb6ad1..0000000
--- a/benchmark/benchmark-common/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
-
- <issue
- id="NewApi"
- message="Field requires API level 23 (current min is 14): `getBACKGROUND_SPINNING_PROCESS_NAME`"
- errorLine1=" BACKGROUND_SPINNING_PROCESS_NAME"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/androidTest/java/androidx/benchmark/ShellTest.kt"/>
- </issue>
-
-</issues>
diff --git a/biometric/biometric/lint-baseline.xml b/biometric/biometric/lint-baseline.xml
index 4672a5b..8836527 100644
--- a/biometric/biometric/lint-baseline.xml
+++ b/biometric/biometric/lint-baseline.xml
@@ -2,42 +2,6 @@
<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
- id="NewApi"
- message="Class requires API level 16 (current min is 14): `android.os.CancellationSignal`"
- errorLine1=" return mock(android.os.CancellationSignal.class);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/test/java/androidx/biometric/CancellationSignalProviderTest.java"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Call requires API level 16 (current min is 14): `getBiometricCancellationSignal`"
- errorLine1=" provider.getBiometricCancellationSignal();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/test/java/androidx/biometric/CancellationSignalProviderTest.java"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Call requires API level 16 (current min is 14): `android.os.CancellationSignal#cancel`"
- errorLine1=" doThrow(NullPointerException.class).when(biometricSignal).cancel();"
- errorLine2=" ~~~~~~">
- <location
- file="src/test/java/androidx/biometric/CancellationSignalProviderTest.java"/>
- </issue>
-
- <issue
- id="NewApi"
- message="Call requires API level 16 (current min is 14): `getBiometricCancellationSignal`"
- errorLine1=" assertThat(provider.getBiometricCancellationSignal()).isNotEqualTo(biometricSignal);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/test/java/androidx/biometric/CancellationSignalProviderTest.java"/>
- </issue>
-
- <issue
id="WrongConstant"
message="Must be one of: BiometricPrompt.AUTHENTICATION_RESULT_TYPE_UNKNOWN, BiometricPrompt.AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL, BiometricPrompt.AUTHENTICATION_RESULT_TYPE_BIOMETRIC, but could be BiometricPrompt.AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL, BiometricPrompt.AUTHENTICATION_RESULT_TYPE_BIOMETRIC"
errorLine1=" return result.getAuthenticationType();"
diff --git a/biometric/integration-tests/testapp/lint-baseline.xml b/biometric/integration-tests/testapp/lint-baseline.xml
deleted file mode 100644
index 1fa304a..0000000
--- a/biometric/integration-tests/testapp/lint-baseline.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
-
- <issue
- id="NotificationPermission"
- message="When targeting Android 13 or higher, posting a permission requires holding the `POST_NOTIFICATIONS` permission (usage from leakcanary.NotificationEventListener)">
- <location
- file="$GRADLE_USER_HOME/caches/transforms-3/4366a02f2b10003dc48387e903833c2d/transformed/leakcanary-android-core-2.8.1/jars/classes.jar"/>
- </issue>
-
-</issues>
diff --git a/buildSrc-tests/src/test/kotlin/androidx/build/AndroidXPluginTestContext.kt b/buildSrc-tests/src/test/kotlin/androidx/build/AndroidXPluginTestContext.kt
index ba710fa..aab0030 100644
--- a/buildSrc-tests/src/test/kotlin/androidx/build/AndroidXPluginTestContext.kt
+++ b/buildSrc-tests/src/test/kotlin/androidx/build/AndroidXPluginTestContext.kt
@@ -88,7 +88,12 @@
private fun checkNoClassloaderErrors(result: BuildResult) {
// We're seeing b/237103195 flakily. When we do, let's grab additional debugging info.
val className = "androidx.build.gradle.ExtensionsKt"
- if (result.output.contains("java.lang.ClassNotFoundException: $className")) {
+ val classNotFound = "java.lang.ClassNotFoundException: $className"
+
+ val mpe = "groovy.lang.MissingPropertyException"
+ val propertyMissing = "$mpe: Could not get unknown property 'androidx' for root project"
+ val messages = listOf(classNotFound, propertyMissing)
+ if (messages.any { result.output.contains(it) }) {
buildString {
appendLine("classloader error START")
append(result.output)
diff --git a/buildSrc-tests/src/test/kotlin/androidx/build/AndroidXPluginTestContextTest.kt b/buildSrc-tests/src/test/kotlin/androidx/build/AndroidXPluginTestContextTest.kt
index e3e4d66..a7405bc 100644
--- a/buildSrc-tests/src/test/kotlin/androidx/build/AndroidXPluginTestContextTest.kt
+++ b/buildSrc-tests/src/test/kotlin/androidx/build/AndroidXPluginTestContextTest.kt
@@ -41,6 +41,20 @@
}
}
+ @Test
+ fun betterDebuggingForPropertyIssues() = pluginTest {
+ thrown {
+ runGradle("") {
+ val mpe = "groovy.lang.MissingPropertyException"
+ val output = "$mpe: Could not get unknown property 'androidx' for root project"
+ buildResult(output)
+ }
+ }!!.check {
+ // Since we're faking this error, we expect that the class is actually there in the jar
+ it.message!!.contains("androidx/build/gradle/ExtensionsKt.class")
+ }
+ }
+
private fun buildResult(output: String) = DefaultBuildResult(output, listOf())
private fun thrown(action: () -> Unit): Throwable? {
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt b/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
index 07c2d045..f1067803 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/AndroidXImplPlugin.kt
@@ -25,8 +25,7 @@
import androidx.build.SupportConfig.DEFAULT_MIN_SDK_VERSION
import androidx.build.SupportConfig.INSTRUMENTATION_RUNNER
import androidx.build.SupportConfig.TARGET_SDK_VERSION
-import androidx.build.buildInfo.CreateAggregateLibraryBuildInfoFileTask
-import androidx.build.buildInfo.CreateLibraryBuildInfoFileTask
+import androidx.build.buildInfo.addCreateLibraryBuildInfoFileTask
import androidx.build.checkapi.JavaApiTaskConfig
import androidx.build.checkapi.KmpApiTaskConfig
import androidx.build.checkapi.LibraryApiTaskConfig
@@ -839,39 +838,10 @@
}
}
- // Task that creates a json file of a project's dependencies
- private fun Project.addCreateLibraryBuildInfoFileTask(extension: AndroidXExtension) {
- afterEvaluate {
- if (extension.shouldRelease()) {
- // Only generate build info files for published libraries.
- val task = CreateLibraryBuildInfoFileTask.setup(project, extension)
-
- rootProject.tasks.named(CreateLibraryBuildInfoFileTask.TASK_NAME).configure {
- it.dependsOn(task)
- }
- addTaskToAggregateBuildInfoFileTask(task)
- }
- }
- }
-
- private fun Project.addTaskToAggregateBuildInfoFileTask(
- task: TaskProvider<CreateLibraryBuildInfoFileTask>
- ) {
- rootProject.tasks.named(CREATE_AGGREGATE_BUILD_INFO_FILES_TASK).configure {
- val aggregateLibraryBuildInfoFileTask: CreateAggregateLibraryBuildInfoFileTask = it
- as CreateAggregateLibraryBuildInfoFileTask
- aggregateLibraryBuildInfoFileTask.dependsOn(task)
- aggregateLibraryBuildInfoFileTask.libraryBuildInfoFiles.add(
- task.flatMap { task -> task.outputFile }
- )
- }
- }
-
companion object {
const val BUILD_TEST_APKS_TASK = "buildTestApks"
const val CHECK_RELEASE_READY_TASK = "checkReleaseReady"
const val CREATE_LIBRARY_BUILD_INFO_FILES_TASK = "createLibraryBuildInfoFiles"
- const val CREATE_AGGREGATE_BUILD_INFO_FILES_TASK = "createAggregateBuildInfoFiles"
const val GENERATE_TEST_CONFIGURATION_TASK = "GenerateTestConfiguration"
const val ZIP_TEST_CONFIGS_WITH_APKS_TASK = "zipTestConfigsWithApks"
const val ZIP_CONSTRAINED_TEST_CONFIGS_WITH_APKS_TASK = "zipConstrainedTestConfigsWithApks"
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/AndroidXRootImplPlugin.kt b/buildSrc/private/src/main/kotlin/androidx/build/AndroidXRootImplPlugin.kt
index d406a34..aad479ab 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/AndroidXRootImplPlugin.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/AndroidXRootImplPlugin.kt
@@ -19,6 +19,7 @@
import androidx.build.AndroidXImplPlugin.Companion.ZIP_CONSTRAINED_TEST_CONFIGS_WITH_APKS_TASK
import androidx.build.AndroidXImplPlugin.Companion.ZIP_TEST_CONFIGS_WITH_APKS_TASK
import androidx.build.buildInfo.CreateAggregateLibraryBuildInfoFileTask
+import androidx.build.buildInfo.CreateAggregateLibraryBuildInfoFileTask.Companion.CREATE_AGGREGATE_BUILD_INFO_FILES_TASK
import androidx.build.dependencyTracker.AffectedModuleDetector
import androidx.build.gradle.isRoot
import androidx.build.license.CheckExternalDependencyLicensesTask
@@ -88,7 +89,7 @@
buildOnServerTask.buildId = getBuildId()
buildOnServerTask.dependsOn(
tasks.register(
- AndroidXImplPlugin.CREATE_AGGREGATE_BUILD_INFO_FILES_TASK,
+ CREATE_AGGREGATE_BUILD_INFO_FILES_TASK,
CreateAggregateLibraryBuildInfoFileTask::class.java
)
)
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/CreateAggregateLibraryBuildInfoFileTask.kt b/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/CreateAggregateLibraryBuildInfoFileTask.kt
index ef6b47f..7e7ac69 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/CreateAggregateLibraryBuildInfoFileTask.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/CreateAggregateLibraryBuildInfoFileTask.kt
@@ -16,17 +16,19 @@
package androidx.build.buildInfo
+import androidx.build.buildInfo.CreateAggregateLibraryBuildInfoFileTask.Companion.CREATE_AGGREGATE_BUILD_INFO_FILES_TASK
import androidx.build.getDistributionDirectory
import androidx.build.jetpad.LibraryBuildInfoFile
import com.google.gson.Gson
+import java.io.File
import org.gradle.api.DefaultTask
+import org.gradle.api.Project
import org.gradle.api.provider.ListProperty
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.OutputFile
import org.gradle.api.tasks.TaskAction
+import org.gradle.api.tasks.TaskProvider
import org.gradle.work.DisableCachingByDefault
-import java.io.File
-import java.util.ArrayList
/**
* Task for a json file of all dependencies for each artifactId
@@ -105,4 +107,19 @@
throw RuntimeException("JSON written to $outputFile was invalid.")
}
}
+
+ companion object {
+ const val CREATE_AGGREGATE_BUILD_INFO_FILES_TASK = "createAggregateBuildInfoFiles"
+ }
+}
+
+fun Project.addTaskToAggregateBuildInfoFileTask(
+ task: TaskProvider<CreateLibraryBuildInfoFileTask>
+) {
+ rootProject.tasks.named(CREATE_AGGREGATE_BUILD_INFO_FILES_TASK).configure {
+ val aggregateLibraryBuildInfoFileTask = it as CreateAggregateLibraryBuildInfoFileTask
+ aggregateLibraryBuildInfoFileTask.libraryBuildInfoFiles.add(
+ task.flatMap { task -> task.outputFile }
+ )
+ }
}
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/CreateLibraryBuildInfoFileTask.kt b/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/CreateLibraryBuildInfoFileTask.kt
index b9a645b..fc1f69c 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/CreateLibraryBuildInfoFileTask.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/CreateLibraryBuildInfoFileTask.kt
@@ -17,6 +17,8 @@
package androidx.build.buildInfo
import androidx.build.AndroidXExtension
+import androidx.build.LibraryGroup
+import androidx.build.buildInfo.CreateLibraryBuildInfoFileTask.Companion.getFrameworksSupportCommitShaAtHead
import androidx.build.getBuildInfoDirectory
import androidx.build.getGroupZipPath
import androidx.build.getProjectZipPath
@@ -29,9 +31,11 @@
import java.io.File
import org.gradle.api.DefaultTask
import org.gradle.api.Project
+import org.gradle.api.artifacts.Dependency
import org.gradle.api.artifacts.ProjectDependency
import org.gradle.api.provider.ListProperty
import org.gradle.api.provider.Property
+import org.gradle.api.provider.Provider
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Optional
import org.gradle.api.tasks.OutputFile
@@ -160,21 +164,23 @@
fun setup(
project: Project,
- extension: AndroidXExtension
+ mavenGroup: LibraryGroup?,
+ variant: VariantPublishPlan,
+ shaProvider: Provider<String>
): TaskProvider<CreateLibraryBuildInfoFileTask> {
return project.tasks.register(
- TASK_NAME,
+ TASK_NAME + variant.taskSuffix,
CreateLibraryBuildInfoFileTask::class.java
) { task ->
val group = project.group.toString()
- val name = project.name.toString()
+ val artifactId = variant.artifactId
task.outputFile.set(
File(
project.getBuildInfoDirectory(),
- "${group}_${name}_build_info.txt"
+ "${group}_${artifactId}_build_info.txt"
)
)
- task.artifactId.set(name)
+ task.artifactId.set(artifactId)
task.groupId.set(group)
task.version.set(project.version.toString())
task.kotlinVersion.set(project.getKotlinPluginVersion())
@@ -183,12 +189,8 @@
project.getSupportRootFolder().absolutePath
)
)
- task.commit.set(
- project.provider {
- project.getFrameworksSupportCommitShaAtHead()
- }
- )
- task.groupIdRequiresSameVersion.set(extension.mavenGroup?.requireSameVersion)
+ task.commit.set(shaProvider)
+ task.groupIdRequiresSameVersion.set(mavenGroup?.requireSameVersion)
task.groupZipPath.set(project.getGroupZipPath())
task.projectZipPath.set(project.getProjectZipPath())
@@ -201,39 +203,31 @@
project.getSupportRootFolder().absolutePath
)
)
- task.dependencyList.set(project.provider {
- val libraryDependencies = HashSet<LibraryBuildInfoFile.Dependency>()
- project.configurations.filter {
- it.name == "releaseRuntimeElements"
- }.forEach { configuration ->
- configuration.allDependencies.forEach { dep ->
- // Only consider androidx dependencies
- if (dep.group != null &&
- dep.group.toString().startsWith("androidx.") &&
- !dep.group.toString().startsWith("androidx.test")
- ) {
- val androidXPublishedDependency =
- LibraryBuildInfoFile.Dependency()
- androidXPublishedDependency.artifactId = dep.name.toString()
- androidXPublishedDependency.groupId = dep.group.toString()
- androidXPublishedDependency.version = dep.version.toString()
- androidXPublishedDependency.isTipOfTree =
- dep is ProjectDependency
- libraryDependencies.add(androidXPublishedDependency)
- }
- }
- }
- ArrayList(libraryDependencies).sortedWith(
- compareBy({ it.groupId }, { it.artifactId }, { it.version })
- )
- })
+
+ // lazily compute the task dependency list based on the variant dependencies.
+ task.dependencyList.set(variant.dependencies.map { it.asBuildInfoDependencies() })
}
}
+ fun List<Dependency>.asBuildInfoDependencies() =
+ filter { it.group.isAndroidXDependency() }.map {
+ LibraryBuildInfoFile.Dependency().apply {
+ this.artifactId = it.name.toString()
+ this.groupId = it.group.toString()
+ this.version = it.version.toString()
+ this.isTipOfTree = it is ProjectDependency
+ }
+ }.toHashSet().sortedWith(
+ compareBy({ it.groupId }, { it.artifactId }, { it.version })
+ )
+
+ private fun String?.isAndroidXDependency() =
+ this != null && startsWith("androidx.") && !startsWith("androidx.test")
+
/* For androidx release notes, the most common use case is to track and publish the last sha
* of the build that is released. Thus, we use frameworks/support to get the sha
*/
- private fun Project.getFrameworksSupportCommitShaAtHead(): String {
+ fun Project.getFrameworksSupportCommitShaAtHead(): String {
val gitClient = GitClient.create(
project.getSupportRootFolder(),
logger,
@@ -258,3 +252,30 @@
}
}
}
+
+// Task that creates a json file of a project's dependencies
+fun Project.addCreateLibraryBuildInfoFileTask(extension: AndroidXExtension) {
+ afterEvaluate {
+ if (extension.shouldRelease()) {
+ // Only generate build info files for published libraries.
+ val task = CreateLibraryBuildInfoFileTask.setup(
+ project,
+ extension.mavenGroup,
+ VariantPublishPlan(
+ artifactId = project.name.toString(),
+ dependencies = project.provider {
+ val config = project.configurations.findByName("releaseRuntimeElements")
+ config?.allDependencies.orEmpty().toList()
+ }),
+ project.provider {
+ project.getFrameworksSupportCommitShaAtHead()
+ }
+ )
+
+ rootProject.tasks.named(CreateLibraryBuildInfoFileTask.TASK_NAME).configure {
+ it.dependsOn(task)
+ }
+ addTaskToAggregateBuildInfoFileTask(task)
+ }
+ }
+}
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/VariantPublishPlan.kt b/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/VariantPublishPlan.kt
new file mode 100644
index 0000000..058f830
--- /dev/null
+++ b/buildSrc/private/src/main/kotlin/androidx/build/buildInfo/VariantPublishPlan.kt
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.build.buildInfo
+
+import org.gradle.api.artifacts.Dependency
+import org.gradle.api.provider.Provider
+
+/**
+ * Info about a particular variant that will be published
+ *
+ * @param artifactId the maven artifact id
+ * @param taskSuffix if non-null, will be added to the end of task names to disambiguate
+ * (i.e. createLibraryBuildInfoFiles becomes createLibraryBuildInfoFilesJvm)
+ * @param dependencies provider that will return the dependencies of this variant when/if needed
+ */
+data class VariantPublishPlan(
+ val artifactId: String,
+ val taskSuffix: String = "",
+ val dependencies: Provider<List<Dependency>>
+)
\ No newline at end of file
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/dackka/GenerateMetadataTask.kt b/buildSrc/private/src/main/kotlin/androidx/build/dackka/GenerateMetadataTask.kt
index 61f76fd..e54e24b 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/dackka/GenerateMetadataTask.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/dackka/GenerateMetadataTask.kt
@@ -18,22 +18,25 @@
import java.io.File
import org.gradle.api.DefaultTask
+import org.gradle.api.artifacts.component.ComponentArtifactIdentifier
+import org.gradle.api.artifacts.component.ModuleComponentIdentifier
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.provider.ListProperty
import org.gradle.api.tasks.CacheableTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.OutputFile
import org.gradle.api.tasks.TaskAction
+import org.gradle.internal.component.external.model.DefaultModuleComponentIdentifier
import org.json.JSONArray
@CacheableTask
abstract class GenerateMetadataTask : DefaultTask() {
/**
- * List of [MetadataEntry] objects to convert to JSON
+ * List of artifacts to convert to JSON
*/
- @get:Input
- abstract val metadataEntries: ListProperty<MetadataEntry>
+ @Input
+ abstract fun getArtifactIds(): ListProperty<ComponentArtifactIdentifier>
/**
* Location of the generated JSON file
@@ -43,7 +46,28 @@
@TaskAction
fun generate() {
- val jsonMapping = generateJsonMapping(metadataEntries)
+ val entries = arrayListOf<MetadataEntry>()
+ getArtifactIds().get().forEach { id ->
+
+ // Only process artifact if it can be cast to ModuleComponentIdentifier.
+ //
+ // In practice, metadata is generated only for docs-public and not docs-tip-of-tree
+ // (where id.componentIdentifier is DefaultProjectComponentIdentifier).
+ if (id.componentIdentifier !is DefaultModuleComponentIdentifier) return@forEach
+
+ // Created https://github.com/gradle/gradle/issues/21415 to track surfacing
+ // group / module / version in ComponentIdentifier
+ val componentId = (id.componentIdentifier as ModuleComponentIdentifier)
+ val entry = MetadataEntry(
+ groupId = componentId.group,
+ artifactId = componentId.module,
+ releaseNotesUrl = generateReleaseNotesUrl(componentId.group),
+ sourceDir = "TBD/SOURCE/DIR" // TODO: fetch from JAR file
+ )
+ entries.add(entry)
+ }
+
+ val jsonMapping = generateJsonMapping(entries)
val json = JSONArray(jsonMapping)
val outputFile = File(destinationFile.get().toString())
@@ -54,8 +78,15 @@
* Converts a list of [MetadataEntry] objects into a list of maps.
*/
private fun generateJsonMapping(
- metadataEntries: ListProperty<MetadataEntry>
+ metadataEntries: List<MetadataEntry>
): List<Map<String, String>> {
- return metadataEntries.get().map { it.toMap() }
+ return metadataEntries.map { it.toMap() }
+ }
+
+ // TODO move to MetadataEntry + write test after MetadataEntry refactor
+ private fun generateReleaseNotesUrl(group: String): String {
+ // Example: androidx.arch.core => arch-core
+ val library = group.removePrefix("androidx.").replace(".", "-")
+ return "https://developer.android.com/jetpack/androidx/releases/$library"
}
}
diff --git a/buildSrc/private/src/main/kotlin/androidx/build/docs/AndroidXDocsImplPlugin.kt b/buildSrc/private/src/main/kotlin/androidx/build/docs/AndroidXDocsImplPlugin.kt
index eab7764..6d266cc 100644
--- a/buildSrc/private/src/main/kotlin/androidx/build/docs/AndroidXDocsImplPlugin.kt
+++ b/buildSrc/private/src/main/kotlin/androidx/build/docs/AndroidXDocsImplPlugin.kt
@@ -19,7 +19,6 @@
import androidx.build.SupportConfig
import androidx.build.dackka.DackkaTask
import androidx.build.dackka.GenerateMetadataTask
-import androidx.build.dackka.MetadataEntry
import androidx.build.dependencies.KOTLIN_VERSION
import androidx.build.doclava.DacOptions
import androidx.build.doclava.DoclavaTask
@@ -46,6 +45,8 @@
import org.gradle.api.artifacts.ComponentMetadataContext
import org.gradle.api.artifacts.ComponentMetadataRule
import org.gradle.api.artifacts.Configuration
+import org.gradle.api.artifacts.component.ComponentArtifactIdentifier
+import org.gradle.api.artifacts.result.ResolvedArtifactResult
import org.gradle.api.attributes.Attribute
import org.gradle.api.attributes.Category
import org.gradle.api.attributes.DocsType
@@ -143,7 +144,8 @@
unzippedSamplesSources,
unzipSamplesTask,
dependencyClasspath,
- buildOnServer
+ buildOnServer,
+ docsSourcesConfiguration,
)
configureDokka(
project,
@@ -349,7 +351,8 @@
unzippedSamplesSources: File,
unzipSamplesTask: TaskProvider<Sync>,
dependencyClasspath: FileCollection,
- buildOnServer: TaskProvider<*>
+ buildOnServer: TaskProvider<*>,
+ docsConfiguration: Configuration
) {
val generatedDocsDir = project.file("${project.buildDir}/dackkaDocs")
@@ -361,7 +364,20 @@
"generateMetadata",
GenerateMetadataTask::class.java
) { task ->
- task.metadataEntries.set(gatherMetadataEntries())
+
+ @Suppress("UnstableApiUsage") // getResolvedArtifacts() is marked @Incubating
+ val artifacts = docsConfiguration.incoming.artifacts.resolvedArtifacts
+ task.getArtifactIds().set(
+
+ /**
+ * Transforms the Set of [ResolvedArtifactResult] objects to a List of
+ * [ComponentArtifactIdentifier] objects.
+ *
+ * This follows the guidance from
+ * https://docs.gradle.org/7.5/userguide/more_about_tasks.html.
+ */
+ artifacts.map { result -> result.map { it.id } }
+ )
task.destinationFile.set(getMetadataRegularFile(project))
}
@@ -698,42 +714,3 @@
private val hiddenPackagesJava = setOf(
"androidx.*compose.*"
)
-
-/**
- * Converts AndroidX library and path data to a list of [MetadataEntry].
- *
- * TODO(b/239095864) replace static data with dynamically generated data from libraries
- */
-private fun gatherMetadataEntries(): List<MetadataEntry> {
- val pagingCompose = MetadataEntry(
- groupId = "androidx.paging",
- artifactId = "paging-compose",
- releaseNotesUrl = "https://developer.android.com/jetpack/androidx/releases/paging",
- sourceDir = "paging/compose"
- )
- val pagingRuntime = MetadataEntry(
- groupId = "androidx.paging",
- artifactId = "paging-runtime",
- releaseNotesUrl = "https://developer.android.com/jetpack/androidx/releases/paging",
- sourceDir = "paging"
- )
- val pagingRxJava2 = MetadataEntry(
- groupId = "androidx.paging",
- artifactId = "paging-rxjava2",
- releaseNotesUrl = "https://developer.android.com/jetpack/androidx/releases/paging",
- sourceDir = "paging/rxjava2"
- )
- val pagingRxJava3 = MetadataEntry(
- groupId = "androidx.paging",
- artifactId = "paging-rxjava3",
- releaseNotesUrl = "https://developer.android.com/jetpack/androidx/releases/paging",
- sourceDir = "paging/rxjava3"
- )
-
- return listOf(
- pagingCompose,
- pagingRuntime,
- pagingRxJava2,
- pagingRxJava3,
- )
-}
\ No newline at end of file
diff --git a/camera/camera-core/src/main/java/androidx/camera/core/EffectBundle.java b/camera/camera-core/src/main/java/androidx/camera/core/EffectBundle.java
index b90b050..1025eb6 100644
--- a/camera/camera-core/src/main/java/androidx/camera/core/EffectBundle.java
+++ b/camera/camera-core/src/main/java/androidx/camera/core/EffectBundle.java
@@ -80,8 +80,6 @@
/**
* Adds a {@link CameraEffect} with its targets.
*
- * TODO: finish Javadoc once {@link ImageEffect} is supported.
- *
* @param targets on which the effect will be applied. CameraX only supports
* {@link SurfaceEffect#PREVIEW} for now.
* @param cameraEffect the effect implementation.
diff --git a/camera/camera-core/src/main/java/androidx/camera/core/ImageAnalysisAbstractAnalyzer.java b/camera/camera-core/src/main/java/androidx/camera/core/ImageAnalysisAbstractAnalyzer.java
index 993d90e..ed49790 100644
--- a/camera/camera-core/src/main/java/androidx/camera/core/ImageAnalysisAbstractAnalyzer.java
+++ b/camera/camera-core/src/main/java/androidx/camera/core/ImageAnalysisAbstractAnalyzer.java
@@ -20,6 +20,8 @@
import static androidx.camera.core.ImageProcessingUtil.applyPixelShiftForYUV;
import static androidx.camera.core.ImageProcessingUtil.convertYUVToRGB;
import static androidx.camera.core.ImageProcessingUtil.rotateYUV;
+import static androidx.camera.core.impl.utils.TransformUtils.NORMALIZED_RECT;
+import static androidx.camera.core.impl.utils.TransformUtils.getNormalizedToBuffer;
import android.graphics.Matrix;
import android.graphics.Rect;
@@ -55,7 +57,6 @@
abstract class ImageAnalysisAbstractAnalyzer implements ImageReaderProxy.OnImageAvailableListener {
private static final String TAG = "ImageAnalysisAnalyzer";
- private static final RectF NORMALIZED_RECT = new RectF(-1, -1, 1, 1);
// Member variables from ImageAnalysis.
@GuardedBy("mAnalyzerLock")
@@ -490,11 +491,4 @@
}
return matrix;
}
-
- @NonNull
- private static Matrix getNormalizedToBuffer(@NonNull RectF buffer) {
- Matrix normalizedToBuffer = new Matrix();
- normalizedToBuffer.setRectToRect(NORMALIZED_RECT, buffer, Matrix.ScaleToFit.FILL);
- return normalizedToBuffer;
- }
}
diff --git a/camera/camera-core/src/main/java/androidx/camera/core/SurfaceEffect.java b/camera/camera-core/src/main/java/androidx/camera/core/SurfaceEffect.java
index 2f663178..5367124 100644
--- a/camera/camera-core/src/main/java/androidx/camera/core/SurfaceEffect.java
+++ b/camera/camera-core/src/main/java/androidx/camera/core/SurfaceEffect.java
@@ -21,16 +21,15 @@
import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo;
+import androidx.core.util.Consumer;
/**
- * Interface for injecting a {@link Surface}-based post-processing effect into CameraX.
+ * Interface to implement a GPU-based post-processing effect.
*
- * <p> TODO(b/233280438): update JavaDoc before going for API review.
- *
- * <p>Currently, this is only used by internal implementations such as "video cropping" and
- * "video recording during front/back camera switch". The interfaces themselves are also
- * placeholders and subject to change depending on API/design review. Moving forward, these
- * interfaces will be made public to developers and move to "androidx.camera.core".
+ * <p>This interface is for implementing a GPU effect for the {@link Preview} and/or
+ * {@code VideoCapture} {@link UseCase}. Both the input and the output of the implementation
+ * are {@link Surface}s. It's recommended to use graphics API such as OpenGL or Vulkan to access
+ * the {@link Surface}.
*
* @hide
*/
@@ -48,25 +47,38 @@
int VIDEO_CAPTURE = 1 << 1;
/**
- * Invoked when the upstream pipeline requires a {@link Surface} to write to.
+ * Invoked when CameraX requires an input {@link Surface} for reading original frames.
*
- * <p> The implementation is expected t o create a {@link Surface} backed
- * by{@link SurfaceTexture}, then listen for the
- * {@link SurfaceTexture#setOnFrameAvailableListener} to get the incoming upstream frames.
+ * <p>With OpenGL, the implementation should create a {@link Surface} backed by
+ * {@link SurfaceTexture} with the size of {@link SurfaceRequest#getResolution()}, then
+ * listen for the {@link SurfaceTexture#setOnFrameAvailableListener} to get the incoming
+ * frames.
+ *
+ * <p>The value of the {@link SurfaceTexture#getTransformMatrix} will need an additional
+ * transformation. CameraX calculates the additional transformation based on {@link UseCase}
+ * configurations such as {@link ViewPort} and target rotation, and provide the value via
+ * {@link SurfaceOutput#updateTransformMatrix(float[], float[])}.
*
* @param request a request to provide {@link Surface} for input.
+ * @see SurfaceRequest
*/
void onInputSurface(@NonNull SurfaceRequest request);
/**
- * Invoked when the downstream pipeline provide Surface(s) to be written to.
+ * Invoked when CameraX provides output Surface(s) for drawing processed frames.
*
- * <p> The implementation is expected to draw processed frames to the {@link Surface}
- * acquired via {@link SurfaceOutput#getSurface} following specification defined in the said
- * {@link SurfaceOutput}.
+ * <p>The provided {@link Surface}s are for drawing processed frames. The implementation must
+ * get the {@link Surface} via {@link SurfaceOutput#getSurface} and provide a
+ * {@link Consumer<SurfaceOutput.Event>} listening to the end-of-life event of the
+ * {@link Surface}. Then, the implementation should call {@link SurfaceOutput#close()} after it
+ * stops drawing to the {@link Surface}.
*
- * @param surfaceOutput a list of {@link SurfaceOutput}. For non stream sharing cases, the list
- * will only contain one element.
+ * <p> When drawing to the {@link Surface}, the implementation should apply an additional
+ * transformation to the input {@link Surface} by calling
+ * {@link SurfaceOutput#updateTransformMatrix(float[], float[])} with the value of
+ * {@link SurfaceTexture#getTransformMatrix(float[])}} from the input {@link Surface}.
+ *
+ * @param surfaceOutput contains a {@link Surface} for drawing processed frames.
*/
void onOutputSurface(@NonNull SurfaceOutput surfaceOutput);
}
diff --git a/camera/camera-core/src/main/java/androidx/camera/core/SurfaceOutput.java b/camera/camera-core/src/main/java/androidx/camera/core/SurfaceOutput.java
index 265a877..4424d82 100644
--- a/camera/camera-core/src/main/java/androidx/camera/core/SurfaceOutput.java
+++ b/camera/camera-core/src/main/java/androidx/camera/core/SurfaceOutput.java
@@ -26,18 +26,16 @@
import androidx.core.util.Consumer;
import com.google.auto.value.AutoValue;
-import com.google.common.util.concurrent.ListenableFuture;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.concurrent.Executor;
/**
- * A completable, single-use {@link Surface} for outputting processed camera frames.
+ * A {@link Surface} for drawing processed camera frames.
*
- * <p>Contains a {@link ListenableFuture<Surface>} and its characteristics along with methods
- * for notifying the end of life of the {@link Surface} and marking the {@link Surface} as no
- * longer in use.
+ * <p>Contains a {@link Surface} and its characteristics along with methods to manage the
+ * lifecycle of the {@link Surface}.
*
* @hide
* @see SurfaceEffect#onOutputSurface(SurfaceOutput)
@@ -46,7 +44,7 @@
public interface SurfaceOutput {
/**
- * Gets the output {@link Surface} for writing processed frames.
+ * Gets the {@link Surface} for drawing processed frames.
*
* <p> If there are multiple calls to the method, only the {@link Consumer<Event>}
* from the last call will be triggered.
@@ -87,10 +85,10 @@
int getFormat();
/**
- * Call this method to mark the {@link Surface} provided via {@link #getSurface} as no longer in
- * use.
+ * Call this method to mark the {@link Surface} as no longer in use.
*
- * <p>After this is called, the implementation should stop writing to the {@link Surface}.
+ * <p>After this is called, the implementation should stop writing to the {@link Surface}
+ * provided via {@link #getSurface}
*/
void close();
@@ -102,12 +100,13 @@
* {@link SurfaceTexture#getTransformMatrix}. The result is matrix of the same format, which
* is a transform matrix maps 2D homogeneous texture coordinates of the form (s, t, 0, 1)
* with s and t in the inclusive range [0, 1] to the texture coordinate that should be used
- * to sample that location from the texture. The result should be used in the same way as
- * the original matrix. Please see the Javadoc of {@link SurfaceTexture#getTransformMatrix}.
+ * to sample that location from the texture. The matrix is stored in column-major order so that
+ * it may be passed directly to OpenGL ES via the {@code glLoadMatrixf} or {@code
+ * glUniformMatrix4fv} functions.
*
* <p>The additional transformation is calculated based on the target rotation, target
- * resolution and the {@link ViewPort} configured by the app. The value could also include
- * workaround for device specific quirks.
+ * resolution and the {@link ViewPort} associated with the target {@link UseCase}. The value
+ * could also include workarounds for device specific quirks.
*
* @param updated the array into which the 4x4 matrix will be stored. The array must
* have exactly 16 elements.
@@ -119,7 +118,7 @@
void updateTransformMatrix(@NonNull float[] updated, @NonNull float[] original);
/**
- * Events for the {@link Surface} retrieved from
+ * Events of the {@link Surface} retrieved from
* {@link SurfaceOutput#getSurface(Executor, Consumer)}.
*/
@AutoValue
@@ -139,12 +138,13 @@
/**
* The {@link Surface} provider is requesting to release the {@link Surface}.
*
- * <p> Releasing a {@link Surface} while it's still being written into is not safe. The
- * provider of the {@link Surface} will not release the {@link Surface} without
- * the CameraX's permission. Once this event is received, the implementation should stop
- * accessing the {@link Surface} as soon as possible, then mark the {@link SurfaceOutput}
- * as closed by calling {@link SurfaceOutput#close()}. Once closed, CameraX will notify
- * the {@link Surface} provider that it's safe to release the {@link Surface}.
+ * <p> Releasing a {@link Surface} while it's still being written into is not safe on
+ * some devices. This is why the provider of the {@link Surface} will not release the
+ * {@link Surface} without the CameraX's permission. Once this event is received, the
+ * implementation should stop accessing the {@link Surface} as soon as possible, then
+ * mark the {@link SurfaceOutput} as closed by calling {@link SurfaceOutput#close()}.
+ * Once closed, CameraX will notify the {@link Surface} provider that it's safe to
+ * release the {@link Surface}.
*/
public static final int EVENT_REQUEST_CLOSE = 0;
diff --git a/camera/camera-core/src/main/java/androidx/camera/core/UseCaseGroup.java b/camera/camera-core/src/main/java/androidx/camera/core/UseCaseGroup.java
index 76e9eab..44c76b4 100644
--- a/camera/camera-core/src/main/java/androidx/camera/core/UseCaseGroup.java
+++ b/camera/camera-core/src/main/java/androidx/camera/core/UseCaseGroup.java
@@ -107,7 +107,10 @@
}
/**
- * Sets the {@link CameraEffect} used by the {@link UseCase}s.
+ * Sets the {@link EffectBundle} for the {@link UseCase}s.
+ *
+ * <p>Once set, CameraX will use the {@link SurfaceEffect}s to process the outputs of
+ * the {@link UseCase}s.
*
* @hide
*/
diff --git a/camera/camera-view/src/main/java/androidx/camera/view/TransformUtils.java b/camera/camera-core/src/main/java/androidx/camera/core/impl/utils/TransformUtils.java
similarity index 92%
rename from camera/camera-view/src/main/java/androidx/camera/view/TransformUtils.java
rename to camera/camera-core/src/main/java/androidx/camera/core/impl/utils/TransformUtils.java
index 1552825..60dc5d5 100644
--- a/camera/camera-view/src/main/java/androidx/camera/view/TransformUtils.java
+++ b/camera/camera-core/src/main/java/androidx/camera/core/impl/utils/TransformUtils.java
@@ -14,18 +14,16 @@
* limitations under the License.
*/
-package androidx.camera.view;
+package androidx.camera.core.impl.utils;
import android.graphics.Matrix;
import android.graphics.Rect;
import android.graphics.RectF;
import android.media.ExifInterface;
import android.util.Size;
-import android.view.Surface;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
-import androidx.annotation.RestrictTo;
/**
* Utility class for transform.
@@ -36,11 +34,8 @@
* (clockwise v.s. counter-clockwise).
*
* TODO(b/179827713): merge this with {@link androidx.camera.core.internal.utils.ImageUtil}.
- *
- * @hide
*/
@RequiresApi(21) // TODO(b/200306659): Remove and replace with annotation on package-info.java
-@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public class TransformUtils {
// Normalized space (-1, -1) - (1, 1).
@@ -85,24 +80,6 @@
}
/**
- * Converts {@link Surface} rotation to rotation degrees: 90, 180, 270 or 0.
- */
- public static int surfaceRotationToRotationDegrees(int rotationValue) {
- switch (rotationValue) {
- case Surface.ROTATION_0:
- return 0;
- case Surface.ROTATION_90:
- return 90;
- case Surface.ROTATION_180:
- return 180;
- case Surface.ROTATION_270:
- return 270;
- default:
- throw new IllegalStateException("Unexpected rotation value " + rotationValue);
- }
- }
-
- /**
* Returns true if the rotation degrees is 90 or 270.
*/
public static boolean is90or270(int rotationDegrees) {
@@ -138,7 +115,8 @@
*
* <p> One example of the usage is comparing the viewport-based crop rect from different use
* cases. The crop rect is rounded because pixels are integers, which may introduce an error
- * when we check if the aspect ratio matches. For example, when {@link PreviewView}'s
+ * when we check if the aspect ratio matches. For example, when
+ * {@linkplain androidx.camera.view.PreviewView}'s
* width/height are prime numbers 601x797, the crop rect from other use cases cannot have a
* matching aspect ratio even if they are based on the same viewport. This method checks the
* aspect ratio while tolerating a rounding error.
@@ -216,7 +194,7 @@
* Gets the transform from a normalized space (-1, -1) - (1, 1) to the given rect.
*/
@NonNull
- private static Matrix getNormalizedToBuffer(@NonNull RectF viewPortRect) {
+ public static Matrix getNormalizedToBuffer(@NonNull RectF viewPortRect) {
Matrix normalizedToBuffer = new Matrix();
normalizedToBuffer.setRectToRect(NORMALIZED_RECT, viewPortRect, Matrix.ScaleToFit.FILL);
return normalizedToBuffer;
@@ -280,6 +258,7 @@
}
// Map the normalized space back to the bitmap coordinates.
+ @SuppressWarnings("SuspiciousNameCombination")
RectF restoredRect = isWidthHeightSwapped ? new RectF(0, 0, height, width) : rect;
Matrix restore = new Matrix();
restore.setRectToRect(NORMALIZED_RECT, restoredRect, Matrix.ScaleToFit.FILL);
diff --git a/camera/camera-view/src/test/java/androidx/camera/view/TransformUtilsTest.java b/camera/camera-core/src/test/java/androidx/camera/core/impl/utils/TransformUtilsTest.java
similarity index 78%
rename from camera/camera-view/src/test/java/androidx/camera/view/TransformUtilsTest.java
rename to camera/camera-core/src/test/java/androidx/camera/core/impl/utils/TransformUtilsTest.java
index 73c8820..2808ba3 100644
--- a/camera/camera-view/src/test/java/androidx/camera/view/TransformUtilsTest.java
+++ b/camera/camera-core/src/test/java/androidx/camera/core/impl/utils/TransformUtilsTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 The Android Open Source Project
+ * Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,17 +14,19 @@
* limitations under the License.
*/
-package androidx.camera.view;
+package androidx.camera.core.impl.utils;
-import static androidx.camera.view.TransformUtils.getExifTransform;
-import static androidx.camera.view.TransformUtils.rectToVertices;
+import static androidx.camera.core.impl.utils.TransformUtils.getExifTransform;
+import static androidx.camera.core.impl.utils.TransformUtils.rectToVertices;
import static com.google.common.truth.Truth.assertThat;
import android.graphics.Matrix;
+import android.graphics.Rect;
import android.graphics.RectF;
import android.media.ExifInterface;
import android.os.Build;
+import android.util.Size;
import org.junit.Test;
import org.junit.runner.RunWith;
@@ -44,6 +46,21 @@
private static final int HEIGHT = 300;
@Test
+ public void viewPortMatchAllowRoundingError() {
+ // Arrange: create two 1:1 crop rect. Due to rounding error, one is 11:9 and another is
+ // 9:11.
+ Rect cropRect1 = new Rect();
+ new RectF(0.4999f, 0.5f, 10.5f, 10.4999f).round(cropRect1);
+ Rect cropRect2 = new Rect();
+ new RectF(0.5f, 0.4999f, 10.4999f, 10.5f).round(cropRect2);
+
+ // Assert: they are within rounding error.
+ assertThat(TransformUtils.isAspectRatioMatchingWithRoundingError(
+ new Size(cropRect1.width(), cropRect1.height()), false,
+ new Size(cropRect2.width(), cropRect2.height()), false)).isTrue();
+ }
+
+ @Test
public void exifOrientation_flipHorizontal() {
verifyExifOrientation(ExifInterface.ORIENTATION_FLIP_HORIZONTAL, new float[]{
WIDTH, 0, 0, 0, 0, HEIGHT, WIDTH, HEIGHT
diff --git a/camera/camera-extensions/lint-baseline.xml b/camera/camera-extensions/lint-baseline.xml
deleted file mode 100644
index a9df457..0000000
--- a/camera/camera-extensions/lint-baseline.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
-
-</issues>
diff --git a/camera/camera-mlkit-vision/src/main/java/androidx/camera/mlkit/vision/MlKitAnalyzer.java b/camera/camera-mlkit-vision/src/main/java/androidx/camera/mlkit/vision/MlKitAnalyzer.java
index 3ae7d6b..52b5f08 100644
--- a/camera/camera-mlkit-vision/src/main/java/androidx/camera/mlkit/vision/MlKitAnalyzer.java
+++ b/camera/camera-mlkit-vision/src/main/java/androidx/camera/mlkit/vision/MlKitAnalyzer.java
@@ -40,12 +40,14 @@
import androidx.camera.view.transform.OutputTransform;
import androidx.core.util.Consumer;
+import com.google.android.gms.tasks.Task;
import com.google.mlkit.vision.interfaces.Detector;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.concurrent.CancellationException;
import java.util.concurrent.Executor;
/**
@@ -207,12 +209,31 @@
}
Detector<?> detector = mDetectors.get(detectorIndex);
int rotationDegrees = imageProxy.getImageInfo().getRotationDegrees();
- detector.process(image, rotationDegrees, transform).addOnCompleteListener(
+
+ Task<?> mlKitTask;
+ try {
+ mlKitTask = detector.process(image, rotationDegrees, transform);
+ } catch (Exception e) {
+ // If the detector is closed, it will throw a MlKitException.UNAVAILABLE. It's not
+ // public in the "mlkit:vision-interfaces" artifact so we have to catch a generic
+ // Exception here.
+ throwables.put(detector, new RuntimeException("Failed to process the image.", e));
+ // This detector is closed, but the next one might still be open. Send the image to
+ // the next detector.
+ detectRecursively(imageProxy, detectorIndex + 1, transform, values,
+ throwables);
+ return;
+ }
+ mlKitTask.addOnCompleteListener(
mExecutor,
task -> {
// Record the return value / exception.
- values.put(detector, task.getResult());
- if (task.getException() != null) {
+ if (task.isCanceled()) {
+ throwables.put(detector,
+ new CancellationException("The task is canceled."));
+ } else if (task.isSuccessful()) {
+ values.put(detector, task.getResult());
+ } else {
throwables.put(detector, task.getException());
}
// Go to the next detector.
@@ -337,7 +358,8 @@
}
private void checkDetectorExists(@NonNull Detector<?> detector) {
- checkArgument(mValues.containsKey(detector), "The detector does not exist");
+ checkArgument(mValues.containsKey(detector) || mThrowables.containsKey(detector),
+ "The detector does not exist");
}
}
}
diff --git a/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/FakeDetector.kt b/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/FakeDetector.kt
index 28778e5..b7a38c1 100644
--- a/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/FakeDetector.kt
+++ b/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/FakeDetector.kt
@@ -19,6 +19,7 @@
import android.graphics.Bitmap
import android.graphics.Matrix
import android.media.Image
+import androidx.annotation.VisibleForTesting
import com.google.android.gms.tasks.Task
import com.google.mlkit.vision.interfaces.Detector
import java.nio.ByteBuffer
@@ -28,17 +29,25 @@
*/
class FakeDetector(
private val result: String?,
- private val exception: Exception?,
- private val detectorType: Int
+ private val detectorType: Int,
) : Detector<String> {
+ @VisibleForTesting
var latestMatrix: Matrix? = null
+ @VisibleForTesting
var latestRotationDegrees: Int = -1
+ private var closed = false
+ var taskException: Exception? = null
+ var taskCanceled: Boolean = false
+
override fun process(image: Image, rotationDegrees: Int, matrix: Matrix): Task<String> {
+ if (closed) {
+ throw Exception("Closed")
+ }
latestMatrix = matrix
latestRotationDegrees = rotationDegrees
- return FakeTask(result, exception)
+ return FakeTask(result, taskException, taskCanceled)
}
override fun getDetectorType(): Int {
@@ -46,7 +55,7 @@
}
override fun close() {
- TODO("Not yet implemented")
+ closed = true
}
override fun process(p0: Bitmap, p1: Int): Task<String> {
diff --git a/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/FakeTask.kt b/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/FakeTask.kt
index 8af2521..2eda9cf 100644
--- a/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/FakeTask.kt
+++ b/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/FakeTask.kt
@@ -21,6 +21,7 @@
import com.google.android.gms.tasks.OnFailureListener
import com.google.android.gms.tasks.OnSuccessListener
import com.google.android.gms.tasks.Task
+import java.util.concurrent.CancellationException
import java.util.concurrent.Executor
/**
@@ -28,22 +29,26 @@
*/
class FakeTask<T>(
private val result: T?,
- private val exception: Exception?
+ private val exception: Exception? = null,
+ private val canceled: Boolean = false
) : Task<T>() {
override fun isComplete(): Boolean {
- TODO("Not yet implemented")
+ return true
}
override fun isSuccessful(): Boolean {
- TODO("Not yet implemented")
+ return result != null && !canceled && exception == null
}
override fun isCanceled(): Boolean {
- TODO("Not yet implemented")
+ return canceled
}
override fun getResult(): T? {
+ if (canceled) {
+ throw CancellationException()
+ }
return result
}
diff --git a/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/MlKitAnalyzerTest.kt b/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/MlKitAnalyzerTest.kt
index 23cd954..c4dcc0f 100644
--- a/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/MlKitAnalyzerTest.kt
+++ b/camera/camera-mlkit-vision/src/test/java/androidx/camera/mlkit/vision/MlKitAnalyzerTest.kt
@@ -31,6 +31,7 @@
import com.google.mlkit.vision.interfaces.Detector
import com.google.mlkit.vision.interfaces.Detector.TYPE_BARCODE_SCANNING
import com.google.mlkit.vision.interfaces.Detector.TYPE_FACE_DETECTION
+import kotlin.coroutines.cancellation.CancellationException
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito.mock
@@ -54,9 +55,50 @@
}
@Test
+ fun detectorIsClosed_returnsException() {
+ // Arrange: create 2 detectors, one is closed and one is open.
+ val closedDetector = FakeDetector(RETURN_VALUE, TYPE_BARCODE_SCANNING)
+ closedDetector.close()
+ val openDetector = FakeDetector(RETURN_VALUE, TYPE_BARCODE_SCANNING)
+ var result: MlKitAnalyzer.Result? = null
+ val mlKitAnalyzer = MlKitAnalyzer(
+ listOf(closedDetector, openDetector),
+ ImageAnalysis.COORDINATE_SYSTEM_ORIGINAL,
+ directExecutor()
+ ) {
+ result = it
+ }
+ // Act.
+ mlKitAnalyzer.analyze(createFakeImageProxy())
+ // Assert: the closed detector contains a Exception. The open one contains the value.
+ assertThat(result!!.getThrowable(closedDetector)).isInstanceOf(Exception::class.java)
+ assertThat(result!!.getValue(openDetector)).isEqualTo(RETURN_VALUE)
+ }
+
+ @Test
+ fun taskIsCanceled_returnsCancellationException() {
+ // Arrange: create a detector that delivers canceled tasks.
+ val fakeDetector = FakeDetector(RETURN_VALUE, TYPE_BARCODE_SCANNING)
+ fakeDetector.taskCanceled = true
+ var result: MlKitAnalyzer.Result? = null
+ val mlKitAnalyzer = MlKitAnalyzer(
+ listOf(fakeDetector),
+ ImageAnalysis.COORDINATE_SYSTEM_ORIGINAL,
+ directExecutor()
+ ) {
+ result = it
+ }
+ // Act.
+ mlKitAnalyzer.analyze(createFakeImageProxy())
+ // Assert: the result has a CancellationException.
+ assertThat(result!!.getThrowable(fakeDetector))
+ .isInstanceOf(CancellationException::class.java)
+ }
+
+ @Test
fun createAnalyzerWith2Detectors_overridesWithHigherResolution() {
- val barcodeScanner = FakeDetector(RETURN_VALUE, null, TYPE_BARCODE_SCANNING)
- val faceDetector = FakeDetector(RETURN_VALUE, null, TYPE_FACE_DETECTION)
+ val barcodeScanner = FakeDetector(RETURN_VALUE, TYPE_BARCODE_SCANNING)
+ val faceDetector = FakeDetector(RETURN_VALUE, TYPE_FACE_DETECTION)
val mlKitAnalyzer = MlKitAnalyzer(
listOf(barcodeScanner, faceDetector),
ImageAnalysis.COORDINATE_SYSTEM_ORIGINAL,
@@ -69,8 +111,9 @@
@Test
fun analyze_detectorsReceiveValues() {
// Arrange: 2 detectors, one succeeds and one fails.
- val failDetector = FakeDetector(null, Exception(), TYPE_BARCODE_SCANNING)
- val successDetector = FakeDetector(RETURN_VALUE, null, TYPE_BARCODE_SCANNING)
+ val failDetector = FakeDetector(null, TYPE_BARCODE_SCANNING)
+ failDetector.taskException = Exception()
+ val successDetector = FakeDetector(RETURN_VALUE, TYPE_BARCODE_SCANNING)
var result: MlKitAnalyzer.Result? = null
val mlKitAnalyzer = MlKitAnalyzer(
listOf(failDetector, successDetector),
@@ -98,7 +141,7 @@
@Test(expected = IllegalArgumentException::class)
fun segmentationAndPreviewView_throwsException() {
MlKitAnalyzer(
- listOf(FakeDetector(RETURN_VALUE, null, Detector.TYPE_SEGMENTATION)),
+ listOf(FakeDetector(RETURN_VALUE, Detector.TYPE_SEGMENTATION)),
COORDINATE_SYSTEM_VIEW_REFERENCED,
directExecutor()
) {}
@@ -109,7 +152,7 @@
// Arrange.
val additionalTransform = Matrix()
additionalTransform.setScale(2F, 2F)
- val detector = FakeDetector(RETURN_VALUE, null, TYPE_BARCODE_SCANNING)
+ val detector = FakeDetector(RETURN_VALUE, TYPE_BARCODE_SCANNING)
val analyzer = MlKitAnalyzer(
listOf(detector),
COORDINATE_SYSTEM_VIEW_REFERENCED,
diff --git a/camera/camera-video/src/main/java/androidx/camera/video/VideoCapture.java b/camera/camera-video/src/main/java/androidx/camera/video/VideoCapture.java
index 0adceba..00bf998 100644
--- a/camera/camera-video/src/main/java/androidx/camera/video/VideoCapture.java
+++ b/camera/camera-video/src/main/java/androidx/camera/video/VideoCapture.java
@@ -208,10 +208,21 @@
*
* @hide
*/
+ @SuppressWarnings("unchecked")
@RestrictTo(Scope.LIBRARY_GROUP)
@Override
public void onStateAttached() {
super.onStateAttached();
+ Preconditions.checkNotNull(getAttachedSurfaceResolution(), "The suggested resolution "
+ + "should be already updated and shouldn't be null.");
+ Preconditions.checkState(mSurfaceRequest == null, "The surface request should be null "
+ + "when VideoCapture is attached.");
+ mSessionConfigBuilder = createPipeline(getCameraId(),
+ (VideoCaptureConfig<T>) getCurrentConfig(), getAttachedSurfaceResolution());
+ applyStreamInfoToSessionConfigBuilder(mSessionConfigBuilder, mStreamInfo);
+ updateSessionConfig(mSessionConfigBuilder.build());
+ // VideoCapture has to be active to apply SessionConfig's template type.
+ notifyActive();
getOutput().getStreamInfo().addObserver(CameraXExecutors.mainThreadExecutor(),
mStreamInfoObserver);
setSourceState(VideoOutput.SourceState.ACTIVE_NON_STREAMING);
@@ -228,7 +239,6 @@
@NonNull
protected Size onSuggestedResolutionUpdated(@NonNull Size suggestedResolution) {
Logger.d(TAG, "suggestedResolution = " + suggestedResolution);
- String cameraId = getCameraId();
VideoCaptureConfig<T> config = (VideoCaptureConfig<T>) getCurrentConfig();
// SuggestedResolution gives the upper bound of allowed resolution size.
@@ -259,14 +269,6 @@
}
}
- mStreamInfo = fetchObservableValue(getOutput().getStreamInfo(),
- StreamInfo.STREAM_INFO_ANY_INACTIVE);
- mSessionConfigBuilder = createPipeline(cameraId, config, finalSelectedResolution);
- applyStreamInfoToSessionConfigBuilder(mSessionConfigBuilder, mStreamInfo);
- updateSessionConfig(mSessionConfigBuilder.build());
- // VideoCapture has to be active to apply SessionConfig's template type.
- notifyActive();
-
return finalSelectedResolution;
}
@@ -290,17 +292,6 @@
*/
@RestrictTo(Scope.LIBRARY_GROUP)
@Override
- public void onDetached() {
- clearPipeline();
- }
-
- /**
- * {@inheritDoc}
- *
- * @hide
- */
- @RestrictTo(Scope.LIBRARY_GROUP)
- @Override
public void onStateDetached() {
Preconditions.checkState(Threads.isMainThread(), "VideoCapture can only be detached on "
+ "the main thread.");
@@ -312,6 +303,9 @@
+ "cancelled.");
}
}
+ // Clear the pipeline to close the surface, which releases the codec so that it's
+ // available for other applications.
+ clearPipeline();
}
@NonNull
diff --git a/camera/camera-video/src/test/java/androidx/camera/video/VideoCaptureTest.kt b/camera/camera-video/src/test/java/androidx/camera/video/VideoCaptureTest.kt
index 1bd92a0..0f0e34c 100644
--- a/camera/camera-video/src/test/java/androidx/camera/video/VideoCaptureTest.kt
+++ b/camera/camera-video/src/test/java/androidx/camera/video/VideoCaptureTest.kt
@@ -53,6 +53,7 @@
import androidx.test.core.app.ApplicationProvider
import com.google.common.truth.Truth.assertThat
import com.google.common.truth.Truth.assertWithMessage
+import java.util.concurrent.TimeUnit
import org.junit.After
import org.junit.Assert.assertThrows
import org.junit.Test
@@ -63,7 +64,6 @@
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config
import org.robolectric.annotation.internal.DoNotInstrument
-import java.util.concurrent.TimeUnit
private val ANY_SIZE = Size(640, 480)
private const val CAMERA_ID_0 = "0"
@@ -330,6 +330,40 @@
}
@Test
+ fun detachUseCases_receiveResultOfSurfaceRequest() {
+ // Arrange.
+ setupCamera()
+ cameraUseCaseAdapter =
+ CameraUtil.createCameraUseCaseAdapter(context, CameraSelector.DEFAULT_BACK_CAMERA)
+
+ var surfaceResult: SurfaceRequest.Result? = null
+ val videoOutput = createVideoOutput { surfaceRequest ->
+ surfaceRequest.provideSurface(
+ mock(Surface::class.java),
+ CameraXExecutors.directExecutor()
+ ) { surfaceResult = it }
+ }
+ val videoCapture = VideoCapture.Builder(videoOutput)
+ .setSessionOptionUnpacker { _, _ -> }
+ .build()
+
+ // Act.
+ cameraUseCaseAdapter.addUseCases(listOf(videoCapture))
+
+ // Assert.
+ // Surface is in use, should not receive any result.
+ assertThat(surfaceResult).isNull()
+
+ // Act.
+ cameraUseCaseAdapter.detachUseCases()
+
+ // Assert.
+ assertThat(surfaceResult!!.resultCode).isEqualTo(
+ SurfaceRequest.Result.RESULT_SURFACE_USED_SUCCESSFULLY
+ )
+ }
+
+ @Test
fun setTargetRotation_rotationIsChanged() {
// Arrange.
val videoCapture = VideoCapture.withOutput(createVideoOutput())
diff --git a/camera/camera-view/src/androidTest/java/androidx/camera/view/TransformUtilsDeviceTest.java b/camera/camera-view/src/androidTest/java/androidx/camera/view/TransformUtilsDeviceTest.java
deleted file mode 100644
index 6c226c8..0000000
--- a/camera/camera-view/src/androidTest/java/androidx/camera/view/TransformUtilsDeviceTest.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright 2021 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package androidx.camera.view;
-
-import static com.google.common.truth.Truth.assertThat;
-
-import android.graphics.Rect;
-import android.graphics.RectF;
-import android.util.Size;
-
-import androidx.test.ext.junit.runners.AndroidJUnit4;
-import androidx.test.filters.LargeTest;
-import androidx.test.filters.SdkSuppress;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-/**
- * Instrument test for {@link TransformUtils}
- */
-@LargeTest
-@RunWith(AndroidJUnit4.class)
-@SdkSuppress(minSdkVersion = 21)
-public class TransformUtilsDeviceTest {
-
- @Test
- public void viewPortMatchAllowRoundingError() {
- // Arrange: create two 1:1 crop rect. Due to rounding error, one is 11:9 and another is
- // 9:11.
- Rect cropRect1 = new Rect();
- new RectF(0.4999f, 0.5f, 10.5f, 10.4999f).round(cropRect1);
- Rect cropRect2 = new Rect();
- new RectF(0.5f, 0.4999f, 10.4999f, 10.5f).round(cropRect2);
-
- // Assert: they are within rounding error.
- assertThat(TransformUtils.isAspectRatioMatchingWithRoundingError(
- new Size(cropRect1.width(), cropRect1.height()), false,
- new Size(cropRect2.width(), cropRect2.height()), false)).isTrue();
- }
-}
diff --git a/camera/camera-view/src/main/java/androidx/camera/view/PreviewTransformation.java b/camera/camera-view/src/main/java/androidx/camera/view/PreviewTransformation.java
index 800bbc2..4049e5c 100644
--- a/camera/camera-view/src/main/java/androidx/camera/view/PreviewTransformation.java
+++ b/camera/camera-view/src/main/java/androidx/camera/view/PreviewTransformation.java
@@ -21,14 +21,14 @@
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
import static androidx.camera.core.impl.ImageOutputConfig.ROTATION_NOT_SPECIFIED;
+import static androidx.camera.core.impl.utils.CameraOrientationUtil.surfaceRotationToDegrees;
+import static androidx.camera.core.impl.utils.TransformUtils.getRectToRect;
+import static androidx.camera.core.impl.utils.TransformUtils.is90or270;
+import static androidx.camera.core.impl.utils.TransformUtils.isAspectRatioMatchingWithRoundingError;
import static androidx.camera.view.PreviewView.ScaleType.FILL_CENTER;
import static androidx.camera.view.PreviewView.ScaleType.FIT_CENTER;
import static androidx.camera.view.PreviewView.ScaleType.FIT_END;
import static androidx.camera.view.PreviewView.ScaleType.FIT_START;
-import static androidx.camera.view.TransformUtils.getRectToRect;
-import static androidx.camera.view.TransformUtils.is90or270;
-import static androidx.camera.view.TransformUtils.isAspectRatioMatchingWithRoundingError;
-import static androidx.camera.view.TransformUtils.surfaceRotationToRotationDegrees;
import android.graphics.Bitmap;
import android.graphics.Canvas;
@@ -154,7 +154,7 @@
Matrix getTextureViewCorrectionMatrix() {
Preconditions.checkState(isTransformationInfoReady());
RectF surfaceRect = new RectF(0, 0, mResolution.getWidth(), mResolution.getHeight());
- int rotationDegrees = -surfaceRotationToRotationDegrees(mTargetRotation);
+ int rotationDegrees = -surfaceRotationToDegrees(mTargetRotation);
return getRectToRect(surfaceRect, surfaceRect, rotationDegrees);
}
diff --git a/camera/camera-view/src/main/java/androidx/camera/view/PreviewView.java b/camera/camera-view/src/main/java/androidx/camera/view/PreviewView.java
index 0d09ff3..a46b7cb 100644
--- a/camera/camera-view/src/main/java/androidx/camera/view/PreviewView.java
+++ b/camera/camera-view/src/main/java/androidx/camera/view/PreviewView.java
@@ -18,7 +18,7 @@
import static androidx.camera.core.impl.ImageOutputConfig.ROTATION_NOT_SPECIFIED;
import static androidx.camera.core.impl.utils.Threads.checkMainThread;
-import static androidx.camera.view.TransformUtils.getNormalizedToBuffer;
+import static androidx.camera.core.impl.utils.TransformUtils.getNormalizedToBuffer;
import static androidx.core.content.ContextCompat.getMainExecutor;
import android.annotation.SuppressLint;
diff --git a/camera/camera-view/src/main/java/androidx/camera/view/transform/CoordinateTransform.java b/camera/camera-view/src/main/java/androidx/camera/view/transform/CoordinateTransform.java
index 0cb9663..9c441dc 100644
--- a/camera/camera-view/src/main/java/androidx/camera/view/transform/CoordinateTransform.java
+++ b/camera/camera-view/src/main/java/androidx/camera/view/transform/CoordinateTransform.java
@@ -16,7 +16,7 @@
package androidx.camera.view.transform;
-import static androidx.camera.view.TransformUtils.isAspectRatioMatchingWithRoundingError;
+import static androidx.camera.core.impl.utils.TransformUtils.isAspectRatioMatchingWithRoundingError;
import android.graphics.Matrix;
import android.graphics.PointF;
diff --git a/camera/camera-view/src/main/java/androidx/camera/view/transform/FileTransformFactory.java b/camera/camera-view/src/main/java/androidx/camera/view/transform/FileTransformFactory.java
index 2ddacc7..c7bda95 100644
--- a/camera/camera-view/src/main/java/androidx/camera/view/transform/FileTransformFactory.java
+++ b/camera/camera-view/src/main/java/androidx/camera/view/transform/FileTransformFactory.java
@@ -16,9 +16,9 @@
package androidx.camera.view.transform;
-import static androidx.camera.view.TransformUtils.getExifTransform;
-import static androidx.camera.view.TransformUtils.getNormalizedToBuffer;
-import static androidx.camera.view.TransformUtils.rectToSize;
+import static androidx.camera.core.impl.utils.TransformUtils.getExifTransform;
+import static androidx.camera.core.impl.utils.TransformUtils.getNormalizedToBuffer;
+import static androidx.camera.core.impl.utils.TransformUtils.rectToSize;
import android.content.ContentResolver;
import android.graphics.Bitmap;
diff --git a/camera/camera-view/src/main/java/androidx/camera/view/transform/ImageProxyTransformFactory.java b/camera/camera-view/src/main/java/androidx/camera/view/transform/ImageProxyTransformFactory.java
index 70fd950..b20c929 100644
--- a/camera/camera-view/src/main/java/androidx/camera/view/transform/ImageProxyTransformFactory.java
+++ b/camera/camera-view/src/main/java/androidx/camera/view/transform/ImageProxyTransformFactory.java
@@ -16,10 +16,10 @@
package androidx.camera.view.transform;
-import static androidx.camera.view.TransformUtils.getNormalizedToBuffer;
-import static androidx.camera.view.TransformUtils.getRectToRect;
-import static androidx.camera.view.TransformUtils.is90or270;
-import static androidx.camera.view.TransformUtils.rectToSize;
+import static androidx.camera.core.impl.utils.TransformUtils.getNormalizedToBuffer;
+import static androidx.camera.core.impl.utils.TransformUtils.getRectToRect;
+import static androidx.camera.core.impl.utils.TransformUtils.is90or270;
+import static androidx.camera.core.impl.utils.TransformUtils.rectToSize;
import android.graphics.Matrix;
import android.graphics.RectF;
diff --git a/camera/camera-view/src/test/java/androidx/camera/view/PreviewTransformationTest.kt b/camera/camera-view/src/test/java/androidx/camera/view/PreviewTransformationTest.kt
index d62ac90..ddf2b9e 100644
--- a/camera/camera-view/src/test/java/androidx/camera/view/PreviewTransformationTest.kt
+++ b/camera/camera-view/src/test/java/androidx/camera/view/PreviewTransformationTest.kt
@@ -24,7 +24,7 @@
import android.view.View
import androidx.camera.core.SurfaceRequest
import androidx.camera.core.impl.ImageOutputConfig.RotationValue
-import androidx.camera.view.TransformUtils.sizeToVertices
+import androidx.camera.core.impl.utils.TransformUtils.sizeToVertices
import androidx.test.core.app.ApplicationProvider
import com.google.common.truth.Truth.assertThat
import kotlin.math.roundToInt
diff --git a/camera/camera-viewfinder/src/androidTest/java/androidx/camera/viewfinder/SurfaceViewImplementationTest.kt b/camera/camera-viewfinder/src/androidTest/java/androidx/camera/viewfinder/SurfaceViewImplementationTest.kt
index f68b2e5..16e57c2 100644
--- a/camera/camera-viewfinder/src/androidTest/java/androidx/camera/viewfinder/SurfaceViewImplementationTest.kt
+++ b/camera/camera-viewfinder/src/androidTest/java/androidx/camera/viewfinder/SurfaceViewImplementationTest.kt
@@ -78,7 +78,9 @@
@After
fun tearDown() {
- mSurfaceRequest.viewfinderSurface.close()
+ if (::mSurfaceRequest.isInitialized) {
+ mSurfaceRequest.viewfinderSurface.close()
+ }
}
@Test
diff --git a/camera/integration-tests/camerapipetestapp/lint-baseline.xml b/camera/integration-tests/camerapipetestapp/lint-baseline.xml
index 642b238..9bb52d0 100644
--- a/camera/integration-tests/camerapipetestapp/lint-baseline.xml
+++ b/camera/integration-tests/camerapipetestapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="ClassVerificationFailure"
@@ -10,13 +10,4 @@
file="src/main/java/androidx/camera/integration/camera2/pipe/CameraPipeApplication.kt"/>
</issue>
- <issue
- id="MissingTestSizeAnnotation"
- message="Missing test size annotation"
- errorLine1=" fun useAppContext() {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/androidTest/java/androidx/camera/integration/camera2/pipe/BasicInstrumentedTest.kt"/>
- </issue>
-
</issues>
diff --git a/camera/integration-tests/coretestapp/lint-baseline.xml b/camera/integration-tests/coretestapp/lint-baseline.xml
index bc6c935..4bde6a4 100644
--- a/camera/integration-tests/coretestapp/lint-baseline.xml
+++ b/camera/integration-tests/coretestapp/lint-baseline.xml
@@ -2,13 +2,6 @@
<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
- id="NotificationPermission"
- message="When targeting Android 13 or higher, posting a permission requires holding the `POST_NOTIFICATIONS` permission (usage from leakcanary.NotificationEventListener)">
- <location
- file="$GRADLE_USER_HOME/caches/transforms-3/4366a02f2b10003dc48387e903833c2d/transformed/leakcanary-android-core-2.8.1/jars/classes.jar"/>
- </issue>
-
- <issue
id="UnsafeOptInUsageError"
message="This declaration is opt-in and its usage should be marked with
'@androidx.camera.core.ExperimentalZeroShutterLag' or '@OptIn(markerClass = androidx.camera.core.ExperimentalZeroShutterLag.class)'"
errorLine1=" return ImageCapture.CAPTURE_MODE_ZERO_SHUTTER_LAG;"
diff --git a/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/CameraXActivityTestExtensions.kt b/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/CameraXActivityTestExtensions.kt
index cb47a1d..45f998f 100644
--- a/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/CameraXActivityTestExtensions.kt
+++ b/camera/integration-tests/coretestapp/src/androidTest/java/androidx/camera/integration/core/CameraXActivityTestExtensions.kt
@@ -72,7 +72,16 @@
Espresso.onView(ViewMatchers.withId(R.id.Picture)).perform(click())
} finally { // Always release the idling resource, in case of timeout exceptions.
IdlingRegistry.getInstance().unregister(idlingResource)
- withActivity { deleteSessionImages() }
+ withActivity {
+ // Idling resource will also become idle when an error occurs. Checks the last error
+ // message and throw an Exception to make the test failed if the error message is not
+ // null.
+ if (lastTakePictureErrorMessage != null) {
+ throw Exception(lastTakePictureErrorMessage)
+ } else {
+ deleteSessionImages()
+ }
+ }
}
}
diff --git a/camera/integration-tests/coretestapp/src/main/java/androidx/camera/integration/core/CameraXActivity.java b/camera/integration-tests/coretestapp/src/main/java/androidx/camera/integration/core/CameraXActivity.java
index f35f604..6b988a0 100644
--- a/camera/integration-tests/coretestapp/src/main/java/androidx/camera/integration/core/CameraXActivity.java
+++ b/camera/integration-tests/coretestapp/src/main/java/androidx/camera/integration/core/CameraXActivity.java
@@ -16,6 +16,11 @@
package androidx.camera.integration.core;
+import static androidx.camera.core.ImageCapture.ERROR_CAMERA_CLOSED;
+import static androidx.camera.core.ImageCapture.ERROR_CAPTURE_FAILED;
+import static androidx.camera.core.ImageCapture.ERROR_FILE_IO;
+import static androidx.camera.core.ImageCapture.ERROR_INVALID_CAMERA;
+import static androidx.camera.core.ImageCapture.ERROR_UNKNOWN;
import static androidx.camera.core.ImageCapture.FLASH_MODE_AUTO;
import static androidx.camera.core.ImageCapture.FLASH_MODE_OFF;
import static androidx.camera.core.ImageCapture.FLASH_MODE_ON;
@@ -316,6 +321,13 @@
new CountingIdlingResource("videosaved");
/**
+ * Saves the error message of the last take picture action if any error occurs. This will be
+ * null which means no error occurs.
+ */
+ @Nullable
+ private String mLastTakePictureErrorMessage = null;
+
+ /**
* Retrieve idling resource that waits for image received by analyzer).
*/
@VisibleForTesting
@@ -702,6 +714,7 @@
@Override
public void onClick(View view) {
mImageSavedIdlingResource.increment();
+ mLastTakePictureErrorMessage = null;
mStartCaptureTime = SystemClock.elapsedRealtime();
createDefaultPictureFolderIfNotExist();
@@ -743,12 +756,47 @@
@Override
public void onError(@NonNull ImageCaptureException exception) {
Log.e(TAG, "Failed to save image.", exception.getCause());
+
+ mLastTakePictureErrorMessage =
+ getImageCaptureErrorMessage(exception);
+ if (!mImageSavedIdlingResource.isIdleNow()) {
+ mImageSavedIdlingResource.decrement();
+ }
}
});
}
});
}
+ private String getImageCaptureErrorMessage(@NonNull ImageCaptureException exception) {
+ String errorCodeString;
+ int errorCode = exception.getImageCaptureError();
+
+ switch (errorCode) {
+ case ERROR_UNKNOWN:
+ errorCodeString = "ImageCaptureErrorCode: ERROR_UNKNOWN";
+ break;
+ case ERROR_FILE_IO:
+ errorCodeString = "ImageCaptureErrorCode: ERROR_FILE_IO";
+ break;
+ case ERROR_CAPTURE_FAILED:
+ errorCodeString = "ImageCaptureErrorCode: ERROR_CAPTURE_FAILED";
+ break;
+ case ERROR_CAMERA_CLOSED:
+ errorCodeString = "ImageCaptureErrorCode: ERROR_CAMERA_CLOSED";
+ break;
+ case ERROR_INVALID_CAMERA:
+ errorCodeString = "ImageCaptureErrorCode: ERROR_INVALID_CAMERA";
+ break;
+ default:
+ errorCodeString = "ImageCaptureErrorCode: " + errorCode;
+ break;
+ }
+
+ return errorCodeString + ", Message: " + exception.getMessage() + ", Cause: "
+ + exception.getCause();
+ }
+
@SuppressWarnings("ObjectToString")
private void setUpCameraDirectionButton() {
mCameraDirectionButton.setOnClickListener(v -> {
@@ -1681,6 +1729,16 @@
return findUseCase(ImageCapture.class);
}
+ /**
+ * Returns the error message of the last take picture action if any error occurs. Returns
+ * null if no error occurs.
+ */
+ @VisibleForTesting
+ @Nullable
+ String getLastTakePictureErrorMessage() {
+ return mLastTakePictureErrorMessage;
+ }
+
@SuppressWarnings("unchecked")
VideoCapture<Recorder> getVideoCapture() {
return findUseCase(VideoCapture.class);
diff --git a/camera/integration-tests/timingtestapp/lint-baseline.xml b/camera/integration-tests/timingtestapp/lint-baseline.xml
index 4986493..41a139d7 100644
--- a/camera/integration-tests/timingtestapp/lint-baseline.xml
+++ b/camera/integration-tests/timingtestapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="ClassVerificationFailure"
diff --git a/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml b/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml
deleted file mode 100644
index d3d401e..0000000
--- a/camera/integration-tests/uiwidgetstestapp/lint-baseline.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `getMDisplayManager` of class `OrientationConfigChangesOverriddenActivity` requires synthetic accessor"
- errorLine1=" val display = mDisplayManager.getDisplay(displayId)"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/camera/integration/uiwidgets/rotations/OrientationConfigChangesOverriddenActivity.kt"/>
- </issue>
-
-</issues>
diff --git a/camera/integration-tests/viewtestapp/src/main/java/androidx/camera/integration/view/MlKitFragment.kt b/camera/integration-tests/viewtestapp/src/main/java/androidx/camera/integration/view/MlKitFragment.kt
index e63d1e0..685a18e 100644
--- a/camera/integration-tests/viewtestapp/src/main/java/androidx/camera/integration/view/MlKitFragment.kt
+++ b/camera/integration-tests/viewtestapp/src/main/java/androidx/camera/integration/view/MlKitFragment.kt
@@ -21,6 +21,7 @@
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
+import android.widget.Button
import android.widget.ToggleButton
import androidx.camera.core.CameraSelector.DEFAULT_BACK_CAMERA
import androidx.camera.core.CameraSelector.DEFAULT_FRONT_CAMERA
@@ -30,6 +31,7 @@
import androidx.camera.view.LifecycleCameraController
import androidx.camera.view.PreviewView
import androidx.fragment.app.Fragment
+import com.google.mlkit.vision.barcode.BarcodeScanner
import com.google.mlkit.vision.barcode.BarcodeScanning
/**
@@ -41,7 +43,7 @@
private lateinit var previewView: PreviewView
private lateinit var overlayView: OverlayView
private lateinit var toggle: ToggleButton
- private val barcodeScanner = BarcodeScanning.getClient()
+ private var barcodeScanner: BarcodeScanner? = null
override fun onCreateView(
inflater: LayoutInflater,
@@ -55,32 +57,48 @@
toggle = view.findViewById(R.id.toggle_camera)
toggle.setOnCheckedChangeListener { _, _ -> updateCameraOrientation() }
previewView.implementationMode = PreviewView.ImplementationMode.COMPATIBLE
+ // This button resets the pipeline. This is for testing when the detector is closed,
+ // MlKitAnalyzer handles it correctly.
+ view.findViewById<Button>(R.id.restart).setOnClickListener { clearAndSetAnalyzer() }
// Set up CameraX.
cameraController = LifecycleCameraController(requireContext())
cameraController.bindToLifecycle(viewLifecycleOwner)
previewView.controller = cameraController
-
- cameraController.setImageAnalysisAnalyzer(mainThreadExecutor(),
- MlKitAnalyzer(
- listOf(barcodeScanner),
- COORDINATE_SYSTEM_VIEW_REFERENCED,
- mainThreadExecutor()
- ) { result ->
- val barcodes = result.getValue(barcodeScanner)
- if (barcodes != null && barcodes.size > 0) {
- overlayView.setTileRect(RectF(barcodes[0].boundingBox))
- overlayView.invalidate()
- }
- })
+ clearAndSetAnalyzer()
// Update states to match UI.
updateCameraOrientation()
return view
}
+ override fun onDestroyView() {
+ super.onDestroyView()
+ barcodeScanner?.close()
+ }
+
private fun updateCameraOrientation() {
cameraController.cameraSelector =
if (toggle.isChecked) DEFAULT_BACK_CAMERA else DEFAULT_FRONT_CAMERA
}
+
+ private fun clearAndSetAnalyzer() {
+ barcodeScanner?.close()
+ barcodeScanner = BarcodeScanning.getClient()
+
+ cameraController.clearImageAnalysisAnalyzer()
+ val scanner = barcodeScanner!!
+ cameraController.setImageAnalysisAnalyzer(mainThreadExecutor(),
+ MlKitAnalyzer(
+ listOf(scanner),
+ COORDINATE_SYSTEM_VIEW_REFERENCED,
+ mainThreadExecutor()
+ ) { result ->
+ val barcodes = result.getValue(scanner)
+ if (barcodes != null && barcodes.size > 0) {
+ overlayView.setTileRect(RectF(barcodes[0].boundingBox))
+ overlayView.invalidate()
+ }
+ })
+ }
}
\ No newline at end of file
diff --git a/camera/integration-tests/viewtestapp/src/main/res/layout-land/mlkit_view.xml b/camera/integration-tests/viewtestapp/src/main/res/layout-land/mlkit_view.xml
index da267fa..f6ec0b7 100644
--- a/camera/integration-tests/viewtestapp/src/main/res/layout-land/mlkit_view.xml
+++ b/camera/integration-tests/viewtestapp/src/main/res/layout-land/mlkit_view.xml
@@ -45,5 +45,10 @@
android:textOff="@string/toggle_camera_front"
android:textOn="@string/toggle_camera_back"
android:checked="true"/>
+ <Button
+ android:id="@+id/restart"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/btn_restart"/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
diff --git a/camera/integration-tests/viewtestapp/src/main/res/layout/mlkit_view.xml b/camera/integration-tests/viewtestapp/src/main/res/layout/mlkit_view.xml
index bc30222..6ae1b91 100644
--- a/camera/integration-tests/viewtestapp/src/main/res/layout/mlkit_view.xml
+++ b/camera/integration-tests/viewtestapp/src/main/res/layout/mlkit_view.xml
@@ -42,5 +42,10 @@
android:textOff="@string/toggle_camera_front"
android:textOn="@string/toggle_camera_back"
android:checked="true"/>
+ <Button
+ android:id="@+id/restart"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/btn_restart"/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
diff --git a/camera/integration-tests/viewtestapp/src/main/res/values/donottranslate-strings.xml b/camera/integration-tests/viewtestapp/src/main/res/values/donottranslate-strings.xml
index 01ea7dac..f4766fe 100644
--- a/camera/integration-tests/viewtestapp/src/main/res/values/donottranslate-strings.xml
+++ b/camera/integration-tests/viewtestapp/src/main/res/values/donottranslate-strings.xml
@@ -43,6 +43,7 @@
<string name="btn_switch">Switch</string>
<string name="btn_confirm">Confirm</string>
<string name="btn_cancel">Cancel</string>
+ <string name="btn_restart">Restart</string>
<string name="preview_view">Preview View</string>
<string name="camera_controller">Camera Controller</string>
<string name="transform">Transform</string>
diff --git a/car/app/app-samples/navigation/common/lint-baseline.xml b/car/app/app-samples/navigation/common/lint-baseline.xml
index 1dc0a34..f493425 100644
--- a/car/app/app-samples/navigation/common/lint-baseline.xml
+++ b/car/app/app-samples/navigation/common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="ClassVerificationFailure"
diff --git a/car/app/app-samples/showcase/common/lint-baseline.xml b/car/app/app-samples/showcase/common/lint-baseline.xml
index 08c9828..6e655f8 100644
--- a/car/app/app-samples/showcase/common/lint-baseline.xml
+++ b/car/app/app-samples/showcase/common/lint-baseline.xml
@@ -2,13 +2,6 @@
<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
- id="NotificationPermission"
- message="When targeting Android 13 or higher, posting a permission requires holding the `POST_NOTIFICATIONS` permission (usage from leakcanary.NotificationEventListener)">
- <location
- file="$GRADLE_USER_HOME/caches/transforms-3/4366a02f2b10003dc48387e903833c2d/transformed/leakcanary-android-core-2.8.1/jars/classes.jar"/>
- </issue>
-
- <issue
id="ClassVerificationFailure"
message="This call references a method added in API level 26; however, the containing class androidx.car.app.sample.showcase.common.navigation.NavigationNotificationsDemoScreen is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" context.startForegroundService(intent);"
diff --git a/compose/material3/material3/api/current.txt b/compose/material3/material3/api/current.txt
index cdca37d..b467398 100644
--- a/compose/material3/material3/api/current.txt
+++ b/compose/material3/material3/api/current.txt
@@ -34,12 +34,6 @@
method @androidx.compose.runtime.Composable public static void BottomAppBar(optional androidx.compose.ui.Modifier modifier, optional long containerColor, optional long contentColor, optional float tonalElevation, optional androidx.compose.foundation.layout.PaddingValues contentPadding, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> content);
}
- public final class BadgeDefaults {
- method @androidx.compose.runtime.Composable public long getContainerColor();
- property @androidx.compose.runtime.Composable public final long containerColor;
- field public static final androidx.compose.material3.BadgeDefaults INSTANCE;
- }
-
public final class BadgeKt {
}
diff --git a/compose/material3/material3/api/public_plus_experimental_current.txt b/compose/material3/material3/api/public_plus_experimental_current.txt
index 16e0471..421a1c7 100644
--- a/compose/material3/material3/api/public_plus_experimental_current.txt
+++ b/compose/material3/material3/api/public_plus_experimental_current.txt
@@ -54,7 +54,7 @@
field public static final androidx.compose.material3.AssistChipDefaults INSTANCE;
}
- public final class BadgeDefaults {
+ @androidx.compose.material3.ExperimentalMaterial3Api public final class BadgeDefaults {
method @androidx.compose.runtime.Composable public long getContainerColor();
property @androidx.compose.runtime.Composable public final long containerColor;
field public static final androidx.compose.material3.BadgeDefaults INSTANCE;
diff --git a/compose/material3/material3/api/restricted_current.txt b/compose/material3/material3/api/restricted_current.txt
index cdca37d..b467398 100644
--- a/compose/material3/material3/api/restricted_current.txt
+++ b/compose/material3/material3/api/restricted_current.txt
@@ -34,12 +34,6 @@
method @androidx.compose.runtime.Composable public static void BottomAppBar(optional androidx.compose.ui.Modifier modifier, optional long containerColor, optional long contentColor, optional float tonalElevation, optional androidx.compose.foundation.layout.PaddingValues contentPadding, kotlin.jvm.functions.Function1<? super androidx.compose.foundation.layout.RowScope,kotlin.Unit> content);
}
- public final class BadgeDefaults {
- method @androidx.compose.runtime.Composable public long getContainerColor();
- property @androidx.compose.runtime.Composable public final long containerColor;
- field public static final androidx.compose.material3.BadgeDefaults INSTANCE;
- }
-
public final class BadgeKt {
}
diff --git a/compose/material3/material3/build.gradle b/compose/material3/material3/build.gradle
index 3c7265a..5a04d78 100644
--- a/compose/material3/material3/build.gradle
+++ b/compose/material3/material3/build.gradle
@@ -45,7 +45,8 @@
api("androidx.compose.runtime:runtime:1.0.1")
api("androidx.compose.ui:ui-graphics:1.0.1")
api("androidx.compose.ui:ui:1.1.1")
- api("androidx.compose.ui:ui-text:1.0.1")
+ // TODO: pin this to 1.3.0 stable, when PlatformTextStyle is not experimental
+ api(project(":compose:ui:ui-text"))
// TODO: remove next 3 dependencies when b/202810604 is fixed
implementation("androidx.savedstate:savedstate-ktx:1.2.0")
diff --git a/compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/IncludeFontPaddingHelper.android.kt b/compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/IncludeFontPaddingHelper.android.kt
index d29b497..6cebcc5 100644
--- a/compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/IncludeFontPaddingHelper.android.kt
+++ b/compose/material3/material3/src/androidMain/kotlin/androidx/compose/material3/IncludeFontPaddingHelper.android.kt
@@ -16,12 +16,10 @@
package androidx.compose.material3
-import androidx.compose.ui.text.ExperimentalTextApi
import androidx.compose.ui.text.PlatformTextStyle
import androidx.compose.ui.text.TextStyle
// TODO(b/237588251) remove this once the default includeFontPadding is false
-@OptIn(ExperimentalTextApi::class)
@Suppress("DEPRECATION")
internal actual fun copyAndSetFontPadding(
style: TextStyle,
diff --git a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Badge.kt b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Badge.kt
index 50ec60e..fe5ea6e 100644
--- a/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Badge.kt
+++ b/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/Badge.kt
@@ -185,6 +185,7 @@
}
/** Default values used for [Badge] implementations. */
+@ExperimentalMaterial3Api
object BadgeDefaults {
/** Default container color for a badge. */
val containerColor: Color @Composable get() = BadgeTokens.Color.toColor()
diff --git a/compose/ui/ui-text/api/current.txt b/compose/ui/ui-text/api/current.txt
index 68f174b..060bf6e 100644
--- a/compose/ui/ui-text/api/current.txt
+++ b/compose/ui/ui-text/api/current.txt
@@ -1283,10 +1283,10 @@
}
public final class LineHeightStyle {
- ctor public LineHeightStyle(int alignment, int trim);
- method public int getAlignment();
+ ctor public LineHeightStyle(float alignment, int trim);
+ method public float getAlignment();
method public int getTrim();
- property public final int alignment;
+ property public final float alignment;
property public final int trim;
field public static final androidx.compose.ui.text.style.LineHeightStyle.Companion Companion;
}
@@ -1296,14 +1296,14 @@
}
public static final class LineHeightStyle.Alignment.Companion {
- method public int getBottom();
- method public int getCenter();
- method public int getProportional();
- method public int getTop();
- property public final int Bottom;
- property public final int Center;
- property public final int Proportional;
- property public final int Top;
+ method public float getBottom();
+ method public float getCenter();
+ method public float getProportional();
+ method public float getTop();
+ property public final float Bottom;
+ property public final float Center;
+ property public final float Proportional;
+ property public final float Top;
}
public static final class LineHeightStyle.Companion {
diff --git a/compose/ui/ui-text/api/public_plus_experimental_current.txt b/compose/ui/ui-text/api/public_plus_experimental_current.txt
index 812375d..212b3c9 100644
--- a/compose/ui/ui-text/api/public_plus_experimental_current.txt
+++ b/compose/ui/ui-text/api/public_plus_experimental_current.txt
@@ -1376,27 +1376,28 @@
}
public final class LineHeightStyle {
- ctor public LineHeightStyle(int alignment, int trim);
- method public int getAlignment();
+ ctor public LineHeightStyle(float alignment, int trim);
+ method public float getAlignment();
method public int getTrim();
- property public final int alignment;
+ property public final float alignment;
property public final int trim;
field public static final androidx.compose.ui.text.style.LineHeightStyle.Companion Companion;
}
@kotlin.jvm.JvmInline public static final value class LineHeightStyle.Alignment {
+ ctor @androidx.compose.ui.text.ExperimentalTextApi public LineHeightStyle.Alignment(float topRatio);
field public static final androidx.compose.ui.text.style.LineHeightStyle.Alignment.Companion Companion;
}
public static final class LineHeightStyle.Alignment.Companion {
- method public int getBottom();
- method public int getCenter();
- method public int getProportional();
- method public int getTop();
- property public final int Bottom;
- property public final int Center;
- property public final int Proportional;
- property public final int Top;
+ method public float getBottom();
+ method public float getCenter();
+ method public float getProportional();
+ method public float getTop();
+ property public final float Bottom;
+ property public final float Center;
+ property public final float Proportional;
+ property public final float Top;
}
public static final class LineHeightStyle.Companion {
diff --git a/compose/ui/ui-text/api/restricted_current.txt b/compose/ui/ui-text/api/restricted_current.txt
index 68f174b..060bf6e 100644
--- a/compose/ui/ui-text/api/restricted_current.txt
+++ b/compose/ui/ui-text/api/restricted_current.txt
@@ -1283,10 +1283,10 @@
}
public final class LineHeightStyle {
- ctor public LineHeightStyle(int alignment, int trim);
- method public int getAlignment();
+ ctor public LineHeightStyle(float alignment, int trim);
+ method public float getAlignment();
method public int getTrim();
- property public final int alignment;
+ property public final float alignment;
property public final int trim;
field public static final androidx.compose.ui.text.style.LineHeightStyle.Companion Companion;
}
@@ -1296,14 +1296,14 @@
}
public static final class LineHeightStyle.Alignment.Companion {
- method public int getBottom();
- method public int getCenter();
- method public int getProportional();
- method public int getTop();
- property public final int Bottom;
- property public final int Center;
- property public final int Proportional;
- property public final int Top;
+ method public float getBottom();
+ method public float getCenter();
+ method public float getProportional();
+ method public float getTop();
+ property public final float Bottom;
+ property public final float Center;
+ property public final float Proportional;
+ property public final float Top;
}
public static final class LineHeightStyle.Companion {
diff --git a/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt b/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
index f07c68b..ee8ff19 100644
--- a/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
+++ b/compose/ui/ui-text/src/androidMain/kotlin/androidx/compose/ui/text/platform/extensions/SpannableExtensions.android.kt
@@ -136,7 +136,7 @@
endIndex = endIndex,
trimFirstLineTop = lineHeightStyle.trim.isTrimFirstLineTop(),
trimLastLineBottom = lineHeightStyle.trim.isTrimLastLineBottom(),
- topPercentage = lineHeightStyle.alignment.topPercentage
+ topRatio = lineHeightStyle.alignment.topRatio
),
start = 0,
end = length
diff --git a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/style/LineHeightStyle.kt b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/style/LineHeightStyle.kt
index 0e010e9..bb6949a 100644
--- a/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/style/LineHeightStyle.kt
+++ b/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/style/LineHeightStyle.kt
@@ -16,6 +16,7 @@
package androidx.compose.ui.text.style
+import androidx.compose.ui.text.ExperimentalTextApi
import androidx.compose.ui.text.PlatformParagraphStyle
/**
@@ -189,23 +190,26 @@
/**
* Defines how to align the line in the space provided by the line height.
+ *
+ * @param topRatio the ratio of ascent to ascent+descent in percentage. Valid values are
+ * integers between 0f (inclusive) to 1f (inclusive).
*/
@kotlin.jvm.JvmInline
- value class Alignment private constructor(internal val topPercentage: Int) {
+ value class Alignment @ExperimentalTextApi constructor(internal val topRatio: Float) {
init {
- check(topPercentage in 0..100 || topPercentage == -1) {
- "topRatio should be in [0..100] range or -1"
+ check(topRatio in 0f..1f || topRatio == -1f) {
+ "topRatio should be in [0..1] range or -1"
}
}
override fun toString(): String {
- return when (topPercentage) {
- Top.topPercentage -> "LineHeightStyle.Alignment.Top"
- Center.topPercentage -> "LineHeightStyle.Alignment.Center"
- Proportional.topPercentage -> "LineHeightStyle.Alignment.Proportional"
- Bottom.topPercentage -> "LineHeightStyle.Alignment.Bottom"
- else -> "LineHeightStyle.Alignment(topPercentage = $topPercentage)"
+ return when (topRatio) {
+ Top.topRatio -> "LineHeightStyle.Alignment.Top"
+ Center.topRatio -> "LineHeightStyle.Alignment.Center"
+ Proportional.topRatio -> "LineHeightStyle.Alignment.Proportional"
+ Bottom.topRatio -> "LineHeightStyle.Alignment.Bottom"
+ else -> "LineHeightStyle.Alignment(topPercentage = $topRatio)"
}
}
@@ -231,7 +235,8 @@
* +--------+
* </pre>
*/
- val Top = Alignment(topPercentage = 0)
+ @OptIn(ExperimentalTextApi::class)
+ val Top = Alignment(topRatio = 0f)
/**
* Align the line to the center of the space reserved for the line. This configuration
@@ -251,7 +256,8 @@
* +--------+
* </pre>
*/
- val Center = Alignment(topPercentage = 50)
+ @OptIn(ExperimentalTextApi::class)
+ val Center = Alignment(topRatio = 0.5f)
/**
* Align the line proportional to the ascent and descent values of the line. For example
@@ -259,7 +265,8 @@
* will be distributed as 8 units to top, and 2 units to the bottom of the line. This is
* the default behavior.
*/
- val Proportional = Alignment(topPercentage = -1)
+ @OptIn(ExperimentalTextApi::class)
+ val Proportional = Alignment(topRatio = -1f)
/**
* Align the line to the bottom of the space reserved for that line. This means that all
@@ -282,7 +289,8 @@
* +--------+
* </pre>
*/
- val Bottom = Alignment(topPercentage = 100)
+ @OptIn(ExperimentalTextApi::class)
+ val Bottom = Alignment(topRatio = 1f)
}
}
}
diff --git a/compose/ui/ui-tooling/build.gradle b/compose/ui/ui-tooling/build.gradle
index 39b22f6..f8b91da 100644
--- a/compose/ui/ui-tooling/build.gradle
+++ b/compose/ui/ui-tooling/build.gradle
@@ -79,13 +79,13 @@
api(project(":compose:ui:ui-tooling-preview"))
api(project(":compose:runtime:runtime"))
api(project(":compose:ui:ui"))
+ api(project(":compose:ui:ui-tooling-data"))
}
androidMain.dependencies {
api("androidx.annotation:annotation:1.1.0")
implementation(project(":compose:animation:animation"))
implementation("androidx.savedstate:savedstate-ktx:1.2.0")
- api(project(":compose:ui:ui-tooling-data"))
implementation(project(":compose:material:material"))
implementation("androidx.activity:activity-compose:1.3.0")
diff --git a/core/core-animation/lint-baseline.xml b/core/core-animation/lint-baseline.xml
index bd6b323..d3b9273 100644
--- a/core/core-animation/lint-baseline.xml
+++ b/core/core-animation/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="ResourceType"
diff --git a/core/core-appdigest/lint-baseline.xml b/core/core-appdigest/lint-baseline.xml
index 0907387..f90928c 100644
--- a/core/core-appdigest/lint-baseline.xml
+++ b/core/core-appdigest/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
diff --git a/core/core/lint-baseline.xml b/core/core/lint-baseline.xml
index c5bbfb0..c7ef3b1 100644
--- a/core/core/lint-baseline.xml
+++ b/core/core/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
diff --git a/core/core/src/androidTest/res/values/styles.xml b/core/core/src/androidTest/res/values/styles.xml
index 7d1a8f3..46580a2 100644
--- a/core/core/src/androidTest/res/values/styles.xml
+++ b/core/core/src/androidTest/res/values/styles.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
<resources>
- <style name="TestActivityTheme" parent="@android:style/Theme">
+ <style name="TestActivityTheme">
<item name="android:windowAnimationStyle">@null</item>
</style>
<style name="TextMediumStyle" parent="@android:style/TextAppearance.Medium">
diff --git a/development/build_log_simplifier/messages.ignore b/development/build_log_simplifier/messages.ignore
index fa2c57b..078df07 100644
--- a/development/build_log_simplifier/messages.ignore
+++ b/development/build_log_simplifier/messages.ignore
@@ -272,6 +272,14 @@
@param copySelectedOptions
in DClass Builder
Did you make a typo\? Are you trying to refer to something not visible to users\?
+WARNING: do not use 'an' before the exception type in an @throws statement\. This is against jdoc spec, will be an error in the next version of dackka, and your exception is not being linked and looks bad\. This was observed in Throws\(root=CustomDocTag\(children=\[P\(children=\[DocumentationLink\(dri=java\.lang/IllegalArgumentException///PointingToDeclaration/, children=\[Text\(body=IllegalArgumentException, children=\[\], params=\{\}\)\], params=\{\}\), Text\(body= if the property name or index is invalid\., children=\[\], params=\{\}\)\], params=\{\}\)\], params=\{\}, name=MARKDOWN_FILE\), name=an, exceptionAddress=null\)\.
+WARNING: do not use 'an' before the exception type in an @throws statement\. This is against jdoc spec, will be an error in the next version of dackka, and your exception is not being linked and looks bad\. This was observed in Throws\(root=CustomDocTag\(children=\[P\(children=\[DocumentationLink\(dri=kotlin/IllegalArgumentException///PointingToDeclaration/, children=\[Text\(body=IllegalArgumentException, children=\[\], params=\{\}\)\], params=\{href=\[IllegalArgumentException\]\}\), Text\(body= if address is invalid\., children=\[\], params=\{\}\)\], params=\{\}\)\], params=\{\}, name=MARKDOWN_FILE\), name=an, exceptionAddress=null\)\.
+WARNING: link to @throws type RemoteException does not resolve\. Is it from a package that the containing file does not import\? Is docs inherited to an un\-documented override function, but the exception class is not in scope in the inheriting class\? The general fix for these is to fully qualify the exception name, e\.g\.`@throws java\.io\.IOException under some conditions\. This was observed in Throws\(root=CustomDocTag\(children=\[P\(children=\[Text\(body=For any IPC transportation failures\., children=\[\], params=\{\}\)\], params=\{\}\)\], params=\{\}, name=MARKDOWN_FILE\), name=RemoteException, exceptionAddress=null\)\.`
+WARNING: link to @throws type IOException does not resolve\. Is it from a package that the containing file does not import\? Is docs inherited to an un\-documented override function, but the exception class is not in scope in the inheriting class\? The general fix for these is to fully qualify the exception name, e\.g\.`@throws java\.io\.IOException under some conditions\. This was observed in Throws\(root=CustomDocTag\(children=\[P\(children=\[Text\(body=For any disk I/O issues\., children=\[\], params=\{\}\)\], params=\{\}\)\], params=\{\}, name=MARKDOWN_FILE\), name=IOException, exceptionAddress=null\)\.`
+WARNING: link to @throws type IOException does not resolve\. Is it from a package that the containing file does not import\? Is docs inherited to an un\-documented override function, but the exception class is not in scope in the inheriting class\? The general fix for these is to fully qualify the exception name, e\.g\.`@throws java\.io\.IOException under some conditions\. This was observed in Throws\(root=CustomDocTag\(children=\[P\(children=\[Text\(body=when an exception is encountered when writing data to disk, children=\[\], params=\{\}\)\], params=\{\}\)\], params=\{\}, name=MARKDOWN_FILE\), name=IOException, exceptionAddress=null\)\.`
+WARNING: link to @throws type ComposeTimeoutException does not resolve\. Is it from a package that the containing file does not import\? Is docs inherited to an un\-documented override function, but the exception class is not in scope in the inheriting class\? The general fix for these is to fully qualify the exception name, e\.g\.`@throws java\.io\.IOException under some conditions\. This was observed in Throws\(root=CustomDocTag\(children=\[P\(children=\[Text\(body=If the condition is not satisfied after , children=\[\], params=\{\}\), DocumentationLink\(dri=androidx\.compose\.ui\.test\.junit[0-9]+/AndroidComposeTestRule/waitUntil/\#kotlin\.Long\#kotlin\.Function[0-9]+\[kotlin\.Boolean\]/PointingToCallableParameters\([0-9]+\)/, children=\[Text\(body=timeoutMillis, children=\[\], params=\{\}\)\], params=\{href=\[timeoutMillis\]\}\), Text\(body=\., children=\[\], params=\{\}\)\], params=\{\}\)\], params=\{\}, name=MARKDOWN_FILE\), name=ComposeTimeoutException, exceptionAddress=null\)\.`
+WARNING: link to @throws type Renderer\.GlesException does not resolve\. Is it from a package that the containing file does not import\? Is docs inherited to an un\-documented override function, but the exception class is not in scope in the inheriting class\? The general fix for these is to fully qualify the exception name, e\.g\.`@throws java\.io\.IOException under some conditions\. This was observed in Throws\(root=CustomDocTag\(children=\[P\(children=\[Text\(body=If any GL calls fail during initialization\., children=\[\], params=\{\}\)\], params=\{\}\)\], params=\{\}, name=MARKDOWN_FILE\), name=Renderer\.GlesException, exceptionAddress=null\)\.`
+WARNING: link to @throws type ServiceStartFailureException does not resolve\. Is it from a package that the containing file does not import\? Is docs inherited to an un\-documented override function, but the exception class is not in scope in the inheriting class\? The general fix for these is to fully qualify the exception name, e\.g\.`@throws java\.io\.IOException under some conditions\. This was observed in Throws\(root=CustomDocTag\(children=\[P\(children=\[Text\(body=if the watchface dies during startup\., children=\[\], params=\{\}\)\], params=\{\}\)\], params=\{\}, name=MARKDOWN_FILE\), name=ServiceStartFailureException, exceptionAddress=null\)\.`
# Wire proto generation, task :generateDebugProtos
Writing .* to \$OUT_DIR/.*/build/generated/source/wire
# > Task :compose:ui:ui-tooling:processDebugAndroidTestManifest
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 4b46199..81befd7 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -71,7 +71,7 @@
checkerframework = { module = "org.checkerframework:checker-qual", version = "2.5.3" }
checkmark = { module = "net.saff.checkmark:checkmark", version = "0.1.2" }
constraintLayout = { module = "androidx.constraintlayout:constraintlayout", version = "2.0.1"}
-dackka = { module = "com.google.devsite:dackka", version = "0.0.18" }
+dackka = { module = "com.google.devsite:dackka", version = "0.0.19" }
dagger = { module = "com.google.dagger:dagger", version.ref = "dagger" }
daggerCompiler = { module = "com.google.dagger:dagger-compiler", version.ref = "dagger" }
dexmakerMockito = { module = "com.linkedin.dexmaker:dexmaker-mockito", version.ref = "dexmaker" }
diff --git a/graphics/graphics-core/src/androidTest/java/androidx/graphics/lowlatency/GLFrontBufferedRendererTest.kt b/graphics/graphics-core/src/androidTest/java/androidx/graphics/lowlatency/GLFrontBufferedRendererTest.kt
index 27151164..ff42184d 100644
--- a/graphics/graphics-core/src/androidTest/java/androidx/graphics/lowlatency/GLFrontBufferedRendererTest.kt
+++ b/graphics/graphics-core/src/androidTest/java/androidx/graphics/lowlatency/GLFrontBufferedRendererTest.kt
@@ -24,8 +24,8 @@
import android.view.SurfaceView
import androidx.annotation.RequiresApi
import androidx.graphics.opengl.egl.EGLManager
-import androidx.graphics.surface.SurfaceControlCompat
import androidx.graphics.opengl.egl.deviceSupportsNativeAndroidFence
+import androidx.graphics.surface.SurfaceControlCompat
import androidx.graphics.surface.SurfaceControlUtils
import androidx.lifecycle.Lifecycle
import androidx.test.core.app.ActivityScenario
@@ -209,8 +209,30 @@
}
SurfaceControlUtils.validateOutput { bitmap ->
- Color.BLUE ==
- bitmap.getPixel(coords[0] + width / 2, coords[1] + height / 2)
+ (Math.abs(
+ Color.red(Color.BLUE) - Color.red(
+ bitmap.getPixel(
+ coords[0] + width / 2,
+ coords[1] + height / 2
+ )
+ )
+ ) < 2) &&
+ (Math.abs(
+ Color.green(Color.BLUE) - Color.green(
+ bitmap.getPixel(
+ coords[0] + width / 2,
+ coords[1] + height / 2
+ )
+ )
+ ) < 2) &&
+ (Math.abs(
+ Color.blue(Color.BLUE) - Color.blue(
+ bitmap.getPixel(
+ coords[0] + width / 2,
+ coords[1] + height / 2
+ )
+ )
+ ) < 2)
}
} finally {
renderer.blockingRelease()
@@ -233,8 +255,10 @@
fun testUsageFlagContainsComposerOverlay() {
val usageFlags = GLFrontBufferedRenderer.obtainHardwareBufferUsageFlags()
if (UsageFlagsVerificationHelper.isSupported(HardwareBuffer.USAGE_COMPOSER_OVERLAY)) {
- assertNotEquals(0,
- usageFlags and HardwareBuffer.USAGE_COMPOSER_OVERLAY)
+ assertNotEquals(
+ 0,
+ usageFlags and HardwareBuffer.USAGE_COMPOSER_OVERLAY
+ )
} else {
assertEquals(0, usageFlags and HardwareBuffer.USAGE_COMPOSER_OVERLAY)
}
@@ -243,10 +267,14 @@
@Test
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.Q)
fun testBaseFlags() {
- assertNotEquals(0, GLFrontBufferedRenderer.BaseFlags and
- HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE)
- assertNotEquals(0, GLFrontBufferedRenderer.BaseFlags and
- HardwareBuffer.USAGE_GPU_COLOR_OUTPUT)
+ assertNotEquals(
+ 0, GLFrontBufferedRenderer.BaseFlags and
+ HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE
+ )
+ assertNotEquals(
+ 0, GLFrontBufferedRenderer.BaseFlags and
+ HardwareBuffer.USAGE_GPU_COLOR_OUTPUT
+ )
}
@RequiresApi(Build.VERSION_CODES.Q)
diff --git a/health/health-connect-client/src/main/java/androidx/health/platform/client/impl/logger/Logger.kt b/health/health-connect-client/src/main/java/androidx/health/platform/client/impl/logger/Logger.kt
index 24478c5..6926fd0 100644
--- a/health/health-connect-client/src/main/java/androidx/health/platform/client/impl/logger/Logger.kt
+++ b/health/health-connect-client/src/main/java/androidx/health/platform/client/impl/logger/Logger.kt
@@ -18,41 +18,39 @@
import android.util.Log
-internal class Logger {
- internal companion object {
- @JvmStatic
- fun debug(tag: String, message: String) {
- if (Log.isLoggable(tag, Log.DEBUG)) {
- Log.d(tag, message)
- }
+internal object Logger {
+ @JvmStatic
+ fun debug(tag: String, message: String) {
+ if (Log.isLoggable(tag, Log.DEBUG)) {
+ Log.d(tag, message)
}
+ }
- @JvmStatic
- fun warning(tag: String, message: String) {
- if (Log.isLoggable(tag, Log.WARN)) {
- Log.w(tag, message)
- }
+ @JvmStatic
+ fun warning(tag: String, message: String) {
+ if (Log.isLoggable(tag, Log.WARN)) {
+ Log.w(tag, message)
}
+ }
- @JvmStatic
- fun warning(tag: String, message: String, throwable: Throwable) {
- if (Log.isLoggable(tag, Log.WARN)) {
- Log.w(tag, message, throwable)
- }
+ @JvmStatic
+ fun warning(tag: String, message: String, throwable: Throwable) {
+ if (Log.isLoggable(tag, Log.WARN)) {
+ Log.w(tag, message, throwable)
}
+ }
- @JvmStatic
- fun error(tag: String, message: String) {
- if (Log.isLoggable(tag, Log.ERROR)) {
- Log.e(tag, message)
- }
+ @JvmStatic
+ fun error(tag: String, message: String) {
+ if (Log.isLoggable(tag, Log.ERROR)) {
+ Log.e(tag, message)
}
+ }
- @JvmStatic
- fun error(tag: String, message: String, throwable: Throwable) {
- if (Log.isLoggable(tag, Log.ERROR)) {
- Log.e(tag, message, throwable)
- }
+ @JvmStatic
+ fun error(tag: String, message: String, throwable: Throwable) {
+ if (Log.isLoggable(tag, Log.ERROR)) {
+ Log.e(tag, message, throwable)
}
}
}
diff --git a/javascriptengine/javascriptengine/api/current.txt b/javascriptengine/javascriptengine/api/current.txt
index e6f50d0..782c21f 100644
--- a/javascriptengine/javascriptengine/api/current.txt
+++ b/javascriptengine/javascriptengine/api/current.txt
@@ -1 +1,39 @@
// Signature format: 4.0
+package androidx.javascriptengine {
+
+ public class EvaluationFailedException extends androidx.javascriptengine.JsException {
+ ctor public EvaluationFailedException(String);
+ }
+
+ public class IsolateTerminatedException extends androidx.javascriptengine.JsException {
+ ctor public IsolateTerminatedException();
+ }
+
+ public class JsException extends java.lang.Exception {
+ ctor public JsException(String);
+ ctor public JsException();
+ }
+
+ public class JsIsolate implements java.lang.AutoCloseable {
+ method public void close();
+ method public com.google.common.util.concurrent.ListenableFuture<java.lang.String!> evaluateJavaScriptAsync(String);
+ method @RequiresFeature(name=androidx.javascriptengine.JsSandbox.JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER, enforcement="androidx.javascriptengine.JsSandbox#isFeatureSupported") public boolean provideNamedData(String, byte[]);
+ }
+
+ public class JsSandbox implements java.lang.AutoCloseable {
+ method public void close();
+ method public static com.google.common.util.concurrent.ListenableFuture<androidx.javascriptengine.JsSandbox!> createConnectedInstanceAsync(android.content.Context);
+ method public androidx.javascriptengine.JsIsolate createIsolate();
+ method public boolean isFeatureSupported(String);
+ field public static final String JS_FEATURE_ISOLATE_TERMINATION = "JS_FEATURE_ISOLATE_TERMINATION";
+ field public static final String JS_FEATURE_PROMISE_RETURN = "JS_FEATURE_PROMISE_RETURN";
+ field public static final String JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER = "JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER";
+ field public static final String JS_FEATURE_WASM_COMPILATION = "JS_FEATURE_WASM_COMPILATION";
+ }
+
+ public class SandboxDeadException extends androidx.javascriptengine.JsException {
+ ctor public SandboxDeadException();
+ }
+
+}
+
diff --git a/javascriptengine/javascriptengine/api/public_plus_experimental_current.txt b/javascriptengine/javascriptengine/api/public_plus_experimental_current.txt
index e6f50d0..782c21f 100644
--- a/javascriptengine/javascriptengine/api/public_plus_experimental_current.txt
+++ b/javascriptengine/javascriptengine/api/public_plus_experimental_current.txt
@@ -1 +1,39 @@
// Signature format: 4.0
+package androidx.javascriptengine {
+
+ public class EvaluationFailedException extends androidx.javascriptengine.JsException {
+ ctor public EvaluationFailedException(String);
+ }
+
+ public class IsolateTerminatedException extends androidx.javascriptengine.JsException {
+ ctor public IsolateTerminatedException();
+ }
+
+ public class JsException extends java.lang.Exception {
+ ctor public JsException(String);
+ ctor public JsException();
+ }
+
+ public class JsIsolate implements java.lang.AutoCloseable {
+ method public void close();
+ method public com.google.common.util.concurrent.ListenableFuture<java.lang.String!> evaluateJavaScriptAsync(String);
+ method @RequiresFeature(name=androidx.javascriptengine.JsSandbox.JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER, enforcement="androidx.javascriptengine.JsSandbox#isFeatureSupported") public boolean provideNamedData(String, byte[]);
+ }
+
+ public class JsSandbox implements java.lang.AutoCloseable {
+ method public void close();
+ method public static com.google.common.util.concurrent.ListenableFuture<androidx.javascriptengine.JsSandbox!> createConnectedInstanceAsync(android.content.Context);
+ method public androidx.javascriptengine.JsIsolate createIsolate();
+ method public boolean isFeatureSupported(String);
+ field public static final String JS_FEATURE_ISOLATE_TERMINATION = "JS_FEATURE_ISOLATE_TERMINATION";
+ field public static final String JS_FEATURE_PROMISE_RETURN = "JS_FEATURE_PROMISE_RETURN";
+ field public static final String JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER = "JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER";
+ field public static final String JS_FEATURE_WASM_COMPILATION = "JS_FEATURE_WASM_COMPILATION";
+ }
+
+ public class SandboxDeadException extends androidx.javascriptengine.JsException {
+ ctor public SandboxDeadException();
+ }
+
+}
+
diff --git a/javascriptengine/javascriptengine/api/restricted_current.txt b/javascriptengine/javascriptengine/api/restricted_current.txt
index e6f50d0..782c21f 100644
--- a/javascriptengine/javascriptengine/api/restricted_current.txt
+++ b/javascriptengine/javascriptengine/api/restricted_current.txt
@@ -1 +1,39 @@
// Signature format: 4.0
+package androidx.javascriptengine {
+
+ public class EvaluationFailedException extends androidx.javascriptengine.JsException {
+ ctor public EvaluationFailedException(String);
+ }
+
+ public class IsolateTerminatedException extends androidx.javascriptengine.JsException {
+ ctor public IsolateTerminatedException();
+ }
+
+ public class JsException extends java.lang.Exception {
+ ctor public JsException(String);
+ ctor public JsException();
+ }
+
+ public class JsIsolate implements java.lang.AutoCloseable {
+ method public void close();
+ method public com.google.common.util.concurrent.ListenableFuture<java.lang.String!> evaluateJavaScriptAsync(String);
+ method @RequiresFeature(name=androidx.javascriptengine.JsSandbox.JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER, enforcement="androidx.javascriptengine.JsSandbox#isFeatureSupported") public boolean provideNamedData(String, byte[]);
+ }
+
+ public class JsSandbox implements java.lang.AutoCloseable {
+ method public void close();
+ method public static com.google.common.util.concurrent.ListenableFuture<androidx.javascriptengine.JsSandbox!> createConnectedInstanceAsync(android.content.Context);
+ method public androidx.javascriptengine.JsIsolate createIsolate();
+ method public boolean isFeatureSupported(String);
+ field public static final String JS_FEATURE_ISOLATE_TERMINATION = "JS_FEATURE_ISOLATE_TERMINATION";
+ field public static final String JS_FEATURE_PROMISE_RETURN = "JS_FEATURE_PROMISE_RETURN";
+ field public static final String JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER = "JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER";
+ field public static final String JS_FEATURE_WASM_COMPILATION = "JS_FEATURE_WASM_COMPILATION";
+ }
+
+ public class SandboxDeadException extends androidx.javascriptengine.JsException {
+ ctor public SandboxDeadException();
+ }
+
+}
+
diff --git a/javascriptengine/javascriptengine/build.gradle b/javascriptengine/javascriptengine/build.gradle
index 69ad2ab..ed63ae3 100644
--- a/javascriptengine/javascriptengine/build.gradle
+++ b/javascriptengine/javascriptengine/build.gradle
@@ -22,11 +22,26 @@
}
dependencies {
+ api("androidx.annotation:annotation:1.3.0")
+ api("androidx.concurrent:concurrent-futures:1.0.0")
+ api("androidx.core:core:1.1.0")
+ implementation(libs.guavaAndroid)
+ androidTestImplementation 'junit:junit:4.12'
annotationProcessor(libs.nullaway)
+ androidTestImplementation(libs.testExtJunit)
+ androidTestImplementation(libs.testCore)
+ androidTestImplementation(libs.testRunner)
+ androidTestImplementation(libs.testRules)
// Add dependencies here
}
android {
+ defaultConfig {
+ minSdkVersion 26
+ }
+ buildFeatures {
+ aidl = true
+ }
namespace "androidx.javascriptengine"
}
diff --git a/javascriptengine/javascriptengine/lint.xml b/javascriptengine/javascriptengine/lint.xml
new file mode 100644
index 0000000..a4991e9
--- /dev/null
+++ b/javascriptengine/javascriptengine/lint.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<lint>
+ <!-- AndroidX global lint rules from ../buildSrc/lint.xml -->
+ <issue id="LintBaseline" severity="ignore">
+ <ignore regexp=".* filtered out because .* listed in the baseline file.*"/>
+ </issue>
+ <!-- Re-enable high-priority checks for tests (and everything else). -->
+ <issue id="NewApi" severity="fatal" />
+ <issue id="WrongThread" severity="fatal" />
+ <issue id="MissingTestSizeAnnotation" severity="fatal" />
+ <!-- We cannot cause ClassVerificationFailure in embedding apps -->
+ <issue id="ClassVerificationFailure" severity="fatal" />
+ <!-- Developers need to call our code from Kotlin code, so nullness is important.-->
+ <issue id="UnknownNullness" severity="fatal" />
+</lint>
diff --git a/javascriptengine/javascriptengine/src/androidTest/AndroidManifest.xml b/javascriptengine/javascriptengine/src/androidTest/AndroidManifest.xml
new file mode 100644
index 0000000..687d459
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/androidTest/AndroidManifest.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2022 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+ <application>
+ </application>
+</manifest>
diff --git a/javascriptengine/javascriptengine/src/androidTest/java/androidx/javascriptengine/WebViewJsSandboxTest.java b/javascriptengine/javascriptengine/src/androidTest/java/androidx/javascriptengine/WebViewJsSandboxTest.java
new file mode 100644
index 0000000..195bd05
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/androidTest/java/androidx/javascriptengine/WebViewJsSandboxTest.java
@@ -0,0 +1,511 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+import android.content.Context;
+
+import androidx.test.core.app.ApplicationProvider;
+import androidx.test.ext.junit.runners.AndroidJUnit4;
+import androidx.test.filters.MediumTest;
+
+import com.google.common.util.concurrent.ListenableFuture;
+
+import org.junit.Assert;
+import org.junit.Assume;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import java.nio.charset.StandardCharsets;
+import java.util.Vector;
+import java.util.concurrent.ExecutionException;
+import java.util.concurrent.TimeUnit;
+
+/** Instrumentation test for JsSandboxService. */
+@RunWith(AndroidJUnit4.class)
+public class WebViewJsSandboxTest {
+ private boolean canCreateJsSandbox() throws Throwable {
+ Context context = ApplicationProvider.getApplicationContext();
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox;
+ try {
+ jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ } catch (ExecutionException e) {
+ return false;
+ }
+ jsSandbox.close();
+ return true;
+ }
+
+ @Before
+ public void setUp() throws Throwable {
+ // Ensure WebView version supports creation of sandbox. Remove this once we have a client
+ // side check.
+ Assume.assumeTrue(canCreateJsSandbox());
+ }
+
+ @Test
+ @MediumTest
+ public void testSimpleJsEvaluation() throws Throwable {
+ final String code = "\"PASS\"";
+ final String expected = "PASS";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture = jsIsolate.evaluateJavaScriptAsync(code);
+ String result = resultFuture.get(5, TimeUnit.SECONDS);
+ jsIsolate.close();
+ jsSandbox.close();
+
+ Assert.assertEquals(expected, result);
+ }
+
+ @Test
+ @MediumTest
+ public void testClosingOneIsolate() throws Throwable {
+ final String code = "'PASS'";
+ final String expected = "PASS";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate1 = jsSandbox.createIsolate();
+ JsIsolate jsIsolate2 = jsSandbox.createIsolate();
+ jsIsolate1.close();
+ ListenableFuture<String> resultFuture = jsIsolate2.evaluateJavaScriptAsync(code);
+ String result = resultFuture.get(5, TimeUnit.SECONDS);
+ jsIsolate2.close();
+ jsSandbox.close();
+
+ Assert.assertEquals(expected, result);
+ }
+
+ @Test
+ @MediumTest
+ public void testEvaluationInTwoIsolates() throws Throwable {
+ final String code1 = "this.x = 'PASS';\n";
+ final String expected1 = "PASS";
+ final String code2 = "this.x = 'SUPER_PASS';\n";
+ final String expected2 = "SUPER_PASS";
+
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate1 = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture1 = jsIsolate1.evaluateJavaScriptAsync(code1);
+ String result1 = resultFuture1.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate2 = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture2 = jsIsolate2.evaluateJavaScriptAsync(code2);
+ String result2 = resultFuture2.get(5, TimeUnit.SECONDS);
+ jsIsolate1.close();
+ jsIsolate2.close();
+ jsSandbox.close();
+
+ Assert.assertEquals(expected1, result1);
+ Assert.assertEquals(expected2, result2);
+ }
+
+ @Test
+ @MediumTest
+ public void testTwoIsolatesDoNotShareEnvironment() throws Throwable {
+ final String code1 = "this.y = 'PASS';\n";
+ final String expected1 = "PASS";
+ final String code2 = "this.y = this.y + ' PASS';\n";
+ final String expected2 = "undefined PASS";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate1 = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture1 = jsIsolate1.evaluateJavaScriptAsync(code1);
+ String result1 = resultFuture1.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate2 = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture2 = jsIsolate2.evaluateJavaScriptAsync(code2);
+ String result2 = resultFuture2.get(5, TimeUnit.SECONDS);
+ jsIsolate1.close();
+ jsIsolate2.close();
+ jsSandbox.close();
+
+ Assert.assertEquals(expected1, result1);
+ Assert.assertEquals(expected2, result2);
+ }
+
+ @Test
+ @MediumTest
+ public void testTwoExecutionsShareEnvironment() throws Throwable {
+ final String code1 = "this.z = 'PASS';\n";
+ final String expected1 = "PASS";
+ final String code2 = "this.z = this.z + ' PASS';\n";
+ final String expected2 = "PASS PASS";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate1 = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture1 = jsIsolate1.evaluateJavaScriptAsync(code1);
+ String result1 = resultFuture1.get(5, TimeUnit.SECONDS);
+ ListenableFuture<String> resultFuture2 = jsIsolate1.evaluateJavaScriptAsync(code2);
+ String result2 = resultFuture2.get(5, TimeUnit.SECONDS);
+ jsIsolate1.close();
+ jsSandbox.close();
+
+ Assert.assertEquals(expected1, result1);
+ Assert.assertEquals(expected2, result2);
+ }
+
+ @Test
+ @MediumTest
+ public void testJsEvaluationError() throws Throwable {
+ final String code = "throw new WebAssembly.LinkError('RandomLinkError');";
+ final String contains = "RandomLinkError";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture = jsIsolate.evaluateJavaScriptAsync(code);
+ boolean isOfCorrectType = false;
+ String error = "";
+ try {
+ String result = resultFuture.get(5, TimeUnit.SECONDS);
+ } catch (ExecutionException e) {
+ isOfCorrectType = e.getCause().getClass().equals(EvaluationFailedException.class);
+ error = e.getCause().getMessage();
+ }
+ jsIsolate.close();
+ jsSandbox.close();
+
+ Assert.assertTrue(isOfCorrectType);
+ Assert.assertTrue(error.contains(contains));
+ }
+
+ @Test
+ @MediumTest
+ public void testInfiniteLoop() throws Throwable {
+ final String code = "while(true){}";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_ISOLATE_TERMINATION));
+
+ JsIsolate jsIsolate = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture = jsIsolate.evaluateJavaScriptAsync(code);
+ boolean isOfCorrectType = false;
+ try {
+ jsIsolate.close();
+ String result = resultFuture.get(5, TimeUnit.SECONDS);
+ } catch (ExecutionException e) {
+ isOfCorrectType = e.getCause().getClass().equals(IsolateTerminatedException.class);
+ }
+ jsSandbox.close();
+
+ Assert.assertTrue(isOfCorrectType);
+ }
+
+ @Test
+ @MediumTest
+ public void testMultipleInfiniteLoops() throws Throwable {
+ final String code = "while(true){}";
+ final int num_of_evaluations = 10;
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_ISOLATE_TERMINATION));
+
+ JsIsolate jsIsolate = jsSandbox.createIsolate();
+ Vector<ListenableFuture<String>> resultFutures = new Vector<ListenableFuture<String>>();
+ for (int i = 0; i < num_of_evaluations; i++) {
+ ListenableFuture<String> resultFuture = jsIsolate.evaluateJavaScriptAsync(code);
+ resultFutures.add(resultFuture);
+ }
+ jsIsolate.close();
+
+ for (int i = 0; i < num_of_evaluations; i++) {
+ boolean isOfCorrectType = false;
+ try {
+ String result = resultFutures.elementAt(i).get(5, TimeUnit.SECONDS);
+ } catch (ExecutionException e) {
+ isOfCorrectType = e.getCause().getClass().equals(IsolateTerminatedException.class);
+ }
+ Assert.assertTrue(isOfCorrectType);
+ }
+ jsSandbox.close();
+ }
+
+ @Test
+ @MediumTest
+ public void testSimpleArrayBuffer() throws Throwable {
+ final String provideString = "Hello World";
+ final byte[] bytes = provideString.getBytes(StandardCharsets.US_ASCII);
+ final String code = ""
+ + "function ab2str(buf) {"
+ + " return String.fromCharCode.apply(null, new Uint8Array(buf));"
+ + "}"
+ + "android.consumeNamedDataAsArrayBuffer(\"id-1\").then((value) => {"
+ + " return ab2str(value);"
+ + "});";
+ Context context = ApplicationProvider.getApplicationContext();
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try (JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate()) {
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_PROMISE_RETURN));
+ Assume.assumeTrue(
+ jsSandbox.isFeatureSupported(
+ JsSandbox.JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER));
+
+ boolean provideNamedDataReturn = jsIsolate.provideNamedData("id-1", bytes);
+ Assert.assertTrue(provideNamedDataReturn);
+ ListenableFuture<String> resultFuture1 = jsIsolate.evaluateJavaScriptAsync(code);
+ String result = resultFuture1.get(5, TimeUnit.SECONDS);
+
+ Assert.assertEquals(provideString, result);
+ }
+ }
+
+ @Test
+ @MediumTest
+ public void testArrayBufferWasmCompilation() throws Throwable {
+ final String success = "success";
+ // The bytes of a minimal WebAssembly module, courtesy of v8/test/cctest/test-api-wasm.cc
+ final byte[] bytes = {0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00};
+ final String code = ""
+ + "android.consumeNamedDataAsArrayBuffer(\"id-1\").then((value) => {"
+ + " return WebAssembly.compile(value).then((module) => {"
+ + " return \"success\";"
+ + " });"
+ + "});";
+ Context context = ApplicationProvider.getApplicationContext();
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try (JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate()) {
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_PROMISE_RETURN));
+ Assume.assumeTrue(
+ jsSandbox.isFeatureSupported(
+ JsSandbox.JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER));
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_WASM_COMPILATION));
+
+ boolean provideNamedDataReturn = jsIsolate.provideNamedData("id-1", bytes);
+ Assert.assertTrue(provideNamedDataReturn);
+ ListenableFuture<String> resultFuture1 = jsIsolate.evaluateJavaScriptAsync(code);
+ String result = resultFuture1.get(5, TimeUnit.SECONDS);
+
+ Assert.assertEquals(success, result);
+ }
+ }
+
+ @Test
+ @MediumTest
+ public void testPromiseReturn() throws Throwable {
+ final String code = "Promise.resolve(\"PASS\")";
+ final String expected = "PASS";
+ Context context = ApplicationProvider.getApplicationContext();
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try (JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate()) {
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_PROMISE_RETURN));
+
+ ListenableFuture<String> resultFuture = jsIsolate.evaluateJavaScriptAsync(code);
+ String result = resultFuture.get(5, TimeUnit.SECONDS);
+
+ Assert.assertEquals(expected, result);
+ }
+ }
+
+ @Test
+ @MediumTest
+ public void testPromiseReturnLaterResolve() throws Throwable {
+ final String code1 = "var promiseResolve, promiseReject;"
+ + "new Promise(function(resolve, reject){"
+ + " promiseResolve = resolve;"
+ + " promiseReject = reject;"
+ + "});";
+ final String code2 = "promiseResolve(\"PASS\");";
+ final String expected = "PASS";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try (JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate()) {
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_PROMISE_RETURN));
+
+ ListenableFuture<String> resultFuture1 = jsIsolate.evaluateJavaScriptAsync(code1);
+ ListenableFuture<String> resultFuture2 = jsIsolate.evaluateJavaScriptAsync(code2);
+ String result = resultFuture1.get(5, TimeUnit.SECONDS);
+
+ Assert.assertEquals(expected, result);
+ }
+ }
+
+ @Test
+ @MediumTest
+ public void testNestedConsumeNamedDataAsArrayBuffer() throws Throwable {
+ final String success = "success";
+ // The bytes of a minimal WebAssembly module, courtesy of v8/test/cctest/test-api-wasm.cc
+ final byte[] bytes = {0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00};
+ final String code = ""
+ + "android.consumeNamedDataAsArrayBuffer(\"id-1\").then((value) => {"
+ + " return android.consumeNamedDataAsArrayBuffer(\"id-2\").then((value) => {"
+ + " return android.consumeNamedDataAsArrayBuffer(\"id-3\").then((value) => {"
+ + " return android.consumeNamedDataAsArrayBuffer(\"id-4\").then((value) => {"
+ + " return android.consumeNamedDataAsArrayBuffer(\"id-5\").then((value) => {"
+ + " return \"success\";"
+ + " }, (error) => {"
+ + " return error.message;"
+ + " });"
+ + " });"
+ + " });"
+ + " });"
+ + "});";
+ Context context = ApplicationProvider.getApplicationContext();
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try (JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate()) {
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_PROMISE_RETURN));
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(
+ JsSandbox.JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER));
+
+ jsIsolate.provideNamedData("id-1", bytes);
+ jsIsolate.provideNamedData("id-2", bytes);
+ jsIsolate.provideNamedData("id-3", bytes);
+ jsIsolate.provideNamedData("id-4", bytes);
+ jsIsolate.provideNamedData("id-5", bytes);
+ Thread.sleep(1000);
+ ListenableFuture<String> resultFuture1 = jsIsolate.evaluateJavaScriptAsync(code);
+ String result = resultFuture1.get(5, TimeUnit.SECONDS);
+
+ Assert.assertEquals(success, result);
+ }
+ }
+
+ @Test
+ @MediumTest
+ public void testPromiseEvaluationThrow() throws Throwable {
+ final String provideString = "Hello World";
+ final byte[] bytes = provideString.getBytes(StandardCharsets.US_ASCII);
+ final String code = ""
+ + "android.consumeNamedDataAsArrayBuffer(\"id-1\").catch((error) => {"
+ + " throw new WebAssembly.LinkError('RandomLinkError');"
+ + "});";
+ final String contains = "RandomLinkError";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try (JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate()) {
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(JsSandbox.JS_FEATURE_PROMISE_RETURN));
+ Assume.assumeTrue(jsSandbox.isFeatureSupported(
+ JsSandbox.JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER));
+
+ ListenableFuture<String> resultFuture = jsIsolate.evaluateJavaScriptAsync(code);
+ try {
+ String result = resultFuture.get(5, TimeUnit.SECONDS);
+ Assert.fail("Should have thrown.");
+ } catch (ExecutionException e) {
+ if (!(e.getCause() instanceof EvaluationFailedException)) {
+ throw e;
+ }
+ Assert.assertTrue(e.getCause().getMessage().contains(contains));
+ }
+ }
+ }
+
+ @Test
+ @MediumTest
+ public void testEvaluationThrowsWhenSandboxDead() throws Throwable {
+ final String code = "while(true){}";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox = JsSandboxFuture.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox.createIsolate();
+ ListenableFuture<String> resultFuture = jsIsolate.evaluateJavaScriptAsync(code);
+ try {
+ jsSandbox.close();
+ resultFuture.get(5, TimeUnit.SECONDS);
+ Assert.fail("Should have thrown.");
+ } catch (ExecutionException e) {
+ if (!(e.getCause() instanceof IsolateTerminatedException)) {
+ throw e;
+ }
+ }
+ }
+
+ @Test
+ @MediumTest
+ public void testMultipleSandboxesCannotCoexist() throws Throwable {
+ Context context = ApplicationProvider.getApplicationContext();
+ final String contains = "already bound";
+ ListenableFuture<JsSandbox> JsSandboxFuture1 =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try (JsSandbox jsSandbox1 = JsSandboxFuture1.get(5, TimeUnit.SECONDS)) {
+ ListenableFuture<JsSandbox> JsSandboxFuture2 =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try {
+ JsSandbox jsSandbox2 = JsSandboxFuture2.get(5, TimeUnit.SECONDS);
+ Assert.fail("Should have thrown.");
+ } catch (ExecutionException e) {
+ if (!(e.getCause() instanceof RuntimeException)) {
+ throw e;
+ }
+ Assert.assertTrue(e.getCause().getMessage().contains(contains));
+ }
+ }
+ }
+
+ @Test
+ @MediumTest
+ public void testSandboxCanBeCreatedAfterClosed() throws Throwable {
+ final String code = "\"PASS\"";
+ final String expected = "PASS";
+ Context context = ApplicationProvider.getApplicationContext();
+
+ ListenableFuture<JsSandbox> JsSandboxFuture1 =
+ JsSandbox.createConnectedInstanceAsync(context);
+ JsSandbox jsSandbox1 = JsSandboxFuture1.get(5, TimeUnit.SECONDS);
+ jsSandbox1.close();
+ ListenableFuture<JsSandbox> JsSandboxFuture2 =
+ JsSandbox.createConnectedInstanceAsync(context);
+ try (JsSandbox jsSandbox2 = JsSandboxFuture2.get(5, TimeUnit.SECONDS);
+ JsIsolate jsIsolate = jsSandbox2.createIsolate()) {
+ ListenableFuture<String> resultFuture1 = jsIsolate.evaluateJavaScriptAsync(code);
+ String result = resultFuture1.get(5, TimeUnit.SECONDS);
+
+ Assert.assertEquals(expected, result);
+ }
+ }
+}
diff --git a/javascriptengine/javascriptengine/src/main/AndroidManifest.xml b/javascriptengine/javascriptengine/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..8e90956
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/AndroidManifest.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright 2022 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<manifest />
diff --git a/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxIsolate.aidl b/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxIsolate.aidl
new file mode 100644
index 0000000..388f324
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxIsolate.aidl
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.chromium.android_webview.js_sandbox.common;
+
+import android.content.res.AssetFileDescriptor;
+import org.chromium.android_webview.js_sandbox.common.IJsSandboxIsolateCallback;
+
+/**
+ * Used by the embedding app to execute JavaScript in a sandboxed environment.
+ * @hide
+ */
+interface IJsSandboxIsolate {
+ /**
+ * @param code the JavaScript code
+ * to be evaluated in the sandbox.
+ * @param callback used to pass the information back to the embedding app
+ * from the sandbox.
+ */
+ void evaluateJavascript(String code, in IJsSandboxIsolateCallback callback) = 0;
+
+ /**
+ * Stop the execution of the Isolate as soon as possible and destroy it.
+ */
+ void close() = 1;
+
+ /**
+ * Provides the data represented by afd such that it can be
+ * retrieved in the JS code by calling `consumeNamedDataAs*(name)` APIs.
+ * @param name the id used to refer to the data in JS.
+ * @param afd input AssetFileDescriptor which will be read to retrieve data.
+ * @return true if data with the given name can be retrieved
+ * in JS code, else false.
+ */
+ boolean provideNamedData(String name, in AssetFileDescriptor afd) = 2;
+}
diff --git a/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxIsolateCallback.aidl b/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxIsolateCallback.aidl
new file mode 100644
index 0000000..da9b880
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxIsolateCallback.aidl
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.chromium.android_webview.js_sandbox.common;
+
+/**
+ * Used to communicate the result of the JavaScript evaluation from the
+ * sandbox to the embedding app.
+ * @hide
+ */
+oneway interface IJsSandboxIsolateCallback {
+ // An exception was thrown during the JS evaluation.
+ const int JS_EVALUATION_ERROR = 0;
+
+ void reportResult(String result) = 0;
+
+ // errorType is one of the error constants above.
+ void reportError(int errorType, String error) = 1;
+}
diff --git a/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxService.aidl b/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxService.aidl
new file mode 100644
index 0000000..55f34a8
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/aidl/org/chromium/android_webview/js_sandbox/common/IJsSandboxService.aidl
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.chromium.android_webview.js_sandbox.common;
+import org.chromium.android_webview.js_sandbox.common.IJsSandboxIsolate;
+
+/**
+ * Used by the embedding app to execute JavaScript in a sandboxed environment.
+ * @hide
+ */
+interface IJsSandboxService {
+ IJsSandboxIsolate createIsolate() = 0;
+
+ /**
+ * Feature flag indicating that closing an isolate will terminate its
+ * execution as soon as possible, instead of allowing previously-requested
+ * executions to run to completion first.
+ */
+ const String ISOLATE_TERMINATION = "ISOLATE_TERMINATION";
+
+ /**
+ * This feature flag is a combination of three sub-features:
+ * - If evaluateJavascript() returns a promise, we wait for the promise
+ * to resolve and then return the resolved value.
+ * - Supports Java API provideNamedData() and JS API
+ * android.consumeNamedDataAsArrayBuffer().
+ * - WebAssembly.compile() API is supported. Wasm can be compiled from
+ * an array buffer.
+ */
+ const String WASM_FROM_ARRAY_BUFFER = "WASM_FROM_ARRAY_BUFFER";
+
+ /**
+ * @return A list of feature names supported by this implementation.
+ */
+ List<String> getSupportedFeatures() = 1;
+}
diff --git a/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/CloseGuardHelper.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/CloseGuardHelper.java
new file mode 100644
index 0000000..364b7b8
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/CloseGuardHelper.java
@@ -0,0 +1,115 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+import android.os.Build;
+import android.util.CloseGuard;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.RequiresApi;
+import androidx.core.util.Preconditions;
+
+/**
+ * Helper for accessing CloseGuard on API levels that support it.
+ *
+ * <p>All operations are no-ops on non-supported API levels.
+ */
+@SuppressWarnings("NotCloseable")
+final class CloseGuardHelper {
+ private final CloseGuardImpl mImpl;
+
+ private CloseGuardHelper(CloseGuardImpl impl) {
+ mImpl = impl;
+ }
+
+ /**
+ * Returns a {@link CloseGuardHelper} which defers to the platform close guard if it is
+ * available.
+ */
+ @NonNull
+ public static CloseGuardHelper create() {
+ if (Build.VERSION.SDK_INT >= 30) {
+ return new CloseGuardHelper(new CloseGuardApi30Impl());
+ }
+
+ return new CloseGuardHelper(new CloseGuardNoOpImpl());
+ }
+
+ /**
+ * Initializes the instance with a warning that the caller should have explicitly called the
+ * {@code closeMethodName} method instead of relying on finalization.
+ *
+ * @param closeMethodName non-null name of explicit termination method. Printed by
+ * warnIfOpen.
+ * @throws NullPointerException if closeMethodName is null.
+ */
+ public void open(@NonNull String closeMethodName) {
+ mImpl.open(closeMethodName);
+ }
+
+ /** Marks this CloseGuard instance as closed to avoid warnings on finalization. */
+ public void close() {
+ mImpl.close();
+ }
+
+ /**
+ * Logs a warning if the caller did not properly cleanup by calling an explicit close method
+ * before finalization.
+ */
+ public void warnIfOpen() {
+ mImpl.warnIfOpen();
+ }
+
+ private interface CloseGuardImpl {
+ void open(@NonNull String closeMethodName);
+ void close();
+ void warnIfOpen();
+ }
+
+ @RequiresApi(30)
+ static final class CloseGuardApi30Impl implements CloseGuardImpl {
+ private final CloseGuard mPlatformImpl = new CloseGuard();
+
+ @Override
+ public void open(@NonNull String closeMethodName) {
+ mPlatformImpl.open(closeMethodName);
+ }
+
+ @Override
+ public void close() {
+ mPlatformImpl.close();
+ }
+
+ @Override
+ public void warnIfOpen() {
+ mPlatformImpl.warnIfOpen();
+ }
+ }
+
+ static final class CloseGuardNoOpImpl implements CloseGuardImpl {
+ @Override
+ public void open(@NonNull String closeMethodName) {
+ Preconditions.checkNotNull(closeMethodName, "CloseMethodName must not be null.");
+ }
+
+ @Override
+ public void close() {}
+
+ @Override
+ public void warnIfOpen() {}
+ }
+}
diff --git a/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/EvaluationFailedException.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/EvaluationFailedException.java
new file mode 100644
index 0000000..179cac9
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/EvaluationFailedException.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+import androidx.annotation.NonNull;
+
+/** Wrapper for the exception thrown by the JS evaluation engine. */
+public class EvaluationFailedException extends JsException {
+ public EvaluationFailedException(@NonNull String error) {
+ super(error);
+ }
+}
diff --git a/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/ExecutionErrorTypes.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/ExecutionErrorTypes.java
new file mode 100644
index 0000000..3a40bc5a
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/ExecutionErrorTypes.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+import androidx.annotation.IntDef;
+import androidx.annotation.RestrictTo;
+
+import org.chromium.android_webview.js_sandbox.common.IJsSandboxIsolateCallback;
+
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+
+/** @hide */
+@IntDef(value = {ExecutionErrorTypes.JS_EVALUATION_ERROR})
+@RestrictTo(RestrictTo.Scope.LIBRARY)
+@Retention(RetentionPolicy.SOURCE)
+public @interface ExecutionErrorTypes {
+ int JS_EVALUATION_ERROR = IJsSandboxIsolateCallback.JS_EVALUATION_ERROR;
+}
diff --git a/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/IsolateTerminatedException.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/IsolateTerminatedException.java
new file mode 100644
index 0000000..8c4b514
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/IsolateTerminatedException.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+/**
+ * Exception thrown when evaluation is terminated due the {@link JsIsolate} being terminated.
+ */
+public class IsolateTerminatedException extends JsException {
+ public IsolateTerminatedException() {
+ super();
+ }
+}
diff --git a/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsException.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsException.java
new file mode 100644
index 0000000..0d3f38f
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsException.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+import androidx.annotation.NonNull;
+
+/**
+ * Super class for all exceptions resolved by {@link JsIsolate#evaluateJavaScriptAsync(String)}.
+ */
+public class JsException extends Exception {
+ public JsException(@NonNull String error) {
+ super(error);
+ }
+
+ public JsException() {
+ super();
+ }
+}
diff --git a/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsIsolate.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsIsolate.java
new file mode 100644
index 0000000..4e5fb80
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsIsolate.java
@@ -0,0 +1,336 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+import android.content.res.AssetFileDescriptor;
+import android.os.ParcelFileDescriptor;
+import android.os.RemoteException;
+import android.util.Log;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.annotation.RequiresFeature;
+import androidx.concurrent.futures.CallbackToFutureAdapter;
+
+import com.google.common.util.concurrent.ListenableFuture;
+
+import org.chromium.android_webview.js_sandbox.common.IJsSandboxIsolate;
+import org.chromium.android_webview.js_sandbox.common.IJsSandboxIsolateCallback;
+
+import java.io.Closeable;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.HashSet;
+import java.util.concurrent.Executor;
+import java.util.concurrent.Executors;
+import java.util.concurrent.ThreadFactory;
+import java.util.concurrent.atomic.AtomicInteger;
+
+import javax.annotation.concurrent.GuardedBy;
+
+/**
+ * Environment within a {@link JsSandbox} where Javascript is executed.
+ *
+ * A single {@link JsSandbox} process can contain any number of {@link JsIsolate} instances where JS
+ * can be evaluated independently and in parallel.
+ * <p>
+ * Each isolate has its own state and JS global object,
+ * and cannot interact with any other isolate through JS APIs. There is only a <em>moderate</em>
+ * security boundary between isolates in a single {@link JsSandbox}. If the code in one {@link
+ * JsIsolate} is able to compromise the security of the JS engine then it may be able to observe or
+ * manipulate other isolates, since they run in the same process. For strong isolation multiple
+ * {@link JsSandbox} processes should be used, but it is not supported at the moment.
+ * <p>
+ * Each isolate object must only be used from one thread.
+ */
+public class JsIsolate implements AutoCloseable {
+ private static final String TAG = "JsIsolate";
+ private final Object mSetLock = new Object();
+ @Nullable
+ private IJsSandboxIsolate mJsIsolateStub;
+ private CloseGuardHelper mGuard = CloseGuardHelper.create();
+ private final Executor mThreadPoolTaskExecutor =
+ Executors.newCachedThreadPool(new ThreadFactory() {
+ private final AtomicInteger mCount = new AtomicInteger(1);
+
+ @Override
+ public Thread newThread(Runnable r) {
+ return new Thread(r, "JsIsolate Thread #" + mCount.getAndIncrement());
+ }
+ });
+ private final JsSandbox mJsSandbox;
+
+ @Nullable
+ @GuardedBy("mSetLock")
+ private HashSet<CallbackToFutureAdapter.Completer<String>> mPendingCompleterSet =
+ new HashSet<CallbackToFutureAdapter.Completer<String>>();
+
+ private class IJsSandboxIsolateCallbackStubWrapper extends IJsSandboxIsolateCallback.Stub {
+ private CallbackToFutureAdapter.Completer<String> mCompleter;
+
+ IJsSandboxIsolateCallbackStubWrapper(CallbackToFutureAdapter.Completer<String> completer) {
+ mCompleter = completer;
+ }
+
+ @Override
+ public void reportResult(String result) {
+ mCompleter.set(result);
+ removePending(mCompleter);
+ }
+
+ @Override
+ public void reportError(@ExecutionErrorTypes int type, String error) {
+ assert type == IJsSandboxIsolateCallback.JS_EVALUATION_ERROR;
+ mCompleter.setException(new EvaluationFailedException(error));
+ removePending(mCompleter);
+ }
+ }
+
+ JsIsolate(IJsSandboxIsolate jsIsolateStub, JsSandbox sandbox) {
+ mJsSandbox = sandbox;
+ mJsIsolateStub = jsIsolateStub;
+ mGuard.open("close");
+ // This should be at the end of the constructor.
+ }
+
+ /**
+ * Evaluates the given JavaScript code and returns the result.
+ *
+ * There are 3 possible behaviors based on the output of the expression:
+ * <ul>
+ * <li><strong>If the JS expression returns a JS String</strong>, then the Java Future
+ * resolves to Java String.</li>
+ * <li><strong>If the JS expression returns a JS Promise</strong>,
+ * and if {@link JsSandbox#isFeatureSupported(String)} for
+ * {@link JsSandbox#JS_FEATURE_PROMISE_RETURN} returns {@code true}, Java Future resolves to
+ * Java String once the promise resolves. If it returns {@code false}, then the Future
+ * resolves to an empty string.</li>
+ * <li><strong>If the JS expression returns another data type</strong>, then Java Future
+ * resolves to empty Java String.</li>
+ * </ul>
+ * The environment uses a single JS global object for all the calls to {@link
+ * #evaluateJavaScriptAsync(String)} and {@link #provideNamedData(String, byte[])} methods.
+ * These calls are queued up and are run one at a time in sequence, using the single JS
+ * environment for the isolate. The global variables set by one evaluation are visible for
+ * later evaluations. This is similar to adding multiple {@code <script>} tags in HTML. The
+ * behavior is also similar to
+ * {@link android.webkit.WebView#evaluateJavascript(String, android.webkit.ValueCallback)}.
+ * <p>
+ * Size of the expression to be evaluated and the result are both limited by the binder
+ * transaction limit. Refer {@link android.os.TransactionTooLargeException} for more details.
+ *
+ * @param code JavaScript code that is evaluated, it should return a JavaScript String or a
+ * Promise of a String in case {@link JsSandbox#JS_FEATURE_PROMISE_RETURN} is supported
+ *
+ * @return Future that evaluates to the result String of the evaluation or exceptions({@link
+ * IsolateTerminatedException}, {@link SandboxDeadException}) if there is an error
+ */
+ @SuppressWarnings("NullAway")
+ @NonNull
+ public ListenableFuture<String> evaluateJavaScriptAsync(@NonNull String code) {
+ if (mJsIsolateStub == null) {
+ throw new IllegalStateException(
+ "Calling evaluateJavascript() after closing the Isolate");
+ }
+
+ return CallbackToFutureAdapter.getFuture(completer -> {
+ final String futureDebugMessage = "evaluateJavascript Future";
+ IJsSandboxIsolateCallbackStubWrapper callbackStub;
+ synchronized (mSetLock) {
+ if (mPendingCompleterSet == null) {
+ completer.setException(new IsolateTerminatedException());
+ return futureDebugMessage;
+ }
+ mPendingCompleterSet.add(completer);
+ }
+ callbackStub = new IJsSandboxIsolateCallbackStubWrapper(completer);
+ try {
+ mJsIsolateStub.evaluateJavascript(code, callbackStub);
+ } catch (RemoteException e) {
+ completer.setException(new RuntimeException(e));
+ synchronized (mSetLock) {
+ mPendingCompleterSet.remove(completer);
+ }
+ }
+
+ // Debug string.
+ return futureDebugMessage;
+ });
+ }
+
+ /**
+ * Closes the {@link JsIsolate} object and renders it unusable.
+ *
+ * Once closed, no more method calls should be made. Pending evaluations resolve with
+ * {@link IsolateTerminatedException} immediately.
+ * <p>
+ * If {@link JsSandbox#isFeatureSupported(String)} is {@code true} for {@link
+ * JsSandbox#JS_FEATURE_ISOLATE_TERMINATION}, then any pending evaluation is immediately
+ * terminated and memory is freed. If it is {@code false}, the isolate will not get cleaned
+ * up until the pending evaluations have run to completion and will consume resources until
+ * then.
+ */
+ @Override
+ public void close() {
+ if (mJsIsolateStub == null) {
+ return;
+ }
+ try {
+ cancelAllPendingEvaluations(new IsolateTerminatedException());
+ mJsIsolateStub.close();
+ } catch (RemoteException e) {
+ Log.e(TAG, "RemoteException was thrown during close()", e);
+ }
+ mJsIsolateStub = null;
+ mJsSandbox.removeFromIsolateSet(this);
+ mGuard.close();
+ }
+
+ /**
+ * Provides a byte array for consumption from the JavaScript environment.
+ *
+ * This method provides an efficient way to pass in data from Java into the JavaScript
+ * environment which can be referred to from JavaScript. This is more efficient than including
+ * data in the JS expression, and allows large data to be sent.
+ * <p>
+ * This data can be consumed in the JS environment using {@code
+ * android.consumeNamedDataAsArrayBuffer(String)} by referring to the data with the name that
+ * was used when calling this method. This is a one-time transfer and the calls should be
+ * paired.
+ * <p>
+ * A single name can only be used once in a particular {@link JsIsolate}.
+ * Clients can generate unique names for each call if they
+ * need to use this method multiple times. The same name should be included into the JS code.
+ * <p>
+ * This API can be used to pass a WASM module into the JS
+ * environment for compilation if {@link JsSandbox#isFeatureSupported(String)} returns {@code
+ * true} for {@link JsSandbox#JS_FEATURE_WASM_COMPILATION}.
+ * <br>
+ * In Java,
+ * <pre>
+ * jsIsolate.provideNamedData("id-1", byteArray);
+ * </pre>
+ * In JS,
+ * <pre>
+ * android.consumeNamedDataAsArrayBuffer("id-1").then((value) => {
+ * return WebAssembly.compile(value).then((module) => {
+ * ...
+ * });
+ * });
+ * </pre>
+ * <p>
+ * The environment uses a single JS global object for all the calls to {@link
+ * #evaluateJavaScriptAsync(String)} and {@link #provideNamedData(String, byte[])} methods.
+ * <p>
+ * This method should only be called if
+ * {@link JsSandbox#isFeatureSupported(String)}
+ * returns true for {@link JsSandbox#JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER}.
+ *
+ * @param name Identifier for the data that is passed, the same identifier should be used in the
+ * JavaScript environment to refer to the data
+ * @param inputBytes Bytes to be passed into the JavaScript environment
+ *
+ * @return {@code true} on success, {@code false} otherwise
+ */
+ @RequiresFeature(name = JsSandbox.JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER,
+ enforcement =
+ "androidx.javascriptengine.JsSandbox#isFeatureSupported")
+ public boolean provideNamedData(@NonNull String name, @NonNull byte[] inputBytes) {
+ if (mJsIsolateStub == null) {
+ throw new IllegalStateException("Calling provideNamedData() after closing the Isolate");
+ }
+ if (name == null) {
+ throw new NullPointerException("name parameter cannot be null");
+ }
+ try {
+ final long offset = 0;
+ final long length = inputBytes.length;
+ ParcelFileDescriptor[] pipe = ParcelFileDescriptor.createPipe();
+ ParcelFileDescriptor readSide = pipe[0];
+ ParcelFileDescriptor writeSide = pipe[1];
+ OutputStream outputStream = new ParcelFileDescriptor.AutoCloseOutputStream(writeSide);
+ mThreadPoolTaskExecutor.execute(
+ () -> {
+ convertByteArrayToStream(inputBytes, outputStream);
+ }
+ );
+
+ AssetFileDescriptor asd = new AssetFileDescriptor(readSide, offset, length);
+ return mJsIsolateStub.provideNamedData(name, asd);
+ } catch (RemoteException e) {
+ Log.e(TAG, "RemoteException was thrown during provideNamedData()", e);
+ } catch (IOException e) {
+ Log.e(TAG, "IOException was thrown during provideNamedData", e);
+ }
+ return false;
+ }
+
+ private void convertByteArrayToStream(byte[] inputBytes, OutputStream outputStream) {
+ try {
+ outputStream.write(inputBytes);
+ outputStream.flush();
+ } catch (IOException e) {
+ Log.e(TAG, "Writing to outputStream failed", e);
+ } finally {
+ closeQuietly(outputStream);
+ }
+ }
+
+ void cancelAllPendingEvaluations(Exception e) {
+ final HashSet<CallbackToFutureAdapter.Completer<String>> pendingSet;
+ synchronized (mSetLock) {
+ if (mPendingCompleterSet == null) return;
+ pendingSet = mPendingCompleterSet;
+ mPendingCompleterSet = null;
+ }
+ for (CallbackToFutureAdapter.Completer<String> ele : pendingSet) {
+ ele.setException(e);
+ }
+ }
+
+ void removePending(CallbackToFutureAdapter.Completer<String> completer) {
+ synchronized (mSetLock) {
+ if (mPendingCompleterSet != null) {
+ mPendingCompleterSet.remove(completer);
+ }
+ }
+ }
+
+ private static void closeQuietly(Closeable closeable) {
+ if (closeable == null) return;
+ try {
+ closeable.close();
+ } catch (IOException ex) {
+ // Ignore the exception on close.
+ }
+ }
+
+ @Override
+ @SuppressWarnings("GenericException") // super.finalize() throws Throwable
+ protected void finalize() throws Throwable {
+ try {
+ if (mGuard != null) {
+ mGuard.warnIfOpen();
+ }
+ if (mJsIsolateStub != null) {
+ close();
+ }
+ } finally {
+ super.finalize();
+ }
+ }
+}
diff --git a/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsSandbox.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsSandbox.java
new file mode 100644
index 0000000..aa39a9d
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/JsSandbox.java
@@ -0,0 +1,434 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+import android.content.ComponentName;
+import android.content.Context;
+import android.content.Intent;
+import android.content.ServiceConnection;
+import android.content.pm.PackageInfo;
+import android.os.IBinder;
+import android.os.RemoteException;
+import android.webkit.WebView;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+import androidx.annotation.RestrictTo;
+import androidx.annotation.StringDef;
+import androidx.annotation.VisibleForTesting;
+import androidx.concurrent.futures.CallbackToFutureAdapter;
+import androidx.core.content.ContextCompat;
+
+import com.google.common.util.concurrent.ListenableFuture;
+
+import org.chromium.android_webview.js_sandbox.common.IJsSandboxIsolate;
+import org.chromium.android_webview.js_sandbox.common.IJsSandboxService;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.util.HashSet;
+import java.util.List;
+import java.util.concurrent.Executor;
+import java.util.concurrent.atomic.AtomicBoolean;
+
+import javax.annotation.concurrent.GuardedBy;
+
+/**
+ * Sandbox that provides APIs for JavaScript evaluation in a restricted environment.
+ *
+ * JsSandbox represents a connection to an isolated process. The isolated process is exclusive
+ * to the calling app (i.e. it doesn't share anything with, and can't be compromised by another
+ * app's isolated process).
+ * <p>
+ * Code that is run in a sandbox does not have any access to data
+ * belonging to the original app unless explicitly passed into it by using the methods of this
+ * class. This provides a security boundary between the calling app and the Javascript execution
+ * environment.
+ * <p>
+ * The calling app can only have only one isolated process at a time, so only one
+ * instance of this object can exist at a time.
+ * <p>
+ * It's safe to share a single {@link JsSandbox}
+ * object with multiple threads and use it from multiple threads at once.
+ * For example, {@link JsSandbox} can be stored at a global location and multiple threads can create
+ * their own {@link JsIsolate} objects from it but the {@link JsIsolate} object cannot be shared.
+ */
+public class JsSandbox implements AutoCloseable {
+ // TODO(crbug.com/1297672): Add capability to this class to support spawning
+ // different processes as needed. This might require that we have a static
+ // variable in here that tracks the existing services we are connected to and
+ // connect to a different one when creating a new object.
+ private static final String TAG = "JsSandbox";
+ private static final String JS_SANDBOX_SERVICE_NAME =
+ "org.chromium.android_webview.js_sandbox.service.JsSandboxService0";
+ static AtomicBoolean sIsReadyToConnect = new AtomicBoolean(true);
+ private final Object mLock = new Object();
+ private CloseGuardHelper mGuard = CloseGuardHelper.create();
+
+ @Nullable
+ @GuardedBy("mLock")
+ private IJsSandboxService mJsSandboxService;
+
+ private final ConnectionSetup mConnection;
+
+ @Nullable
+ @GuardedBy("mLock")
+ private HashSet<JsIsolate> mActiveIsolateSet = new HashSet<JsIsolate>();
+
+ /**
+ * @hide
+ */
+ @RestrictTo(RestrictTo.Scope.LIBRARY)
+ @StringDef(value =
+ {
+ JS_FEATURE_ISOLATE_TERMINATION,
+ JS_FEATURE_PROMISE_RETURN,
+ JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER,
+ JS_FEATURE_WASM_COMPILATION,
+ })
+ @Retention(RetentionPolicy.SOURCE)
+ @Target({ElementType.PARAMETER, ElementType.METHOD})
+ public @interface JsSandboxFeature {}
+
+ /**
+ * Feature for {@link #isFeatureSupported(String)}.
+ *
+ * When this
+ * feature is present, {@link JsIsolate#close()} terminates the currently running JS
+ * evaluation and close the isolate. If it is absent, {@link JsIsolate#close()} cannot terminate
+ * any running or queued evaluations in the background,
+ * so the isolate continues to consume resources until they complete.
+ * <p>
+ * Irrespective of this feature, calling {@link JsSandbox#close()} terminates all
+ * {@link JsIsolate} objects (and the isolated process) immediately and all pending
+ * {@link JsIsolate#evaluateJavaScriptAsync(String)} futures resolve with {@link
+ * IsolateTerminatedException}.
+ */
+ public static final String JS_FEATURE_ISOLATE_TERMINATION = "JS_FEATURE_ISOLATE_TERMINATION";
+
+ /**
+ * Feature for {@link #isFeatureSupported(String)}.
+ *
+ * When this feature is present, JS expressions may return promises. The Future returned by
+ * {@link JsIsolate#evaluateJavaScriptAsync(String)} resolves to the promise's result,
+ * once the promise resolves.
+ */
+ public static final String JS_FEATURE_PROMISE_RETURN = "JS_FEATURE_PROMISE_RETURN";
+
+ /**
+ * Feature for {@link #isFeatureSupported(String)}.
+ * When this feature is present, {@link JsIsolate#provideNamedData(String, byte[])} can be used.
+ * <p>
+ * This also covers the JS API android.consumeNamedDataAsArrayBuffer(string).
+ */
+ public static final String JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER =
+ "JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER";
+
+ /**
+ * Feature for {@link #isFeatureSupported(String)}.
+ *
+ * This features provides additional behavior to {@link
+ * JsIsolate#evaluateJavaScriptAsync(String)} ()}. When this feature is present, the JS API
+ * WebAssembly.compile(ArrayBuffer) can be used.
+ */
+ public static final String JS_FEATURE_WASM_COMPILATION = "JS_FEATURE_WASM_COMPILATION";
+
+ @Nullable
+ private HashSet<String> mClientSideFeatureSet;
+
+ static class ConnectionSetup implements ServiceConnection {
+ @Nullable
+ private CallbackToFutureAdapter.Completer<JsSandbox> mCompleter;
+ @Nullable
+ private JsSandbox mJsSandbox;
+ Context mContext;
+
+ @Override
+ @SuppressWarnings("NullAway")
+ public void onServiceConnected(ComponentName name, IBinder service) {
+ IJsSandboxService jsSandboxService = IJsSandboxService.Stub.asInterface(service);
+ mJsSandbox = new JsSandbox(this, jsSandboxService);
+ mCompleter.set(mJsSandbox);
+ mCompleter = null;
+ }
+
+ // TODO(crbug.com/1297672): We may want an explicit way to signal to the client that the
+ // process crashed (like onRenderProcessGone in WebView), without them having to first call
+ // one of the methods and have it fail.
+ @Override
+ public void onServiceDisconnected(ComponentName name) {
+ runShutdownTasks(
+ new RuntimeException("JsSandbox internal error: onServiceDisconnected()"));
+ }
+
+ @Override
+ public void onBindingDied(ComponentName name) {
+ runShutdownTasks(new RuntimeException("JsSandbox internal error: onBindingDead()"));
+ }
+
+ @Override
+ public void onNullBinding(ComponentName name) {
+ runShutdownTasks(new RuntimeException("JsSandbox internal error: onNullBinding()"));
+ }
+
+ private void runShutdownTasks(Exception e) {
+ if (mJsSandbox != null) {
+ mJsSandbox.doClose(new SandboxDeadException());
+ } else {
+ mContext.unbindService(this);
+ sIsReadyToConnect.set(true);
+ }
+ if (mCompleter != null) {
+ mCompleter.setException(e);
+ }
+ mCompleter = null;
+ }
+
+ ConnectionSetup(Context context,
+ @NonNull CallbackToFutureAdapter.Completer<JsSandbox> completer) {
+ mContext = context;
+ mCompleter = completer;
+ }
+ }
+
+ /**
+ * Asynchronously create and connect to the sandbox process.
+ *
+ * Only one sandbox process can exist at a time. Attempting to create a new instance before
+ * the previous instance has been closed fails with an {@link IllegalStateException}.
+ *
+ * @param context When the context is destroyed, the connection is closed. Use an
+ * application
+ * context if the connection is expected to outlive a single activity or service.
+ *
+ * @return Future that evaluates to a connected {@link JsSandbox} instance or an exception if
+ * binding to service fails.
+ */
+ @NonNull
+ public static ListenableFuture<JsSandbox> createConnectedInstanceAsync(
+ @NonNull Context context) {
+ PackageInfo systemWebViewPackage = WebView.getCurrentWebViewPackage();
+ ComponentName compName =
+ new ComponentName(systemWebViewPackage.packageName, JS_SANDBOX_SERVICE_NAME);
+ int flag = Context.BIND_AUTO_CREATE | Context.BIND_EXTERNAL_SERVICE;
+ return bindToServiceWithCallback(context, compName, flag);
+ }
+
+ /**
+ * Asynchronously create and connect to the sandbox process for testing.
+ *
+ * Only one sandbox process can exist at a time. Attempting to create a new instance before
+ * the previous instance has been closed will fail with an {@link IllegalStateException}.
+ *
+ * @param context When the context is destroyed, the connection will be closed. Use an
+ * application
+ * context if the connection is expected to outlive a single activity/service.
+ *
+ * @return Future that evaluates to a connected {@link JsSandbox} instance or an exception if
+ * binding to service fails.
+ *
+ * @hide
+ */
+ @NonNull
+ @VisibleForTesting
+ @RestrictTo(RestrictTo.Scope.LIBRARY)
+ public static ListenableFuture<JsSandbox> createConnectedInstanceForTestingAsync(
+ @NonNull Context context) {
+ ComponentName compName = new ComponentName(context, JS_SANDBOX_SERVICE_NAME);
+ int flag = Context.BIND_AUTO_CREATE;
+ return bindToServiceWithCallback(context, compName, flag);
+ }
+
+ @NonNull private static ListenableFuture<JsSandbox> bindToServiceWithCallback(
+ Context context, ComponentName compName, int flag) {
+ Intent intent = new Intent();
+ intent.setComponent(compName);
+ return CallbackToFutureAdapter.getFuture(completer -> {
+ ConnectionSetup connectionSetup = new ConnectionSetup(context, completer);
+ if (sIsReadyToConnect.compareAndSet(true, false)) {
+ try {
+ boolean isBinding = context.bindService(intent, connectionSetup, flag);
+ if (isBinding) {
+ Executor mainExecutor;
+ mainExecutor = ContextCompat.getMainExecutor(context);
+ completer.addCancellationListener(
+ () -> {
+ context.unbindService(connectionSetup);
+ }, mainExecutor);
+ } else {
+ context.unbindService(connectionSetup);
+ sIsReadyToConnect.set(true);
+ completer.setException(
+ new RuntimeException("bindService() returned false " + intent));
+ }
+ } catch (SecurityException e) {
+ context.unbindService(connectionSetup);
+ sIsReadyToConnect.set(true);
+ completer.setException(e);
+ }
+ } else {
+ completer.setException(
+ new IllegalStateException("Binding to already bound service"));
+ }
+
+ // Debug string.
+ return "JsSandbox Future";
+ });
+ }
+
+ // We prevent direct initializations of this class. Use JsSandbox.createConnectedInstance().
+ JsSandbox(ConnectionSetup connectionSetup, IJsSandboxService jsSandboxService) {
+ mConnection = connectionSetup;
+ mJsSandboxService = jsSandboxService;
+ mGuard.open("close");
+ // This should be at the end of the constructor.
+ }
+
+ /**
+ * Creates and returns an {@link JsIsolate} within which JS can be executed.
+ */
+ @NonNull
+ @SuppressWarnings("NullAway")
+ public JsIsolate createIsolate() {
+ synchronized (mLock) {
+ if (mJsSandboxService == null) {
+ throw new IllegalStateException(
+ "Attempting to createIsolate on a service that isn't connected");
+ }
+ try {
+ IJsSandboxIsolate isolateStub = mJsSandboxService.createIsolate();
+ JsIsolate isolate = new JsIsolate(isolateStub, this);
+ mActiveIsolateSet.add(isolate);
+ return isolate;
+ } catch (RemoteException e) {
+ throw new RuntimeException(e);
+ }
+ }
+ }
+
+ @GuardedBy("mLock")
+ @SuppressWarnings("NullAway")
+ private void populateClientFeatureSet() {
+ List<String> features;
+ try {
+ features = mJsSandboxService.getSupportedFeatures();
+ } catch (RemoteException e) {
+ throw new RuntimeException(e);
+ }
+ mClientSideFeatureSet = new HashSet<String>();
+ if (features.contains(IJsSandboxService.ISOLATE_TERMINATION)) {
+ mClientSideFeatureSet.add(JS_FEATURE_ISOLATE_TERMINATION);
+ }
+ if (features.contains(IJsSandboxService.WASM_FROM_ARRAY_BUFFER)) {
+ mClientSideFeatureSet.add(JS_FEATURE_PROMISE_RETURN);
+ mClientSideFeatureSet.add(JS_FEATURE_PROVIDE_CONSUME_ARRAY_BUFFER);
+ mClientSideFeatureSet.add(JS_FEATURE_WASM_COMPILATION);
+ }
+ }
+
+ /**
+ * Checks whether a given feature is supported by the JS Sandbox implementation.
+ *
+ * The sandbox implementation is provided by the version of WebView installed on the device.
+ * The app must use this method to check which library features are supported by the device's
+ * implementation before using them.
+ * <p>
+ * A feature check should be made prior to depending on certain features.
+ *
+ * @param feature feature to be checked
+ *
+ * @return {@code true} if supported, {@code false} otherwise
+ */
+ @SuppressWarnings("NullAway")
+ public boolean isFeatureSupported(@NonNull @JsSandboxFeature String feature) {
+ synchronized (mLock) {
+ if (mJsSandboxService == null) {
+ throw new IllegalStateException(
+ "Attempting to check features on a service that isn't connected");
+ }
+ if (mClientSideFeatureSet == null) {
+ populateClientFeatureSet();
+ }
+ return mClientSideFeatureSet.contains(feature);
+ }
+ }
+
+ void removeFromIsolateSet(JsIsolate isolate) {
+ synchronized (mLock) {
+ if (mActiveIsolateSet != null) {
+ mActiveIsolateSet.remove(isolate);
+ }
+ }
+ }
+
+ /**
+ * Closes the {@link JsSandbox} object and renders it unusable.
+ *
+ * The client is expected to call this method explicitly to terminate the isolated process.
+ * <p>
+ * Once closed, no more {@link JsSandbox} and {@link JsIsolate} method calls can be made.
+ * Closing terminates the isolated process immediately. All pending evaluations are
+ * immediately terminated. Once closed, the client may call {@link
+ * JsSandbox#createConnectedInstanceAsync(Context)} to create another {@link JsSandbox}.
+ */
+ @Override
+ public void close() {
+ doClose(new IsolateTerminatedException());
+ }
+
+ void doClose(Exception cancelPendingWith) {
+ synchronized (mLock) {
+ if (mJsSandboxService == null) {
+ return;
+ }
+ cancelPendingEvaluationsLocked(cancelPendingWith);
+ mConnection.mContext.unbindService(mConnection);
+ // Currently we consider that we are ready for a new connection once we unbind. This
+ // might not be true if the process is not immediately killed by ActivityManager once it
+ // is unbound.
+ sIsReadyToConnect.set(true);
+ mJsSandboxService = null;
+ }
+ }
+
+ @GuardedBy("mLock")
+ private void cancelPendingEvaluationsLocked(Exception e) {
+ for (JsIsolate ele : mActiveIsolateSet) {
+ ele.cancelAllPendingEvaluations(e);
+ }
+ mActiveIsolateSet = null;
+ }
+
+ @Override
+ @SuppressWarnings("GenericException") // super.finalize() throws Throwable
+ protected void finalize() throws Throwable {
+ try {
+ if (mGuard != null) {
+ mGuard.warnIfOpen();
+ }
+ synchronized (mLock) {
+ if (mJsSandboxService != null) {
+ close();
+ }
+ }
+ } finally {
+ super.finalize();
+ }
+ }
+}
diff --git a/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/SandboxDeadException.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/SandboxDeadException.java
new file mode 100644
index 0000000..3bed154
--- /dev/null
+++ b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/SandboxDeadException.java
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2022 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package androidx.javascriptengine;
+
+/**
+ * Exception thrown when evaluation is terminated due the {@link JsSandbox} being dead.
+ */
+public class SandboxDeadException extends JsException {
+ public SandboxDeadException() {
+ super();
+ }
+}
diff --git a/javascriptengine/javascriptengine/src/main/androidx/javascriptengine/package-info.java b/javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/package-info.java
similarity index 100%
rename from javascriptengine/javascriptengine/src/main/androidx/javascriptengine/package-info.java
rename to javascriptengine/javascriptengine/src/main/java/androidx/javascriptengine/package-info.java
diff --git a/libraryversions.toml b/libraryversions.toml
index 416ab06..9f93ced 100644
--- a/libraryversions.toml
+++ b/libraryversions.toml
@@ -3,7 +3,7 @@
ADS_IDENTIFIER = "1.0.0-alpha05"
ANNOTATION = "1.5.0-alpha02"
ANNOTATION_EXPERIMENTAL = "1.3.0-beta01"
-APPCOMPAT = "1.6.0-alpha06"
+APPCOMPAT = "1.6.0-beta01"
APPSEARCH = "1.1.0-alpha01"
ARCH_CORE = "2.2.0-alpha01"
ASYNCLAYOUTINFLATER = "1.1.0-alpha01"
diff --git a/lifecycle/integration-tests/testapp/lint-baseline.xml b/lifecycle/integration-tests/testapp/lint-baseline.xml
index 34db726..927c56e6 100644
--- a/lifecycle/integration-tests/testapp/lint-baseline.xml
+++ b/lifecycle/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/media/media/lint-baseline.xml b/media/media/lint-baseline.xml
index 3db7c43f..35e2796e 100644
--- a/media/media/lint-baseline.xml
+++ b/media/media/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (7.1.0-beta02)" variant="all" version="7.1.0-beta02">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="LambdaLast"
@@ -12,7 +12,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public AudioAttributesImpl mImpl;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
@@ -21,7 +21,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder(AudioAttributesCompat aa) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -30,7 +30,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public AudioAttributesCompat build() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -39,7 +39,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setUsage(@AttributeUsage int usage) {"
errorLine2=" ~~~~~~~">
<location
@@ -48,7 +48,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setContentType(@AttributeContentType int contentType) {"
errorLine2=" ~~~~~~~">
<location
@@ -57,7 +57,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setFlags(int flags) {"
errorLine2=" ~~~~~~~">
<location
@@ -66,7 +66,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setLegacyStreamType(int streamType) {"
errorLine2=" ~~~~~~~">
<location
@@ -75,7 +75,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public AudioAttributes mAudioAttributes;"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -84,7 +84,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public AudioFocusRequestCompat build() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -93,7 +93,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaBrowserCompat(Context context, ComponentName serviceComponent,"
errorLine2=" ~~~~~~~">
<location
@@ -102,7 +102,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaBrowserCompat(Context context, ComponentName serviceComponent,"
errorLine2=" ~~~~~~~~~~~~~">
<location
@@ -111,7 +111,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" ConnectionCallback callback, Bundle rootHints) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
@@ -120,7 +120,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" ConnectionCallback callback, Bundle rootHints) {"
errorLine2=" ~~~~~~">
<location
@@ -129,7 +129,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void search(@NonNull final String query, final Bundle extras,"
errorLine2=" ~~~~~~">
<location
@@ -138,7 +138,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void sendCustomAction(@NonNull String action, Bundle extras,"
errorLine2=" ~~~~~~">
<location
@@ -147,7 +147,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaItem fromMediaItem(Object itemObj) {"
errorLine2=" ~~~~~~~~~">
<location
@@ -156,7 +156,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaItem fromMediaItem(Object itemObj) {"
errorLine2=" ~~~~~~">
<location
@@ -165,7 +165,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static List<MediaItem> fromMediaItemList(List<?> itemList) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
@@ -174,7 +174,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static List<MediaItem> fromMediaItemList(List<?> itemList) {"
errorLine2=" ~~~~~~~">
<location
@@ -183,7 +183,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel out, int flags) {"
errorLine2=" ~~~~~~">
<location
@@ -192,7 +192,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onItemLoaded(MediaItem item) {"
errorLine2=" ~~~~~~~~~">
<location
@@ -201,7 +201,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSearchResult(@NonNull String query, Bundle extras,"
errorLine2=" ~~~~~~">
<location
@@ -210,7 +210,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onError(@NonNull String query, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
@@ -219,7 +219,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onProgressUpdate(String action, Bundle extras, Bundle data) {"
errorLine2=" ~~~~~~">
<location
@@ -228,7 +228,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onProgressUpdate(String action, Bundle extras, Bundle data) {"
errorLine2=" ~~~~~~">
<location
@@ -237,3049 +237,2423 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onProgressUpdate(String action, Bundle extras, Bundle data) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"
- line="962"
- column="68"/>
+ file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onResult(String action, Bundle extras, Bundle resultData) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"
- line="972"
- column="30"/>
+ file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onResult(String action, Bundle extras, Bundle resultData) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"
- line="972"
- column="45"/>
+ file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onResult(String action, Bundle extras, Bundle resultData) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"
- line="972"
- column="60"/>
+ file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onError(String action, Bundle extras, Bundle data) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"
- line="983"
- column="29"/>
+ file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onError(String action, Bundle extras, Bundle data) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"
- line="983"
- column="44"/>
+ file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onError(String action, Bundle extras, Bundle data) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"
- line="983"
- column="59"/>
+ file="src/main/java/android/support/v4/media/MediaBrowserCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static boolean areSameOptions(Bundle options1, Bundle options2) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserCompatUtils.java"
- line="31"
- column="42"/>
+ file="src/main/java/androidx/media/MediaBrowserCompatUtils.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static boolean areSameOptions(Bundle options1, Bundle options2) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserCompatUtils.java"
- line="31"
- column="59"/>
+ file="src/main/java/androidx/media/MediaBrowserCompatUtils.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static boolean hasDuplicatedItems(Bundle options1, Bundle options2) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserCompatUtils.java"
- line="48"
- column="46"/>
+ file="src/main/java/androidx/media/MediaBrowserCompatUtils.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static boolean hasDuplicatedItems(Bundle options1, Bundle options2) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserCompatUtils.java"
- line="48"
- column="63"/>
+ file="src/main/java/androidx/media/MediaBrowserCompatUtils.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void attachToBaseContext(Context base) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1311"
- column="37"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public IBinder onBind(Intent intent) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1333"
- column="12"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public IBinder onBind(Intent intent) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1333"
- column="27"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void dump(FileDescriptor fd, PrintWriter writer, String[] args) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1338"
- column="22"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void dump(FileDescriptor fd, PrintWriter writer, String[] args) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1338"
- column="41"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void dump(FileDescriptor fd, PrintWriter writer, String[] args) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1338"
- column="61"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSubscribe(String id, Bundle option) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1429"
- column="29"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSubscribe(String id, Bundle option) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1429"
- column="40"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onUnsubscribe(String id) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1439"
- column="31"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onLoadItem(String itemId, @NonNull Result<MediaBrowserCompat.MediaItem> result) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1460"
- column="28"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSearch(@NonNull String query, Bundle extras,"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1486"
- column="49"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCustomAction(@NonNull String action, Bundle extras,"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1511"
- column="56"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setSessionToken(MediaSessionCompat.Token token) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1524"
- column="33"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public final Bundle getBrowserRootHints() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1559"
- column="18"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getRootId() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1967"
- column="16"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bundle getExtras() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"
- line="1974"
- column="16"/>
+ file="src/main/java/androidx/media/MediaBrowserServiceCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onReceive(Context context, Intent intent) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="105"
- column="27"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onReceive(Context context, Intent intent) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="105"
- column="44"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static KeyEvent handleIntent(MediaSessionCompat mediaSessionCompat, Intent intent) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="190"
- column="19"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static KeyEvent handleIntent(MediaSessionCompat mediaSessionCompat, Intent intent) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="190"
- column="41"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static KeyEvent handleIntent(MediaSessionCompat mediaSessionCompat, Intent intent) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="190"
- column="80"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PendingIntent buildMediaButtonPendingIntent(Context context,"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="223"
- column="19"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PendingIntent buildMediaButtonPendingIntent(Context context,"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="223"
- column="63"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PendingIntent buildMediaButtonPendingIntent(Context context,"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="256"
- column="19"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PendingIntent buildMediaButtonPendingIntent(Context context,"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="256"
- column="63"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" ComponentName mbrComponent, @MediaKeyAction long action) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="257"
- column="13"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static ComponentName getMediaButtonReceiverComponent(Context context) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="282"
- column="19"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static ComponentName getMediaButtonReceiverComponent(Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/androidx/media/session/MediaButtonReceiver.java"
- line="282"
- column="65"/>
+ file="src/main/java/androidx/media/session/MediaButtonReceiver.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" MediaControllerCompat mediaController) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="162"
- column="13"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaControllerCompat getMediaController(@NonNull Activity activity) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="181"
- column="19"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaControllerCompat(Context context, @NonNull MediaSessionCompat session) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="224"
- column="34"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaControllerCompat(Context context, @NonNull MediaSessionCompat.Token sessionToken) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="245"
- column="34"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public TransportControls getTransportControls() {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="263"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean dispatchMediaButtonEvent(KeyEvent keyEvent) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="274"
- column="45"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PlaybackStateCompat getPlaybackState() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="291"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaMetadataCompat getMetadata() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="300"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public List<QueueItem> getQueue() {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="310"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void addQueueItem(MediaDescriptionCompat description) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="326"
- column="30"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void addQueueItem(MediaDescriptionCompat description, int index) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="346"
- column="30"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void removeQueueItem(MediaDescriptionCompat description) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="363"
- column="33"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CharSequence getQueueTitle() {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="393"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bundle getExtras() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="400"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PlaybackInfo getPlaybackInfo() {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="480"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PendingIntent getSessionActivity() {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="490"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaSessionCompat.Token getSessionToken() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="499"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void registerCallback(@NonNull Callback callback, Handler handler) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="567"
- column="62"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getPackageName() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="645"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getMediaController() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="675"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSessionEvent(String event, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="720"
- column="36"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSessionEvent(String event, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="720"
- column="50"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPlaybackStateChanged(PlaybackStateCompat state) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="728"
- column="44"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onMetadataChanged(MediaMetadataCompat metadata) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="737"
- column="39"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onQueueChanged(List<QueueItem> queue) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="748"
- column="36"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onQueueTitleChanged(CharSequence title) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="758"
- column="41"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onExtrasChanged(Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="767"
- column="37"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onAudioInfoChanged(PlaybackInfo info) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="775"
- column="40"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public IMediaControllerCallback getIControllerCallback() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="814"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void prepareFromMediaId(String mediaId, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1165"
- column="49"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void prepareFromMediaId(String mediaId, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1165"
- column="65"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void prepareFromSearch(String query, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1177"
- column="48"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void prepareFromSearch(String query, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1177"
- column="62"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void prepareFromUri(Uri uri, Bundle extras);"
errorLine2=" ~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1188"
- column="45"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void prepareFromUri(Uri uri, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1188"
- column="54"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void playFromMediaId(String mediaId, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1202"
- column="46"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void playFromMediaId(String mediaId, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1202"
- column="62"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void playFromSearch(String query, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1213"
- column="45"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void playFromSearch(String query, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1213"
- column="59"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void playFromUri(Uri uri, Bundle extras);"
errorLine2=" ~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1222"
- column="42"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void playFromUri(Uri uri, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1222"
- column="51"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void setRating(RatingCompat rating);"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1278"
- column="40"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void setRating(RatingCompat rating, Bundle extras);"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1292"
- column="40"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void setRating(RatingCompat rating, Bundle extras);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1292"
- column="61"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void sendCustomAction(PlaybackStateCompat.CustomAction customAction,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1338"
- column="47"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Bundle args);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1339"
- column="17"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void sendCustomAction(String action, Bundle args);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1357"
- column="47"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void sendCustomAction(String action, Bundle args);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"
- line="1357"
- column="62"/>
+ file="src/main/java/android/support/v4/media/session/MediaControllerCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="306"
- column="31"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getMediaDescription() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="337"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaDescriptionCompat fromMediaDescription(Object descriptionObj) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="385"
- column="19"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaDescriptionCompat fromMediaDescription(Object descriptionObj) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="385"
- column="63"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setMediaId(@Nullable String mediaId) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="474"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setTitle(@Nullable CharSequence title) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="485"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setSubtitle(@Nullable CharSequence subtitle) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="496"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setDescription(@Nullable CharSequence description) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="508"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setIconBitmap(@Nullable Bitmap icon) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="520"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setIconUri(@Nullable Uri iconUri) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="532"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setExtras(@Nullable Bundle extras) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="543"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setMediaUri(@Nullable Uri mediaUri) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="554"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaDescriptionCompat build() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"
- line="565"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaDescriptionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean containsKey(String key) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="374"
- column="32"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CharSequence getText(@TextKey String key) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="386"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CharSequence getText(@TextKey String key) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="386"
- column="42"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getString(@TextKey String key) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="398"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getString(@TextKey String key) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="398"
- column="38"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public long getLong(@LongKey String key) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="413"
- column="34"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RatingCompat getRating(@RatingKey String key) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="424"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RatingCompat getRating(@RatingKey String key) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="424"
- column="46"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bitmap getBitmap(@BitmapKey String key) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="448"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bitmap getBitmap(@BitmapKey String key) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="448"
- column="40"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaDescriptionCompat getDescription() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="464"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="552"
- column="31"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Set<String> keySet() {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="570"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bundle getBundle() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="580"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaMetadataCompat fromMediaMetadata(Object metadataObj) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="597"
- column="19"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaMetadataCompat fromMediaMetadata(Object metadataObj) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="597"
- column="57"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getMediaMetadata() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="621"
- column="12"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder(MediaMetadataCompat source) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="667"
- column="24"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder(MediaMetadataCompat source, int maxBitmapSize) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="683"
- column="24"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putText(@TextKey String key, CharSequence value) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="722"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putText(@TextKey String key, CharSequence value) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="722"
- column="41"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putText(@TextKey String key, CharSequence value) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="722"
- column="53"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putString(@TextKey String key, String value) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="759"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putString(@TextKey String key, String value) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="759"
- column="43"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putString(@TextKey String key, String value) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="759"
- column="55"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putLong(@LongKey String key, long value) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="789"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putLong(@LongKey String key, long value) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="789"
- column="41"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putRating(@RatingKey String key, RatingCompat value) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="813"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putRating(@RatingKey String key, RatingCompat value) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="813"
- column="45"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putRating(@RatingKey String key, RatingCompat value) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="813"
- column="57"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putBitmap(@BitmapKey String key, Bitmap value) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="848"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putBitmap(@BitmapKey String key, Bitmap value) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="848"
- column="45"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder putBitmap(@BitmapKey String key, Bitmap value) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="848"
- column="57"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaMetadataCompat build() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"
- line="864"
- column="16"/>
+ file="src/main/java/android/support/v4/media/MediaMetadataCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setCallback(Callback callback) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="613"
- column="29"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setCallback(Callback callback, Handler handler) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="629"
- column="29"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setCallback(Callback callback, Handler handler) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="629"
- column="48"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setSessionActivity(PendingIntent pi) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="658"
- column="36"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setMediaButtonReceiver(PendingIntent mbr) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="675"
- column="40"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setPlaybackToRemote(VolumeProviderCompat volumeProvider) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="717"
- column="37"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void sendSessionEvent(String event, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="761"
- column="34"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void sendSessionEvent(String event, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="761"
- column="48"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Token getSessionToken() {"
errorLine2=" ~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="791"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaControllerCompat getController() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="801"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setPlaybackState(PlaybackStateCompat state) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="810"
- column="34"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setMetadata(MediaMetadataCompat metadata) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="822"
- column="29"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setQueue(List<QueueItem> queue) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="838"
- column="26"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setQueueTitle(CharSequence title) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="862"
- column="31"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setExtras(Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="931"
- column="27"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getMediaSession() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="945"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getRemoteControlClient() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="959"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getCallingPackage() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="995"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void addOnActiveChangeListener(OnActiveChangeListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1006"
- column="43"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void removeOnActiveChangeListener(OnActiveChangeListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1019"
- column="46"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaSessionCompat fromMediaSession(Context context, Object mediaSession) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1042"
- column="19"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaSessionCompat fromMediaSession(Context context, Object mediaSession) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1042"
- column="55"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaSessionCompat fromMediaSession(Context context, Object mediaSession) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1042"
- column="72"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCommand(String command, Bundle extras, ResultReceiver cb) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1175"
- column="31"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCommand(String command, Bundle extras, ResultReceiver cb) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1175"
- column="47"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCommand(String command, Bundle extras, ResultReceiver cb) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1175"
- column="62"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onMediaButtonEvent(Intent mediaButtonEvent) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1189"
- column="43"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPrepareFromMediaId(String mediaId, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1282"
- column="42"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPrepareFromMediaId(String mediaId, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1282"
- column="58"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPrepareFromSearch(String query, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1292"
- column="41"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPrepareFromSearch(String query, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1292"
- column="55"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPrepareFromUri(Uri uri, Bundle extras) {"
errorLine2=" ~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1300"
- column="38"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPrepareFromUri(Uri uri, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1300"
- column="47"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPlayFromMediaId(String mediaId, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1313"
- column="39"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPlayFromMediaId(String mediaId, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1313"
- column="55"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPlayFromSearch(String query, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1322"
- column="38"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPlayFromSearch(String query, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1322"
- column="52"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPlayFromUri(Uri uri, Bundle extras) {"
errorLine2=" ~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1328"
- column="35"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onPlayFromUri(Uri uri, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1328"
- column="44"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSetRating(RatingCompat rating) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1387"
- column="33"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSetRating(RatingCompat rating, Bundle extras) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1396"
- column="33"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onSetRating(RatingCompat rating, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1396"
- column="54"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCustomAction(String action, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1467"
- column="36"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCustomAction(String action, Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1467"
- column="51"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onAddQueueItem(MediaDescriptionCompat description) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1477"
- column="36"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onAddQueueItem(MediaDescriptionCompat description, int index) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1489"
- column="36"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onRemoveQueueItem(MediaDescriptionCompat description) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1500"
- column="39"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Token fromToken(Object token) {"
errorLine2=" ~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1984"
- column="23"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Token fromToken(Object token) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="1984"
- column="39"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Token fromToken(Object token, IMediaSession extraBinder) {"
errorLine2=" ~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2002"
- column="23"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Token fromToken(Object token, IMediaSession extraBinder) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2002"
- column="39"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Token fromToken(Object token, IMediaSession extraBinder) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2002"
- column="53"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2019"
- column="35"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getToken() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2063"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public IMediaSession getExtraBinder() {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2071"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setExtraBinder(IMediaSession extraBinder) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2081"
- column="36"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public VersionedParcelable getSession2Token() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2091"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setSession2Token(VersionedParcelable session2Token) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2101"
- column="38"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bundle toBundle() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2111"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Token fromBundle(Bundle tokenBundle) {"
errorLine2=" ~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2133"
- column="23"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Token fromBundle(Bundle tokenBundle) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2133"
- column="40"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public QueueItem(MediaDescriptionCompat description, long id) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2189"
- column="26"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaDescriptionCompat getDescription() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2216"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2228"
- column="35"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getQueueItem() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2248"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static QueueItem fromQueueItem(Object queueItem) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2268"
- column="23"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static QueueItem fromQueueItem(Object queueItem) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2268"
- column="47"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static List<QueueItem> fromQueueItemList(List<?> itemList) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2290"
- column="23"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static List<QueueItem> fromQueueItemList(List<?> itemList) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"
- line="2290"
- column="57"/>
+ file="src/main/java/android/support/v4/media/session/MediaSessionCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" android.media.session.MediaSessionManager.RemoteUserInfo remoteUserInfo) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/MediaSessionManager.java"
- line="184"
- column="17"/>
+ file="src/main/java/androidx/media/MediaSessionManager.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaSessionCompat.Token getMediaSession(Notification notification) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="102"
- column="23"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static MediaSessionCompat.Token getMediaSession(Notification notification) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="102"
- column="64"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaStyle(androidx.core.app.NotificationCompat.Builder builder) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="139"
- column="27"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaStyle setShowActionsInCompactView(int...actions) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="149"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaStyle setShowActionsInCompactView(int...actions) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="149"
- column="55"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaStyle setMediaSession(MediaSessionCompat.Token token) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="158"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaStyle setMediaSession(MediaSessionCompat.Token token) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="158"
- column="43"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaStyle setShowCancelButton(boolean show) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="187"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaStyle setCancelButtonIntent(PendingIntent pendingIntent) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="200"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaStyle setCancelButtonIntent(PendingIntent pendingIntent) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="200"
- column="49"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void apply(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="210"
- column="27"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="225"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="225"
- column="44"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeBigContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="293"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeBigContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="293"
- column="47"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void apply(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="378"
- column="27"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="393"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="393"
- column="44"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeBigContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="435"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeBigContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="435"
- column="47"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeHeadsUpContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="467"
- column="16"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public RemoteViews makeHeadsUpContentView(NotificationBuilderWithBuilderAccessor builder) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/app/NotificationCompat.java"
- line="467"
- column="51"/>
+ file="src/main/java/androidx/media/app/NotificationCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ParcelableVolumeInfo(Parcel from) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/ParcelableVolumeInfo.java"
- line="44"
- column="33"/>
+ file="src/main/java/android/support/v4/media/session/ParcelableVolumeInfo.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/ParcelableVolumeInfo.java"
- line="58"
- column="31"/>
+ file="src/main/java/android/support/v4/media/session/ParcelableVolumeInfo.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="618"
- column="31"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public long getCurrentPosition(Long timeDiff) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="679"
- column="36"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public List<PlaybackStateCompat.CustomAction> getCustomActions() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="741"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CharSequence getErrorMessage() {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="774"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PlaybackStateCompat fromPlaybackState(Object stateObj) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="808"
- column="19"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PlaybackStateCompat fromPlaybackState(Object stateObj) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="808"
- column="57"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getPlaybackState() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="854"
- column="12"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="918"
- column="35"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PlaybackStateCompat.CustomAction fromCustomAction(Object customActionObj) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="941"
- column="23"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static PlaybackStateCompat.CustomAction fromCustomAction(Object customActionObj) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="941"
- column="73"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getCustomAction() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="970"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getAction() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1000"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CharSequence getName() {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1009"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bundle getExtras() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1032"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder(String action, CharSequence name, int icon) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1066"
- column="28"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder(String action, CharSequence name, int icon) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1066"
- column="43"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setExtras(Bundle extras) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1093"
- column="20"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setExtras(Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1093"
- column="38"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CustomAction build() {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1104"
- column="20"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder(PlaybackStateCompat source) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1139"
- column="24"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setState(@State int state, long position, float playbackSpeed) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1186"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setState(@State int state, long position, float playbackSpeed,"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1224"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setBufferedPosition(long bufferPosition) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1240"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setActions(@Actions long capabilities) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1275"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder addCustomAction(String action, String name, int icon) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1300"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder addCustomAction(String action, String name, int icon) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1300"
- column="40"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder addCustomAction(String action, String name, int icon) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1300"
- column="55"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder addCustomAction(PlaybackStateCompat.CustomAction customAction) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1315"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder addCustomAction(PlaybackStateCompat.CustomAction customAction) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1315"
- column="40"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setActiveQueueItemId(long id) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1331"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Builder setErrorMessage(CharSequence errorMessage) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1344"
- column="16"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Builder setErrorMessage(CharSequence errorMessage) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1344"
- column="40"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setErrorMessage(@ErrorCode int errorCode, CharSequence errorMessage) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1357"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setErrorMessage(@ErrorCode int errorCode, CharSequence errorMessage) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1357"
- column="66"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setExtras(Bundle extras) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1369"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Builder setExtras(Bundle extras) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1369"
- column="34"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PlaybackStateCompat build() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"
- line="1377"
- column="16"/>
+ file="src/main/java/android/support/v4/media/session/PlaybackStateCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="128"
- column="31"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static RatingCompat newUnratedRating(@Style int ratingStyle) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="160"
- column="19"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static RatingCompat newHeartRating(boolean hasHeart) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="181"
- column="19"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static RatingCompat newThumbRating(boolean thumbIsUp) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="192"
- column="19"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static RatingCompat newStarRating(@StarStyle int starRatingStyle,"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="208"
- column="19"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static RatingCompat newPercentageRating(float percent) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="239"
- column="19"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static RatingCompat fromRating(Object ratingObj) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="334"
- column="19"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static RatingCompat fromRating(Object ratingObj) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="334"
- column="43"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getRating() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/android/support/v4/media/RatingCompat.java"
- line="377"
- column="12"/>
+ file="src/main/java/android/support/v4/media/RatingCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setCallback(Callback callback) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/androidx/media/VolumeProviderCompat.java"
- line="190"
- column="29"/>
+ file="src/main/java/androidx/media/VolumeProviderCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Object getVolumeProvider() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media/VolumeProviderCompat.java"
- line="202"
- column="12"/>
+ file="src/main/java/androidx/media/VolumeProviderCompat.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void onVolumeChanged(VolumeProviderCompat volumeProvider);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media/VolumeProviderCompat.java"
- line="238"
- column="46"/>
+ file="src/main/java/androidx/media/VolumeProviderCompat.java"/>
</issue>
</issues>
diff --git a/media/version-compat-tests/current/service/lint-baseline.xml b/media/version-compat-tests/current/service/lint-baseline.xml
index 48673c2..8b68ffd 100644
--- a/media/version-compat-tests/current/service/lint-baseline.xml
+++ b/media/version-compat-tests/current/service/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="MissingTestSizeAnnotation"
diff --git a/media/version-compat-tests/lib/lint-baseline.xml b/media/version-compat-tests/lib/lint-baseline.xml
index 0a1ee53..3dcdf00 100644
--- a/media/version-compat-tests/lib/lint-baseline.xml
+++ b/media/version-compat-tests/lib/lint-baseline.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (7.1.0-beta02)" variant="all" version="7.1.0-beta02">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
@@ -12,7 +12,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static void callMediaBrowserServiceMethod(int methodId, Object arg, Context context) {"
errorLine2=" ~~~~~~">
<location
@@ -21,7 +21,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static void callMediaBrowserServiceMethod(int methodId, Object arg, Context context) {"
errorLine2=" ~~~~~~~">
<location
@@ -30,7 +30,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static void callMediaSessionMethod(int methodId, Object arg, Context context) {"
errorLine2=" ~~~~~~">
<location
@@ -39,7 +39,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static void callMediaSessionMethod(int methodId, Object arg, Context context) {"
errorLine2=" ~~~~~~~">
<location
@@ -48,7 +48,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~">
<location
@@ -57,7 +57,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~~">
<location
@@ -66,7 +66,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -75,7 +75,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~">
<location
@@ -84,7 +84,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~~">
<location
@@ -93,7 +93,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" int methodId, Object arg, Context context, Parcelable token) {"
errorLine2=" ~~~~~~~~~~">
<location
@@ -102,7 +102,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static void waitFor(final PollingCheckCondition condition) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -111,7 +111,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static void waitFor(long timeout, final PollingCheckCondition condition) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -120,7 +120,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static void assertBundleEquals(Bundle expected, Bundle observed) {"
errorLine2=" ~~~~~~">
<location
@@ -129,7 +129,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static void assertBundleEquals(Bundle expected, Bundle observed) {"
errorLine2=" ~~~~~~">
<location
diff --git a/media2/integration-tests/testapp/lint-baseline.xml b/media2/integration-tests/testapp/lint-baseline.xml
index 7e0f108..912b0ba 100644
--- a/media2/integration-tests/testapp/lint-baseline.xml
+++ b/media2/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="ClassVerificationFailure"
@@ -20,141 +20,6 @@
</issue>
<issue
- id="SyntheticAccessor"
- message="Access to `private` method `showErrorDialogIfFailed` of class `VideoPlayerActivity` requires synthetic accessor"
- errorLine1=" showErrorDialogIfFailed(controller.setMediaItem(mUri.toString()),"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoPlayerActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `showErrorDialogIfFailed` of class `VideoPlayerActivity` requires synthetic accessor"
- errorLine1=" showErrorDialogIfFailed(controller.prepare(), "failed to prepare " + mUri);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoPlayerActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createLaunchIntent` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" Intent launch = createLaunchIntent("
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mUrlText` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" mUrlText.getText().toString());"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSelectItems` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" if ((position >= 0) && (position < mSelectItems.getCount())) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSelectItems` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" VideoItem item = mSelectItems.getItem(position);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createLaunchIntent` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" Intent launch = createLaunchIntent("
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` constructor of class `VideoItemList` requires synthetic accessor"
- errorLine1=" VideoItemList retVal = new VideoItemList(p, is_root);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createVil` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" return createVil(mPath);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSelectItems` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" mSelectItems = items;"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSelectItems` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" mSelectList.setAdapter(mSelectItems);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSelectList` of class `VideoSelectorActivity` requires synthetic accessor"
- errorLine1=" mSelectList.setAdapter(mSelectItems);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSelectorActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayer` of class `VideoSessionService` requires synthetic accessor"
- errorLine1=" mMediaPlayer.reset();"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSessionService.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mAudioAttributes` of class `VideoSessionService` requires synthetic accessor"
- errorLine1=" showToastIfFailed(mMediaPlayer.setAudioAttributes(mAudioAttributes),"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSessionService.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayer` of class `VideoSessionService` requires synthetic accessor"
- errorLine1=" showToastIfFailed(mMediaPlayer.setAudioAttributes(mAudioAttributes),"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/media2/integration/testapp/VideoSessionService.java"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
diff --git a/media2/media2-common/lint-baseline.xml b/media2/media2-common/lint-baseline.xml
index b2a8847..37f296f 100644
--- a/media2/media2-common/lint-baseline.xml
+++ b/media2/media2-common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.1.0-beta02" type="baseline" client="gradle" dependencies="false" name="AGP (7.1.0-beta02)" variant="all" version="7.1.0-beta02">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="KotlinPropertyAccess"
@@ -12,7 +12,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Executor executor, OnMetadataChangedListener listener) {"
errorLine2=" ~~~~~~~~">
<location
@@ -21,7 +21,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Executor executor, OnMetadataChangedListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -30,7 +30,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void removeOnMetadataChangedListener(OnMetadataChangedListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
@@ -39,7 +39,7 @@
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
diff --git a/media2/media2-player/lint-baseline.xml b/media2/media2-player/lint-baseline.xml
index b5478ee..ff716c8 100644
--- a/media2/media2-player/lint-baseline.xml
+++ b/media2/media2-player/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
@@ -250,8 +250,7 @@
errorLine1=" void onLoop(MediaItem mediaItem);"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"
- column="21"/>
+ file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"/>
</issue>
<issue
@@ -260,9 +259,7 @@
errorLine1=" void onMediaTimeDiscontinuity(MediaItem mediaItem, MediaTimestamp mediaTimestamp);"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"
- line="135"
- column="39"/>
+ file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"/>
</issue>
<issue
@@ -271,9 +268,7 @@
errorLine1=" void onMediaTimeDiscontinuity(MediaItem mediaItem, MediaTimestamp mediaTimestamp);"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"
- line="135"
- column="60"/>
+ file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"/>
</issue>
<issue
@@ -282,9 +277,7 @@
errorLine1=" void onPlaybackEnded(MediaItem mediaItem);"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"
- line="138"
- column="30"/>
+ file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"/>
</issue>
<issue
@@ -293,9 +286,7 @@
errorLine1=" void onError(MediaItem mediaItem, int what);"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"
- line="141"
- column="22"/>
+ file="src/main/java/androidx/media2/player/ExoPlayerWrapper.java"/>
</issue>
<issue
@@ -304,9 +295,7 @@
errorLine1=" public PersistableBundle getMetrics() {"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer.java"
- line="2167"
- column="12"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer.java"/>
</issue>
<issue
@@ -315,9 +304,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, int width, int height) { }"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="824"
- column="17"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -326,9 +313,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, int width, int height) { }"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="824"
- column="34"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -337,9 +322,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, TimedMetaData data) { }"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="844"
- column="17"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -348,9 +331,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, TimedMetaData data) { }"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="844"
- column="34"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -359,9 +340,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, TimedMetaData data) { }"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="844"
- column="50"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -370,9 +349,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, @MediaError int what, int extra) { }"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="856"
- column="17"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -381,9 +358,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, @MediaError int what, int extra) { }"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="856"
- column="34"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -392,9 +367,7 @@
errorLine1=" public void onInfo(MediaPlayer2 mp, MediaItem item, @MediaInfo int what, int extra) { }"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="867"
- column="28"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -403,9 +376,7 @@
errorLine1=" public void onInfo(MediaPlayer2 mp, MediaItem item, @MediaInfo int what, int extra) { }"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="867"
- column="45"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -414,9 +385,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, @CallCompleted int what,"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="878"
- column="17"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -425,9 +394,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, @CallCompleted int what,"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="878"
- column="34"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -436,9 +403,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, MediaTimestamp timestamp) { }"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="902"
- column="17"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -447,9 +412,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, MediaTimestamp timestamp) { }"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="902"
- column="34"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -458,9 +421,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, MediaTimestamp timestamp) { }"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="902"
- column="50"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -469,9 +430,7 @@
errorLine1=" public void onCommandLabelReached(MediaPlayer2 mp, @NonNull Object label) { }"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="911"
- column="43"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -480,9 +439,7 @@
errorLine1=" void onDrmConfig(MediaPlayer2 mp, MediaItem item);"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1452"
- column="26"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -491,9 +448,7 @@
errorLine1=" void onDrmConfig(MediaPlayer2 mp, MediaItem item);"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1452"
- column="43"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -502,9 +457,7 @@
errorLine1=" public void onDrmInfo(MediaPlayer2 mp, MediaItem item, DrmInfo drmInfo) { }"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1479"
- column="31"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -513,9 +466,7 @@
errorLine1=" public void onDrmInfo(MediaPlayer2 mp, MediaItem item, DrmInfo drmInfo) { }"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1479"
- column="48"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -524,9 +475,7 @@
errorLine1=" public void onDrmInfo(MediaPlayer2 mp, MediaItem item, DrmInfo drmInfo) { }"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1479"
- column="64"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -535,9 +484,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, @PrepareDrmStatusCode int status) { }"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1490"
- column="17"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -546,9 +493,7 @@
errorLine1=" MediaPlayer2 mp, MediaItem item, @PrepareDrmStatusCode int status) { }"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1490"
- column="34"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -557,9 +502,7 @@
errorLine1=" public abstract Map<UUID, byte[]> getPssh();"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1714"
- column="25"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -568,9 +511,7 @@
errorLine1=" public abstract List<UUID> getSupportedSchemes();"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/MediaPlayer2.java"
- line="1721"
- column="25"/>
+ file="src/main/java/androidx/media2/player/MediaPlayer2.java"/>
</issue>
<issue
@@ -579,9 +520,7 @@
errorLine1=" public android.media.PlaybackParams getPlaybackParams() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/PlaybackParams.java"
- line="166"
- column="12"/>
+ file="src/main/java/androidx/media2/player/PlaybackParams.java"/>
</issue>
<issue
@@ -590,9 +529,7 @@
errorLine1=" public Builder(android.media.PlaybackParams playbackParams) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/androidx/media2/player/PlaybackParams.java"
- line="196"
- column="24"/>
+ file="src/main/java/androidx/media2/player/PlaybackParams.java"/>
</issue>
<issue
@@ -601,9 +538,7 @@
errorLine1=" void onCcData(byte[] data, long timeUs);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media2/player/TextRenderer.java"
- line="53"
- column="23"/>
+ file="src/main/java/androidx/media2/player/TextRenderer.java"/>
</issue>
<issue
@@ -612,9 +547,7 @@
errorLine1=" public TimedMetaData(long timestampUs, byte[] metaData) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media2/player/TimedMetaData.java"
- line="43"
- column="44"/>
+ file="src/main/java/androidx/media2/player/TimedMetaData.java"/>
</issue>
<issue
@@ -623,9 +556,7 @@
errorLine1=" public byte[] getMetaData() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/media2/player/TimedMetaData.java"
- line="60"
- column="12"/>
+ file="src/main/java/androidx/media2/player/TimedMetaData.java"/>
</issue>
</issues>
diff --git a/media2/media2-session/lint-baseline.xml b/media2/media2-session/lint-baseline.xml
index 06676bf..8ab5ac9 100644
--- a/media2/media2-session/lint-baseline.xml
+++ b/media2/media2-session/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="WrongConstant"
diff --git a/media2/media2-session/version-compat-tests/common/lint-baseline.xml b/media2/media2-session/version-compat-tests/common/lint-baseline.xml
index 65cdb74..2da113c 100644
--- a/media2/media2-session/version-compat-tests/common/lint-baseline.xml
+++ b/media2/media2-session/version-compat-tests/common/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/media2/media2-widget/lint-baseline.xml b/media2/media2-widget/lint-baseline.xml
index ef484c0..fa863c1 100644
--- a/media2/media2-widget/lint-baseline.xml
+++ b/media2/media2-widget/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
diff --git a/mediarouter/mediarouter/lint-baseline.xml b/mediarouter/mediarouter/lint-baseline.xml
index dada845..5575eb0 100644
--- a/mediarouter/mediarouter/lint-baseline.xml
+++ b/mediarouter/mediarouter/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
@@ -20,42 +20,6 @@
</issue>
<issue
- id="BanUncheckedReflection"
- message="Calling `Method.invoke` without an SDK check"
- errorLine1=" mSelectRouteIntMethod.invoke(router, types, route);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="jellybean/androidx/mediarouter/media/MediaRouterJellybean.java"/>
- </issue>
-
- <issue
- id="BanUncheckedReflection"
- message="Calling `Method.invoke` without an SDK check"
- errorLine1=" return mGetSystemAudioRouteMethod.invoke(router);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="jellybean/androidx/mediarouter/media/MediaRouterJellybean.java"/>
- </issue>
-
- <issue
- id="BanUncheckedReflection"
- message="Calling `Method.invoke` without an SDK check"
- errorLine1=" mScanWifiDisplaysMethod.invoke(mDisplayManager);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="jellybean-mr1/androidx/mediarouter/media/MediaRouterJellybeanMr1.java"/>
- </issue>
-
- <issue
- id="BanUncheckedReflection"
- message="Calling `Method.invoke` without an SDK check"
- errorLine1=" int statusCode = (Integer)mGetStatusCodeMethod.invoke(route);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="jellybean-mr1/androidx/mediarouter/media/MediaRouterJellybeanMr1.java"/>
- </issue>
-
- <issue
id="ClassVerificationFailure"
message="This call references a method added in API level 17; however, the containing class androidx.mediarouter.app.MediaRouteDynamicControllerDialog is reachable from earlier API levels and will fail run-time class verification."
errorLine1=" ScriptIntrinsicBlur blurScript = ScriptIntrinsicBlur.create(rs, Element.U8_4(rs));"
diff --git a/navigation/integration-tests/testapp/lint-baseline.xml b/navigation/integration-tests/testapp/lint-baseline.xml
index 6902f84..acc57fc 100644
--- a/navigation/integration-tests/testapp/lint-baseline.xml
+++ b/navigation/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="ClassVerificationFailure"
diff --git a/paging/integration-tests/testapp/lint-baseline.xml b/paging/integration-tests/testapp/lint-baseline.xml
index b6e7857..9aa9f52 100644
--- a/paging/integration-tests/testapp/lint-baseline.xml
+++ b/paging/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha08)" variant="all" version="7.3.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="MissingInflatedId"
@@ -20,15 +20,6 @@
</issue>
<issue
- id="SyntheticAccessor"
- message="Access to `private` constructor of class `LastNameAscCustomerDataSource` requires synthetic accessor"
- errorLine1=" return new LastNameAscCustomerDataSource(db);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/paging/integration/testapp/room/LastNameAscCustomerDataSource.java"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getName() {"
diff --git a/preference/preference/lint-baseline.xml b/preference/preference/lint-baseline.xml
index 3c0ec46..b4ab971 100644
--- a/preference/preference/lint-baseline.xml
+++ b/preference/preference/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="KotlinPropertyAccess"
diff --git a/privacysandbox/OWNERS b/privacysandbox/OWNERS
index 990af70..518859b 100644
--- a/privacysandbox/OWNERS
+++ b/privacysandbox/OWNERS
@@ -1,2 +1,3 @@
[email protected]
[email protected]
[email protected]
diff --git a/recyclerview/recyclerview/lint-baseline.xml b/recyclerview/recyclerview/lint-baseline.xml
index f4df0f4..ea6b005c 100644
--- a/recyclerview/recyclerview/lint-baseline.xml
+++ b/recyclerview/recyclerview/lint-baseline.xml
@@ -760,114 +760,6 @@
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public LayoutParams generateLayoutParams(Context c, AttributeSet attrs) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public LayoutParams generateLayoutParams(Context c, AttributeSet attrs) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public LayoutParams generateLayoutParams(Context c, AttributeSet attrs) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void startSmoothScroll(SmoothScroller smoothScroller) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void endAnimation(View view) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void addDisappearingView(View child) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void addDisappearingView(View child, int index) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void addView(View child) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void addView(View child, int index) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void removeView(View child) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/RecyclerView.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void attachView(@NonNull View child, int index, LayoutParams lp) {"
errorLine2=" ~~~~~~~~~~~~">
<location
@@ -1039,141 +931,6 @@
<issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public final void dispatchMoveFinished(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public final void dispatchAddFinished(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public final void dispatchChangeFinished(RecyclerView.ViewHolder item, boolean oldItem) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public final void dispatchRemoveStarting(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public final void dispatchMoveStarting(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public final void dispatchAddStarting(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public final void dispatchChangeStarting(RecyclerView.ViewHolder item, boolean oldItem) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void onRemoveStarting(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void onRemoveFinished(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void onAddStarting(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void onAddFinished(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void onMoveStarting(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void onMoveFinished(RecyclerView.ViewHolder item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void onChangeStarting(RecyclerView.ViewHolder item, boolean oldItem) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" public void onChangeFinished(RecyclerView.ViewHolder item, boolean oldItem) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/recyclerview/widget/SimpleItemAnimator.java"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public StaggeredGridLayoutManager(Context context, AttributeSet attrs, int defStyleAttr,"
errorLine2=" ~~~~~~~">
<location
diff --git a/remotecallback/processor/lint-baseline.xml b/remotecallback/processor/lint-baseline.xml
index 0823dcd..ceacbd4 100644
--- a/remotecallback/processor/lint-baseline.xml
+++ b/remotecallback/processor/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="BanSynchronizedMethods"
diff --git a/room/integration-tests/testapp/lint-baseline.xml b/room/integration-tests/testapp/lint-baseline.xml
index fbc298f..dad4c89 100644
--- a/room/integration-tests/testapp/lint-baseline.xml
+++ b/room/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
@@ -56,24 +56,6 @@
</issue>
<issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDatabase` of class `SampleDatabaseService` requires synthetic accessor"
- errorLine1=" mDatabase.getCustomerDao().insert(customer);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDatabase` of class `SampleDatabaseService` requires synthetic accessor"
- errorLine1=" final LiveData<List<Customer>> customers = mDatabase.getCustomerDao().all();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/room/integration/testapp/SampleDatabaseService.java"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getName() {"
diff --git a/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/WriteAheadLoggingTest.java b/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/WriteAheadLoggingTest.java
index 1e2df59..264f38f 100644
--- a/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/WriteAheadLoggingTest.java
+++ b/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/WriteAheadLoggingTest.java
@@ -44,6 +44,7 @@
import androidx.sqlite.db.SupportSQLiteDatabase;
import androidx.test.core.app.ApplicationProvider;
import androidx.test.ext.junit.runners.AndroidJUnit4;
+import androidx.test.filters.FlakyTest;
import androidx.test.filters.LargeTest;
import androidx.test.filters.SdkSuppress;
import androidx.test.platform.app.InstrumentationRegistry;
@@ -67,6 +68,7 @@
import java.util.concurrent.TimeoutException;
@RunWith(AndroidJUnit4.class)
+@FlakyTest(bugId = 241095868)
@LargeTest
@SdkSuppress(minSdkVersion = 16)
public class WriteAheadLoggingTest {
diff --git a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
index c9ca6f5..95b43d7 100644
--- a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
+++ b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/JavaPoetExt.kt
@@ -41,32 +41,29 @@
fun XAnnotation.toAnnotationSpec(): AnnotationSpec {
val builder = AnnotationSpec.builder(className)
- annotationValues.forEach { builder.visitAnnotationValue(it) }
+ annotationValues.forEach { builder.addAnnotationValue(it) }
return builder.build()
}
-private fun AnnotationSpec.Builder.visitAnnotationValue(annotationValue: XAnnotationValue) {
- val name = annotationValue.name
- when (val value = annotationValue.value) {
- is XAnnotation -> addMember(name, "\$L", value.toAnnotationSpec())
- is XVariableElement -> addMember(name, "\$T.\$L", value.type.typeName, value.name)
- is XType -> addMember(name, "\$T.class", value.typeName)
- is List<*> -> value.forEach { if (it is XAnnotationValue) { visitAnnotationValue(it) } }
- else -> this.addMemberForCommonValue(name, value)
- }
-}
-
-private fun AnnotationSpec.Builder.addMemberForCommonValue(memberName: String, value: Any?) {
- requireNotNull(value) { "value == null, constant non-null value expected for $memberName" }
- require(SourceVersion.isName(memberName)) { "not a valid name: $memberName" }
- when (value) {
- is Class<*> -> addMember(memberName, "\$T.class", value)
- is Enum<*> -> addMember(memberName, "\$T.\$L", value.javaClass, value.name)
- is String -> addMember(memberName, "\$S", value)
- is Float -> addMember(memberName, "\$Lf", value)
- is Char -> addMember(memberName, "'\$L'", characterLiteralWithoutSingleQuotes(value))
- else -> addMember(memberName, "\$L", value)
+private fun AnnotationSpec.Builder.addAnnotationValue(annotationValue: XAnnotationValue) {
+ annotationValue.apply {
+ requireNotNull(value) { "value == null, constant non-null value expected for $name" }
+ require(SourceVersion.isName(name)) { "not a valid name: $name" }
+ when {
+ hasListValue() -> asAnnotationValueList().forEach { addAnnotationValue(it) }
+ hasAnnotationValue() -> addMember(name, "\$L", asAnnotation().toAnnotationSpec())
+ hasEnumValue() -> addMember(
+ name, "\$T.\$L", asEnum().enclosingElement.className, asEnum().name
+ )
+ hasTypeValue() -> addMember(name, "\$T.class", asType().typeName)
+ hasStringValue() -> addMember(name, "\$S", asString())
+ hasFloatValue() -> addMember(name, "\$Lf", asFloat())
+ hasCharValue() -> addMember(
+ name, "'\$L'", characterLiteralWithoutSingleQuotes(asChar())
+ )
+ else -> addMember(name, "\$L", value)
}
+ }
}
private fun characterLiteralWithoutSingleQuotes(c: Char): String? {
diff --git a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacAnnotationBox.kt b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacAnnotationBox.kt
index ffcfa94..d739910 100644
--- a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacAnnotationBox.kt
+++ b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/JavacAnnotationBox.kt
@@ -25,7 +25,7 @@
import javax.lang.model.element.AnnotationValue
import javax.lang.model.element.VariableElement
import javax.lang.model.type.TypeMirror
-import javax.lang.model.util.SimpleAnnotationValueVisitor6
+import javax.lang.model.util.SimpleAnnotationValueVisitor8
internal interface JavacClassGetter {
fun getAsType(methodName: String): XType?
@@ -137,80 +137,70 @@
)
}
-@Suppress("DEPRECATION")
-private val ANNOTATION_VALUE_TO_INT_VISITOR = object : SimpleAnnotationValueVisitor6<Int?, Void>() {
- override fun visitInt(i: Int, p: Void?): Int? {
+private val ANNOTATION_VALUE_TO_INT_VISITOR = object : SimpleAnnotationValueVisitor8<Int?, Void>() {
+ override fun visitInt(i: Int, p: Void?): Int {
return i
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_TO_DOUBLE_VISITOR =
- object : SimpleAnnotationValueVisitor6<Double?, Void>() {
- override fun visitDouble(i: Double, p: Void?): Double? {
+ object : SimpleAnnotationValueVisitor8<Double?, Void>() {
+ override fun visitDouble(i: Double, p: Void?): Double {
return i
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_TO_FLOAT_VISITOR =
- object : SimpleAnnotationValueVisitor6<Float?, Void>() {
- override fun visitFloat(i: Float, p: Void?): Float? {
+ object : SimpleAnnotationValueVisitor8<Float?, Void>() {
+ override fun visitFloat(i: Float, p: Void?): Float {
return i
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_TO_CHAR_VISITOR =
- object : SimpleAnnotationValueVisitor6<Char?, Void>() {
- override fun visitChar(i: Char, p: Void?): Char? {
+ object : SimpleAnnotationValueVisitor8<Char?, Void>() {
+ override fun visitChar(i: Char, p: Void?): Char {
return i
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_TO_BYTE_VISITOR =
- object : SimpleAnnotationValueVisitor6<Byte?, Void>() {
- override fun visitByte(i: Byte, p: Void?): Byte? {
+ object : SimpleAnnotationValueVisitor8<Byte?, Void>() {
+ override fun visitByte(i: Byte, p: Void?): Byte {
return i
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_TO_SHORT_VISITOR =
- object : SimpleAnnotationValueVisitor6<Short?, Void>() {
- override fun visitShort(i: Short, p: Void?): Short? {
+ object : SimpleAnnotationValueVisitor8<Short?, Void>() {
+ override fun visitShort(i: Short, p: Void?): Short {
return i
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_TO_LONG_VISITOR =
- object : SimpleAnnotationValueVisitor6<Long?, Void>() {
- override fun visitLong(i: Long, p: Void?): Long? {
+ object : SimpleAnnotationValueVisitor8<Long?, Void>() {
+ override fun visitLong(i: Long, p: Void?): Long {
return i
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_TO_BOOLEAN_VISITOR = object :
- SimpleAnnotationValueVisitor6<Boolean?, Void>() {
- override fun visitBoolean(b: Boolean, p: Void?): Boolean? {
+ SimpleAnnotationValueVisitor8<Boolean?, Void>() {
+ override fun visitBoolean(b: Boolean, p: Void?): Boolean {
return b
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_TO_STRING_VISITOR = object :
- SimpleAnnotationValueVisitor6<String?, Void>() {
+ SimpleAnnotationValueVisitor8<String?, Void>() {
override fun visitString(s: String?, p: Void?): String? {
return s
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_STRING_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<String>, Void>() {
+ SimpleAnnotationValueVisitor8<List<String>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<String> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_STRING_VISITOR.visit(it)
@@ -218,9 +208,8 @@
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_INT_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<Int>, Void>() {
+ SimpleAnnotationValueVisitor8<List<Int>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<Int> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_INT_VISITOR.visit(it)
@@ -228,9 +217,8 @@
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_DOUBLE_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<Double>, Void>() {
+ SimpleAnnotationValueVisitor8<List<Double>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<Double> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_DOUBLE_VISITOR.visit(it)
@@ -238,9 +226,8 @@
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_FLOAT_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<Float>, Void>() {
+ SimpleAnnotationValueVisitor8<List<Float>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<Float> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_FLOAT_VISITOR.visit(it)
@@ -248,9 +235,8 @@
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_CHAR_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<Char>, Void>() {
+ SimpleAnnotationValueVisitor8<List<Char>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<Char> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_CHAR_VISITOR.visit(it)
@@ -258,9 +244,8 @@
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_BYTE_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<Byte>, Void>() {
+ SimpleAnnotationValueVisitor8<List<Byte>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<Byte> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_BYTE_VISITOR.visit(it)
@@ -268,9 +253,8 @@
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_SHORT_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<Short>, Void>() {
+ SimpleAnnotationValueVisitor8<List<Short>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<Short> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_SHORT_VISITOR.visit(it)
@@ -278,9 +262,8 @@
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_LONG_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<Long>, Void>() {
+ SimpleAnnotationValueVisitor8<List<Long>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<Long> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_LONG_VISITOR.visit(it)
@@ -288,9 +271,8 @@
}
}
-@Suppress("DEPRECATION")
private val ANNOTATION_VALUE_BOOLEAN_ARR_VISITOR = object :
- SimpleAnnotationValueVisitor6<List<Boolean>, Void>() {
+ SimpleAnnotationValueVisitor8<List<Boolean>, Void>() {
override fun visitArray(vals: MutableList<out AnnotationValue>?, p: Void?): List<Boolean> {
return vals?.mapNotNull {
ANNOTATION_VALUE_TO_BOOLEAN_VISITOR.visit(it)
@@ -372,9 +354,8 @@
// code below taken from dagger2
// compiler/src/main/java/dagger/internal/codegen/ConfigurationAnnotations.java
-@Suppress("DEPRECATION")
private val TO_LIST_OF_TYPES = object :
- SimpleAnnotationValueVisitor6<List<TypeMirror>, Void?>() {
+ SimpleAnnotationValueVisitor8<List<TypeMirror>, Void?>() {
override fun visitArray(values: MutableList<out AnnotationValue>?, p: Void?): List<TypeMirror> {
return values?.mapNotNull {
val tmp = TO_TYPE.visit(it)
@@ -382,13 +363,12 @@
} ?: emptyList()
}
- override fun defaultAction(o: Any?, p: Void?): List<TypeMirror>? {
+ override fun defaultAction(o: Any?, p: Void?): List<TypeMirror> {
return emptyList()
}
}
-@Suppress("DEPRECATION")
-private val TO_TYPE = object : SimpleAnnotationValueVisitor6<TypeMirror, Void>() {
+private val TO_TYPE = object : SimpleAnnotationValueVisitor8<TypeMirror, Void>() {
override fun visitType(t: TypeMirror, p: Void?): TypeMirror {
return t
@@ -419,12 +399,11 @@
}
}
-@Suppress("DEPRECATION")
private class AnnotationListVisitor<T : Annotation>(
private val env: JavacProcessingEnv,
private val annotationClass: Class<T>
) :
- SimpleAnnotationValueVisitor6<Array<JavacAnnotationBox<T>>, Void?>() {
+ SimpleAnnotationValueVisitor8<Array<JavacAnnotationBox<T>>, Void?>() {
override fun visitArray(
values: MutableList<out AnnotationValue>?,
void: Void?
@@ -434,9 +413,8 @@
}
}
-@Suppress("DEPRECATION")
private class EnumListVisitor<T : Enum<T>>(private val enumClass: Class<T>) :
- SimpleAnnotationValueVisitor6<Array<T>, Void?>() {
+ SimpleAnnotationValueVisitor8<Array<T>, Void?>() {
override fun visitArray(
values: MutableList<out AnnotationValue>?,
void: Void?
@@ -452,18 +430,17 @@
}
}
-@Suppress("DEPRECATION")
private class AnnotationClassVisitor<T : Annotation>(
private val env: JavacProcessingEnv,
private val annotationClass: Class<T>
) :
- SimpleAnnotationValueVisitor6<JavacAnnotationBox<T>?, Void?>() {
+ SimpleAnnotationValueVisitor8<JavacAnnotationBox<T>?, Void?>() {
override fun visitAnnotation(a: AnnotationMirror?, v: Void?) = a?.box(env, annotationClass)
}
-@Suppress("UNCHECKED_CAST", "DEPRECATION", "BanUncheckedReflection")
+@Suppress("UNCHECKED_CAST", "BanUncheckedReflection")
private fun <T : Enum<*>> AnnotationValue.getAsEnum(enumClass: Class<T>): T {
- return object : SimpleAnnotationValueVisitor6<T, Void>() {
+ return object : SimpleAnnotationValueVisitor8<T, Void>() {
override fun visitEnumConstant(value: VariableElement?, p: Void?): T {
return enumClass.getDeclaredMethod("valueOf", String::class.java)
.invoke(null, value!!.simpleName.toString()) as T
diff --git a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/TypeMirrorExt.kt b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/TypeMirrorExt.kt
index ca9f866..d6ad8b1 100644
--- a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/TypeMirrorExt.kt
+++ b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/TypeMirrorExt.kt
@@ -18,11 +18,11 @@
import javax.lang.model.type.TypeMirror
import javax.lang.model.type.WildcardType
-import javax.lang.model.util.SimpleTypeVisitor7
+import javax.lang.model.util.SimpleTypeVisitor8
internal fun TypeMirror.extendsBound(): TypeMirror? {
return this.accept(
- object : SimpleTypeVisitor7<TypeMirror?, Void?>() {
+ object : SimpleTypeVisitor8<TypeMirror?, Void?>() {
override fun visitWildcard(type: WildcardType, ignored: Void?): TypeMirror? {
return type.extendsBound ?: type.superBound
}
diff --git a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/JvmDescriptorUtils.kt b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/JvmDescriptorUtils.kt
index e74a6bb..6511f83 100644
--- a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/JvmDescriptorUtils.kt
+++ b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/javac/kotlin/JvmDescriptorUtils.kt
@@ -67,13 +67,14 @@
when (nestingKind) {
NestingKind.TOP_LEVEL ->
qualifiedName.toString().replace('.', '/')
- NestingKind.MEMBER ->
+ NestingKind.MEMBER, NestingKind.LOCAL ->
enclosingElement.internalName + "$" + simpleName
- NestingKind.LOCAL, NestingKind.ANONYMOUS ->
+ NestingKind.ANONYMOUS ->
error("Unsupported nesting $nestingKind")
else ->
error("Unsupported, nestingKind == null")
}
+ is ExecutableElement -> enclosingElement.internalName
is QualifiedNameable -> qualifiedName.toString().replace('.', '/')
else -> simpleName.toString()
}
diff --git a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotation.kt b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotation.kt
index 7d633c8..51a0c6e 100644
--- a/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotation.kt
+++ b/room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/ksp/KspAnnotation.kt
@@ -53,13 +53,16 @@
.filter { it.isAbstract() }
.associate { it.name to it.returnType }
}
+ // KSAnnotated.arguments isn't guaranteed to have the same ordering as declared in the
+ // annotation declaration, so we order it manually using a map from name to index.
+ val indexByName = typesByName.keys.mapIndexed { index, name -> name to index }.toMap()
ksAnnotated.arguments.map {
val valueName = it.name?.asString()
?: error("Value argument $it does not have a name.")
val valueType = typesByName[valueName]
?: error("Value type not found for $valueName.")
KspAnnotationValue(env, this, valueType, it)
- }
+ }.sortedBy { indexByName[it.name] }
}
override fun <T : Annotation> asAnnotationBox(annotationClass: Class<T>): XAnnotationBox<T> {
diff --git a/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationValueTest.kt b/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationValueTest.kt
index 35799bf..3a55b34 100644
--- a/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationValueTest.kt
+++ b/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/XAnnotationValueTest.kt
@@ -78,8 +78,9 @@
fun testBooleanValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
boolean booleanParam();
boolean[] booleanArrayParam();
@@ -94,8 +95,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val booleanParam: Boolean,
val booleanArrayParam: BooleanArray,
@@ -130,9 +132,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ booleanParam = true,
+ booleanArrayParam = {true, false, true},
+ booleanVarArgsParam = {false, true, false}
+ )
+ """.removeWhiteSpace())
val booleanParam = annotation.getAnnotationValue("booleanParam")
checkSingleValue(booleanParam, true)
@@ -149,8 +161,9 @@
fun testIntValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
int intParam();
int[] intArrayParam();
@@ -165,8 +178,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val intParam: Int,
val intArrayParam: IntArray,
@@ -201,9 +215,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ intParam = 1,
+ intArrayParam = {3, 5, 7},
+ intVarArgsParam = {9, 11, 13}
+ )
+ """.removeWhiteSpace())
val intParam = annotation.getAnnotationValue("intParam")
checkSingleValue(intParam, 1)
@@ -220,8 +244,9 @@
fun testShortValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
short shortParam();
short[] shortArrayParam();
@@ -236,8 +261,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val shortParam: Short,
val shortArrayParam: ShortArray,
@@ -272,9 +298,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ shortParam = 1,
+ shortArrayParam = {3, 5, 7},
+ shortVarArgsParam = {9, 11, 13}
+ )
+ """.removeWhiteSpace())
val shortParam = annotation.getAnnotationValue("shortParam")
checkSingleValue(shortParam, 1)
@@ -291,8 +327,9 @@
fun testLongValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
long longParam();
long[] longArrayParam();
@@ -307,8 +344,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val longParam: Long,
val longArrayParam: LongArray,
@@ -343,9 +381,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ longParam = 1,
+ longArrayParam = {3, 5, 7},
+ longVarArgsParam = {9, 11, 13}
+ )
+ """.removeWhiteSpace())
val longParam = annotation.getAnnotationValue("longParam")
checkSingleValue(longParam, 1L)
@@ -362,8 +410,9 @@
fun testFloatValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
float floatParam();
float[] floatArrayParam();
@@ -378,8 +427,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val floatParam: Float,
val floatArrayParam: FloatArray,
@@ -414,9 +464,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ floatParam = 1.1f,
+ floatArrayParam = {3.1f, 5.1f, 7.1f},
+ floatVarArgsParam = {9.1f, 11.1f, 13.1f}
+ )
+ """.removeWhiteSpace())
val floatParam = annotation.getAnnotationValue("floatParam")
checkSingleValue(floatParam, 1.1F)
@@ -433,8 +493,9 @@
fun testDoubleValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
double doubleParam();
double[] doubleArrayParam();
@@ -449,8 +510,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val doubleParam: Double,
val doubleArrayParam: DoubleArray,
@@ -485,9 +547,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ doubleParam = 1.1,
+ doubleArrayParam = {3.1, 5.1, 7.1},
+ doubleVarArgsParam = {9.1, 11.1, 13.1}
+ )
+ """.removeWhiteSpace())
val doubleParam = annotation.getAnnotationValue("doubleParam")
checkSingleValue(doubleParam, 1.1)
@@ -504,8 +576,9 @@
fun testByteValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
byte byteParam();
byte[] byteArrayParam();
@@ -520,8 +593,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val byteParam: Byte,
val byteArrayParam: ByteArray,
@@ -556,9 +630,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ byteParam = 1,
+ byteArrayParam = {3, 5, 7},
+ byteVarArgsParam = {9, 11, 13}
+ )
+ """.removeWhiteSpace())
val byteParam = annotation.getAnnotationValue("byteParam")
checkSingleValue(byteParam, 1)
@@ -575,8 +659,9 @@
fun testCharValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
char charParam();
char[] charArrayParam();
@@ -591,8 +676,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val charParam: Char,
val charArrayParam: CharArray,
@@ -627,9 +713,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ charParam = '1',
+ charArrayParam = {'2', '3', '4'},
+ charVarArgsParam = {'5', '6', '7'}
+ )
+ """.removeWhiteSpace())
val charParam = annotation.getAnnotationValue("charParam")
checkSingleValue(charParam, '1')
@@ -646,8 +742,9 @@
fun testStringValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface MyAnnotation {
String stringParam();
String[] stringArrayParam();
@@ -662,8 +759,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class MyAnnotation(
val stringParam: String,
val stringArrayParam: Array<String>,
@@ -700,9 +798,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ stringParam = "1",
+ stringArrayParam = {"3", "5", "7"},
+ stringVarArgsParam = {"9", "11", "13"}
+ )
+ """.removeWhiteSpace())
val stringParam = annotation.getAnnotationValue("stringParam")
checkSingleValue(stringParam, "1")
@@ -719,8 +827,9 @@
fun testEnumValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
enum MyEnum {V1, V2, V3}
@interface MyAnnotation {
MyEnum enumParam();
@@ -736,8 +845,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
enum class MyEnum {V1, V2, V3}
annotation class MyAnnotation(
val enumParam: MyEnum,
@@ -753,7 +863,7 @@
""".trimIndent()
) as Source.KotlinSource
) { invocation ->
- val myEnumTypeName = ClassName.get("", "MyEnum")
+ val myEnumTypeName = ClassName.get("", "test.MyEnum")
fun checkSingleValue(annotationValue: XAnnotationValue, expectedValue: String) {
assertThat(annotationValue.valueType.typeName).isEqualTo(myEnumTypeName)
@@ -775,9 +885,18 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ enumParam = test.MyEnum.V1,
+ enumArrayParam = {test.MyEnum.V1, test.MyEnum.V2, test.MyEnum.V3},
+ enumVarArgsParam = {test.MyEnum.V3, test.MyEnum.V2, test.MyEnum.V1}
+ )
+ """.removeWhiteSpace())
val enumParam = annotation.getAnnotationValue("enumParam")
checkSingleValue(enumParam, "V1")
@@ -794,8 +913,9 @@
fun testTypeValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
class C1 {}
class C2 {}
class C3 {}
@@ -813,8 +933,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
class C1
class C2
class C3
@@ -871,9 +992,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ typeParam = test.C1.class,
+ typeArrayParam = {test.C1.class, test.C2.class, test.C3.class},
+ typeVarArgsParam = {test.C3.class, test.C2.class, test.C1.class}
+ )
+ """.removeWhiteSpace())
val typeParam = annotation.getAnnotationValue("typeParam")
checkSingleValue(typeParam, "C1")
@@ -890,8 +1021,9 @@
fun testAnnotationValue() {
runTest(
javaSource = Source.java(
- "MyClass",
+ "test.MyClass",
"""
+ package test;
@interface A {
String value();
}
@@ -909,8 +1041,9 @@
""".trimIndent()
) as Source.JavaSource,
kotlinSource = Source.kotlin(
- "MyClass.kt",
+ "test.MyClass.kt",
"""
+ package test
annotation class A(val value: String)
annotation class MyAnnotation(
val annotationParam: A,
@@ -926,7 +1059,7 @@
""".trimIndent()
) as Source.KotlinSource
) { invocation ->
- val aTypeName = ClassName.get("", "A")
+ val aTypeName = ClassName.get("", "test.A")
fun checkSingleValue(annotationValue: XAnnotationValue, expectedValue: String) {
assertThat(annotationValue.valueType.typeName).isEqualTo(aTypeName)
@@ -949,9 +1082,19 @@
}
}
- val annotation = invocation.processingEnv.requireTypeElement("MyClass")
+ val annotation = invocation.processingEnv.requireTypeElement("test.MyClass")
.getAllAnnotations()
- .single { it.name == "MyAnnotation" }
+ .single { it.qualifiedName == "test.MyAnnotation" }
+
+ // Compare the AnnotationSpec string ignoring whitespace
+ assertThat(annotation.toAnnotationSpec().toString().removeWhiteSpace())
+ .isEqualTo("""
+ @test.MyAnnotation(
+ annotationParam = @test.A("1"),
+ annotationArrayParam = {@test.A("3"), @test.A("5"), @test.A("7")},
+ annotationVarArgsParam = {@test.A("9"),@test.A("11"),@test.A("13")}
+ )
+ """.removeWhiteSpace())
val annotationParam = annotation.getAnnotationValue("annotationParam")
checkSingleValue(annotationParam, "1")
@@ -964,6 +1107,10 @@
}
}
+ private fun String.removeWhiteSpace(): String {
+ return this.replace("\\s+".toRegex(), "")
+ }
+
enum class SourceKind { JAVA, KOTLIN }
companion object {
diff --git a/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElementTest.kt b/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElementTest.kt
index 79b3ae2..f451bd8 100644
--- a/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElementTest.kt
+++ b/room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/javac/kotlin/KotlinMetadataElementTest.kt
@@ -751,6 +751,43 @@
}
}
+ @Test
+ fun methods_localNestingKind() {
+ // Only private functions are relevant to the test since public (or internal) functions
+ // are required to declare their return type explicitly when right-hand side is ambiguous.
+ // b/232742201
+ val src = Source.kotlin(
+ "Subject.kt",
+ """
+ object Subject {
+ private fun localA() = object : A { }
+ private fun localAB() = object : A, B { }
+ private fun localABC() = object : C(), A, B { }
+ private fun localC() = object : C() { }
+ private fun localAC() = object : C(), A { }
+ private fun localAB_declaredA(): A = object : A, B { }
+ private fun localAB_declaredB(): B = object : A, B { }
+ private fun localABC_declaredC(): C = object : C(), A, B { }
+ }
+ interface A
+ interface B
+ abstract class C
+ """.trimIndent()
+ )
+ simpleRun(listOf(src)) { invocation ->
+ val (subjectElement, subjectMetadata) = getMetadataElement(invocation, "Subject")
+ fun assertKmFunctionFound(functionName: String) {
+ val kmFunction = subjectMetadata.getFunctionMetadata(
+ subjectElement.getDeclaredMethod(functionName)
+ )
+ assertThat(kmFunction).isNotNull()
+ }
+ subjectElement.getDeclaredMethods().forEach {
+ assertKmFunctionFound(it.simpleName.toString())
+ }
+ }
+ }
+
private fun TypeElement.getDeclaredMethods() = ElementFilter.methodsIn(enclosedElements)
private fun TypeElement.getDeclaredMethod(name: String) = getDeclaredMethods().first {
diff --git a/samples/Support7Demos/lint-baseline.xml b/samples/Support7Demos/lint-baseline.xml
index 10c23fb..d671b58 100644
--- a/samples/Support7Demos/lint-baseline.xml
+++ b/samples/Support7Demos/lint-baseline.xml
@@ -55,8 +55,6 @@
file="src/main/res/layout/appcompat_night_mode.xml"/>
<location
file="src/main/res/layout/appcompat_night_mode.xml"
- line="23"
- column="9"
message="`wrap_content` here may not work well with WebView below"/>
</issue>
diff --git a/samples/SupportAnimationDemos/lint-baseline.xml b/samples/SupportAnimationDemos/lint-baseline.xml
index 730844a..a696648 100644
--- a/samples/SupportAnimationDemos/lint-baseline.xml
+++ b/samples/SupportAnimationDemos/lint-baseline.xml
@@ -1,203 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `MainActivity` requires synthetic accessor"
- errorLine1=" anim1X.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStiffness` of class `MainActivity` requires synthetic accessor"
- errorLine1=" anim1X.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `MainActivity` requires synthetic accessor"
- errorLine1=" anim1Y.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStiffness` of class `MainActivity` requires synthetic accessor"
- errorLine1=" anim1Y.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `MainActivity` requires synthetic accessor"
- errorLine1=" anim2X.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStiffness` of class `MainActivity` requires synthetic accessor"
- errorLine1=" anim2X.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `MainActivity` requires synthetic accessor"
- errorLine1=" anim2Y.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStiffness` of class `MainActivity` requires synthetic accessor"
- errorLine1=" anim2Y.getSpring().setStiffness(mStiffness).setDampingRatio(mDampingRatio);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `MainActivity` requires synthetic accessor"
- errorLine1=" mDampingRatio = i / 80.0f;"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `MainActivity` requires synthetic accessor"
- errorLine1=" mDampingRatio = (float) Math.exp((i - 90) / 10.0);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `MainActivity` requires synthetic accessor"
- errorLine1=" mDampingRatio = 1;"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `MainActivity` requires synthetic accessor"
- errorLine1=" drTxt.setText(String.format("%.4f", (float) mDampingRatio));"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStiffness` of class `MainActivity` requires synthetic accessor"
- errorLine1=" mStiffness = stiffness;"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/MainActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSpringView` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" mSpringView.setMassHeight(img.getY());"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSpringView` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" mSpringView.setMassHeight(img.getY());"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" anim.getSpring().setDampingRatio(mDampingRatio).setStiffness(mStiffness);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStiffness` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" anim.getSpring().setDampingRatio(mDampingRatio).setStiffness(mStiffness);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" mDampingRatio = i / 80.0f;"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" mDampingRatio = (float) Math.exp((i - 90) / 10.0);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" mDampingRatio = 1;"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDampingRatio` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" drTxt.setText(String.format("%.4f", (float) mDampingRatio));"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStiffness` of class `SpringActivity` requires synthetic accessor"
- errorLine1=" mStiffness = stiffness;"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/animation/SpringActivity.java"/>
- </issue>
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/samples/SupportContentDemos/lint-baseline.xml b/samples/SupportContentDemos/lint-baseline.xml
index 7e3d03f..260f1e9 100644
--- a/samples/SupportContentDemos/lint-baseline.xml
+++ b/samples/SupportContentDemos/lint-baseline.xml
@@ -1,77 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` constructor of class `Adapter` requires synthetic accessor"
- errorLine1=" mAdapter = new Adapter(mPager, PAGE_SIZE);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `reset` of class `Adapter` requires synthetic accessor"
- errorLine1=" mAdapter.reset(UnpagedDemoDataProvider.URI);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentPage` of class `ContentPagerDemoActivity` requires synthetic accessor"
- errorLine1=" mCurrentPage = page;"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentPage` of class `ContentPagerDemoActivity` requires synthetic accessor"
- errorLine1=" int offset = mCurrentPage * mPageSize;"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` constructor of class `Holder` requires synthetic accessor"
- errorLine1=" return new Holder(new TextView(ContentPagerDemoActivity.this));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentPage` of class `ContentPagerDemoActivity` requires synthetic accessor"
- errorLine1=" mCurrentPage,"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `msg` of class `ContentPagerDemoActivity` requires synthetic accessor"
- errorLine1=" msg("Content query returned a null cursor: " + query.getUri());"
- errorLine2=" ~~~">
- <location
- file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentPage` of class `ContentPagerDemoActivity` requires synthetic accessor"
- errorLine1=" mCurrentPage = query.getOffset() / mPageSize;"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/content/demos/ContentPagerDemoActivity.java"/>
- </issue>
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/samples/SupportEmojiDemos/lint-baseline.xml b/samples/SupportEmojiDemos/lint-baseline.xml
index 32f254c..e9a7bbf 100644
--- a/samples/SupportEmojiDemos/lint-baseline.xml
+++ b/samples/SupportEmojiDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="BanSynchronizedMethods"
@@ -29,33 +29,6 @@
</issue>
<issue
- id="SyntheticAccessor"
- message="Access to `private` method `read` of class `EmojiRepo` requires synthetic accessor"
- errorLine1=" read(context);"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/com/example/android/support/text/emoji/EmojiRepo.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ViewHolder` requires synthetic accessor"
- errorLine1=" holder = new ViewHolder();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/text/emoji/ListFragment.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `init` of class `MainFragment` requires synthetic accessor"
- errorLine1=" init();"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/com/example/android/support/text/emoji/MainFragment.java"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ConfigLayout(Context context) {"
diff --git a/samples/SupportLeanbackDemos/lint-baseline.xml b/samples/SupportLeanbackDemos/lint-baseline.xml
index 2579349..3d3f80f 100644
--- a/samples/SupportLeanbackDemos/lint-baseline.xml
+++ b/samples/SupportLeanbackDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.2.0-dev" type="baseline" client="gradle" dependencies="false" name="AGP (7.2.0-dev)" variant="all" version="7.2.0-dev">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="MissingSuperCall"
@@ -241,9 +241,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="59"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"/>
</issue>
<issue
@@ -252,9 +250,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="69"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
@@ -263,9 +259,7 @@
errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="92"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
@@ -274,9 +268,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="69"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/DetailsFragment.java"/>
</issue>
<issue
@@ -285,9 +277,7 @@
errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="136"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/DetailsFragment.java"/>
</issue>
<issue
@@ -296,9 +286,7 @@
errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="153"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/DetailsFragment.java"/>
</issue>
<issue
@@ -307,9 +295,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="72"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"/>
</issue>
<issue
@@ -318,9 +304,7 @@
errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="139"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"/>
</issue>
<issue
@@ -329,9 +313,7 @@
errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="156"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"/>
</issue>
<issue
@@ -340,9 +322,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java"
- line="32"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java"/>
</issue>
<issue
@@ -351,9 +331,7 @@
errorLine1=" Log.i(TAG, "button clicked");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java"
- line="46"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java"/>
</issue>
<issue
@@ -362,9 +340,7 @@
errorLine1=" Log.v(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="43"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
@@ -373,9 +349,7 @@
errorLine1=" Log.v(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="46"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
@@ -384,9 +358,7 @@
errorLine1=" Log.v(TAG, "onScrollStateChanged ""
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="48"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"/>
</issue>
<issue
@@ -395,9 +367,7 @@
errorLine1=" if (DEBUG) Log.d(TAG, "onChildSelected position=" + position);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="66"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"/>
</issue>
<issue
@@ -406,9 +376,7 @@
errorLine1=" if (DEBUG) Log.v(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="77"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"/>
</issue>
<issue
@@ -417,9 +385,7 @@
errorLine1=" if (DEBUG) Log.v(TAG, "onNewIntent " + intent);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="89"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"/>
</issue>
<issue
@@ -428,9 +394,7 @@
errorLine1=" if (DEBUG) Log.v(TAG, "createViewHolder " + viewType);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="131"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"/>
</issue>
<issue
@@ -439,9 +403,7 @@
errorLine1=" if (DEBUG) Log.v(TAG, "bindViewHolder " + position + " " + baseHolder);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="143"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"/>
</issue>
<issue
@@ -450,9 +412,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="116"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"/>
</issue>
<issue
@@ -461,9 +421,7 @@
errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="217"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"/>
</issue>
<issue
@@ -472,9 +430,7 @@
errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="234"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"/>
</issue>
<issue
@@ -483,9 +439,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="119"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
@@ -494,9 +448,7 @@
errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="220"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
@@ -505,9 +457,7 @@
errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="237"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
@@ -516,9 +466,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackFragment.java"
- line="67"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/PlaybackFragment.java"/>
</issue>
<issue
@@ -527,9 +475,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"
- line="70"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"/>
</issue>
<issue
@@ -538,9 +484,7 @@
errorLine1=" Log.e(TAG, "disconnectToMediaSession: Media session disconnected");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlGlueSample.java"
- line="156"
- column="19"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlGlueSample.java"/>
</issue>
<issue
@@ -549,9 +493,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
- line="56"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"/>
</issue>
<issue
@@ -560,9 +502,7 @@
errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
- line="64"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"/>
</issue>
<issue
@@ -571,9 +511,7 @@
errorLine1=" Log.i(TAG, String.format("Search Query Text Change %s", newQuery));"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
- line="111"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"/>
</issue>
<issue
@@ -582,9 +520,7 @@
errorLine1=" Log.i(TAG, String.format("Search Query Text Submit %s", query));"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
- line="119"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"/>
</issue>
<issue
@@ -593,9 +529,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
- line="51"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"/>
</issue>
<issue
@@ -604,9 +538,7 @@
errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
- line="94"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"/>
</issue>
<issue
@@ -615,9 +547,7 @@
errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
- line="102"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"/>
</issue>
<issue
@@ -626,9 +556,7 @@
errorLine1=" Log.i(TAG, "onCreate");"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
- line="54"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"/>
</issue>
<issue
@@ -637,9 +565,7 @@
errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
- line="97"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"/>
</issue>
<issue
@@ -648,7225 +574,2986 @@
errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
- line="105"
- column="23"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ItemViewClickedListener` requires synthetic accessor"
- errorLine1=" setOnItemViewClickedListener(new ItemViewClickedListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="76"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `sRand` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" int count = sRand.nextInt(4) + 1;"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="181"
- column="45"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `sRand` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" int count = sRand.nextInt(4) + 1;"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="198"
- column="45"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" int index = mRowsAdapter.indexOf(row);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="211"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `sRand` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" int headerId = sRand.nextInt();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="213"
- column="40"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(index, createRandomRow(new HeaderItem("
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="214"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" int index = mRowsAdapter.indexOf(row);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="224"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `sRand` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" int headerId = sRand.nextInt();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="226"
- column="40"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add("
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="227"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.remove(row);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="238"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" int index = mRowsAdapter.indexOf(row);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="246"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.removeItems(index - 1, 1);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="248"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" int index = mRowsAdapter.indexOf(row);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="257"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" if (index < mRowsAdapter.size() - 1) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="258"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `BrowseAnimationFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.removeItems(index + 1, 1);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="259"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ItemViewClickedListener` requires synthetic accessor"
- errorLine1=" setOnItemViewClickedListener(new ItemViewClickedListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="84"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `setupRows` of class `BrowseFragment` requires synthetic accessor"
- errorLine1=" setupRows();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="111"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `loadData` of class `BrowseFragment` requires synthetic accessor"
- errorLine1=" loadData();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="112"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ItemViewClickedListener` requires synthetic accessor"
- errorLine1=" setOnItemViewClickedListener(new ItemViewClickedListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="87"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `setupRows` of class `BrowseSupportFragment` requires synthetic accessor"
- errorLine1=" setupRows();"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="114"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `loadData` of class `BrowseSupportFragment` requires synthetic accessor"
- errorLine1=" loadData();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="115"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" DetailsOverviewRow dor = (DetailsOverviewRow) mRowsAdapter.get(0);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="101"
- column="63"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" actions.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="106"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" dor.setItem(mPhotoItem.getTitle() + "(Owned)");"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="109"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" actions.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="116"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" dor.setItem(mPhotoItem.getTitle() + "(Rented)");"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="118"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" DetailsOverviewRow dor = new DetailsOverviewRow(mPhotoItem.getTitle());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="190"
- column="65"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" mPhotoItem.getImageResourceId(), context.getTheme()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="192"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionRent` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_RENT, mActionRent);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="194"
- column="42"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBuy` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_BUY, mActionBuy);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="195"
- column="41"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(0, dor);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="197"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `DetailsFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(new ListRow(header, listRowAdapter));"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="212"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `DetailsPresenterSelectionActivity` requires synthetic accessor"
- errorLine1=" for (int i = 0; i < OPTION_NAMES.length; i++) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="90"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_IDS` of class `DetailsPresenterSelectionActivity` requires synthetic accessor"
- errorLine1=" if (OPTION_IDS[i] == ACTION_ID_SWITCH_LEGACY_ON) {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="92"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_IDS` of class `DetailsPresenterSelectionActivity` requires synthetic accessor"
- errorLine1=" } else if (OPTION_IDS[i] == ACTION_ID_SWITCH_LEGACY_OFF) {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="96"
- column="28"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_IDS` of class `DetailsPresenterSelectionActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, OPTION_IDS[i], OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="101"
- column="43"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `DetailsPresenterSelectionActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, OPTION_IDS[i], OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="101"
- column="58"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addCheckedAction` of class `DetailsPresenterSelectionActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, OPTION_IDS[i], OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="101"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_DESCRIPTIONS` of class `DetailsPresenterSelectionActivity` requires synthetic accessor"
- errorLine1=" OPTION_DESCRIPTIONS[i], checked);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="102"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" DetailsOverviewRow dor = (DetailsOverviewRow) mRowsAdapter.get(0);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="104"
- column="63"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" actions.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="109"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" dor.setItem(mPhotoItem.getTitle() + "(Owned)");"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="112"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" actions.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="119"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" dor.setItem(mPhotoItem.getTitle() + "(Rented)");"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="121"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" DetailsOverviewRow dor = new DetailsOverviewRow(mPhotoItem.getTitle());"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="193"
- column="65"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mPhotoItem.getImageResourceId(), context.getTheme()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="195"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionRent` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_RENT, mActionRent);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="197"
- column="42"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBuy` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_BUY, mActionBuy);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="198"
- column="41"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(0, dor);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="200"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `DetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(new ListRow(header, listRowAdapter));"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="215"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addEditableAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addEditableAction(actions, NEW_PAYMENT, "Input credit card number", "","
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="292"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addDatePickerAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addDatePickerAction(actions, PAYMENT_EXPIRE, "Exp:");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="295"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addEditableAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addEditableAction(getActivity(), actions, FIRST_NAME, "Pat", "Your first name");"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="420"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addEditableAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addEditableAction(getActivity(), actions, LAST_NAME, "Smith", "Your last name");"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="421"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" updatePaymentAction(addAction(actions, PAYMENT, "Select Payment", "", subActions));"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="423"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addEditableDescriptionAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addEditableDescriptionAction(actions, PASSWORD, "Password", "", "","
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="424"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addCheckedAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(subActions, -1, sCards.get(i), "","
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="449"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addAction(subActions, NEW_PAYMENT, "Add New Card", "");"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="455"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" for (int i = 0; i < OPTION_NAMES.length; i++) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="570"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, RADIO_ID_BASE + i, OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="571"
- column="62"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addCheckedAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, RADIO_ID_BASE + i, OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="571"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_DESCRIPTIONS` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" OPTION_DESCRIPTIONS[i], GuidedAction.DEFAULT_CHECK_SET_ID);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="572"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" for (int i = 0; i < OPTION_NAMES.length; i++) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="577"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, CHECKBOX_ID_BASE + i, OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="578"
- column="65"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addCheckedAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, CHECKBOX_ID_BASE + i, OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="578"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_DESCRIPTIONS` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" OPTION_DESCRIPTIONS[i], GuidedAction.CHECKBOX_CHECK_SET_ID);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="579"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" String description = "You chose: " + OPTION_NAMES[(int) getOption()];"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="622"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addAction` of class `GuidedStepActivity` requires synthetic accessor"
- errorLine1=" addAction(actions, BACK, "Start Over", "Let's try this again...");"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="635"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addEditableAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addEditableAction(actions, NEW_PAYMENT, "Input credit card number", "","
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="294"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addDatePickerAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addDatePickerAction(actions, PAYMENT_EXPIRE, "Exp:");"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="297"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addEditableAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addEditableAction(getActivity(), actions, FIRST_NAME, "Pat", "Your first name");"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="422"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addEditableAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addEditableAction(getActivity(), actions, LAST_NAME, "Smith", "Your last name");"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="423"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" updatePaymentAction(addAction(actions, PAYMENT, "Select Payment", "", subActions));"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="425"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addEditableDescriptionAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addEditableDescriptionAction(actions, PASSWORD, "Password", "", "","
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="426"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addCheckedAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(subActions, -1, sCards.get(i), "","
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="451"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addAction(subActions, NEW_PAYMENT, "Add New Card", "");"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="457"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" for (int i = 0; i < OPTION_NAMES.length; i++) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="572"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, RADIO_ID_BASE + i, OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="573"
- column="62"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addCheckedAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, RADIO_ID_BASE + i, OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="573"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_DESCRIPTIONS` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" OPTION_DESCRIPTIONS[i], GuidedAction.DEFAULT_CHECK_SET_ID);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="574"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" for (int i = 0; i < OPTION_NAMES.length; i++) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="579"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, CHECKBOX_ID_BASE + i, OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="580"
- column="65"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addCheckedAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addCheckedAction(actions, CHECKBOX_ID_BASE + i, OPTION_NAMES[i],"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="580"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_DESCRIPTIONS` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" OPTION_DESCRIPTIONS[i], GuidedAction.CHECKBOX_CHECK_SET_ID);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="581"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `OPTION_NAMES` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" String description = "You chose: " + OPTION_NAMES[(int) getOption()];"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="624"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addAction` of class `GuidedStepSupportActivity` requires synthetic accessor"
- errorLine1=" addAction(actions, BACK, "Start Over", "Let's try this again...");"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="637"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHorizontalGridView` of class `HorizontalGridTestActivity` requires synthetic accessor"
- errorLine1=" mHorizontalGridView.getAdapter().notifyDataSetChanged();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="114"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mItemFocusChangeListener` of class `HorizontalGridTestActivity` requires synthetic accessor"
- errorLine1=" textView.setOnFocusChangeListener(mItemFocusChangeListener);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="136"
- column="47"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mItemClickListener` of class `HorizontalGridTestActivity` requires synthetic accessor"
- errorLine1=" textView.setOnClickListener(mItemClickListener);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="137"
- column="41"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `isPlaying` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" if (isPlaying()) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="95"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `audioFocusLossHandler` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" audioFocusLossHandler();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="96"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `isPlaying` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" if (isPlaying()) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="100"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `audioLossFocusTransientHandler` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" audioLossFocusTransientHandler();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="101"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `isPlaying` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" if (isPlaying()) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="105"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `audioLossFocusTransientCanDuckHanlder` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" audioLossFocusTransientCanDuckHanlder();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="106"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `isPlaying` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" if (!isPlaying()) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="110"
- column="34"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `audioFocusGainHandler` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" audioFocusGainHandler();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="111"
- column="33"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `MediaPlayerAudioHandler` requires synthetic accessor"
- errorLine1=" private Handler mMediaPlayerHandler = new MediaPlayerAudioHandler();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="156"
- column="43"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlayer` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mPlayer.stop();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="177"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="178"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createPlaybackStateBuilder` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="178"
- column="44"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerHandler` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaPlayerHandler.obtainMessage(FOCUS_CHANGE, focusChange, 0).sendToTarget();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="191"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `MediaSessionCallback` requires synthetic accessor"
- errorLine1=" mMediaSession.setCallback(new MediaSessionCallback());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="220"
- column="39"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mInitialized` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mInitialized = true;"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="341"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `notifyUiWhenPlayerIsPrepared` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" notifyUiWhenPlayerIsPrepared();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="344"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `onMediaSessionMetaDataChanged` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" onMediaSessionMetaDataChanged();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="348"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="349"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createPlaybackStateBuilder` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="349"
- column="48"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createPlaybackStateBuilder` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" PlaybackStateCompat.Builder builder = createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="359"
- column="59"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(builder.build());"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="363"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mFastForwardSpeedFactorIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mFastForwardSpeedFactorIndex = 0;"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="416"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRewindSpeedFactorIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mRewindSpeedFactorIndex = 0;"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="417"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlayer` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="419"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlayer` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed("
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="419"
- column="43"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mFastForwardSpeedFactorIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mFastForwardSpeedFactors[mFastForwardSpeedFactorIndex]));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="420"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mFastForwardSpeedFactors` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mFastForwardSpeedFactors[mFastForwardSpeedFactorIndex]));"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="420"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlayer` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mPlayer.pause();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="422"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="423"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createPlaybackStateBuilder` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="423"
- column="48"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRepeatState` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" if (mRepeatState == MEDIA_ACTION_REPEAT_ALL"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="426"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" && mCurrentIndex == mMediaItemList.size() - 1) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="427"
- column="28"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mShuffleMode` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" if (mShuffleMode == PlaybackStateCompat.SHUFFLE_MODE_NONE) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="430"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentIndex = 0;"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="431"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentIndex = generateMediaItemIndex();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="434"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `generateMediaItemIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentIndex = generateMediaItemIndex();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="434"
- column="41"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentMediaItem = mMediaItemList.get(mCurrentIndex);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="436"
- column="60"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentMediaItem` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentMediaItem = mMediaItemList.get(mCurrentIndex);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="436"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `setDataSource` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" setDataSource();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="439"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRepeatState` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" } else if (mRepeatState == MEDIA_ACTION_REPEAT_ONE) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="440"
- column="28"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlayer` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mPlayer.start();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="444"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="445"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createPlaybackStateBuilder` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="445"
- column="52"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" } else if (mCurrentIndex < mMediaItemList.size() - 1) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="447"
- column="28"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mShuffleMode` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" if (mShuffleMode == PlaybackStateCompat.SHUFFLE_MODE_NONE) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="448"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentIndex++;"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="449"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentIndex = generateMediaItemIndex();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="451"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `generateMediaItemIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentIndex = generateMediaItemIndex();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="451"
- column="41"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentIndex` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentMediaItem = mMediaItemList.get(mCurrentIndex);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="453"
- column="60"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mCurrentMediaItem` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mCurrentMediaItem = mMediaItemList.get(mCurrentIndex);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="453"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `setDataSource` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" setDataSource();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="456"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="461"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createPlaybackStateBuilder` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="461"
- column="52"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mBufferedProgress` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mBufferedProgress = (long) getDuration() * percent / 100;"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="472"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `getDuration` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mBufferedProgress = (long) getDuration() * percent / 100;"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="472"
- column="52"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `createPlaybackStateBuilder` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" PlaybackStateCompat.Builder builder = createPlaybackStateBuilder("
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="473"
- column="63"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mBufferedProgress` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" builder.setBufferedPosition(mBufferedProgress);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="475"
- column="53"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" mMediaSession.setPlaybackState(builder.build());"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="476"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `play` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" play();"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="518"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `pause` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" pause();"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="523"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `next` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" next();"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="528"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `previous` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" previous();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="533"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `stop` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" stop();"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="538"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `seekTo` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" seekTo((int) pos);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="545"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `fastForward` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" fastForward();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="550"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `rewind` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" rewind();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="555"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `setShuffleMode` of class `MediaSessionService` requires synthetic accessor"
- errorLine1=" setShuffleMode(shuffleMode);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="565"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlaybackService` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mPlaybackService = binder.getService();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="188"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlaybackService` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mPlaybackService.registerCallback(MusicPlayerFragment.this);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="191"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlaybackService` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mPlaybackService.setMediaList(mSongMetaDataList, false);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="197"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSongMetaDataList` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mPlaybackService.setMediaList(mSongMetaDataList, false);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="197"
- column="43"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlaybackService` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mPlaybackService.setFastForwardSpeedFactors(fastForwardSpeed);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="200"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlaybackService` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mPlaybackService.setRewindSpeedFactors(rewindSpeed);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="201"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mMediaSession = mPlaybackService.getMediaSession();"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="204"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlaybackService` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mMediaSession = mPlaybackService.getMediaSession();"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="204"
- column="29"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mController` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mController = new MediaControllerCompat(MusicPlayerFragment.this.getActivity(),"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="206"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaSession` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mMediaSession);"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="207"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mAdapter` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mAdapter = new MediaControllerAdapter(mController);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="208"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mController` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mAdapter = new MediaControllerAdapter(mController);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="208"
- column="51"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` constructor of class `PlaybackBannerMusicPlayerControlGlue` requires synthetic accessor"
- errorLine1=" mGlue = new PlaybackBannerMusicPlayerControlGlue<>(getActivity(), fastForwardSpeed,"
- errorLine2=" ^">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="209"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mGlue` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mGlue = new PlaybackBannerMusicPlayerControlGlue<>(getActivity(), fastForwardSpeed,"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="209"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mAdapter` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mAdapter);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="211"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mGlue` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mGlue.setHost(new PlaybackFragmentGlueHost(MusicPlayerFragment.this));"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="215"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPlaybackService` of class `MusicPlayerFragment` requires synthetic accessor"
- errorLine1=" mPlaybackService = null;"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="220"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" DetailsOverviewRow dor = (DetailsOverviewRow) mRowsAdapter.get(0);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="159"
- column="63"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" actions.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="164"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" dor.setItem(getDisplayTitle(mPhotoItem.getTitle()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="169"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TEST_BACKGROUND_PLAYER` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" if (TEST_BACKGROUND_PLAYER) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="172"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDetailsBackground` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" mDetailsBackground.switchToVideo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="175"
- column="29"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" actions.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="185"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" dor.setItem(getDisplayTitle(mPhotoItem.getTitle()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="188"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TEST_BACKGROUND_PLAYER` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" if (TEST_BACKGROUND_PLAYER) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="189"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDetailsBackground` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" mDetailsBackground.switchToVideo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="191"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TEST_BACKGROUND_PLAYER` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" if (TEST_BACKGROUND_PLAYER) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="197"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDetailsBackground` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" mDetailsBackground.switchToVideo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="198"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" getDisplayTitle(mPhotoItem.getTitle()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="293"
- column="41"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" mPhotoItem.getImageResourceId(), context.getTheme()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="295"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionRent` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_RENT, mActionRent);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="299"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBuy` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_BUY, mActionBuy);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="300"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="303"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="306"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBuy` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_BUY, mActionBuy);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="307"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(0, dor);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="315"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TEST_SHARED_ELEMENT_TRANSITION` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" if (TEST_SHARED_ELEMENT_TRANSITION) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="317"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHelper` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" if (mHelper != null && !mHelper.getAutoStartSharedElementTransition()) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="318"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHelper` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" if (mHelper != null && !mHelper.getAutoStartSharedElementTransition()) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="318"
- column="45"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHelper` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" mHelper.startPostponedEnterTransition();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="319"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(new ListRow(header, listRowAdapter));"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="338"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDetailsBackground` of class `NewDetailsFragment` requires synthetic accessor"
- errorLine1=" mDetailsBackground.setCoverBitmap(bitmap);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="354"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" DetailsOverviewRow dor = (DetailsOverviewRow) mRowsAdapter.get(0);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="162"
- column="63"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" actions.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="167"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" dor.setItem(getDisplayTitle(mPhotoItem.getTitle()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="172"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TEST_BACKGROUND_PLAYER` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" if (TEST_BACKGROUND_PLAYER) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="175"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDetailsBackground` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mDetailsBackground.switchToVideo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="178"
- column="29"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" actions.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="188"
- column="46"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" dor.setItem(getDisplayTitle(mPhotoItem.getTitle()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="191"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TEST_BACKGROUND_PLAYER` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" if (TEST_BACKGROUND_PLAYER) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="192"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDetailsBackground` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mDetailsBackground.switchToVideo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="194"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TEST_BACKGROUND_PLAYER` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" if (TEST_BACKGROUND_PLAYER) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="200"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDetailsBackground` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mDetailsBackground.switchToVideo();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="201"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" getDisplayTitle(mPhotoItem.getTitle()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="296"
- column="41"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhotoItem` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mPhotoItem.getImageResourceId(), context.getTheme()));"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="298"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionRent` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_RENT, mActionRent);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="302"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBuy` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_BUY, mActionBuy);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="303"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="306"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionPlay` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_PLAY, mActionPlay);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="309"
- column="50"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mActionBuy` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" adapter.set(ACTION_BUY, mActionBuy);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="310"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(0, dor);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="318"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TEST_SHARED_ELEMENT_TRANSITION` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" if (TEST_SHARED_ELEMENT_TRANSITION) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="320"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHelper` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" if (mHelper != null && !mHelper.getAutoStartSharedElementTransition()) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="321"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHelper` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" if (mHelper != null && !mHelper.getAutoStartSharedElementTransition()) {"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="321"
- column="45"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHelper` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mHelper.startPostponedEnterTransition();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="322"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRowsAdapter` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mRowsAdapter.add(new ListRow(header, listRowAdapter));"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="341"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mDetailsBackground` of class `NewDetailsSupportFragment` requires synthetic accessor"
- errorLine1=" mDetailsBackground.setCoverBitmap(bitmap);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="357"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContentAnimationView` of class `OnboardingDemoFragment` requires synthetic accessor"
- errorLine1=" ((AnimationDrawable) mContentAnimationView.getDrawable()).start();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="111"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `CONTENT_BACKGROUNDS` of class `OnboardingDemoFragment` requires synthetic accessor"
- errorLine1=" mContentBackgroundView.setImageResource(CONTENT_BACKGROUNDS[newPage]);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="127"
- column="57"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContentBackgroundView` of class `OnboardingDemoFragment` requires synthetic accessor"
- errorLine1=" mContentBackgroundView.setImageResource(CONTENT_BACKGROUNDS[newPage]);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="127"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `CONTENT_ANIMATIONS` of class `OnboardingDemoFragment` requires synthetic accessor"
- errorLine1=" mContentAnimationView.setImageResource(CONTENT_ANIMATIONS[newPage]);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="128"
- column="56"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContentAnimationView` of class `OnboardingDemoFragment` requires synthetic accessor"
- errorLine1=" mContentAnimationView.setImageResource(CONTENT_ANIMATIONS[newPage]);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="128"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContentAnimationView` of class `OnboardingDemoFragment` requires synthetic accessor"
- errorLine1=" ((AnimationDrawable) mContentAnimationView.getDrawable()).start();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="135"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContentAnimationView` of class `OnboardingDemoSupportFragment` requires synthetic accessor"
- errorLine1=" ((AnimationDrawable) mContentAnimationView.getDrawable()).start();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="114"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `CONTENT_BACKGROUNDS` of class `OnboardingDemoSupportFragment` requires synthetic accessor"
- errorLine1=" mContentBackgroundView.setImageResource(CONTENT_BACKGROUNDS[newPage]);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="130"
- column="57"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContentBackgroundView` of class `OnboardingDemoSupportFragment` requires synthetic accessor"
- errorLine1=" mContentBackgroundView.setImageResource(CONTENT_BACKGROUNDS[newPage]);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="130"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `CONTENT_ANIMATIONS` of class `OnboardingDemoSupportFragment` requires synthetic accessor"
- errorLine1=" mContentAnimationView.setImageResource(CONTENT_ANIMATIONS[newPage]);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="131"
- column="56"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContentAnimationView` of class `OnboardingDemoSupportFragment` requires synthetic accessor"
- errorLine1=" mContentAnimationView.setImageResource(CONTENT_ANIMATIONS[newPage]);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="131"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mContentAnimationView` of class `OnboardingDemoSupportFragment` requires synthetic accessor"
- errorLine1=" ((AnimationDrawable) mContentAnimationView.getDrawable()).start();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="138"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `sData` of class `PhotoDatabase` requires synthetic accessor"
- errorLine1=" for (int i = 0; i < sData.length; ++i) {"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/room/PhotoDatabase.java"
- line="48"
- column="49"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `sData` of class `PhotoDatabase` requires synthetic accessor"
- errorLine1=" PhotoItem dataItem = sData[i];"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/room/PhotoDatabase.java"
- line="49"
- column="54"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` constructor of class `PhotoItem` requires synthetic accessor"
- errorLine1=" return new PhotoItem(in);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="84"
- column="20"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHandler` of class `PlaybackControlGlue` requires synthetic accessor"
- errorLine1=" mHandler.postDelayed(this, getUpdatePeriod());"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackControlGlue.java"
- line="59"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRepeatAction` of class `PlaybackControlGlue` requires synthetic accessor"
- errorLine1=" if (mRepeatAction.getIndex() == PlaybackControlsRow.RepeatAction.INDEX_NONE) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackControlGlue.java"
- line="221"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStartPosition` of class `PlaybackControlGlue` requires synthetic accessor"
- errorLine1=" mStartPosition = 0;"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackControlGlue.java"
- line="226"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `MediaSessionCallback` requires synthetic accessor"
- errorLine1=" mMediaSessionCompat.setCallback(new MediaSessionCallback());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlGlueSample.java"
- line="147"
- column="41"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRepeatAction` of class `PlaybackTransportControlGlueSample` requires synthetic accessor"
- errorLine1=" if (mRepeatAction.getIndex() != PlaybackControlsRow.RepeatAction.INDEX_NONE) {"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlGlueSample.java"
- line="212"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mHandler` of class `PlayerAdapter` requires synthetic accessor"
- errorLine1=" mHandler.postDelayed(this, 16);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlayerAdapter.java"
- line="34"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStartPosition` of class `PlayerAdapter` requires synthetic accessor"
- errorLine1=" mStartPosition = 0;"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlayerAdapter.java"
- line="78"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mIsPlaying` of class `PlayerAdapter` requires synthetic accessor"
- errorLine1=" mIsPlaying = false;"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PlayerAdapter.java"
- line="79"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ItemViewClickedListener` requires synthetic accessor"
- errorLine1=" setOnItemViewClickedListener(new ItemViewClickedListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/RowsFragment.java"
- line="53"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTitleHelper` of class `RowsFragment` requires synthetic accessor"
- errorLine1=" if (mTitleHelper != null) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/RowsFragment.java"
- line="59"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTitleHelper` of class `RowsFragment` requires synthetic accessor"
- errorLine1=" mTitleHelper.showTitle(getAdapter() == null || getAdapter().size() == 0 ||"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/RowsFragment.java"
- line="60"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ItemViewClickedListener` requires synthetic accessor"
- errorLine1=" setOnItemViewClickedListener(new ItemViewClickedListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
- line="59"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTitleHelper` of class `RowsSupportFragment` requires synthetic accessor"
- errorLine1=" if (mTitleHelper != null) {"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
- line="65"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTitleHelper` of class `RowsSupportFragment` requires synthetic accessor"
- errorLine1=" mTitleHelper.showTitle(getAdapter() == null || getAdapter().size() == 0 ||"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
- line="66"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoFragment` requires synthetic accessor"
- errorLine1=" mMediaPlayerGlue.setSubtitle("Leanback artist Changed!");"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
- line="119"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoFragment` requires synthetic accessor"
- errorLine1=" mMediaPlayerGlue.setTitle("Leanback team at work");"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
- line="120"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoFragment` requires synthetic accessor"
- errorLine1=" mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(uriPath));"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
- line="123"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoFragment` requires synthetic accessor"
- errorLine1=" loadSeekData(mMediaPlayerGlue);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
- line="124"
- column="34"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoFragment` requires synthetic accessor"
- errorLine1=" playWhenReady(mMediaPlayerGlue);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
- line="125"
- column="35"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoFragment` requires synthetic accessor"
- errorLine1=" mMediaPlayerGlue.removePlayerCallback(this);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
- line="127"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoSupportFragment` requires synthetic accessor"
- errorLine1=" mMediaPlayerGlue.setSubtitle("Leanback artist Changed!");"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
- line="122"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoSupportFragment` requires synthetic accessor"
- errorLine1=" mMediaPlayerGlue.setTitle("Leanback team at work");"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
- line="123"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoSupportFragment` requires synthetic accessor"
- errorLine1=" mMediaPlayerGlue.getPlayerAdapter().setDataSource(Uri.parse(uriPath));"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
- line="126"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoSupportFragment` requires synthetic accessor"
- errorLine1=" loadSeekData(mMediaPlayerGlue);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
- line="127"
- column="34"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoSupportFragment` requires synthetic accessor"
- errorLine1=" playWhenReady(mMediaPlayerGlue);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
- line="128"
- column="35"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mMediaPlayerGlue` of class `SampleVideoSupportFragment` requires synthetic accessor"
- errorLine1=" mMediaPlayerGlue.removePlayerCallback(this);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
- line="130"
- column="21"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `DEBUG` of class `SearchActivity` requires synthetic accessor"
- errorLine1=" if (DEBUG) Log.v(TAG, "recognizeSpeech");"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchActivity.java"
- line="49"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mFragment` of class `SearchActivity` requires synthetic accessor"
- errorLine1=" startActivityForResult(mFragment.getRecognizerIntent(), REQUEST_SPEECH);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchActivity.java"
- line="50"
- column="44"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ItemViewClickedListener` requires synthetic accessor"
- errorLine1=" setOnItemViewClickedListener(new ItemViewClickedListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchFragment.java"
- line="98"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `loadRows` of class `SearchFragment` requires synthetic accessor"
- errorLine1=" loadRows();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchFragment.java"
- line="161"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `DEBUG` of class `SearchSupportActivity` requires synthetic accessor"
- errorLine1=" if (DEBUG) Log.v(TAG, "recognizeSpeech");"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchSupportActivity.java"
- line="52"
- column="25"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mFragment` of class `SearchSupportActivity` requires synthetic accessor"
- errorLine1=" startActivityForResult(mFragment.getRecognizerIntent(), REQUEST_SPEECH);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchSupportActivity.java"
- line="53"
- column="44"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `ItemViewClickedListener` requires synthetic accessor"
- errorLine1=" setOnItemViewClickedListener(new ItemViewClickedListener());"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
- line="101"
- column="38"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `loadRows` of class `SearchSupportFragment` requires synthetic accessor"
- errorLine1=" loadRows();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
- line="164"
- column="13"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `loadData` of class `VerticalGridFragment` requires synthetic accessor"
- errorLine1=" loadData();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
- line="70"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mAdapter` of class `VerticalGridFragment` requires synthetic accessor"
- errorLine1=" mAdapter.callNotifyChanged();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
- line="103"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `loadData` of class `VerticalGridSupportFragment` requires synthetic accessor"
- errorLine1=" loadData();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
- line="73"
- column="17"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mAdapter` of class `VerticalGridSupportFragment` requires synthetic accessor"
- errorLine1=" mAdapter.callNotifyChanged();"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
- line="106"
- column="17"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bitmap getCache(Object token) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="62"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Bitmap getCache(Object token) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="62"
- column="32"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void putCache(Object token, Bitmap bitmap) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="74"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void putCache(Object token, Bitmap bitmap) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="74"
- column="44"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static BitmapCache getInstance() {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="83"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract void onBitmapLoaded(Bitmap bitmap);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="95"
- column="45"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public BackgroundHelper(Activity activity) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="107"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void attachToView(View backgroundView) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="217"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setBackground(Object imageToken) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="230"
- column="31"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setDrawable(Drawable drawable) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="267"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void loadBitmap(Object imageToken, BitmapLoadCallback callback) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="279"
- column="28"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void loadBitmap(Object imageToken, BitmapLoadCallback callback) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
- line="279"
- column="47"/>
+ file="src/main/java/com/example/android/leanback/BackgroundHelper.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseActivity.java"
- line="22"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseAnimationActivity.java"
- line="23"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseAnimationActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
- line="58"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseErrorActivity.java"
- line="31"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseErrorActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseErrorActivity.java"
- line="55"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BrowseErrorActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseErrorActivity.java"
- line="55"
- column="34"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseErrorActivity.java"
- line="55"
- column="59"/>
+ file="src/main/java/com/example/android/leanback/BrowseErrorActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseErrorActivity.java"
- line="56"
- column="21"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"
- line="35"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"
- line="59"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"
- line="59"
- column="34"/>
+ file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"
- line="59"
- column="59"/>
+ file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"
- line="60"
- column="21"/>
+ file="src/main/java/com/example/android/leanback/BrowseErrorSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="65"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView("
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="139"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="140"
- column="13"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="140"
- column="38"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="140"
- column="59"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Fragment createFragment(Object rowObj) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="258"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Fragment createFragment(Object rowObj) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="258"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PageFragmentAdapterImpl(SampleFragment fragment) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="375"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView("
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="399"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="400"
- column="23"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="400"
- column="48"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="400"
- column="69"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onViewCreated(View view, Bundle savedInstanceState) {"
- errorLine2=" ~~~~">
- <location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="414"
- column="35"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onViewCreated(View view, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="414"
- column="46"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MainFragmentAdapter getMainFragmentAdapter() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseFragment.java"
- line="421"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BrowseFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportActivity.java"
- line="26"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportAppCompatActivity.java"
- line="29"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportAppCompatActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="68"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView("
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="142"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="143"
- column="13"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="143"
- column="38"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="143"
- column="59"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Fragment createFragment(Object rowObj) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="261"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Fragment createFragment(Object rowObj) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="261"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PageFragmentAdapterImpl(SampleFragment fragment) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="378"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView("
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="402"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="403"
- column="23"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="403"
- column="48"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="403"
- column="69"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onViewCreated(View view, Bundle savedInstanceState) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="417"
- column="35"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onViewCreated(View view, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="417"
- column="46"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MainFragmentAdapter getMainFragmentAdapter() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
- line="424"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public int getRowHeight(Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="73"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/CardPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public int getExpandedRowHeight(Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="78"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/CardPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ViewHolder onCreateViewHolder(ViewGroup parent) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="84"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/CardPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ViewHolder onCreateViewHolder(ViewGroup parent) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="84"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/CardPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onBindViewHolder(ViewHolder viewHolder, Object item) {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="111"
- column="34"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onBindViewHolder(ViewHolder viewHolder, Object item) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="111"
- column="57"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="125"
- column="34"/>
+ file="src/main/java/com/example/android/leanback/CardPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="125"
- column="57"/>
+ file="src/main/java/com/example/android/leanback/CardPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onBindViewHolder(ViewHolder viewHolder, Object item, List<Object> payloads) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="125"
- column="70"/>
+ file="src/main/java/com/example/android/leanback/CardPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onUnbindViewHolder(ViewHolder viewHolder) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CardPresenter.java"
- line="149"
- column="36"/>
+ file="src/main/java/com/example/android/leanback/CardPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CustomTitleView(Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CustomTitleView.java"
- line="73"
- column="28"/>
+ file="src/main/java/com/example/android/leanback/CustomTitleView.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CustomTitleView(Context context, AttributeSet attrs) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CustomTitleView.java"
- line="77"
- column="28"/>
+ file="src/main/java/com/example/android/leanback/CustomTitleView.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CustomTitleView(Context context, AttributeSet attrs) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CustomTitleView.java"
- line="77"
- column="45"/>
+ file="src/main/java/com/example/android/leanback/CustomTitleView.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CustomTitleView(Context context, AttributeSet attrs, int defStyleAttr) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CustomTitleView.java"
- line="81"
- column="28"/>
+ file="src/main/java/com/example/android/leanback/CustomTitleView.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CustomTitleView(Context context, AttributeSet attrs, int defStyleAttr) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CustomTitleView.java"
- line="81"
- column="45"/>
+ file="src/main/java/com/example/android/leanback/CustomTitleView.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public TitleViewAdapter getTitleViewAdapter() {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/CustomTitleView.java"
- line="86"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/CustomTitleView.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DatePickerActivity.java"
- line="33"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/DatePickerActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DatePickerAppCompatActivity.java"
- line="33"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/DatePickerAppCompatActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsActivity.java"
- line="35"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/DetailsActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected void onBindDescription(ViewHolder vh, Object item) {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
- line="21"
- column="38"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected void onBindDescription(ViewHolder vh, Object item) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
- line="21"
- column="53"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="68"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/DetailsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onSaveInstanceState(Bundle outState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="171"
- column="37"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setItem(PhotoItem photoItem) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsFragment.java"
- line="176"
- column="25"/>
+ file="src/main/java/com/example/android/leanback/DetailsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="48"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="70"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="70"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public GuidanceStylist onCreateGuidanceStylist() {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="79"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="89"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="89"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"
- line="107"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/DetailsPresenterSelectionActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsSupportActivity.java"
- line="39"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/DetailsSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="71"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onSaveInstanceState(Bundle outState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="174"
- column="37"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setItem(PhotoItem photoItem) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
- line="179"
- column="25"/>
+ file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/ErrorFragment.java"
- line="28"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/ErrorFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java"
- line="31"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="73"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onConfigurationChanged(Configuration newConfig) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="84"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onSaveInstanceState(Bundle outState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="90"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onRestoreInstanceState(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="96"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="197"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="197"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="208"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="208"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="225"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstance) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="270"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="280"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="280"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="291"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="291"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="299"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="299"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="307"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public long onGuidedActionEditedAndProceed(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="328"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public GuidedActionsStylist onCreateActionsStylist() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="392"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="408"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="408"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="419"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="419"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="429"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="429"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="438"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public long onGuidedActionEditedAndProceed(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="460"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onSubGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="480"
- column="49"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="503"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="503"
- column="34"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="503"
- column="59"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="504"
- column="17"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="536"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="536"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public GuidanceStylist onCreateGuidanceStylist() {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="547"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="557"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="557"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="584"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="584"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="591"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="619"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="619"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="630"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="630"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"
- line="639"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="42"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="52"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="52"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="63"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="63"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="91"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="109"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="109"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="120"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="120"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="133"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="133"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
- line="141"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="76"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onConfigurationChanged(Configuration newConfig) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="86"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onSaveInstanceState(Bundle outState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="92"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onRestoreInstanceState(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="98"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~">
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) {"
+ errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="199"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="199"
- column="42"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="210"
- column="37"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="210"
- column="65"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="227"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstance) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="272"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="282"
- column="16"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="282"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) {"
+ errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="293"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="293"
- column="65"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="301"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="301"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="309"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public long onGuidedActionEditedAndProceed(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="330"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public GuidedActionsStylist onCreateActionsStylist() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="394"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="410"
- column="16"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="410"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) {"
+ errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="421"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="421"
- column="65"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="431"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="431"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="440"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public long onGuidedActionEditedAndProceed(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="462"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onSubGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="482"
- column="49"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="505"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="505"
- column="34"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="505"
- column="59"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="506"
- column="17"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="538"
- column="16"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="538"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public GuidanceStylist onCreateGuidanceStylist() {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="549"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) {"
+ errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="559"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="559"
- column="65"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="586"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="586"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="593"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="621"
- column="16"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="621"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) {"
+ errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="632"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="632"
- column="65"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"
- line="641"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="45"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="55"
- column="16"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="55"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="66"
- column="37"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="66"
- column="65"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="94"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="112"
- column="16"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="112"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~">
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" public void onCreateActions(@NonNull List<GuidedAction> actions, Bundle savedInstanceState) {"
+ errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="123"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="123"
- column="65"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="136"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateButtonActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="136"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
- line="144"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="74"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected void onNewIntent(Intent intent) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
- line="88"
- column="32"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public LiveDataListRow(HeaderItem header,"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/LiveDataListRow.java"
- line="24"
- column="28"/>
+ file="src/main/java/com/example/android/leanback/LiveDataListRow.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" ObjectAdapter adapter) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/LiveDataListRow.java"
- line="25"
- column="13"/>
+ file="src/main/java/com/example/android/leanback/LiveDataListRow.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public LiveDataListRow(long id, HeaderItem header, ObjectAdapter adapter) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/LiveDataListRow.java"
- line="28"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/LiveDataListRow.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public LiveDataListRow(long id, HeaderItem header, ObjectAdapter adapter) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/LiveDataListRow.java"
- line="28"
- column="56"/>
+ file="src/main/java/com/example/android/leanback/LiveDataListRow.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public LiveDataListRow(ObjectAdapter adapter) {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/LiveDataListRow.java"
- line="31"
- column="28"/>
+ file="src/main/java/com/example/android/leanback/LiveDataListRow.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MainActivity.java"
- line="39"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/MainActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MainActivity.java"
- line="48"
- column="16"/>
+ file="src/main/java/com/example/android/leanback/MainActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Guidance onCreateGuidance(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MainActivity.java"
- line="48"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/MainActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MainActivity.java"
- line="59"
- column="37"/>
+ file="src/main/java/com/example/android/leanback/MainActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreateActions(List<GuidedAction> actions, Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MainActivity.java"
- line="59"
- column="65"/>
+ file="src/main/java/com/example/android/leanback/MainActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onGuidedActionClicked(GuidedAction action) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MainActivity.java"
- line="190"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/MainActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public MediaSessionCompat getMediaSession() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="202"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public IBinder onBind(Intent intent) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="208"
- column="27"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setMediaList(List<MusicItem> mediaItemList, boolean isQueue) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="261"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setFastForwardSpeedFactors(int[] fastForwardSpeeds) {"
errorLine2=" ~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="291"
- column="44"/>
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setRewindSpeedFactors(int[] rewindSpeeds) {"
errorLine2=" ~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="307"
- column="39"/>
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void registerCallback(MediaPlayerListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MediaSessionService.java"
- line="488"
- column="34"/>
+ file="src/main/java/com/example/android/leanback/MediaSessionService.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" @Override public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicExampleActivity.java"
- line="26"
- column="36"/>
+ file="src/main/java/com/example/android/leanback/MusicExampleActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Uri getMediaSourceUri(Context context) {"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicItem.java"
- line="56"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/MusicItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public Uri getMediaSourceUri(Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicItem.java"
- line="56"
- column="34"/>
+ file="src/main/java/com/example/android/leanback/MusicItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getMediaTitle() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicItem.java"
- line="66"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/MusicItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getMediaDescription() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicItem.java"
- line="75"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/MusicItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public int getMediaAlbumArtResId(Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicItem.java"
- line="85"
- column="38"/>
+ file="src/main/java/com/example/android/leanback/MusicItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Uri getResourceUri(Context context, int resID) {"
errorLine2=" ~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicItem.java"
- line="97"
- column="19"/>
+ file="src/main/java/com/example/android/leanback/MusicItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static Uri getResourceUri(Context context, int resID) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicItem.java"
- line="97"
- column="38"/>
+ file="src/main/java/com/example/android/leanback/MusicItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"
- line="225"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/MusicPlayerFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="115"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="250"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="250"
- column="30"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="250"
- column="55"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="251"
- column="13"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setItem(PhotoItem photoItem) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
- line="260"
- column="25"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="118"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="253"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="253"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="253"
- column="55"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="254"
- column="13"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setItem(PhotoItem photoItem) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
- line="263"
- column="25"/>
+ file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingActivity.java"
- line="21"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/OnboardingActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onAttach(android.app.Activity activity) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="57"
- column="26"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected CharSequence getPageTitle(int i) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="70"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected CharSequence getPageDescription(int i) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="75"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="80"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="80"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="80"
- column="74"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="86"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="86"
- column="40"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="86"
- column="71"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="94"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="94"
- column="43"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="94"
- column="74"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected Animator onCreateEnterAnimation() {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"
- line="99"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onAttach(android.app.Activity activity) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="60"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected CharSequence getPageTitle(int i) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="73"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected CharSequence getPageDescription(int i) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="78"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" protected View onCreateBackgroundView("
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="83"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="83"
- column="43"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateBackgroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="83"
- column="74"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" protected View onCreateContentView("
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="89"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="89"
- column="40"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateContentView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="89"
- column="71"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" protected View onCreateForegroundView("
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="97"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="97"
- column="43"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected View onCreateForegroundView(LayoutInflater layoutInflater, ViewGroup viewGroup) {"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="97"
- column="74"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected Animator onCreateEnterAnimation() {"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"
- line="102"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/OnboardingDemoSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingSupportActivity.java"
- line="25"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/OnboardingSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/OnboardingSupportAppCompatActivity.java"
- line="28"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/OnboardingSupportAppCompatActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected LiveDataRowPresenterViewHolder createRowViewHolder(ViewGroup parent) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PagedRowPresenter.java"
- line="39"
- column="15"/>
+ file="src/main/java/com/example/android/leanback/PagedRowPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected LiveDataRowPresenterViewHolder createRowViewHolder(ViewGroup parent) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PagedRowPresenter.java"
- line="39"
- column="66"/>
+ file="src/main/java/com/example/android/leanback/PagedRowPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected void onBindRowViewHolder(RowPresenter.ViewHolder holder, Object item) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PagedRowPresenter.java"
- line="48"
- column="40"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected void onBindRowViewHolder(RowPresenter.ViewHolder holder, Object item) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/PagedRowPresenter.java"
- line="48"
- column="72"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PagerAdapter(FragmentManager fm, int numOfTabs) {"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PagerAdapter.java"
- line="30"
- column="25"/>
+ file="src/main/java/com/example/android/leanback/PagerAdapter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public CharSequence getPageTitle(int position) {"
errorLine2=" ~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PagerAdapter.java"
- line="47"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PagerAdapter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getTitle() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/room/Photo.java"
- line="42"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/room/Photo.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" PagingSource<Integer, Photo> fetchPhotos();"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/room/PhotoDao.java"
- line="32"
- column="5"/>
+ file="src/main/java/com/example/android/leanback/room/PhotoDao.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static synchronized PhotoDatabase getInstance("
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/room/PhotoDatabase.java"
- line="40"
- column="32"/>
+ file="src/main/java/com/example/android/leanback/room/PhotoDatabase.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/room/PhotoDatabase.java"
- line="41"
- column="13"/>
+ file="src/main/java/com/example/android/leanback/room/PhotoDatabase.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public abstract PhotoDao photoDao();"
errorLine2=" ~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/room/PhotoDatabase.java"
- line="85"
- column="21"/>
+ file="src/main/java/com/example/android/leanback/room/PhotoDatabase.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PhotoItem(String title, int imageResourceId) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="30"
- column="22"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PhotoItem(String title, int imageResourceId, int id) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="34"
- column="22"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PhotoItem(String title, String content, int imageResourceId) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="39"
- column="22"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PhotoItem(String title, String content, int imageResourceId) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="39"
- column="36"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PhotoItem(String title, String content, int imageResourceId, int id) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="47"
- column="22"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PhotoItem(String title, String content, int imageResourceId, int id) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="47"
- column="36"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getTitle() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="56"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public String getContent() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="60"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void writeToParcel(Parcel dest, int flags) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoItem.java"
- line="75"
- column="31"/>
+ file="src/main/java/com/example/android/leanback/PhotoItem.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public PhotoViewModel(Application application) {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoViewModel.java"
- line="44"
- column="27"/>
+ file="src/main/java/com/example/android/leanback/PhotoViewModel.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public LiveData<PagingData<PhotoItem>> getPagingDataLiveData() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PhotoViewModel.java"
- line="64"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PhotoViewModel.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PinPickerActivity.java"
- line="30"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/PinPickerActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackActivity.java"
- line="33"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/PlaybackActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void registerPictureInPictureListener(PictureInPictureListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackActivity.java"
- line="48"
- column="50"/>
+ file="src/main/java/com/example/android/leanback/PlaybackActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void unregisterPictureInPictureListener(PictureInPictureListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackActivity.java"
- line="55"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/PlaybackActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public SparseArrayObjectAdapter getAdapter() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackFragment.java"
- line="61"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PlaybackFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackFragment.java"
- line="66"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/PlaybackFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected boolean isCancelled(Object task) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"
- line="48"
- column="35"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected abstract Bitmap doInBackground(Object task, int index, long position);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"
- line="52"
- column="24"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected abstract Bitmap doInBackground(Object task, int index, long position);"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"
- line="52"
- column="46"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setSeekPositions(long[] positions) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"
- line="93"
- column="34"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public long[] getSeekPositions() {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"
- line="98"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void getThumbnail(int index, ResultCallback callback) {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"
- line="104"
- column="41"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSupportActivity.java"
- line="37"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void registerPictureInPictureListener(PictureInPictureListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSupportActivity.java"
- line="52"
- column="50"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void unregisterPictureInPictureListener(PictureInPictureListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSupportActivity.java"
- line="59"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public SparseArrayObjectAdapter getAdapter() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"
- line="64"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"
- line="69"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlActivity.java"
- line="33"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void registerPictureInPictureListener(PictureInPictureListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlActivity.java"
- line="48"
- column="50"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void unregisterPictureInPictureListener(PictureInPictureListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlActivity.java"
- line="55"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public SparseArrayObjectAdapter getAdapter() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlFragment.java"
- line="56"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlFragment.java"
- line="61"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportActivity.java"
- line="37"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void registerPictureInPictureListener(PictureInPictureListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportActivity.java"
- line="52"
- column="50"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void unregisterPictureInPictureListener(PictureInPictureListener listener) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportActivity.java"
- line="59"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public SparseArrayObjectAdapter getAdapter() {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportFragment.java"
- line="59"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportFragment.java"
- line="64"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/RowsActivity.java"
- line="31"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/RowsActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setTitleHelper(TitleHelper titleHelper) {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/RowsFragment.java"
- line="43"
- column="32"/>
+ file="src/main/java/com/example/android/leanback/RowsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/RowsFragment.java"
- line="48"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/RowsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/RowsSupportActivity.java"
- line="34"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/RowsSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void setTitleHelper(TitleHelper titleHelper) {"
errorLine2=" ~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
- line="50"
- column="32"/>
+ file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
- line="55"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
- line="100"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
- line="103"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchActivity.java"
- line="38"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/SearchActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected void onActivityResult(int requestCode, int resultCode, Intent data) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchActivity.java"
- line="58"
- column="70"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchFragment.java"
- line="88"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/SearchFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ObjectAdapter getResultsAdapter() {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchFragment.java"
- line="102"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/SearchFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onQueryTextChange(String newQuery) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchFragment.java"
- line="107"
- column="38"/>
+ file="src/main/java/com/example/android/leanback/SearchFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onQueryTextSubmit(String query) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchFragment.java"
- line="115"
- column="38"/>
+ file="src/main/java/com/example/android/leanback/SearchFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchSupportActivity.java"
- line="41"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/SearchSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected void onActivityResult(int requestCode, int resultCode, Intent data) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/SearchSupportActivity.java"
- line="61"
- column="70"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
- line="91"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ObjectAdapter getResultsAdapter() {"
errorLine2=" ~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
- line="105"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onQueryTextChange(String newQuery) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
- line="110"
- column="38"/>
+ file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onQueryTextSubmit(String query) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
- line="118"
- column="38"/>
+ file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsActivity.java"
- line="27"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/SettingsActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onPreferenceStartFragment(PreferenceFragmentCompat preferenceFragment,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsFragment.java"
- line="44"
- column="46"/>
+ file="src/main/java/com/example/android/leanback/SettingsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Preference preference) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsFragment.java"
- line="45"
- column="46"/>
+ file="src/main/java/com/example/android/leanback/SettingsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onPreferenceStartScreen(PreferenceFragmentCompat preferenceFragment,"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsFragment.java"
- line="50"
- column="44"/>
+ file="src/main/java/com/example/android/leanback/SettingsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" PreferenceScreen preferenceScreen) {"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsFragment.java"
- line="51"
- column="44"/>
+ file="src/main/java/com/example/android/leanback/SettingsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsFragment.java"
- line="70"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/SettingsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreatePreferences(Bundle bundle, String rootKey) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsFragment.java"
- line="75"
- column="41"/>
+ file="src/main/java/com/example/android/leanback/SettingsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreatePreferences(Bundle bundle, String rootKey) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsFragment.java"
- line="75"
- column="56"/>
+ file="src/main/java/com/example/android/leanback/SettingsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public boolean onPreferenceTreeClick(Preference preference) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/SettingsFragment.java"
- line="80"
- column="46"/>
+ file="src/main/java/com/example/android/leanback/SettingsFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ViewHolder onCreateViewHolder(ViewGroup parent) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/StringPresenter.java"
- line="28"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/StringPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public ViewHolder onCreateViewHolder(ViewGroup parent) {"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/StringPresenter.java"
- line="28"
- column="42"/>
+ file="src/main/java/com/example/android/leanback/StringPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onBindViewHolder(ViewHolder viewHolder, Object item) {"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/StringPresenter.java"
- line="40"
- column="34"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" public void onBindViewHolder(ViewHolder viewHolder, Object item) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/StringPresenter.java"
- line="40"
- column="57"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onUnbindViewHolder(ViewHolder viewHolder) {"
errorLine2=" ~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/StringPresenter.java"
- line="46"
- column="36"/>
+ file="src/main/java/com/example/android/leanback/StringPresenter.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~">
<location
- file="src/main/java/com/example/android/leanback/TabFragment.java"
- line="37"
- column="12"/>
+ file="src/main/java/com/example/android/leanback/TabFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/TabFragment.java"
- line="37"
- column="30"/>
+ file="src/main/java/com/example/android/leanback/TabFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public View onCreateView(LayoutInflater inflater, ViewGroup container,"
errorLine2=" ~~~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/TabFragment.java"
- line="37"
- column="55"/>
+ file="src/main/java/com/example/android/leanback/TabFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/TabFragment.java"
- line="38"
- column="13"/>
+ file="src/main/java/com/example/android/leanback/TabFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/TabLayoutActivity.java"
- line="32"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/TabLayoutActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/TimePickerActivity.java"
- line="34"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/TimePickerActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridActivity.java"
- line="23"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
- line="50"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState)"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridSupportActivity.java"
- line="27"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridSupportAppCompatActivity.java"
- line="29"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridSupportAppCompatActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
- line="53"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VideoActivity.java"
- line="25"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/VideoActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VideoActivityWithDetailedCard.java"
- line="37"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/VideoActivityWithDetailedCard.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
- errorLine1=" protected void onNewIntent(Intent intent) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/leanback/VideoActivityWithDetailedCard.java"
- line="50"
- column="32"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public static boolean supportsPictureInPicture(Context context) {"
errorLine2=" ~~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VideoActivityWithDetailedCard.java"
- line="65"
- column="52"/>
+ file="src/main/java/com/example/android/leanback/VideoActivityWithDetailedCard.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VideoConsumptionWithDetailCardFragment.java"
- line="66"
- column="26"/>
+ file="src/main/java/com/example/android/leanback/VideoConsumptionWithDetailCardFragment.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VideoSupportActivity.java"
- line="29"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/VideoSupportActivity.java"/>
</issue>
<issue
id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/leanback/VideoSupportAppCompatActivity.java"
- line="29"
- column="29"/>
+ file="src/main/java/com/example/android/leanback/VideoSupportAppCompatActivity.java"/>
</issue>
</issues>
diff --git a/samples/SupportPreferenceDemos/lint-baseline.xml b/samples/SupportPreferenceDemos/lint-baseline.xml
index 653f759..a2a2fdc 100644
--- a/samples/SupportPreferenceDemos/lint-baseline.xml
+++ b/samples/SupportPreferenceDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="MissingTvBanner"
diff --git a/samples/SupportRemoteCallbackDemos/lint-baseline.xml b/samples/SupportRemoteCallbackDemos/lint-baseline.xml
index 2118d29..95c283f 100644
--- a/samples/SupportRemoteCallbackDemos/lint-baseline.xml
+++ b/samples/SupportRemoteCallbackDemos/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="cli" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/samples/SupportSliceDemos/lint-baseline.xml b/samples/SupportSliceDemos/lint-baseline.xml
index 722853d..128542c 100644
--- a/samples/SupportSliceDemos/lint-baseline.xml
+++ b/samples/SupportSliceDemos/lint-baseline.xml
@@ -1,95 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mAdapter` of class `SliceBrowser` requires synthetic accessor"
- errorLine1=" mSearchView.setQuery(((Cursor) mAdapter.getItem(position)).getString(1), true);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSearchView` of class `SliceBrowser` requires synthetic accessor"
- errorLine1=" mSearchView.setQuery(((Cursor) mAdapter.getItem(position)).getString(1), true);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mAdapter` of class `SliceBrowser` requires synthetic accessor"
- errorLine1=" mSearchView.setQuery(((Cursor) mAdapter.getItem(position)).getString(1), true);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSearchView` of class `SliceBrowser` requires synthetic accessor"
- errorLine1=" mSearchView.setQuery(((Cursor) mAdapter.getItem(position)).getString(1), true);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addSlice` of class `SliceBrowser` requires synthetic accessor"
- errorLine1=" addSlice(Uri.parse(s));"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mSearchView` of class `SliceBrowser` requires synthetic accessor"
- errorLine1=" mSearchView.clearFocus();"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `populateAdapter` of class `SliceBrowser` requires synthetic accessor"
- errorLine1=" populateAdapter(s);"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `IconCache` requires synthetic accessor"
- errorLine1=" IconCache cache = new IconCache();"
- errorLine2=" ~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `getType` of class `ProviderTypeCache` requires synthetic accessor"
- errorLine1=" if (SliceProvider.SLICE_TYPE.equals(typeCache.getType(provider))) {"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `loadIcon` of class `IconCache` requires synthetic accessor"
- errorLine1=" cache.loadIcon(iv, provider, pm);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java"/>
- </issue>
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/samples/SupportTransitionDemos/lint-baseline.xml b/samples/SupportTransitionDemos/lint-baseline.xml
index 6a1914f..49f9969 100644
--- a/samples/SupportTransitionDemos/lint-baseline.xml
+++ b/samples/SupportTransitionDemos/lint-baseline.xml
@@ -1,266 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRoot` of class `ArcMotionUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRoot, mTransition);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ArcMotionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTransition` of class `ArcMotionUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRoot, mTransition);"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ArcMotionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTarget` of class `ArcMotionUsage` requires synthetic accessor"
- errorLine1=" FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) mTarget.getLayoutParams();"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ArcMotionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTarget` of class `ArcMotionUsage` requires synthetic accessor"
- errorLine1=" mTarget.setLayoutParams(lp);"
- errorLine2=" ~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ArcMotionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `toggle` of class `BeginDelayedUsage` requires synthetic accessor"
- errorLine1=" toggle();"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/BeginDelayedUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `TRANSITION` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRoot, TRANSITION);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRoot` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRoot, TRANSITION);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhoto` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" mPhoto.setScaleType(ImageView.ScaleType.FIT_XY);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhoto` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" mPhoto.setScaleType(ImageView.ScaleType.CENTER);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhoto` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" mPhoto.setScaleType(ImageView.ScaleType.CENTER_CROP);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhoto` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" mPhoto.setScaleType(ImageView.ScaleType.FIT_START);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhoto` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" mPhoto.setScaleType(ImageView.ScaleType.FIT_END);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhoto` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" mPhoto.setScaleType(ImageView.ScaleType.MATRIX);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mPhoto` of class `ChangeImageTransformUsage` requires synthetic accessor"
- errorLine1=" mPhoto.setImageMatrix(matrix);"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeImageTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mChangeTransform` of class `ChangeTransformUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRoot, mChangeTransform);"
- errorLine2=" ~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRoot` of class `ChangeTransformUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRoot, mChangeTransform);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ChangeTransformUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mExplode` of class `ExplodeUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRoot, mExplode);"
- errorLine2=" ~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ExplodeUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRoot` of class `ExplodeUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRoot, mExplode);"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ExplodeUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mViews` of class `ExplodeUsage` requires synthetic accessor"
- errorLine1=" int vis = mViews.get(0).getVisibility() == View.VISIBLE ? View.GONE : View.VISIBLE;"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ExplodeUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mViews` of class `ExplodeUsage` requires synthetic accessor"
- errorLine1=" for (View view : mViews) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ExplodeUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `SHARED_TRANSITION` of class `FragmentTransitionUsage` requires synthetic accessor"
- errorLine1=" setSharedElementEnterTransition(SHARED_TRANSITION);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/FragmentTransitionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `SHARED_TRANSITION` of class `FragmentTransitionUsage` requires synthetic accessor"
- errorLine1=" setSharedElementReturnTransition(SHARED_TRANSITION);"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/FragmentTransitionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `NON_SHARED_TRANSITION` of class `FragmentTransitionUsage` requires synthetic accessor"
- errorLine1=" setExitTransition(NON_SHARED_TRANSITION);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/FragmentTransitionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `NON_SHARED_TRANSITION` of class `FragmentTransitionUsage` requires synthetic accessor"
- errorLine1=" setEnterTransition(NON_SHARED_TRANSITION);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/FragmentTransitionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `NON_SHARED_TRANSITION` of class `FragmentTransitionUsage` requires synthetic accessor"
- errorLine1=" setReenterTransition(NON_SHARED_TRANSITION);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/FragmentTransitionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `NON_SHARED_TRANSITION` of class `FragmentTransitionUsage` requires synthetic accessor"
- errorLine1=" setReturnTransition(NON_SHARED_TRANSITION);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/FragmentTransitionUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mRecyclerView` of class `RecyclerViewUsage` requires synthetic accessor"
- errorLine1=" TransitionManager.beginDelayedTransition(mRecyclerView,"
- errorLine2=" ~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/RecyclerViewUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addImageView` of class `ReparentImageUsage` requires synthetic accessor"
- errorLine1=" addImageView(mOuterFrame, ImageView.ScaleType.CENTER_CROP, mPhotoSize);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ReparentImageUsage.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `addImageView` of class `ReparentImageUsage` requires synthetic accessor"
- errorLine1=" addImageView(mInnerFrame, ImageView.ScaleType.FIT_XY,"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/transition/widget/ReparentImageUsage.java"/>
- </issue>
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/samples/SupportWearDemos/lint-baseline.xml b/samples/SupportWearDemos/lint-baseline.xml
index 7c40746..66e9a6c 100644
--- a/samples/SupportWearDemos/lint-baseline.xml
+++ b/samples/SupportWearDemos/lint-baseline.xml
@@ -1,86 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStateTextView` of class `AmbientModeDemo` requires synthetic accessor"
- errorLine1=" mStateTextView.setText("Ambient");"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/AmbientModeDemo.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStateTextView` of class `AmbientModeDemo` requires synthetic accessor"
- errorLine1=" mStateTextView.setTextColor(Color.WHITE);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/AmbientModeDemo.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStateTextView` of class `AmbientModeDemo` requires synthetic accessor"
- errorLine1=" mStateTextView.getPaint().setAntiAlias(false);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/AmbientModeDemo.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStateTextView` of class `AmbientModeDemo` requires synthetic accessor"
- errorLine1=" mStateTextView.setText("Interactive");"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/AmbientModeDemo.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStateTextView` of class `AmbientModeDemo` requires synthetic accessor"
- errorLine1=" mStateTextView.setTextColor(Color.GREEN);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/AmbientModeDemo.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mStateTextView` of class `AmbientModeDemo` requires synthetic accessor"
- errorLine1=" mStateTextView.getPaint().setAntiAlias(true);"
- errorLine2=" ~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/AmbientModeDemo.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mData` of class `DemoAdapter` requires synthetic accessor"
- errorLine1=" startActivity(mData.get(mKeys[position]));"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/MainDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mKeys` of class `DemoAdapter` requires synthetic accessor"
- errorLine1=" startActivity(mData.get(mKeys[position]));"
- errorLine2=" ~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/MainDemoActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` member of class `DemoAdapter` requires synthetic accessor"
- errorLine1=" wrv.setAdapter(new DemoAdapter());"
- errorLine2=" ~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/com/example/android/support/wear/app/SimpleWearableRecyclerViewDemo.java"/>
- </issue>
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/settings.gradle b/settings.gradle
index ff3f062..6184bf2 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -840,7 +840,7 @@
includeProject(":test:ext:junit-gtest", [BuildType.NATIVE])
includeProject(":test:integration-tests:junit-gtest-test", [BuildType.NATIVE])
includeProject(":test:screenshot:screenshot")
-includeProject(":test:screenshot:screenshot-proto", "test/screenshot/screenshot/proto")
+includeProject(":test:screenshot:screenshot-proto")
includeProject(":test:uiautomator:uiautomator", [BuildType.MAIN])
includeProject(":test:uiautomator:integration-tests:testapp", [BuildType.MAIN])
includeProject(":text:text", [BuildType.COMPOSE])
diff --git a/sharetarget/integration-tests/testapp/lint-baseline.xml b/sharetarget/integration-tests/testapp/lint-baseline.xml
index 1e71b3e..e3c714d 100644
--- a/sharetarget/integration-tests/testapp/lint-baseline.xml
+++ b/sharetarget/integration-tests/testapp/lint-baseline.xml
@@ -1,24 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
- id="SyntheticAccessor"
- message="Access to `private` method `pushDirectShareTargets` of class `MainActivity` requires synthetic accessor"
- errorLine1=" pushDirectShareTargets();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
+ id="UnknownNullness"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
+ errorLine2=" ~~~~~~">
<location
file="src/main/java/androidx/sharetarget/testapp/MainActivity.java"/>
</issue>
<issue
- id="SyntheticAccessor"
- message="Access to `private` method `removeAllDirectShareTargets` of class `MainActivity` requires synthetic accessor"
- errorLine1=" removeAllDirectShareTargets();"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ id="UnknownNullness"
+ message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
+ errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
+ errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/sharetarget/testapp/MainActivity.java"
- line="61"
- column="21"/>
+ file="src/main/java/androidx/sharetarget/testapp/OtherTextConsumerActivity.java"/>
</issue>
<issue
@@ -27,31 +25,7 @@
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/androidx/sharetarget/testapp/MainActivity.java"
- line="45"
- column="29"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/sharetarget/testapp/OtherTextConsumerActivity.java"
- line="30"
- column="29"/>
- </issue>
-
- <issue
- id="UnknownNullness"
- message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
- errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
- errorLine2=" ~~~~~~">
- <location
- file="src/main/java/androidx/sharetarget/testapp/TextConsumerActivity.java"
- line="30"
- column="29"/>
+ file="src/main/java/androidx/sharetarget/testapp/TextConsumerActivity.java"/>
</issue>
</issues>
diff --git a/sqlite/integration-tests/inspection-room-testapp/lint-baseline.xml b/sqlite/integration-tests/inspection-room-testapp/lint-baseline.xml
index 302ebde..719e8ec 100644
--- a/sqlite/integration-tests/inspection-room-testapp/lint-baseline.xml
+++ b/sqlite/integration-tests/inspection-room-testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="MissingTestSizeAnnotation"
diff --git a/sqlite/integration-tests/inspection-sqldelight-testapp/lint-baseline.xml b/sqlite/integration-tests/inspection-sqldelight-testapp/lint-baseline.xml
index a0e4a60..52581b5 100644
--- a/sqlite/integration-tests/inspection-sqldelight-testapp/lint-baseline.xml
+++ b/sqlite/integration-tests/inspection-sqldelight-testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="cli" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="MissingTestSizeAnnotation"
diff --git a/test/screenshot/screenshot/proto/build.gradle b/test/screenshot/screenshot-proto/build.gradle
similarity index 100%
rename from test/screenshot/screenshot/proto/build.gradle
rename to test/screenshot/screenshot-proto/build.gradle
diff --git a/test/screenshot/screenshot/proto/src/main/proto/screenshot_result.proto b/test/screenshot/screenshot-proto/src/main/proto/screenshot_result.proto
similarity index 100%
rename from test/screenshot/screenshot/proto/src/main/proto/screenshot_result.proto
rename to test/screenshot/screenshot-proto/src/main/proto/screenshot_result.proto
diff --git a/test/uiautomator/integration-tests/testapp/lint-baseline.xml b/test/uiautomator/integration-tests/testapp/lint-baseline.xml
deleted file mode 100644
index 61e4ed9..0000000
--- a/test/uiautomator/integration-tests/testapp/lint-baseline.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha05" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha05)" variant="all" version="7.4.0-alpha05">
-
- <issue
- id="DuplicateIds"
- message="Duplicate id `@+id/shared_id`, already defined earlier in this layout"
- errorLine1=" <TextView android:id="@+id/shared_id""
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/res/layout/byselector_testres_activity.xml"
- line="34"
- column="15"/>
- <location
- file="src/main/res/layout/byselector_testres_activity.xml"
- line="29"
- column="15"
- message="Duplicate id `@+id/shared_id` originally defined here"/>
- </issue>
-
-</issues>
diff --git a/testutils/testutils-espresso/lint-baseline.xml b/testutils/testutils-espresso/lint-baseline.xml
index b8b87a7..e4b1fbb 100644
--- a/testutils/testutils-espresso/lint-baseline.xml
+++ b/testutils/testutils-espresso/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/testutils/testutils-runtime/lint-baseline.xml b/testutils/testutils-runtime/lint-baseline.xml
index cdd32fb..2d2a7d3 100644
--- a/testutils/testutils-runtime/lint-baseline.xml
+++ b/testutils/testutils-runtime/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="BanUncheckedReflection"
diff --git a/text/text/src/androidTest/java/androidx/compose/ui/text/android/TextLayoutTest.kt b/text/text/src/androidTest/java/androidx/compose/ui/text/android/TextLayoutTest.kt
index c9b9858..2621b1e 100644
--- a/text/text/src/androidTest/java/androidx/compose/ui/text/android/TextLayoutTest.kt
+++ b/text/text/src/androidTest/java/androidx/compose/ui/text/android/TextLayoutTest.kt
@@ -429,7 +429,7 @@
endIndex = text.length,
trimFirstLineTop = false,
trimLastLineBottom = false,
- topPercentage = 50
+ topRatio = 0.5f
), 0, text.length, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE
)
diff --git a/text/text/src/androidTest/java/androidx/compose/ui/text/android/style/LineHeightStyleSpanTest.kt b/text/text/src/androidTest/java/androidx/compose/ui/text/android/style/LineHeightStyleSpanTest.kt
index 502b37a7..3509ecd 100644
--- a/text/text/src/androidTest/java/androidx/compose/ui/text/android/style/LineHeightStyleSpanTest.kt
+++ b/text/text/src/androidTest/java/androidx/compose/ui/text/android/style/LineHeightStyleSpanTest.kt
@@ -41,7 +41,7 @@
val fontMetrics = FontMetricsInt(ascent = 1, descent = 1)
val newFontMetrics = runSingleLine(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -54,11 +54,11 @@
/* single line, top percentage 0 */
@Test
- fun singleLine_topPercentage_0_trimFirstLineTop_false_trimLastLineBottom_false() {
+ fun singleLine_topRatio_0_trimFirstLineTop_false_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 0,
+ topRatio = 0f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -69,11 +69,11 @@
}
@Test
- fun singleLine_topPercentage_0_trimFirstLineTop_false_trimLastLineBottom_true() {
+ fun singleLine_topRatio_0_trimFirstLineTop_false_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 0,
+ topRatio = 0f,
trimFirstLineTop = false,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -84,11 +84,11 @@
}
@Test
- fun singleLine_topPercentage_0_trimFirstLineTop_true_trimLastLineBottom_false() {
+ fun singleLine_topRatio_0_trimFirstLineTop_true_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 0,
+ topRatio = 0f,
trimFirstLineTop = true,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -99,11 +99,11 @@
}
@Test
- fun singleLine_topPercentage_0_trimFirstLineTop_true_trimLastLineBottom_true() {
+ fun singleLine_topRatio_0_trimFirstLineTop_true_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 0,
+ topRatio = 0f,
trimFirstLineTop = true,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -116,11 +116,11 @@
/* single line, top percentage 100 */
@Test
- fun singleLine_topPercentage_100_trimFirstLineTop_false_trimLastLineBottom_false() {
+ fun singleLine_topRatio_100_trimFirstLineTop_false_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 100,
+ topRatio = 1f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -131,11 +131,11 @@
}
@Test
- fun singleLine_topPercentage_100_trimFirstLineTop_false_trimLastLineBottom_true() {
+ fun singleLine_topRatio_100_trimFirstLineTop_false_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 100,
+ topRatio = 1f,
trimFirstLineTop = false,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -146,11 +146,11 @@
}
@Test
- fun singleLine_topPercentage_100_trimFirstLineTop_true_trimLastLineBottom_false() {
+ fun singleLine_topRatio_100_trimFirstLineTop_true_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 100,
+ topRatio = 1f,
trimFirstLineTop = true,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -161,11 +161,11 @@
}
@Test
- fun singleLine_topPercentage_100_trimFirstLineTop_true_trimLastLineBottom_true() {
+ fun singleLine_topRatio_100_trimFirstLineTop_true_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 100,
+ topRatio = 1f,
trimFirstLineTop = true,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -178,11 +178,11 @@
/* single line, top percentage 50 */
@Test
- fun singleLine_topPercentage_50_trimFirstLineTop_false_trimLastLineBottom_false() {
+ fun singleLine_topRatio_50_trimFirstLineTop_false_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -194,11 +194,11 @@
}
@Test
- fun singleLine_topPercentage_50_trimFirstLineTop_false_trimLastLineBottom_true() {
+ fun singleLine_topRatio_50_trimFirstLineTop_false_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -210,11 +210,11 @@
}
@Test
- fun singleLine_topPercentage_50_trimFirstLineTop_true_trimLastLineBottom_false() {
+ fun singleLine_topRatio_50_trimFirstLineTop_true_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = true,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -226,11 +226,11 @@
}
@Test
- fun singleLine_topPercentage_50_trimFirstLineTop_true_trimLastLineBottom_true() {
+ fun singleLine_topRatio_50_trimFirstLineTop_true_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = true,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -240,14 +240,14 @@
assertThat(newFontMetrics.descent).isEqualTo(fontMetrics.descent)
}
- /* single line, proportional (topPercentage -1) */
+ /* single line, proportional (topRatio -1) */
@Test
- fun singleLine_topPercentage_proportional_trimFirstLineTop_false_trimLastLineBottom_false() {
+ fun singleLine_topRatio_proportional_trimFirstLineTop_false_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = -1,
+ topRatio = -1f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -260,11 +260,11 @@
}
@Test
- fun singleLine_topPercentage_proportional_trimFirstLineTop_false_trimLastLineBottom_true() {
+ fun singleLine_topRatio_proportional_trimFirstLineTop_false_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = -1,
+ topRatio = -1f,
trimFirstLineTop = false,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -277,11 +277,11 @@
}
@Test
- fun singleLine_topPercentage_proportional_trimFirstLineTop_true_trimLastLineBottom_false() {
+ fun singleLine_topRatio_proportional_trimFirstLineTop_true_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = -1,
+ topRatio = -1f,
trimFirstLineTop = true,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -293,11 +293,11 @@
}
@Test
- fun singleLine_topPercentage_proportional_trimFirstLineTop_true_trimLastLineBottom_true() {
+ fun singleLine_topRatio_proportional_trimFirstLineTop_true_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val newFontMetrics = runSingleLine(
- topPercentage = -1,
+ topRatio = -1f,
trimFirstLineTop = true,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -310,11 +310,11 @@
/* multi line, top percentage = 0 */
@Test
- fun multiLine_topPercentage_0_trimFirstLineTop_false_trimLastLineBottom_false() {
+ fun multiLine_topRatio_0_trimFirstLineTop_false_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 0,
+ topRatio = 0f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -334,11 +334,11 @@
}
@Test
- fun multiLine_topPercentage_0_trimFirstLineTop_false_trimLastLineBottom_true() {
+ fun multiLine_topRatio_0_trimFirstLineTop_false_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 0,
+ topRatio = 0f,
trimFirstLineTop = false,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -358,11 +358,11 @@
}
@Test
- fun multiLine_topPercentage_0_trimFirstLineTop_true_trimLastLineBottom_false() {
+ fun multiLine_topRatio_0_trimFirstLineTop_true_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 0,
+ topRatio = 0f,
trimFirstLineTop = true,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -382,11 +382,11 @@
}
@Test
- fun multiLine_topPercentage_0_trimFirstLineTop_true_trimLastLineBottom_true() {
+ fun multiLine_topRatio_0_trimFirstLineTop_true_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 0,
+ topRatio = 0f,
trimFirstLineTop = true,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -408,11 +408,11 @@
/* multi line, top percentage = 100 */
@Test
- fun multiLine_topPercentage_100_trimFirstLineTop_false_trimLastLineBottom_false() {
+ fun multiLine_topRatio_100_trimFirstLineTop_false_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 100,
+ topRatio = 1f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -432,11 +432,11 @@
}
@Test
- fun multiLine_topPercentage_100_trimFirstLineTop_false_trimLastLineBottom_true() {
+ fun multiLine_topRatio_100_trimFirstLineTop_false_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 100,
+ topRatio = 1f,
trimFirstLineTop = false,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -456,11 +456,11 @@
}
@Test
- fun multiLine_topPercentage_100_trimFirstLineTop_true_trimLastLineBottom_false() {
+ fun multiLine_topRatio_100_trimFirstLineTop_true_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 100,
+ topRatio = 1f,
trimFirstLineTop = true,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -480,11 +480,11 @@
}
@Test
- fun multiLine_topPercentage_100_trimFirstLineTop_true_trimLastLineBottom_true() {
+ fun multiLine_topRatio_100_trimFirstLineTop_true_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 100,
+ topRatio = 1f,
trimFirstLineTop = true,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -506,11 +506,11 @@
/* multi line, top percentage = 50 */
@Test
- fun multiLine_topPercentage_50_trimFirstLineTop_false_trimLastLineBottom_false() {
+ fun multiLine_topRatio_50_trimFirstLineTop_false_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -531,11 +531,11 @@
}
@Test
- fun multiLine_topPercentage_50_trimFirstLineTop_false_trimLastLineBottom_true() {
+ fun multiLine_topRatio_50_trimFirstLineTop_false_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -556,11 +556,11 @@
}
@Test
- fun multiLine_topPercentage_50_trimFirstLineTop_true_trimLastLineBottom_false() {
+ fun multiLine_topRatio_50_trimFirstLineTop_true_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = true,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -581,11 +581,11 @@
}
@Test
- fun multiLine_topPercentage_50_trimFirstLineTop_true_trimLastLineBottom_true() {
+ fun multiLine_topRatio_50_trimFirstLineTop_true_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = true,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -605,14 +605,14 @@
assertThat(newFontMetrics.descent).isEqualTo(fontMetrics.descent)
}
- /* multi line, proportional (topPercentage -1) */
+ /* multi line, proportional (topRatio -1) */
@Test
- fun multiLine_topPercentage_proportional_trimFirstLineTop_false_trimLastLineBottom_false() {
+ fun multiLine_topRatio_proportional_trimFirstLineTop_false_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = -1,
+ topRatio = -1f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -635,11 +635,11 @@
}
@Test
- fun multiLine_topPercentage_proportional_trimFirstLineTop_false_trimLastLineBottom_true() {
+ fun multiLine_topRatio_proportional_trimFirstLineTop_false_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = -1,
+ topRatio = -1f,
trimFirstLineTop = false,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -662,11 +662,11 @@
}
@Test
- fun multiLine_topPercentage_proportional_trimFirstLineTop_true_trimLastLineBottom_false() {
+ fun multiLine_topRatio_proportional_trimFirstLineTop_true_trimLastLineBottom_false() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = -1,
+ topRatio = -1f,
trimFirstLineTop = true,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -689,11 +689,11 @@
}
@Test
- fun multiLine_topPercentage_proportional_trimFirstLineTop_true_trimLastLineBottom_true() {
+ fun multiLine_topRatio_proportional_trimFirstLineTop_true_trimLastLineBottom_true() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = -1,
+ topRatio = -1f,
trimFirstLineTop = true,
trimLastLineBottom = true,
fontMetrics = fontMetrics
@@ -718,11 +718,11 @@
/* first ascent & last descent diff */
@Test
- fun singleLine_with_firstLineTop_and_lastLineBottom_topPercentage_50_larger_line_height() {
+ fun singleLine_with_firstLineTop_and_lastLineBottom_topRatio_50_larger_line_height() {
val fontMetrics = createFontMetrics()
val span = createSingleLineSpan(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = false,
newLineHeight = fontMetrics.doubleLineHeight()
@@ -736,11 +736,11 @@
}
@Test
- fun multiLine_with_firstLineTop_and_lastLineBottom_topPercentage_50_larger_line_height() {
+ fun multiLine_with_firstLineTop_and_lastLineBottom_topRatio_50_larger_line_height() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = false,
fontMetrics = fontMetrics
@@ -756,11 +756,11 @@
}
@Test
- fun singleLine_with_firstLineTop_and_lastLineBottom_topPercentage_50_smaller_line_height() {
+ fun singleLine_with_firstLineTop_and_lastLineBottom_topRatio_50_smaller_line_height() {
val fontMetrics = createFontMetrics()
val span = createSingleLineSpan(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = false,
newLineHeight = fontMetrics.lineHeight() / 2
@@ -774,11 +774,11 @@
}
@Test
- fun multiLine_with_firstLineTop_and_lastLineBottom_topPercentage_50_smaller_line_height() {
+ fun multiLine_with_firstLineTop_and_lastLineBottom_topRatio_50_smaller_line_height() {
val fontMetrics = createFontMetrics()
val span = createMultiLineSpan(
- topPercentage = 50,
+ topRatio = 0.5f,
trimFirstLineTop = false,
trimLastLineBottom = false,
newLineHeight = fontMetrics.lineHeight() / 2
@@ -804,13 +804,13 @@
* the updated font metrics.
*/
private fun runSingleLine(
- topPercentage: Int,
+ topRatio: Float,
trimFirstLineTop: Boolean,
trimLastLineBottom: Boolean,
fontMetrics: FontMetricsInt
): FontMetricsInt {
val span = createSingleLineSpan(
- topPercentage = topPercentage,
+ topRatio = topRatio,
trimFirstLineTop = trimFirstLineTop,
trimLastLineBottom = trimLastLineBottom,
newLineHeight = fontMetrics.doubleLineHeight()
@@ -823,7 +823,7 @@
* Creates a LineHeightSpan that covers [SingleLineStartIndex, SingleLineEndIndex].
*/
private fun createSingleLineSpan(
- topPercentage: Int,
+ topRatio: Float,
trimFirstLineTop: Boolean,
trimLastLineBottom: Boolean,
newLineHeight: Int
@@ -833,19 +833,19 @@
endIndex = SingleLineEndIndex,
trimFirstLineTop = trimFirstLineTop,
trimLastLineBottom = trimLastLineBottom,
- topPercentage = topPercentage
+ topRatio = topRatio
)
/**
* Creates a LineHeightSpan that covers [MultiLineStartIndex, MultiLineEndIndex].
*/
private fun createMultiLineSpan(
- topPercentage: Int,
+ topRatio: Float,
trimFirstLineTop: Boolean,
trimLastLineBottom: Boolean,
fontMetrics: FontMetricsInt
): LineHeightStyleSpan = createMultiLineSpan(
- topPercentage = topPercentage,
+ topRatio = topRatio,
trimFirstLineTop = trimFirstLineTop,
trimLastLineBottom = trimLastLineBottom,
newLineHeight = fontMetrics.doubleLineHeight()
@@ -855,7 +855,7 @@
* Creates a LineHeightSpan that covers [MultiLineStartIndex, MultiLineEndIndex].
*/
private fun createMultiLineSpan(
- topPercentage: Int,
+ topRatio: Float,
trimFirstLineTop: Boolean,
trimLastLineBottom: Boolean,
newLineHeight: Int
@@ -865,7 +865,7 @@
endIndex = MultiLineEndIndex,
trimFirstLineTop = trimFirstLineTop,
trimLastLineBottom = trimLastLineBottom,
- topPercentage = topPercentage
+ topRatio = topRatio
)
/**
diff --git a/text/text/src/main/java/androidx/compose/ui/text/android/style/LineHeightStyleSpan.kt b/text/text/src/main/java/androidx/compose/ui/text/android/style/LineHeightStyleSpan.kt
index 55e164a..d0a755a 100644
--- a/text/text/src/main/java/androidx/compose/ui/text/android/style/LineHeightStyleSpan.kt
+++ b/text/text/src/main/java/androidx/compose/ui/text/android/style/LineHeightStyleSpan.kt
@@ -16,7 +16,7 @@
package androidx.compose.ui.text.android.style
import android.graphics.Paint.FontMetricsInt
-import androidx.annotation.IntRange
+import androidx.annotation.FloatRange
import androidx.compose.ui.text.android.InternalPlatformTextApi
import kotlin.math.abs
import kotlin.math.ceil
@@ -37,7 +37,7 @@
* as a result of the line height is not added. Single line text is both the first and last line.
* @param lineHeight The specified line height in pixel units, which is the space between the
* baseline of adjacent lines.
- * @param topPercentage The percentage on how to distribute the line height for a given line.
+ * @param topRatio The percentage on how to distribute the line height for a given line.
* 0 means all space as a result of line height is applied to the bottom. Similarly, 100 means
* all space as a result of line height is applied to the top.
*
@@ -50,7 +50,7 @@
private val endIndex: Int,
private val trimFirstLineTop: Boolean,
val trimLastLineBottom: Boolean,
- @IntRange(from = 0, to = 100) val topPercentage: Int
+ @FloatRange(from = 0.0, to = 1.0) private val topRatio: Float
) : android.text.style.LineHeightSpan {
private var firstAscent: Int = 0
@@ -67,8 +67,8 @@
private set
init {
- check(topPercentage in 0..100 || topPercentage == -1) {
- "topRatio should be in [0..100] range or -1"
+ check(topRatio in 0f..1f || topRatio == -1f) {
+ "topRatio should be in [0..1] range or -1"
}
}
@@ -103,18 +103,18 @@
// calculate the difference between the current line lineHeight and the requested lineHeight
val diff = ceiledLineHeight - currentHeight
- val ascentRatio = if (topPercentage == -1) {
- (abs(fontMetricsInt.ascent.toFloat()) / fontMetricsInt.lineHeight() * 100f).toInt()
+ val ascentRatio = if (topRatio == -1f) {
+ abs(fontMetricsInt.ascent.toFloat()) / fontMetricsInt.lineHeight()
} else {
- topPercentage
+ topRatio
}
val descentDiff = if (diff <= 0) {
- // diff * topPercentage is the amount that should go to below the baseline
- ceil(diff * ascentRatio / 100f).toInt()
+ // diff * topRatio is the amount that should go to below the baseline
+ ceil(diff * ascentRatio).toInt()
} else {
- // diff * (100 - topPercentage) is the amount that should go to below the baseline
- ceil(diff * (100 - ascentRatio) / 100f).toInt()
+ // diff * (1f - topRatio) is the amount that should go to below the baseline
+ ceil(diff * (1f - ascentRatio)).toInt()
}
descent = fontMetricsInt.descent + descentDiff
@@ -136,7 +136,7 @@
endIndex = endIndex,
trimFirstLineTop = trimFirstLineTop,
trimLastLineBottom = trimLastLineBottom,
- topPercentage = topPercentage
+ topRatio = topRatio
)
}
diff --git a/vectordrawable/integration-tests/testapp/lint-baseline.xml b/vectordrawable/integration-tests/testapp/lint-baseline.xml
index 6c79993..7ed06df 100644
--- a/vectordrawable/integration-tests/testapp/lint-baseline.xml
+++ b/vectordrawable/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
@@ -142,9 +142,7 @@
errorLine1=" m-.001, 0"
errorLine2=" ~~~~">
<location
- file="src/main/res/drawable/vector_drawable04.xml"
- line="27"
- column="13"/>
+ file="src/main/res/drawable/vector_drawable04.xml"/>
</issue>
<issue
@@ -153,9 +151,7 @@
errorLine1=" m-.001, 0"
errorLine2=" ^">
<location
- file="src/main/res/drawable/vector_drawable04.xml"
- line="27"
- column="24"/>
+ file="src/main/res/drawable/vector_drawable04.xml"/>
</issue>
<issue
@@ -164,9 +160,7 @@
errorLine1=" a .001,.001 0 1,0 .002,0"
errorLine2=" ^">
<location
- file="src/main/res/drawable/vector_drawable04.xml"
- line="28"
- column="38"/>
+ file="src/main/res/drawable/vector_drawable04.xml"/>
</issue>
<issue
@@ -175,9 +169,7 @@
errorLine1=" a .001,.001 0 1,0 .002,0"
errorLine2=" ~~~~">
<location
- file="src/main/res/drawable/vector_drawable04.xml"
- line="28"
- column="23"/>
+ file="src/main/res/drawable/vector_drawable04.xml"/>
</issue>
<issue
@@ -186,9 +178,7 @@
errorLine1=" a .001,.001 0 1,0 .002,0"
errorLine2=" ~~~~">
<location
- file="src/main/res/drawable/vector_drawable04.xml"
- line="28"
- column="28"/>
+ file="src/main/res/drawable/vector_drawable04.xml"/>
</issue>
<issue
@@ -197,9 +187,7 @@
errorLine1=" android:pathData="l0.0.0.5.0.0.5-0.5.0.0-.5z""
errorLine2=" ~~~">
<location
- file="src/main/res/drawable/vector_drawable29.xml"
- line="25"
- column="53"/>
+ file="src/main/res/drawable/vector_drawable29.xml"/>
</issue>
<issue
@@ -208,9 +196,7 @@
errorLine1=" android:pathData="l0.0.0.5.0.0.5-0.5.0.0-.5z""
errorLine2=" ~~">
<location
- file="src/main/res/drawable/vector_drawable29.xml"
- line="25"
- column="35"/>
+ file="src/main/res/drawable/vector_drawable29.xml"/>
</issue>
<issue
@@ -219,9 +205,7 @@
errorLine1=" android:pathData="l0.0.0.5.0.0.5-0.5.0.0-.5z""
errorLine2=" ~~">
<location
- file="src/main/res/drawable/vector_drawable29.xml"
- line="25"
- column="39"/>
+ file="src/main/res/drawable/vector_drawable29.xml"/>
</issue>
<issue
@@ -230,9 +214,7 @@
errorLine1=" android:pathData="l0.0.0.5.0.0.5-0.5.0.0-.5z""
errorLine2=" ~~">
<location
- file="src/main/res/drawable/vector_drawable29.xml"
- line="25"
- column="41"/>
+ file="src/main/res/drawable/vector_drawable29.xml"/>
</issue>
<issue
@@ -241,9 +223,7 @@
errorLine1=" android:pathData="l0.0.0.5.0.0.5-0.5.0.0-.5z""
errorLine2=" ~~">
<location
- file="src/main/res/drawable/vector_drawable29.xml"
- line="25"
- column="49"/>
+ file="src/main/res/drawable/vector_drawable29.xml"/>
</issue>
<issue
@@ -252,9 +232,7 @@
errorLine1=" android:pathData="l0.0.0.5.0.0.5-0.5.0.0-.5z""
errorLine2=" ~~">
<location
- file="src/main/res/drawable/vector_drawable29.xml"
- line="25"
- column="51"/>
+ file="src/main/res/drawable/vector_drawable29.xml"/>
</issue>
<issue
@@ -263,9 +241,7 @@
errorLine1=" android:pathData="l0.0.0.5.0.0.5-0.5.0.0-.5z""
errorLine2=" ~~">
<location
- file="src/main/res/drawable/vector_drawable29.xml"
- line="25"
- column="37"/>
+ file="src/main/res/drawable/vector_drawable29.xml"/>
</issue>
<issue
@@ -274,9 +250,7 @@
errorLine1=" android:pathData="l0.0.0.5.0.0.5-0.5.0.0-.5z""
errorLine2=" ~~">
<location
- file="src/main/res/drawable/vector_drawable29.xml"
- line="25"
- column="43"/>
+ file="src/main/res/drawable/vector_drawable29.xml"/>
</issue>
<issue
@@ -285,9 +259,7 @@
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/AVDCListenerDemo.java"
- line="39"
- column="29"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/AVDCListenerDemo.java"/>
</issue>
<issue
@@ -296,9 +268,7 @@
errorLine1=" protected int[] mIcons = {"
errorLine2=" ~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SimpleAnimatedVectorDrawable.java"
- line="38"
- column="15"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SimpleAnimatedVectorDrawable.java"/>
</issue>
<issue
@@ -307,9 +277,7 @@
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SimpleAnimatedVectorDrawable.java"
- line="51"
- column="29"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SimpleAnimatedVectorDrawable.java"/>
</issue>
<issue
@@ -318,9 +286,7 @@
errorLine1=" protected int[] mIcons = {"
errorLine2=" ~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SimpleStaticVectorDrawable.java"
- line="39"
- column="15"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SimpleStaticVectorDrawable.java"/>
</issue>
<issue
@@ -329,9 +295,7 @@
errorLine1=" protected void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SimpleStaticVectorDrawable.java"
- line="85"
- column="29"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SimpleStaticVectorDrawable.java"/>
</issue>
<issue
@@ -340,9 +304,7 @@
errorLine1=" public void onCreate(Bundle savedInstanceState) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="42"
- column="26"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -351,9 +313,7 @@
errorLine1=" protected List<Map<String, Object>> getData(String prefix) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="59"
- column="15"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -362,9 +322,7 @@
errorLine1=" protected List<Map<String, Object>> getData(String prefix) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="59"
- column="49"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -373,9 +331,7 @@
errorLine1=" protected Intent activityIntent(String pkg, String componentName) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="128"
- column="15"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -384,9 +340,7 @@
errorLine1=" protected Intent activityIntent(String pkg, String componentName) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="128"
- column="37"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -395,9 +349,7 @@
errorLine1=" protected Intent activityIntent(String pkg, String componentName) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="128"
- column="49"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -406,9 +358,7 @@
errorLine1=" protected Intent browseIntent(String path) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="134"
- column="15"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -417,9 +367,7 @@
errorLine1=" protected Intent browseIntent(String path) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="134"
- column="35"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -428,9 +376,7 @@
errorLine1=" protected void addItem(List<Map<String, Object>> data, String name, Intent intent) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="141"
- column="28"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -439,9 +385,7 @@
errorLine1=" protected void addItem(List<Map<String, Object>> data, String name, Intent intent) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="141"
- column="60"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
<issue
@@ -450,9 +394,7 @@
errorLine1=" protected void addItem(List<Map<String, Object>> data, String name, Intent intent) {"
errorLine2=" ~~~~~~">
<location
- file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"
- line="141"
- column="73"/>
+ file="src/main/java/com/example/android/support/vectordrawable/app/SupportVectorDrawableDemos.java"/>
</issue>
</issues>
diff --git a/vectordrawable/vectordrawable-animated/lint-baseline.xml b/vectordrawable/vectordrawable-animated/lint-baseline.xml
index 84bb277..29ba9cd 100644
--- a/vectordrawable/vectordrawable-animated/lint-baseline.xml
+++ b/vectordrawable/vectordrawable-animated/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/vectordrawable/vectordrawable/lint-baseline.xml b/vectordrawable/vectordrawable/lint-baseline.xml
index f647f1f..a918dbd 100644
--- a/vectordrawable/vectordrawable/lint-baseline.xml
+++ b/vectordrawable/vectordrawable/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/viewpager/viewpager/lint-baseline.xml b/viewpager/viewpager/lint-baseline.xml
index a252977..c9974a1 100644
--- a/viewpager/viewpager/lint-baseline.xml
+++ b/viewpager/viewpager/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="UnknownNullness"
diff --git a/viewpager2/integration-tests/testapp/lint-baseline.xml b/viewpager2/integration-tests/testapp/lint-baseline.xml
index c43cebf..2120164 100644
--- a/viewpager2/integration-tests/testapp/lint-baseline.xml
+++ b/viewpager2/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="NewApi"
diff --git a/wear/watchface/watchface/src/main/java/androidx/wear/watchface/ComplicationSlot.kt b/wear/watchface/watchface/src/main/java/androidx/wear/watchface/ComplicationSlot.kt
index 60b0986..f0357e0 100644
--- a/wear/watchface/watchface/src/main/java/androidx/wear/watchface/ComplicationSlot.kt
+++ b/wear/watchface/watchface/src/main/java/androidx/wear/watchface/ComplicationSlot.kt
@@ -49,6 +49,8 @@
import kotlin.math.cos
import kotlin.math.sin
import java.time.Instant
+import java.time.LocalDateTime
+import java.time.ZoneId
import java.time.ZonedDateTime
import java.util.Objects
@@ -1180,7 +1182,8 @@
complicationHistory?.let {
writer.increaseIndent()
for (entry in it) {
- writer.println("${entry.complicationData} @ ${entry.time}")
+ val localDateTime = LocalDateTime.ofInstant(entry.time, ZoneId.systemDefault())
+ writer.println("${entry.complicationData} @ $localDateTime")
}
writer.decreaseIndent()
}
diff --git a/wear/watchface/watchface/src/main/java/androidx/wear/watchface/ComplicationSlotsManager.kt b/wear/watchface/watchface/src/main/java/androidx/wear/watchface/ComplicationSlotsManager.kt
index efea374..5cae565e 100644
--- a/wear/watchface/watchface/src/main/java/androidx/wear/watchface/ComplicationSlotsManager.kt
+++ b/wear/watchface/watchface/src/main/java/androidx/wear/watchface/ComplicationSlotsManager.kt
@@ -21,6 +21,7 @@
import android.content.ComponentName
import android.content.Context
import android.content.Intent
+import android.util.Log
import androidx.annotation.Px
import androidx.annotation.RestrictTo
import androidx.annotation.UiThread
@@ -60,6 +61,10 @@
complicationSlotCollection: Collection<ComplicationSlot>,
private val currentUserStyleRepository: CurrentUserStyleRepository
) {
+ internal companion object {
+ internal const val TAG = "ComplicationSlotsManager"
+ }
+
/**
* Interface used to report user taps on the [ComplicationSlot]. See [addTapListener] and
* [removeTapListener].
@@ -283,7 +288,15 @@
data: ComplicationData,
instant: Instant
) {
- val complication = complicationSlots[complicationSlotId] ?: return
+ val complication = complicationSlots[complicationSlotId]
+ if (complication == null) {
+ Log.e(
+ TAG,
+ "onComplicationDataUpdate failed due to invalid complicationSlotId=" +
+ "$complicationSlotId with data=$data"
+ )
+ return
+ }
complication.dataDirty = complication.dataDirty ||
(complication.renderer.getData() != data)
complication.setComplicationData(data, true, instant)
@@ -298,7 +311,15 @@
data: ComplicationData,
instant: Instant
) {
- val complication = complicationSlots[complicationSlotId] ?: return
+ val complication = complicationSlots[complicationSlotId]
+ if (complication == null) {
+ Log.e(
+ TAG,
+ "setComplicationDataUpdateSync failed due to invalid complicationSlotId=" +
+ "$complicationSlotId with data=$data"
+ )
+ return
+ }
complication.setComplicationData(data, false, instant)
}
diff --git a/wear/watchface/watchface/src/main/java/androidx/wear/watchface/WatchFaceService.kt b/wear/watchface/watchface/src/main/java/androidx/wear/watchface/WatchFaceService.kt
index c2d85b0..edeb256 100644
--- a/wear/watchface/watchface/src/main/java/androidx/wear/watchface/WatchFaceService.kt
+++ b/wear/watchface/watchface/src/main/java/androidx/wear/watchface/WatchFaceService.kt
@@ -359,7 +359,7 @@
}
}
} catch (e: Exception) {
- Log.e(HeadlessWatchFaceImpl.TAG, "Operation failed", e)
+ Log.e(TAG, "Operation failed", e)
throw e
}
}
diff --git a/webkit/webkit/src/androidTest/java/androidx/webkit/WebSettingsCompatForceDarkTest.java b/webkit/webkit/src/androidTest/java/androidx/webkit/WebSettingsCompatForceDarkTest.java
index 0a57d48..1d305cc 100644
--- a/webkit/webkit/src/androidTest/java/androidx/webkit/WebSettingsCompatForceDarkTest.java
+++ b/webkit/webkit/src/androidTest/java/androidx/webkit/WebSettingsCompatForceDarkTest.java
@@ -25,6 +25,7 @@
import androidx.core.graphics.ColorUtils;
import androidx.test.ext.junit.runners.AndroidJUnit4;
+import androidx.test.filters.FlakyTest;
import androidx.test.filters.MediumTest;
import androidx.test.filters.SdkSuppress;
@@ -65,6 +66,7 @@
* should be reflected in that test as necessary. See http://go/modifying-webview-cts.
*/
@SuppressWarnings("deprecation")
+ @FlakyTest(bugId = 230480958)
@Test
public void testForceDark_rendersDark() throws Throwable {
WebkitUtils.checkFeature(WebViewFeature.FORCE_DARK);
diff --git a/window/window-samples/lint-baseline.xml b/window/window-samples/lint-baseline.xml
deleted file mode 100644
index 1fa304a..0000000
--- a/window/window-samples/lint-baseline.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
-
- <issue
- id="NotificationPermission"
- message="When targeting Android 13 or higher, posting a permission requires holding the `POST_NOTIFICATIONS` permission (usage from leakcanary.NotificationEventListener)">
- <location
- file="$GRADLE_USER_HOME/caches/transforms-3/4366a02f2b10003dc48387e903833c2d/transformed/leakcanary-android-core-2.8.1/jars/classes.jar"/>
- </issue>
-
-</issues>
diff --git a/work/integration-tests/testapp/lint-baseline.xml b/work/integration-tests/testapp/lint-baseline.xml
index a86a1ea..e53ba4e 100644
--- a/work/integration-tests/testapp/lint-baseline.xml
+++ b/work/integration-tests/testapp/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="ClassVerificationFailure"
@@ -74,96 +74,6 @@
</issue>
<issue
- id="SyntheticAccessor"
- message="Access to `private` field `mImageRecyclerViewAdapter` of class `ImageProcessingActivity` requires synthetic accessor"
- errorLine1=" mImageRecyclerViewAdapter.updateList(images);"
- errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageProcessingActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mShouldLoad` of class `ViewHolder` requires synthetic accessor"
- errorLine1=" if (mShouldLoad) {"
- errorLine2=" ~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mImageView` of class `ViewHolder` requires synthetic accessor"
- errorLine1=" mImageView.setImageBitmap(bitmap);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTextView` of class `ViewHolder` requires synthetic accessor"
- errorLine1=" mTextView.setText(image.mOriginalAssetName);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mProgressBar` of class `ViewHolder` requires synthetic accessor"
- errorLine1=" mProgressBar.setVisibility(View.GONE);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mImageView` of class `ViewHolder` requires synthetic accessor"
- errorLine1=" mImageView.setVisibility(View.VISIBLE);"
- errorLine2=" ~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/imageprocessing/ImageRecyclerViewAdapter.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `scheduleWork` of class `RetryActivity` requires synthetic accessor"
- errorLine1=" scheduleWork("one", 3, 0.2);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/RetryActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` method `scheduleWork` of class `RetryActivity` requires synthetic accessor"
- errorLine1=" scheduleWork("two", 5, 0.5);"
- errorLine2=" ~~~~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/RetryActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTextView` of class `RetryActivity` requires synthetic accessor"
- errorLine1=" mTextView.setText("nothing to show");"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/RetryActivity.java"/>
- </issue>
-
- <issue
- id="SyntheticAccessor"
- message="Access to `private` field `mTextView` of class `RetryActivity` requires synthetic accessor"
- errorLine1=" mTextView.setText(text);"
- errorLine2=" ~~~~~~~~~">
- <location
- file="src/main/java/androidx/work/integration/testapp/RetryActivity.java"/>
- </issue>
-
- <issue
id="UnknownNullness"
message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations"
errorLine1=" protected void onCreate(final Bundle savedInstanceState) {"
diff --git a/work/work-inspection/lint-baseline.xml b/work/work-inspection/lint-baseline.xml
index 2ddb484..677478e 100644
--- a/work/work-inspection/lint-baseline.xml
+++ b/work/work-inspection/lint-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="gradle" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
+<issues format="6" by="lint 7.4.0-alpha08" type="baseline" client="cli" dependencies="false" name="AGP (7.4.0-alpha08)" variant="all" version="7.4.0-alpha08">
<issue
id="RemoveWorkManagerInitializer"