Make Calculator compatible with API 21+

For copying from result view and pasting into text view,
we should use context menu for pre-M platforms,
and use action mode for M and later platforms.

Bug: 28008144
Change-Id: Iae6e4d4f36c9f46f597f9e95cfdc45a1fc8a4186
3 files changed