Skip to content
Snippets Groups Projects
Commit 225219c3 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Stopgap fix for stack exhaustion during boot.

Bug: 326662716
Test: TH
Change-Id: I7aecd120efe1c8975577921d46d397e0aa1855e9
parent 27ad7ae6
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