Add size validation and trimming for ShortcutInfo objects. Introduces a maximum allowed size for a single ShortcutInfo object when parcelled (32KB). A new method `validateShortcutSize` is added to check this limit by writing the ShortcutInfo to a Parcel and checking its data size. If the shortcut size exceeds the limit, try to trim the Person array and Extras to get it under the limit. If the size still exceeds after trimming, drop the shortcut. This validation is applied to setDynamicShortcuts, addDynamicShortcuts, updateShortcuts, and pushDynamicShortcut to prevent apps from creating excessively large shortcuts. Bug: 451602444 Test: atest ShortcutSizeValidationTest Flag: EXEMPT CVE_FIX Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:ab0a589a99bb3c45ad5d61753d5a8c7411197a5d Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:aa5944dcc52afa195ec0bf3e4894bd544733378b Merged-In: Icf99a408d16fb6b4e04b2e5014eff556e5948f95 Change-Id: Icf99a408d16fb6b4e04b2e5014eff556e5948f95