)]}'
{
  "commit": "b5e0931dcd0745dba4633dce9853114b1ee15a46",
  "tree": "fa49d31710dd1906f5c6ca4c35c69da40d6fa548",
  "parents": [
    "72b7966b06b6aea1bc0f558f655e7510e6d01fc5"
  ],
  "author": {
    "name": "Michal Karpinski",
    "email": "mkarpinski@google.com",
    "time": "Mon Feb 19 13:55:23 2018 +0000"
  },
  "committer": {
    "name": "Bernardo Rufino",
    "email": "brufino@google.com",
    "time": "Thu Feb 22 13:18:02 2018 +0000"
  },
  "message": "Extend XML parser to allow optional requiredFlags attribute\nfor \u003cinclude /\u003e rules in \u003cfull-backup-content\u003e specification\n\nGive an app developer the option to include files based on the\ntransport flags exposed by the transport. This allows conditionally\nincluding files as long as the transport identifies itself as\nfor instance encrypted or device-to-device.\n\nExtend the parsing mechanism to read optional requiredFlags\nattributes, and extend existing structures to encompass\nthat data for BackupAgent to retrieve and act on it\nbased on FullBackupDataOutput#getTransportFlags().\n\n-- Changes in robotests/\n\nThe old version of this CL (that already got reverted) broke our Robolectric\nsuite because it added an inner class to FullBackup and a dependency on it from\nBackupAgent. FullBackup wasn\u0027t being built from Android tree (instead it was in\na prebuilt Robolectric snapshot jar of the framework) but BackupAgent was,\nwhich resulted in not finding the inner class.\n\nSo, also in this CL. Changing our tests to include everything under\nplatform/base/core/java/android/app/backup from Android tree.\n`m -j RunFrameworksServicesRoboTests` is green now\n\nBug: 72484288\nTest: m -j RunFrameworksServicesRoboTests\nTest: runtest frameworks-core -c android.app.backup.FullBackupTest\nTest: make cts -j40 \u0026\u0026 cts-tradefed run cts -m CtsBackupHostTestCases -t android.cts.backup.FullbackupRulesHostSideTest\nChange-Id: Ideaed59f8337257aa6a882ff0ce80c170b17d55e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d36a794ac0468b77c11dcf35c140b8266ea15bf6",
      "old_mode": 33188,
      "old_path": "core/java/android/app/backup/BackupAgent.java",
      "new_id": "d1c957b8fedc6a56d31b45db688ce0a047f2b24d",
      "new_mode": 33188,
      "new_path": "core/java/android/app/backup/BackupAgent.java"
    },
    {
      "type": "modify",
      "old_id": "a5dd5bd30d63171a7a31179dc92341179ac123e6",
      "old_mode": 33188,
      "old_path": "core/java/android/app/backup/FullBackup.java",
      "new_id": "fb1c2d085df6e71f863db134a1e8b727e9dd3dd5",
      "new_mode": 33188,
      "new_path": "core/java/android/app/backup/FullBackup.java"
    },
    {
      "type": "modify",
      "old_id": "bc6fc15db1637ffef2fa2ab8596c7974a3325a27",
      "old_mode": 33188,
      "old_path": "core/tests/coretests/src/android/app/backup/FullBackupTest.java",
      "new_id": "58ee7a783589e3be14a3008ee6412716b67f8c89",
      "new_mode": 33188,
      "new_path": "core/tests/coretests/src/android/app/backup/FullBackupTest.java"
    },
    {
      "type": "modify",
      "old_id": "d825533e92f571e63d9058350f1c8238a21bf52d",
      "old_mode": 33188,
      "old_path": "services/robotests/Android.mk",
      "new_id": "cd8163dd48521ad7d6f31f9ec55c48470f895a3e",
      "new_mode": 33188,
      "new_path": "services/robotests/Android.mk"
    },
    {
      "type": "modify",
      "old_id": "d0e665890b5eb2ef0c09ab040033c3f58340cdcb",
      "old_mode": 33188,
      "old_path": "services/robotests/src/com/android/server/backup/PerformBackupTaskTest.java",
      "new_id": "60704e74f177041e8261ee43f5d47444fec7fd36",
      "new_mode": 33188,
      "new_path": "services/robotests/src/com/android/server/backup/PerformBackupTaskTest.java"
    }
  ]
}
