lint-baseline.xml 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <issues format="5" by="lint 4.1.0" client="cli" variant="all" version="4.1.0">
  3. <issue
  4. id="NewApi"
  5. message="Call requires API level R (current min is 26): `android.os.RemoteException#rethrowFromSystemServer`"
  6. errorLine1=" throw e.rethrowFromSystemServer();"
  7. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
  8. <location
  9. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ActivityManagerWrapper.java"
  10. line="90"
  11. column="21"/>
  12. </issue>
  13. <issue
  14. id="NewApi"
  15. message="Call requires API level 31 (current min is 26): `android.graphics.Bitmap#getHardwareBuffer`"
  16. errorLine1=" mBuffer != null ? mBuffer.getHardwareBuffer() : null, mRect);"
  17. errorLine2=" ~~~~~~~~~~~~~~~~~">
  18. <location
  19. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/AppTransitionAnimationSpecCompat.java"
  20. line="39"
  21. column="43"/>
  22. </issue>
  23. <issue
  24. id="NewApi"
  25. message="Call requires API level 31 (current min is 26): `new android.graphics.ParcelableColorSpace`"
  26. errorLine1=" ? new ParcelableColorSpace(ColorSpace.get(ColorSpace.Named.SRGB))"
  27. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
  28. <location
  29. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/BitmapUtil.java"
  30. line="57"
  31. column="27"/>
  32. </issue>
  33. <issue
  34. id="NewApi"
  35. message="Call requires API level 31 (current min is 26): `new android.graphics.ParcelableColorSpace`"
  36. errorLine1=" : new ParcelableColorSpace(bitmap.getColorSpace());"
  37. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
  38. <location
  39. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/BitmapUtil.java"
  40. line="58"
  41. column="27"/>
  42. </issue>
  43. <issue
  44. id="NewApi"
  45. message="Call requires API level 31 (current min is 26): `android.graphics.Bitmap#getHardwareBuffer`"
  46. errorLine1=" bundle.putParcelable(KEY_BUFFER, bitmap.getHardwareBuffer());"
  47. errorLine2=" ~~~~~~~~~~~~~~~~~">
  48. <location
  49. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/BitmapUtil.java"
  50. line="61"
  51. column="49"/>
  52. </issue>
  53. <issue
  54. id="NewApi"
  55. message="Cast from `ParcelableColorSpace` to `Parcelable` requires API level 31 (current min is 26)"
  56. errorLine1=" bundle.putParcelable(KEY_COLOR_SPACE, colorSpace);"
  57. errorLine2=" ~~~~~~~~~~">
  58. <location
  59. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/BitmapUtil.java"
  60. line="62"
  61. column="47"/>
  62. </issue>
  63. <issue
  64. id="NewApi"
  65. message="Call requires API level 29 (current min is 26): `android.graphics.Bitmap#wrapHardwareBuffer`"
  66. errorLine1=" return Bitmap.wrapHardwareBuffer(Objects.requireNonNull(buffer),"
  67. errorLine2=" ~~~~~~~~~~~~~~~~~~">
  68. <location
  69. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/BitmapUtil.java"
  70. line="84"
  71. column="23"/>
  72. </issue>
  73. <issue
  74. id="NewApi"
  75. message="Call requires API level 31 (current min is 26): `android.graphics.ParcelableColorSpace#getColorSpace`"
  76. errorLine1=" colorSpace.getColorSpace());"
  77. errorLine2=" ~~~~~~~~~~~~~">
  78. <location
  79. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/BitmapUtil.java"
  80. line="85"
  81. column="28"/>
  82. </issue>
  83. <issue
  84. id="NewApi"
  85. message="Call requires API level 29 (current min is 26): `new android.view.SurfaceControl.Transaction`"
  86. errorLine1=" final SurfaceControl.Transaction tx = new SurfaceControl.Transaction();"
  87. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  88. <location
  89. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/PipSurfaceTransactionHelper.java"
  90. line="122"
  91. column="47"/>
  92. </issue>
  93. <issue
  94. id="NewApi"
  95. message="Call requires API level 29 (current min is 26): `new android.util.ArraySet`"
  96. errorLine1=" mPluginActions = new ArraySet&lt;>(mSharedPrefs.getStringSet(PLUGIN_ACTIONS, null));"
  97. errorLine2=" ~~~~~~~~~~~~~~">
  98. <location
  99. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/PluginPrefs.java"
  100. line="41"
  101. column="26"/>
  102. </issue>
  103. <issue
  104. id="NewApi"
  105. message="Call requires API level 29 (current min is 26): `new android.util.ArraySet`"
  106. errorLine1=" return new ArraySet&lt;>(mPluginActions);"
  107. errorLine2=" ~~~~~~~~~~~~~~">
  108. <location
  109. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/PluginPrefs.java"
  110. line="45"
  111. column="16"/>
  112. </issue>
  113. <issue
  114. id="NewApi"
  115. message="Call requires API level 28 (current min is 26): `android.graphics.Bitmap#createBitmap`"
  116. errorLine1=" return Bitmap.createBitmap(picture);"
  117. errorLine2=" ~~~~~~~~~~~~">
  118. <location
  119. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/RecentsTransition.java"
  120. line="113"
  121. column="23"/>
  122. </issue>
  123. <issue
  124. id="NewApi"
  125. message="Call requires API level 29 (current min is 26): `new android.view.SurfaceControl.Builder`"
  126. errorLine1=" mSurface = new SurfaceControl.Builder()"
  127. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
  128. <location
  129. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  130. line="116"
  131. column="24"/>
  132. </issue>
  133. <issue
  134. id="NewApi"
  135. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Builder#setName`"
  136. errorLine1=" .setName(&quot;Transition Unrotate&quot;)"
  137. errorLine2=" ~~~~~~~">
  138. <location
  139. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  140. line="117"
  141. column="22"/>
  142. </issue>
  143. <issue
  144. id="NewApi"
  145. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Builder#setParent`"
  146. errorLine1=" .setParent(parent)"
  147. errorLine2=" ~~~~~~~~~">
  148. <location
  149. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  150. line="119"
  151. column="22"/>
  152. </issue>
  153. <issue
  154. id="NewApi"
  155. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Builder#build`"
  156. errorLine1=" .build();"
  157. errorLine2=" ~~~~~">
  158. <location
  159. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  160. line="120"
  161. column="22"/>
  162. </issue>
  163. <issue
  164. id="NewApi"
  165. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#reparent`"
  166. errorLine1=" t.reparent(child, mSurface);"
  167. errorLine2=" ~~~~~~~~">
  168. <location
  169. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  170. line="137"
  171. column="15"/>
  172. </issue>
  173. <issue
  174. id="NewApi"
  175. message="Call requires API level 29 (current min is 26): `new android.view.SurfaceControl.Transaction`"
  176. errorLine1=" SurfaceControl.Transaction t = new SurfaceControl.Transaction();"
  177. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  178. <location
  179. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  180. line="143"
  181. column="44"/>
  182. </issue>
  183. <issue
  184. id="NewApi"
  185. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#reparent`"
  186. errorLine1=" t.reparent(mRotateChildren.get(i), rootLeash);"
  187. errorLine2=" ~~~~~~~~">
  188. <location
  189. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  190. line="145"
  191. column="19"/>
  192. </issue>
  193. <issue
  194. id="NewApi"
  195. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#apply`"
  196. errorLine1=" t.apply();"
  197. errorLine2=" ~~~~~">
  198. <location
  199. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  200. line="148"
  201. column="15"/>
  202. </issue>
  203. <issue
  204. id="NewApi"
  205. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setLayer`"
  206. errorLine1=" t.setLayer(counterLauncher.mSurface, launcherLayer);"
  207. errorLine2=" ~~~~~~~~">
  208. <location
  209. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  210. line="200"
  211. column="27"/>
  212. </issue>
  213. <issue
  214. id="NewApi"
  215. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setLayer`"
  216. errorLine1=" t.setLayer(counterLauncher.mSurface, info.getChanges().size() * 3);"
  217. errorLine2=" ~~~~~~~~">
  218. <location
  219. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  220. line="206"
  221. column="27"/>
  222. </issue>
  223. <issue
  224. id="NewApi"
  225. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setLayer`"
  226. errorLine1=" t.setLayer(leash, info.getChanges().size() * 3 - i);"
  227. errorLine2=" ~~~~~~~~">
  228. <location
  229. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  230. line="216"
  231. column="31"/>
  232. </issue>
  233. <issue
  234. id="NewApi"
  235. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setAlpha`"
  236. errorLine1=" t.setAlpha(wallpapersCompat[i].leash.getSurfaceControl(), 1.f);"
  237. errorLine2=" ~~~~~~~~">
  238. <location
  239. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  240. line="223"
  241. column="27"/>
  242. </issue>
  243. <issue
  244. id="NewApi"
  245. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setLayer`"
  246. errorLine1=" t.setLayer(counterWallpaper.mSurface, -1);"
  247. errorLine2=" ~~~~~~~~">
  248. <location
  249. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  250. line="233"
  251. column="31"/>
  252. </issue>
  253. <issue
  254. id="NewApi"
  255. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#apply`"
  256. errorLine1=" t.apply();"
  257. errorLine2=" ~~~~~">
  258. <location
  259. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationAdapterCompat.java"
  260. line="238"
  261. column="19"/>
  262. </issue>
  263. <issue
  264. id="NewApi"
  265. message="Field requires API level 29 (current min is 26): `android.app.ActivityManager.RunningTaskInfo#taskId`"
  266. errorLine1=" taskId = change.getTaskInfo() != null ? change.getTaskInfo().taskId : -1;"
  267. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  268. <location
  269. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java"
  270. line="101"
  271. column="49"/>
  272. </issue>
  273. <issue
  274. id="NewApi"
  275. message="Field requires API level 29 (current min is 26): `android.app.ActivityManager.RunningTaskInfo#isRunning`"
  276. errorLine1=" isNotInRecents = !change.getTaskInfo().isRunning;"
  277. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  278. <location
  279. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java"
  280. line="116"
  281. column="31"/>
  282. </issue>
  283. <issue
  284. id="NewApi"
  285. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl#release`"
  286. errorLine1=" leash.mSurfaceControl.release();"
  287. errorLine2=" ~~~~~~~">
  288. <location
  289. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java"
  290. line="159"
  291. column="31"/>
  292. </issue>
  293. <issue
  294. id="NewApi"
  295. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl#release`"
  296. errorLine1=" mStartLeash.release();"
  297. errorLine2=" ~~~~~~~">
  298. <location
  299. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteAnimationTargetCompat.java"
  300. line="161"
  301. column="25"/>
  302. </issue>
  303. <issue
  304. id="NewApi"
  305. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setLayer`"
  306. errorLine1=" t.setLayer(change.getLeash(), info.getChanges().size() * 3 - i);"
  307. errorLine2=" ~~~~~~~~">
  308. <location
  309. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteTransitionCompat.java"
  310. line="97"
  311. column="27"/>
  312. </issue>
  313. <issue
  314. id="NewApi"
  315. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setAlpha`"
  316. errorLine1=" t.setAlpha(wallpapers[i].leash.mSurfaceControl, 1);"
  317. errorLine2=" ~~~~~~~~">
  318. <location
  319. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteTransitionCompat.java"
  320. line="105"
  321. column="23"/>
  322. </issue>
  323. <issue
  324. id="NewApi"
  325. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#apply`"
  326. errorLine1=" t.apply();"
  327. errorLine2=" ~~~~~">
  328. <location
  329. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/RemoteTransitionCompat.java"
  330. line="107"
  331. column="19"/>
  332. </issue>
  333. <issue
  334. id="NewApi"
  335. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl#isValid`"
  336. errorLine1=" return mSurfaceControl != null &amp;&amp; mSurfaceControl.isValid();"
  337. errorLine2=" ~~~~~~~">
  338. <location
  339. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceControlCompat.java"
  340. line="41"
  341. column="59"/>
  342. </issue>
  343. <issue
  344. id="NewApi"
  345. message="Call requires API level R (current min is 26): `android.view.SurfaceControlViewHost#release`"
  346. errorLine1=" mSurfaceControlViewHost.release();"
  347. errorLine2=" ~~~~~~~">
  348. <location
  349. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestReceiver.java"
  350. line="61"
  351. column="37"/>
  352. </issue>
  353. <issue
  354. id="NewApi"
  355. message="Call requires API level R (current min is 26): `android.view.SurfaceView#getHostToken`"
  356. errorLine1=" bundle.putBinder(KEY_HOST_TOKEN, surfaceView.getHostToken());"
  357. errorLine2=" ~~~~~~~~~~~~">
  358. <location
  359. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestUtils.java"
  360. line="34"
  361. column="54"/>
  362. </issue>
  363. <issue
  364. id="NewApi"
  365. message="Call requires API level 29 (current min is 26): `android.view.SurfaceView#getSurfaceControl`"
  366. errorLine1=" bundle.putParcelable(KEY_SURFACE_CONTROL, surfaceView.getSurfaceControl());"
  367. errorLine2=" ~~~~~~~~~~~~~~~~~">
  368. <location
  369. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestUtils.java"
  370. line="35"
  371. column="63"/>
  372. </issue>
  373. <issue
  374. id="NewApi"
  375. message="Cast from `SurfaceControl` to `Parcelable` requires API level 29 (current min is 26)"
  376. errorLine1=" bundle.putParcelable(KEY_SURFACE_CONTROL, surfaceView.getSurfaceControl());"
  377. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
  378. <location
  379. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestUtils.java"
  380. line="35"
  381. column="51"/>
  382. </issue>
  383. <issue
  384. id="NewApi"
  385. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl#isValid`"
  386. errorLine1=" if (mBarrierSurfaceControl == null || !mBarrierSurfaceControl.isValid()) {"
  387. errorLine2=" ~~~~~~~">
  388. <location
  389. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SyncRtSurfaceTransactionApplierCompat.java"
  390. line="107"
  391. column="79"/>
  392. </issue>
  393. <issue
  394. id="NewApi"
  395. message="Call requires API level 29 (current min is 26): `new android.view.SurfaceControl.Transaction`"
  396. errorLine1=" Transaction t = new Transaction();"
  397. errorLine2=" ~~~~~~~~~~~~~~~">
  398. <location
  399. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SyncRtSurfaceTransactionApplierCompat.java"
  400. line="113"
  401. column="33"/>
  402. </issue>
  403. <issue
  404. id="NewApi"
  405. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#apply`"
  406. errorLine1=" t.apply();"
  407. errorLine2=" ~~~~~">
  408. <location
  409. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SyncRtSurfaceTransactionApplierCompat.java"
  410. line="122"
  411. column="23"/>
  412. </issue>
  413. <issue
  414. id="NewApi"
  415. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setAlpha`"
  416. errorLine1=" t.setAlpha(surface, alpha);"
  417. errorLine2=" ~~~~~~~~">
  418. <location
  419. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SyncRtSurfaceTransactionApplierCompat.java"
  420. line="361"
  421. column="19"/>
  422. </issue>
  423. <issue
  424. id="NewApi"
  425. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setLayer`"
  426. errorLine1=" t.setLayer(surface, layer);"
  427. errorLine2=" ~~~~~~~~">
  428. <location
  429. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/SyncRtSurfaceTransactionApplierCompat.java"
  430. line="364"
  431. column="19"/>
  432. </issue>
  433. <issue
  434. id="NewApi"
  435. message="Field requires API level 29 (current min is 26): `android.app.TaskInfo#origActivity`"
  436. errorLine1=" ComponentName sourceComponent = t.origActivity != null"
  437. errorLine2=" ~~~~~~~~~~~~~~">
  438. <location
  439. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java"
  440. line="73"
  441. column="45"/>
  442. </issue>
  443. <issue
  444. id="NewApi"
  445. message="Field requires API level 29 (current min is 26): `android.app.TaskInfo#origActivity`"
  446. errorLine1=" ? t.origActivity"
  447. errorLine2=" ~~~~~~~~~~~~~~">
  448. <location
  449. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java"
  450. line="75"
  451. column="23"/>
  452. </issue>
  453. <issue
  454. id="NewApi"
  455. message="Field requires API level 29 (current min is 26): `android.app.TaskInfo#taskId`"
  456. errorLine1=" this.id = t.taskId;"
  457. errorLine2=" ~~~~~~~~">
  458. <location
  459. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java"
  460. line="78"
  461. column="23"/>
  462. </issue>
  463. <issue
  464. id="NewApi"
  465. message="Field requires API level 29 (current min is 26): `android.app.TaskInfo#baseIntent`"
  466. errorLine1=" this.baseIntent = t.baseIntent;"
  467. errorLine2=" ~~~~~~~~~~~~">
  468. <location
  469. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java"
  470. line="80"
  471. column="31"/>
  472. </issue>
  473. <issue
  474. id="NewApi"
  475. message="Field requires API level 29 (current min is 26): `android.app.TaskInfo#taskDescription`"
  476. errorLine1=" ActivityManager.TaskDescription td = taskInfo.taskDescription;"
  477. errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
  478. <location
  479. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java"
  480. line="242"
  481. column="46"/>
  482. </issue>
  483. <issue
  484. id="NewApi"
  485. message="Field requires API level 29 (current min is 26): `android.app.TaskInfo#topActivity`"
  486. errorLine1=" taskInfo.supportsSplitScreenMultiWindow, isLocked, td, taskInfo.topActivity);"
  487. errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
  488. <location
  489. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/Task.java"
  490. line="246"
  491. column="72"/>
  492. </issue>
  493. <issue
  494. id="NewApi"
  495. message="Field requires API level 29 (current min is 26): `android.app.TaskInfo#topActivity`"
  496. errorLine1=" return info.topActivity;"
  497. errorLine2=" ~~~~~~~~~~~~~~~~">
  498. <location
  499. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TaskInfoCompat.java"
  500. line="49"
  501. column="16"/>
  502. </issue>
  503. <issue
  504. id="NewApi"
  505. message="Field requires API level 29 (current min is 26): `android.app.TaskInfo#taskDescription`"
  506. errorLine1=" return info.taskDescription;"
  507. errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
  508. <location
  509. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TaskInfoCompat.java"
  510. line="53"
  511. column="16"/>
  512. </issue>
  513. <issue
  514. id="NewApi"
  515. message="Field requires API level 29 (current min is 26): `android.app.ActivityManager.RunningTaskInfo#taskId`"
  516. errorLine1=" onTaskMovedToFront(taskInfo.taskId);"
  517. errorLine2=" ~~~~~~~~~~~~~~~">
  518. <location
  519. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TaskStackChangeListener.java"
  520. line="70"
  521. column="28"/>
  522. </issue>
  523. <issue
  524. id="NewApi"
  525. message="Call requires API level 29 (current min is 26): `android.graphics.Bitmap#wrapHardwareBuffer`"
  526. errorLine1=" thumbnail = Bitmap.wrapHardwareBuffer(buffer, snapshot.getColorSpace());"
  527. errorLine2=" ~~~~~~~~~~~~~~~~~~">
  528. <location
  529. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ThumbnailData.java"
  530. line="69"
  531. column="36"/>
  532. </issue>
  533. <issue
  534. id="NewApi"
  535. message="Call requires API level 31 (current min is 26): `android.app.WallpaperColors#getColorHints`"
  536. errorLine1=" (colors.getColorHints() &amp; WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0;"
  537. errorLine2=" ~~~~~~~~~~~~~">
  538. <location
  539. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TonalCompat.java"
  540. line="42"
  541. column="29"/>
  542. </issue>
  543. <issue
  544. id="NewApi"
  545. message="Call requires API level 29 (current min is 26): `new android.view.SurfaceControl.Transaction`"
  546. errorLine1=" mTransaction = new Transaction();"
  547. errorLine2=" ~~~~~~~~~~~~~~~">
  548. <location
  549. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TransactionCompat.java"
  550. line="31"
  551. column="24"/>
  552. </issue>
  553. <issue
  554. id="NewApi"
  555. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#apply`"
  556. errorLine1=" mTransaction.apply();"
  557. errorLine2=" ~~~~~">
  558. <location
  559. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TransactionCompat.java"
  560. line="35"
  561. column="22"/>
  562. </issue>
  563. <issue
  564. id="NewApi"
  565. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setBufferSize`"
  566. errorLine1=" mTransaction.setBufferSize(surfaceControl.mSurfaceControl, w, h);"
  567. errorLine2=" ~~~~~~~~~~~~~">
  568. <location
  569. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TransactionCompat.java"
  570. line="54"
  571. column="22"/>
  572. </issue>
  573. <issue
  574. id="NewApi"
  575. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setLayer`"
  576. errorLine1=" mTransaction.setLayer(surfaceControl.mSurfaceControl, z);"
  577. errorLine2=" ~~~~~~~~">
  578. <location
  579. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TransactionCompat.java"
  580. line="59"
  581. column="22"/>
  582. </issue>
  583. <issue
  584. id="NewApi"
  585. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#setAlpha`"
  586. errorLine1=" mTransaction.setAlpha(surfaceControl.mSurfaceControl, alpha);"
  587. errorLine2=" ~~~~~~~~">
  588. <location
  589. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/TransactionCompat.java"
  590. line="64"
  591. column="22"/>
  592. </issue>
  593. <issue
  594. id="NewApi"
  595. message="Call requires API level 29 (current min is 26): `android.view.SurfaceControl.Transaction#apply`"
  596. errorLine1=" t.apply();"
  597. errorLine2=" ~~~~~">
  598. <location
  599. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ViewRootImplCompat.java"
  600. line="64"
  601. column="15"/>
  602. </issue>
  603. <issue
  604. id="NewApi"
  605. message="Call requires API level 29 (current min is 26): `android.content.res.Resources#getFloat`"
  606. errorLine1=" .getFloat(Resources.getSystem().getIdentifier("
  607. errorLine2=" ~~~~~~~~">
  608. <location
  609. file="frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/WallpaperManagerCompat.java"
  610. line="46"
  611. column="18"/>
  612. </issue>
  613. </issues>