commit | 6e6896c3fd8139779ff8d51a99ee06667e849d87 | [log] [tgz] |
---|---|---|
author | Pratyush More <pratyushmore@google.com> | Tue Feb 27 18:38:29 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 07 01:34:09 2024 +0000 |
tree | d15696575d6d520ea70d61dcacf6975faa9029aa | |
parent | aabc212e1639bbe4df516bdfb82e2ecdbabbcb0d [diff] |
Throw exception when trying to instantiate a change log token with no record types. Note that this does mean that any developers that were previously requesting change logs without specifying record types will no longer be able to. However, the APK doesn't allow this anyway, so it is likely ok. Test: atest CtsHealthFitnessDeviceTestCases:HealthConnectChangeLogsTests#testGetChangeLogToken_emptyRecordTypes_throwsException Bug: 327332482 (cherry picked from commit cd228a3e21c9c8df83bc3851736d6f4e19956e46) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c47251b82509773719b4b797d508b03216ab0e71) Merged-In: I5dd49131fbe5eaa8bc138be03550f7fc739786d9 Change-Id: I5dd49131fbe5eaa8bc138be03550f7fc739786d9