| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 7.2.0-dev" type="baseline" client="" dependencies="true" name="" variant="all" version="7.2.0-dev"> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`." |
| errorLine1=" if (mSupportedVideoMimeTypes.contains(videoMime.toLowerCase())) {" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="frameworks/base/apex/media/framework/java/android/media/ApplicationMediaCapabilities.java" |
| line="121" |
| column="57"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" |
| errorLine1=" return String.format(" session: {id: %d, status: %s, result: %s, progress: %d}"," |
| errorLine2=" ^"> |
| <location |
| file="frameworks/base/apex/media/framework/java/android/media/MediaTranscodingManager.java" |
| line="1651" |
| column="20"/> |
| </issue> |
| |
| <issue |
| id="ParcelClassLoader" |
| message="Passing null here (to use the default class loader) will not work if you are restoring your own classes. Consider using for example `getClass().getClassLoader()` instead." |
| errorLine1=" Bundle out = parcel.readBundle(null);" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="frameworks/base/apex/media/framework/java/android/media/MediaSession2.java" |
| line="303" |
| column="33"/> |
| </issue> |
| |
| <issue |
| id="ParcelClassLoader" |
| message="Using the default class loader will not work if you are restoring your own classes. Consider using for example `readBundle(getClass().getClassLoader())` instead." |
| errorLine1=" mCustomExtras = in.readBundle();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="frameworks/base/apex/media/framework/java/android/media/Session2Command.java" |
| line="104" |
| column="28"/> |
| </issue> |
| |
| <issue |
| id="ParcelClassLoader" |
| message="Passing null here (to use the default class loader) will not work if you are restoring your own classes. Consider using for example `getClass().getClassLoader()` instead." |
| errorLine1=" mSessionLink = in.readParcelable(null);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="frameworks/base/apex/media/framework/java/android/media/Session2Token.java" |
| line="141" |
| column="27"/> |
| </issue> |
| |
| <issue |
| id="ParcelClassLoader" |
| message="Using the default class loader will not work if you are restoring your own classes. Consider using for example `readBundle(getClass().getClassLoader())` instead." |
| errorLine1=" Bundle extras = in.readBundle();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="frameworks/base/apex/media/framework/java/android/media/Session2Token.java" |
| line="144" |
| column="28"/> |
| </issue> |
| |
| </issues> |