Go to file
Jeff Brown 686f62fcaf Replace Vector _grow/_shrink checks with assert.
On review of the code, _grow and _shrink are checking for conditions
that cannot happen and that don't even really make sense.  For
example, if _shrink is called with where + amount > mCount then
this is really bad, however the check only considered the case
when where >= mCount and then it would arbitrarily choose a new
value for where.  Huh?

As it happens, the callers are correctly validating the
arguments before passing them down to these methods so we can
get rid of this code.

Change-Id: I921852dba8997065bb0e9cac733e82028d14afcd
2011-07-14 04:11:22 -07:00
cmds Remove the simulator target from all makefiles. 2011-07-11 22:12:16 -07:00
include Remove some #ifdef HAVE_ANDROID_OS that were needed for the simulator build 2011-07-13 19:45:44 -04:00
libs Replace Vector _grow/_shrink checks with assert. 2011-07-14 04:11:22 -07:00
opengl Merge "Remove the simulator target from all makefiles. Bug: 5010576" 2011-07-12 12:15:07 -07:00
services/surfaceflinger take the state transform into account with h/w composer hal 2011-07-12 14:51:45 -07:00
MODULE_LICENSE_APACHE2
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00