commit | 6876b4fb9082fe525d6edb59a834bb0e7c35ca39 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Jun 03 14:25:56 2013 -0700 |
committer | Romain Guy <romainguy@google.com> | Mon Jun 03 15:40:52 2013 -0700 |
tree | e02ad5259b543cd8824e3d2bf5c90ae971cab875 | |
parent | 20914c6ae93b5f4f86c014a0a38f6501e1c59e6c [diff] |
Replace HashMap with ArrayMap to remove unnecessary allocations This change also fixes a race condition. If multiple UI threads are used in a single process, RelativeLayouts could end up using the same nodes in different windows, causing mayhem and headaches. Change-Id: I9ba4a0bf05d44e1a1e7a82443d40c500c657cd7a