)]}'
{
  "commit": "6894ba3da6da99eb0ef63d95bf1b19080d302eda",
  "tree": "4cf04ee44589a4fa08b0584fc4506c7eaa2a3e8a",
  "parents": [
    "04a5d5dd09104732850f3bc504d44b54bc9cc891"
  ],
  "author": {
    "name": "Hao Dong",
    "email": "spdonghao@google.com",
    "time": "Fri Oct 11 03:54:02 2024 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Wed Feb 05 21:19:54 2025 -0800"
  },
  "message": "Fix settings activity showing background bp when\ncreateConfirmDeviceCredentialIntent() API is used.\n\nIf the app uses createConfirmDeviceCredentialIntent(),\nConfirmDeviceCredentialActivity is the top activity which has \"settings\"\nas package name. Then if the app switches to settings, since previous\nforeground check only checks package name, biometric prompt isn\u0027t\ncancelled. This CL adds a class name check for this case.\n\nFlag: EXEMPT bugfix\nBug: 339532378\nTest: manual test with sample app on emulator\nTest: atest BiometricActivityTests#testConfirmDeviceCredentialActivityDismiss_whenSwitchToSettings\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:daddef9cd99ab401c4bb0b63ec434c08d549a97d)\nMerged-In: I722e285cd15869799b9fadd2324014cf3c6d44ad\nChange-Id: I722e285cd15869799b9fadd2324014cf3c6d44ad\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2e40f6096ccb4a05802b300ea1a2adebe3fcc624",
      "old_mode": 33188,
      "old_path": "core/java/android/hardware/biometrics/BiometricPrompt.java",
      "new_id": "71d1015cd6e3b5f11226fbd876bb049ab153b625",
      "new_mode": 33188,
      "new_path": "core/java/android/hardware/biometrics/BiometricPrompt.java"
    },
    {
      "type": "modify",
      "old_id": "02aad1dc4b4b0f139ef6d2dded3715628183070c",
      "old_mode": 33188,
      "old_path": "core/java/android/hardware/biometrics/PromptInfo.java",
      "new_id": "f1fce7290f994cfeb8f2999df5174473d18004c3",
      "new_mode": 33188,
      "new_path": "core/java/android/hardware/biometrics/PromptInfo.java"
    },
    {
      "type": "modify",
      "old_id": "7f706859abb3cc4b357147cf8519c712558b7f7a",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/biometrics/AuthContainerView.java",
      "new_id": "c95a1b6ba46a86ca5a0bf67f7f8652db30b83fe9",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/biometrics/AuthContainerView.java"
    },
    {
      "type": "modify",
      "old_id": "57f1928fe54543085fd94443aeb754fbc0bf48d4",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/biometrics/AuthController.java",
      "new_id": "ec132e4dec501cb8739387fea2c28cf4adfa8228",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/biometrics/AuthController.java"
    },
    {
      "type": "modify",
      "old_id": "b6eabfa76e3658790ce0ec48dd9cc1e6a3ac5c55",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/biometrics/AuthDialog.java",
      "new_id": "d589608490add0c55a0d900b94e7ba62f4be15b0",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/biometrics/AuthDialog.java"
    }
  ]
}
