View: Adjust primary and secondary buttons behaviour

BUTTON_PRIMARY and BUTTON_SECONDARY are used by external mouses, touchpad controls and,
partially, by stylus. This patchset returns the expected behaviour for this buttons.
Now, both buttons perform the same as a finger touch (for click and long click).
When Android is controlled under a mouse or touchpad  the user experience should look like to
a normal pc experience:

- left click: simple click (no long press)
- rigth click: context menu (long press or context menu, but not a simple click)

Change-Id: Ife7feea230e9e7795f267f9a42d66af7b809f66f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Fix typo in AlertController.java

If whichButtons is BIT_BUTTON_NEGATIVE, the negative button should be centered.

Change-Id: Ia34daf8c80704204a4f1cf71c642114005559d5d
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
Change logo act