Skip to content
Snippets Groups Projects
Commit b841a2b8 authored by Pavel Grafov's avatar Pavel Grafov Committed by Android (Google) Code Review
Browse files

Merge "Stopgap fix for stack exhaustion during boot." into main

parents 4de2fbdd 225219c3
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,10 @@ public class PolicySizeVerifier {
* Throw if Parcelable contains any string that's too long to be serialized.
*/
public static void enforceMaxParcelableFieldsLength(Parcelable parcelable) {
// TODO(b/326662716) rework to protect against infinite recursion.
if (true) {
return;
}
Class<?> clazz = parcelable.getClass();
Field[] fields = clazz.getDeclaredFields();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment