summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author Yuri Lin <yurilin@google.com> 2025-02-03 17:17:32 -0500
committer Yuri Lin <yurilin@google.com> 2025-02-04 14:59:03 -0500
commit6875f99a68d797ff70a4b224638c67283dfe7ff3 (patch)
tree1002532aaf58707f0a6a3d2afc93057452334c51 /opengl/java
parentef74fc9767570d7d3d89bded8216392c8114acb4 (diff)
Estimate vibration effect size using available parcel data
While we want to avoid reading in vibration effects that are too large (which can cause the XML serialization to fail), serializing directly in the constructor to check the length causes too much heap churn. This change uses the remaining data available in the parcel to estimate the size of the vibration effect, after moving it to the end of the parcel. Flag: android.app.notif_channel_estimate_effect_size Bug: 391908451 Test: heapdump, NotificationChannelTest Change-Id: Ic58addd01721c8a0f358deb8629302a3d57e7673
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions