)]}'
{
  "commit": "43a924bb8a7c0518d0a5a66c34bb25e488ef901c",
  "tree": "83936e50405e6c9108139e0e978d6bf26e7a0666",
  "parents": [
    "f9f2f9ce72cbc6d2f442e54838c5e5e7ce549527"
  ],
  "author": {
    "name": "hyunjae.choi",
    "email": "hyunjae.choi@lge.com",
    "time": "Thu Jul 25 17:20:34 2024 +0000"
  },
  "committer": {
    "name": "Rachit Jain",
    "email": "jainrachit@google.com",
    "time": "Fri Jul 26 20:36:01 2024 +0000"
  },
  "message": "Support secondary_user_on_secondary_display in CtsDisplayTestCases\n\nsecondary_user_on_secondary_display is for background users that have\naccess to UI on assigned displays (a.k.a. visible background users) on\ndevices that have config_multiuserVisibleBackgroundUsers enabled. The\nmain use case is Automotive\u0027s multi-display Whole Cabin experience where\npassengers (modeled as visible background users) can interact with the\ndisplay in front of them concurrently with the driver (modeled as the\ncurrent user) interacting with driver\u0027s display.\n\nThe testRefreshRateSwitchOnSecondaryDisplay test uses overlay displays\nto verify refresh rate changes on secondary displays. In automotive\nmulti-user multi-display environments, each public display must be\nassigned to a user to avoid exceptions. However, overlay displays are\nmanaged by the global setting (Settings.Global.OVERLAY_DISPLAY_DEVICES)\nand are always assigned to the current user. As a result, visible\nbackground users are not supported on overlay displays. Due to this\nlimitation, we need to skip the testRefreshRateSwitchOnSecondaryDisplay\ntest for visible background users.\n\nTest fixes include:\n- Add secondary_user_on_secondary_display option.\n- Add the user option to the executing shell command.\n- Skip testRefreshRateSwitchOnSecondaryDisplay for the visible\nbackground users (Automotive passengers).\n\nBug: 352630509\nTest: atest CtsDisplayTestCases\nTest: atest --user-type secondary_user CtsDisplayTestCases\nTest: atest --user-type secondary_user_on_secondary_display CtsDisplayTestCases\nChange-Id: Ie289c52a036e6f733abbeb146a0f18f9fc2501d8\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "02be20b1ef9f1cc706e6ee6ed08df74fb3939465",
      "old_mode": 33188,
      "old_path": "tests/tests/display/Android.bp",
      "new_id": "e82abbf36e22df79341624bbe3deefea2f0ff532",
      "new_mode": 33188,
      "new_path": "tests/tests/display/Android.bp"
    },
    {
      "type": "modify",
      "old_id": "7c7cb94864d1fd89458261b3fd90a163b8e7c415",
      "old_mode": 33188,
      "old_path": "tests/tests/display/AndroidTest.xml",
      "new_id": "3a27d37d2d8bcbb31f835ee40dab21411303097c",
      "new_mode": 33188,
      "new_path": "tests/tests/display/AndroidTest.xml"
    },
    {
      "type": "modify",
      "old_id": "4fddf6087e918d1702f956c46421196915e0ac0d",
      "old_mode": 33188,
      "old_path": "tests/tests/display/src/android/display/cts/DisplayTest.java",
      "new_id": "b9ec56e3620cee74a076ca7157a70b004dbf73bd",
      "new_mode": 33188,
      "new_path": "tests/tests/display/src/android/display/cts/DisplayTest.java"
    },
    {
      "type": "modify",
      "old_id": "6d783c77dc56fb0ae9f36f36234adc535ded737e",
      "old_mode": 33188,
      "old_path": "tests/tests/display/src/android/display/cts/VirtualDisplayTest.java",
      "new_id": "986e86cb319e6bdf52904193fc071bc781f188a0",
      "new_mode": 33188,
      "new_path": "tests/tests/display/src/android/display/cts/VirtualDisplayTest.java"
    }
  ]
}
