1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.4.0-alpha01" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha01"> 3 4 <issue 5 id="NewApi" 6 message="Class requires API level 34 (current min is 31): `android.app.AppOpsManager.OnOpNotedListener`" 7 errorLine1=" AppOpsManager.OnOpNotedListener," 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/v31/AllLightHistoricalPackageOpsLiveData.kt" 11 line="46" 12 column="5"/> 13 </issue> 14 15 <issue 16 id="NewApi" 17 message="Call requires API level 33 (current min is 30): `getIconId`" 18 errorLine1=" .setIcon(args.getIconId())" 19 errorLine2=" ~~~~~~~~~"> 20 <location 21 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 22 line="504" 23 column="31"/> 24 </issue> 25 26 <issue 27 id="NewApi" 28 message="Call requires API level 33 (current min is 30): `getMessageId`" 29 errorLine1=" .setMessage(args.getMessageId())" 30 errorLine2=" ~~~~~~~~~~~~"> 31 <location 32 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 33 line="505" 34 column="34"/> 35 </issue> 36 37 <issue 38 id="NewApi" 39 message="Call requires API level 33 (current min is 30): `getNegativeButtonTextId`" 40 errorLine1=" .setNegativeButton(args.getNegativeButtonTextId()," 41 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 42 <location 43 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 44 line="509" 45 column="41"/> 46 </issue> 47 48 <issue 49 id="NewApi" 50 message="Call requires API level 33 (current min is 30): `getPositiveButtonTextId`" 51 errorLine1=" .setPositiveButton(args.getPositiveButtonTextId()," 52 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 53 <location 54 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 55 line="513" 56 column="41"/> 57 </issue> 58 59 <issue 60 id="NewApi" 61 message="Call requires API level 33 (current min is 30): `getSetOneTime`" 62 errorLine1=" mViewModel.requestChange(args.getSetOneTime()," 63 errorLine2=" ~~~~~~~~~~~~~"> 64 <location 65 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 66 line="515" 67 column="59"/> 68 </issue> 69 70 <issue 71 id="NewApi" 72 message="Call requires API level 33 (current min is 30): `getChangeRequest`" 73 errorLine1=" args.getChangeRequest()," 74 errorLine2=" ~~~~~~~~~~~~~~~~"> 75 <location 76 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 77 line="518" 78 column="42"/> 79 </issue> 80 81 <issue 82 id="NewApi" 83 message="Call requires API level 33 (current min is 30): `getButtonClicked`" 84 errorLine1=" args.getButtonClicked());" 85 errorLine2=" ~~~~~~~~~~~~~~~~"> 86 <location 87 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 88 line="519" 89 column="42"/> 90 </issue> 91 92 <issue 93 id="NewApi" 94 message="Call requires API level 33 (current min is 30): `getTitleId`" 95 errorLine1=" if (args.getTitleId() != 0) {" 96 errorLine2=" ~~~~~~~~~~"> 97 <location 98 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 99 line="521" 100 column="18"/> 101 </issue> 102 103 <issue 104 id="NewApi" 105 message="Call requires API level 33 (current min is 30): `getTitleId`" 106 errorLine1=" b.setTitle(args.getTitleId());" 107 errorLine2=" ~~~~~~~~~~"> 108 <location 109 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionFragment.java" 110 line="522" 111 column="29"/> 112 </issue> 113 114 <issue 115 id="NewApi" 116 message="Call requires API level 33 (current min is 30): `getIconId`" 117 errorLine1=" .setIcon(args.getIconId())" 118 errorLine2=" ~~~~~~~~~"> 119 <location 120 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 121 line="709" 122 column="31"/> 123 </issue> 124 125 <issue 126 id="NewApi" 127 message="Call requires API level 33 (current min is 30): `getMessageId`" 128 errorLine1=" .setMessage(args.getMessageId())" 129 errorLine2=" ~~~~~~~~~~~~"> 130 <location 131 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 132 line="710" 133 column="34"/> 134 </issue> 135 136 <issue 137 id="NewApi" 138 message="Call requires API level 33 (current min is 30): `getNegativeButtonTextId`" 139 errorLine1=" .setNegativeButton(args.getNegativeButtonTextId()," 140 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 141 <location 142 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 143 line="714" 144 column="41"/> 145 </issue> 146 147 <issue 148 id="NewApi" 149 message="Call requires API level 33 (current min is 30): `getPositiveButtonTextId`" 150 errorLine1=" .setPositiveButton(args.getPositiveButtonTextId()," 151 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 152 <location 153 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 154 line="718" 155 column="41"/> 156 </issue> 157 158 <issue 159 id="NewApi" 160 message="Call requires API level 33 (current min is 30): `getSetOneTime`" 161 errorLine1=" mViewModel.requestChange(args.getSetOneTime()," 162 errorLine2=" ~~~~~~~~~~~~~"> 163 <location 164 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 165 line="720" 166 column="59"/> 167 </issue> 168 169 <issue 170 id="NewApi" 171 message="Call requires API level 33 (current min is 30): `getButtonClicked`" 172 errorLine1=" args.getChangeRequest(), args.getButtonClicked());" 173 errorLine2=" ~~~~~~~~~~~~~~~~"> 174 <location 175 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 176 line="722" 177 column="67"/> 178 </issue> 179 180 <issue 181 id="NewApi" 182 message="Call requires API level 33 (current min is 30): `getChangeRequest`" 183 errorLine1=" args.getChangeRequest(), args.getButtonClicked());" 184 errorLine2=" ~~~~~~~~~~~~~~~~"> 185 <location 186 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 187 line="722" 188 column="42"/> 189 </issue> 190 191 <issue 192 id="NewApi" 193 message="Call requires API level 33 (current min is 30): `getTitleId`" 194 errorLine1=" if (args.getTitleId() != 0) {" 195 errorLine2=" ~~~~~~~~~~"> 196 <location 197 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 198 line="724" 199 column="18"/> 200 </issue> 201 202 <issue 203 id="NewApi" 204 message="Call requires API level 33 (current min is 30): `getTitleId`" 205 errorLine1=" b.setTitle(args.getTitleId());" 206 errorLine2=" ~~~~~~~~~~"> 207 <location 208 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/AppPermissionFragment.java" 209 line="725" 210 column="29"/> 211 </issue> 212 213 <issue 214 id="NewApi" 215 message="Call requires API level 33 (current min is 30): `android.hardware.SensorPrivacyManager#addSensorPrivacyListener`" 216 errorLine1=" mSensorPrivacyManager.addSensorPrivacyListener(mPrivacyChangedListener);" 217 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionsFragment.java" 220 line="159" 221 column="35"/> 222 </issue> 223 224 <issue 225 id="NewApi" 226 message="Call requires API level 33 (current min is 30): `android.hardware.SensorPrivacyManager#removeSensorPrivacyListener`" 227 errorLine1=" mSensorPrivacyManager.removeSensorPrivacyListener(mPrivacyChangedListener);" 228 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 229 <location 230 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/AppPermissionsFragment.java" 231 line="367" 232 column="35"/> 233 </issue> 234 235 <issue 236 id="NewApi" 237 message="Call requires API level 33 (current min is 30): `getIconId`" 238 errorLine1=" .setIcon(args.getIconId())" 239 errorLine2=" ~~~~~~~~~"> 240 <location 241 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 242 line="463" 243 column="31"/> 244 </issue> 245 246 <issue 247 id="NewApi" 248 message="Call requires API level 33 (current min is 30): `getMessageId`" 249 errorLine1=" .setMessage(args.getMessageId())" 250 errorLine2=" ~~~~~~~~~~~~"> 251 <location 252 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 253 line="464" 254 column="34"/> 255 </issue> 256 257 <issue 258 id="NewApi" 259 message="Call requires API level 33 (current min is 30): `getNegativeButtonTextId`" 260 errorLine1=" .setNegativeButton(args.getNegativeButtonTextId()," 261 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 262 <location 263 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 264 line="468" 265 column="41"/> 266 </issue> 267 268 <issue 269 id="NewApi" 270 message="Call requires API level 33 (current min is 30): `getPositiveButtonTextId`" 271 errorLine1=" .setPositiveButton(args.getPositiveButtonTextId()," 272 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 273 <location 274 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 275 line="472" 276 column="41"/> 277 </issue> 278 279 <issue 280 id="NewApi" 281 message="Call requires API level 33 (current min is 30): `getSetOneTime`" 282 errorLine1=" mViewModel.requestChange(args.getSetOneTime()," 283 errorLine2=" ~~~~~~~~~~~~~"> 284 <location 285 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 286 line="474" 287 column="59"/> 288 </issue> 289 290 <issue 291 id="NewApi" 292 message="Call requires API level 33 (current min is 30): `getButtonClicked`" 293 errorLine1=" args.getChangeRequest(), args.getButtonClicked());" 294 errorLine2=" ~~~~~~~~~~~~~~~~"> 295 <location 296 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 297 line="476" 298 column="67"/> 299 </issue> 300 301 <issue 302 id="NewApi" 303 message="Call requires API level 33 (current min is 30): `getChangeRequest`" 304 errorLine1=" args.getChangeRequest(), args.getButtonClicked());" 305 errorLine2=" ~~~~~~~~~~~~~~~~"> 306 <location 307 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 308 line="476" 309 column="42"/> 310 </issue> 311 312 <issue 313 id="NewApi" 314 message="Call requires API level 33 (current min is 30): `getTitleId`" 315 errorLine1=" if (args.getTitleId() != 0) {" 316 errorLine2=" ~~~~~~~~~~"> 317 <location 318 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 319 line="478" 320 column="18"/> 321 </issue> 322 323 <issue 324 id="NewApi" 325 message="Call requires API level 33 (current min is 30): `getTitleId`" 326 errorLine1=" b.setTitle(args.getTitleId());" 327 errorLine2=" ~~~~~~~~~~"> 328 <location 329 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/AutoAppPermissionFragment.java" 330 line="479" 331 column="29"/> 332 </issue> 333 334 <issue 335 id="NewApi" 336 message="Call requires API level 34 (current min is 30): `android.health.connect.HealthConnectManager#isHealthPermission`" 337 errorLine1=" .filter { permission -> isHealthPermission(activity, permission) }" 338 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 339 <location 340 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/GrantPermissionsViewModel.kt" 341 line="1059" 342 column="45"/> 343 </issue> 344 345 <issue 346 id="NewApi" 347 message="Class requires API level 31 (current min is 30): `android.apphibernation.AppHibernationManager`" 348 errorLine1=" userContext.getSystemService(APP_HIBERNATION_SERVICE) as AppHibernationManager" 349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 350 <location 351 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/HibernatedPackagesLiveData.kt" 352 line="48" 353 column="74"/> 354 </issue> 355 356 <issue 357 id="NewApi" 358 message="Call requires API level 31 (current min is 30): `android.apphibernation.AppHibernationManager#isHibernatingForUser`" 359 errorLine1=" if (hibernationManager.isHibernatingForUser(pkg.packageName)) {" 360 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 361 <location 362 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/HibernatedPackagesLiveData.kt" 363 line="51" 364 column="44"/> 365 </issue> 366 367 <issue 368 id="NewApi" 369 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterIssue.Action#getSuccessMessage`" 370 errorLine1=" var successMessage = action.successMessage" 371 errorLine2=" ~~~~~~~~~~~~~~"> 372 <location 373 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/IssueCardAnimator.kt" 374 line="47" 375 column="37"/> 376 </issue> 377 378 <issue 379 id="NewApi" 380 message="Call requires API level 31 (current min is 30): `android.os.UserManager#isCloneProfile`" 381 errorLine1=" if (userManager.isCloneProfile) {" 382 errorLine2=" ~~~~~~~~~~~~~~"> 383 <location 384 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/KotlinUtils.kt" 385 line="653" 386 column="29"/> 387 </issue> 388 389 <issue 390 id="NewApi" 391 message="Call requires API level 33 (current min is 30): `android.app.Activity#startActivityForResultAsUser`" 392 errorLine1=" activity.startActivityForResultAsUser(pickerIntent, requestCode, user)" 393 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 394 <location 395 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/KotlinUtils.kt" 396 line="662" 397 column="18"/> 398 </issue> 399 400 <issue 401 id="NewApi" 402 message="Call requires API level 34 (current min is 30): `android.health.connect.HealthConnectManager#getHealthPermissions`" 403 errorLine1=" val permissions = HealthConnectManager.getHealthPermissions(context)" 404 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 405 <location 406 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/KotlinUtils.kt" 407 line="1689" 408 column="48"/> 409 </issue> 410 411 <issue 412 id="NewApi" 413 message="Call requires API level 31 (current min is 30): `android.content.pm.Attribution#getLabel`" 414 errorLine1=" attributions?.forEach { attributionTagToLabel[it.tag] = it.label }" 415 errorLine2=" ~~~~~"> 416 <location 417 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo.kt" 418 line="140" 419 column="72"/> 420 </issue> 421 422 <issue 423 id="NewApi" 424 message="Call requires API level 31 (current min is 30): `android.content.pm.Attribution#getTag`" 425 errorLine1=" attributions?.forEach { attributionTagToLabel[it.tag] = it.label }" 426 errorLine2=" ~~~"> 427 <location 428 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/LightPackageInfo.kt" 429 line="140" 430 column="62"/> 431 </issue> 432 433 <issue 434 id="NewApi" 435 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterIssue#getActions`" 436 errorLine1=" issue.actions" 437 errorLine2=" ~~~~~~~"> 438 <location 439 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 440 line="288" 441 column="19"/> 442 </issue> 443 444 <issue 445 id="NewApi" 446 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterIssue.Action#getSuccessMessage`" 447 errorLine1=" .filter { it.isInFlight && !it.successMessage.isNullOrEmpty() }" 448 errorLine2=" ~~~~~~~~~~~~~~"> 449 <location 450 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 451 line="291" 452 column="48"/> 453 </issue> 454 455 <issue 456 id="NewApi" 457 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterIssue.Action#isInFlight`" 458 errorLine1=" .filter { it.isInFlight && !it.successMessage.isNullOrEmpty() }" 459 errorLine2=" ~~~~~~~~~~"> 460 <location 461 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 462 line="291" 463 column="30"/> 464 </issue> 465 466 <issue 467 id="NewApi" 468 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterIssue#getId`" 469 errorLine1=" .map { issue.id to it.id }" 470 errorLine2=" ~~"> 471 <location 472 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 473 line="292" 474 column="30"/> 475 </issue> 476 477 <issue 478 id="NewApi" 479 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterIssue.Action#getId`" 480 errorLine1=" .map { issue.id to it.id }" 481 errorLine2=" ~~"> 482 <location 483 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 484 line="292" 485 column="39"/> 486 </issue> 487 488 <issue 489 id="NewApi" 490 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterData#getStatus`" 491 errorLine1=" status.refreshStatus == SafetyCenterStatus.REFRESH_STATUS_FULL_RESCAN_IN_PROGRESS" 492 errorLine2=" ~~~~~~"> 493 <location 494 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 495 line="298" 496 column="5"/> 497 </issue> 498 499 <issue 500 id="NewApi" 501 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterStatus#getRefreshStatus`" 502 errorLine1=" status.refreshStatus == SafetyCenterStatus.REFRESH_STATUS_FULL_RESCAN_IN_PROGRESS" 503 errorLine2=" ~~~~~~~~~~~~~"> 504 <location 505 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 506 line="298" 507 column="12"/> 508 </issue> 509 510 <issue 511 id="NewApi" 512 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterIssue#getId`" 513 errorLine1=" allResolvableIssues.map { it.id }.toSet()" 514 errorLine2=" ~~"> 515 <location 516 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 517 line="301" 518 column="34"/> 519 </issue> 520 521 <issue 522 id="NewApi" 523 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterData#getIssues`" 524 errorLine1=" issues.asSequence()" 525 errorLine2=" ~~~~~~"> 526 <location 527 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/LiveSafetyCenterViewModel.kt" 528 line="308" 529 column="13"/> 530 </issue> 531 532 <issue 533 id="NewApi" 534 message="Field requires API level 33 (current min is 30): `Companion`" 535 errorLine1=" MoreIssuesCardPreference.TAG," 536 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 537 <location 538 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/MoreIssuesCardAnimator.kt" 539 line="110" 540 column="21"/> 541 </issue> 542 543 <issue 544 id="NewApi" 545 message="Field requires API level 33 (current min is 30): `getTAG`" 546 errorLine1=" MoreIssuesCardPreference.TAG," 547 errorLine2=" ~~~"> 548 <location 549 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/MoreIssuesCardAnimator.kt" 550 line="110" 551 column="46"/> 552 </issue> 553 554 <issue 555 id="NewApi" 556 message="Call requires API level 33 (current min is 30): `android.hardware.SensorPrivacyManager#addSensorPrivacyListener`" 557 errorLine1=" mSensorPrivacyManager.addSensorPrivacyListener(mPrivacyChangedListener);" 558 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 559 <location 560 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/PermissionAppsFragment.java" 561 line="114" 562 column="35"/> 563 </issue> 564 565 <issue 566 id="NewApi" 567 message="Call requires API level 33 (current min is 30): `android.hardware.SensorPrivacyManager#removeSensorPrivacyListener`" 568 errorLine1=" mSensorPrivacyManager.removeSensorPrivacyListener(mPrivacyChangedListener);" 569 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 570 <location 571 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/PermissionAppsFragment.java" 572 line="365" 573 column="35"/> 574 </issue> 575 576 <issue 577 id="NewApi" 578 message="Call requires API level 31 (current min is 30): `SensorStatusLiveData`" 579 errorLine1=" lazy(LazyThreadSafetyMode.NONE) { SensorStatusLiveData() }" 580 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 581 <location 582 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/PermissionAppsViewModel.kt" 583 line="100" 584 column="43"/> 585 </issue> 586 587 <issue 588 id="NewApi" 589 message="Call requires API level 31 (current min is 30): `android.permission.AdminPermissionControlParams#getGranteePackageName`" 590 errorLine1=" callerPackageName, params.getGranteePackageName(), params.getPermission()," 591 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 592 <location 593 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/PermissionControllerServiceImpl.java" 594 line="521" 595 column="43"/> 596 </issue> 597 598 <issue 599 id="NewApi" 600 message="Call requires API level 31 (current min is 30): `android.permission.AdminPermissionControlParams#getPermission`" 601 errorLine1=" callerPackageName, params.getGranteePackageName(), params.getPermission()," 602 errorLine2=" ~~~~~~~~~~~~~"> 603 <location 604 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/PermissionControllerServiceImpl.java" 605 line="521" 606 column="75"/> 607 </issue> 608 609 <issue 610 id="NewApi" 611 message="Call requires API level 31 (current min is 30): `android.permission.AdminPermissionControlParams#canAdminGrantSensorsPermissions`" 612 errorLine1=" params.getGrantState(), params.canAdminGrantSensorsPermissions())));" 613 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 614 <location 615 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/PermissionControllerServiceImpl.java" 616 line="522" 617 column="48"/> 618 </issue> 619 620 <issue 621 id="NewApi" 622 message="Call requires API level 31 (current min is 30): `android.permission.AdminPermissionControlParams#getGrantState`" 623 errorLine1=" params.getGrantState(), params.canAdminGrantSensorsPermissions())));" 624 errorLine2=" ~~~~~~~~~~~~~"> 625 <location 626 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/PermissionControllerServiceImpl.java" 627 line="522" 628 column="24"/> 629 </issue> 630 631 <issue 632 id="NewApi" 633 message="Class requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterManager`" 634 errorLine1=" context.getSystemService(SafetyCenterManager.class);" 635 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 636 <location 637 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/SafetyCenterBackgroundRefreshJobService.java" 638 line="85" 639 column="42"/> 640 </issue> 641 642 <issue 643 id="NewApi" 644 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterManager#isSafetyCenterEnabled`" 645 errorLine1=" if (!safetyCenterManager.isSafetyCenterEnabled()) {" 646 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 647 <location 648 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/SafetyCenterBackgroundRefreshJobService.java" 649 line="97" 650 column="34"/> 651 </issue> 652 653 <issue 654 id="NewApi" 655 message="Class requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterManager`" 656 errorLine1=" SafetyCenterManager safetyCenterManager = this.getSystemService(SafetyCenterManager.class);" 657 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 658 <location 659 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/SafetyCenterBackgroundRefreshJobService.java" 660 line="141" 661 column="73"/> 662 </issue> 663 664 <issue 665 id="NewApi" 666 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterManager#isSafetyCenterEnabled`" 667 errorLine1=" if (!safetyCenterManager.isSafetyCenterEnabled()) {" 668 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> 669 <location 670 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/SafetyCenterBackgroundRefreshJobService.java" 671 line="146" 672 column="34"/> 673 </issue> 674 675 <issue 676 id="NewApi" 677 message="Call requires API level 33 (current min is 30): `android.safetycenter.SafetyCenterManager#refreshSafetySources`" 678 errorLine1=" safetyCenterManager.refreshSafetySources(getRefreshReason());" 679 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 680 <location 681 file="packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/SafetyCenterBackgroundRefreshJobService.java" 682 line="152" 683 column="29"/> 684 </issue> 685 686</issues>