Fix for NULL pointer exception issue in
ChooseTypeAndAccountActivity.java which is causing android
runtime error which eventually blocking monkey events.

Change-Id: I36afb79eb69a5acdc4c1805dcb6b8c6434899c2e
Signed-off-by: Kiran Kumar Raparthy <krapar@codeaurora.org>
Mixed delete/delete[].

Error found via valgrind.
Switch frameworks/base over from @hidden Charsets to public StandardCharsets.

Bug: 3484927
Change-Id: I5d136d2ee629588538602766a182ae14ce5fc63c