Make sure we return consistent ActionMode instances

This CL ensures that we return consistent ActionMode
instances to modes started via the framework APIs. There
were two problems:

- We needed to let the Callback know about the original
  wrapped mode.
- Seems to be an issue around equals() with the wrapper.
  We've now moved to a loop with explicit == check, as an
  easy fix.

BUG: 17642552
Change-Id: I1cd865a6b0f7f596af3c24ce962cbbb3e4fbca21
2 files changed