commit | 41d2452e4163df531046bab552faceeae45243dc | [log] [tgz] |
---|---|---|
author | Brian Muramatsu <btmura@android.com> | Tue Dec 28 16:01:07 2010 -0800 |
committer | Brian Muramatsu <btmura@android.com> | Mon Jan 10 16:40:53 2011 -0800 |
tree | 51c10b495665cd10852c00a87e4c8bd00262b176 | |
parent | 8326d122c51d9eff2c9e8b08463851c7c50f5f26 [diff] |
Fix InsetDrawableTest#testGetOpacity Bug 2397630 BitmapDrawableTest#testMutate changed the constant state which affected InsetDrawableTest#testGetOpacity. However, the test wasn't doing much of anything, so I've changed it a bit to call setAlpha and check getOpacity a couple times. This test shouldn't have a problem with constant state, because it calls setAlpha before checking anything. Change-Id: I1cca5cb18107a647e40c13a7c88c905856436595