commit | 61722016377e992b5e2e63d5886684f8ac195c7e | [log] [tgz] |
---|---|---|
author | Rhed Jao <rhedjao@google.com> | Fri Jul 30 15:52:05 2021 +0800 |
committer | Rhed Jao <rhedjao@google.com> | Mon Aug 02 19:44:04 2021 +0800 |
tree | 7ef4ea2a499484564d28a59de5c331c078ce081a | |
parent | 22500563c1a693a14410a421d002be42b5fe71bd [diff] |
DO NOT MERGE Apply a maximum char count to the load label api The system is overwhelmed by an enormous label string returned by the load label api. This cl truncates the label string if it exceeds the maximum safe length. Also update the max safe label length to 1000 characters, which is enough. Bug: 67013844 Test: atest PackageManagerTest Change-Id: Ia4d768cc93a47cfb8b6f7c4b6dc73abd801809bd Merged-in: Ia4d768cc93a47cfb8b6f7c4b6dc73abd801809bd