diff options
| author | 2010-07-27 15:18:38 -0700 | |
|---|---|---|
| committer | 2010-07-28 14:45:14 -0700 | |
| commit | c78a8079740bfcad2e4439ccd74da52f6dc7fae2 (patch) | |
| tree | 32980045a8a1e809f407a9c7c9ba51d283bfd004 /opengl/libagl/TextureObjectManager.cpp | |
| parent | 7feab3470156c7864fe159115d575c16f0974493 (diff) | |
Fix getTempContainerId()
getTempContainerId() would always return "smdl2tmp1" unless you had
MAX_CONTAINERS number of SD card SDKs, because of an array sort that put
all the zeros at the beginning.
Switch from trying to find a hole in the series of numbers to just
getting a number that's one larger than the previous. This reduces the
algorithmic complexity and the memory requirements.
Bug: 2832580
Change-Id: I32dc75ef5a6645f594ea47b032d7402e8860ebcd
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions