commit | 13f7fe763b9ad52fc27f21ed923c46b9555a321f | [log] [tgz] |
---|---|---|
author | Henrik B Andersson <henrikb.andersson@sonymobile.com> | Fri Oct 26 15:15:15 2012 +0200 |
committer | James Dong <jdong@google.com> | Thu Jan 24 12:49:26 2013 -0800 |
tree | 5bcd3cda2da2ab8a1e2f191113fe01c2f5f63664 | |
parent | 2a330d6cbb25f0cdd6208aeee53b4a3b88dae3b0 [diff] |
Fix for not ending up in an eternal loop in DrmManager. In the original code a random number is used to get try to find an empty slot in the list of free DRM id's. When you reached the limit of 0xfff id's you ended up in an eternal loop causing ANRs. Updated by James Dong <jdong@google.com>. Change-Id: I70176cc3f770223c4a8060f9739fe2bc03a703d9