diff options
| author | 2023-11-01 20:12:27 +0000 | |
|---|---|---|
| committer | 2023-11-01 20:12:27 +0000 | |
| commit | a75630988dcfed1e4e7b9514f8900793ad70ea8b (patch) | |
| tree | ad83d6494f8b1ffb49730d01379e9cf315731bdf /libs/gui/ConsumerBase.cpp | |
| parent | fb3686cc9d019a8dd240b6f48c175412477c13dc (diff) | |
Enlarge the buffer for otapreopt commands.
If a command exceeds the size of the buffer, the return value of
`std::cin.getline` implicitly casts to false, halting the execution.
Logs in a bug report shows that some commands can be longer than 1000
chars because there can be a lot of split APKs in the CLC.
This change enlarges the buffer to work around this issue. Note that
it's not a proper fix to the issue. Instead, it's a quick change to help
us verify the theory in b/307903002.
Bug: 307903002
Change-Id: I27962ce25182c27f9bbbf4016d76aa3f9997eddc
Test: Presubmit
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions