Hopefully fix media scanner issues

Please see http://forum.xda-developers.com/showpost.php?p=44370296&postcount=357
For inspiration

Change-Id: I71573992c565e9f32b2256f8ef017cc8ac49b285
Webkit: squashed unsupported reverts

Summary:
Reverts of the following due to lacking necessary
HTML5 video frame capture support in external/webkit
Directly conflicts with D600

Revert "webkit: Manage video playing state properly when browser goes to background"

This reverts commit 4106f9a668d64946e780fdeb965d7e6163d9ddec.

Revert "webkit: Fix for unable to play youtube in browser"

This reverts commit ef6d6e3c6e7e5b183c2b5a435561343f96cd740e.

Revert "webkit: Support video frame capture for HTML5 canvas use cases"

This reverts commit 24b5e6dc76ccc1ff464e4b3a794a52d43120224e.

Test Plan: Play youtube in stock browser

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D601

Conflicts:
	core/java/android/webkit/HTML5VideoViewProxy.java

Change-Id: I7162ecd0c090233e5bbc0bcf83785a230fd815af
Signed-off-by: DHOMD <DHO@dho.im>
core: fix arithmetic on a pointer to void

Summary:
Use char* instead of void* for this
pointer arithmetic. Fixes the following:

error: arithmetic on a pointer to void
buf = buf + offset;
      ~~~ ^

Test Plan: verify

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D594
OBEX: Implementation of MAP and PBAP client role on Bluedroid

Implementation changes to support MAP client and PBAP client
role on Bluedroid stack.

Change-Id: Ic75e0bea10b8420aef928d868cc25acd769d5620
CRs-fixed: 530274
Fix various c++11 narrowing violations

Summary:
The best fix for these narrowing
violations is to use static casting

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D641
Fix App Ops permission mapping structure.

The entry to map the post notification op
to a permission is at the wrong offset
within the sOpPerms array. This patch
fixes the issue.

Change-Id: Ia241d274e484b6a24edbfb17b87bb887b61f1ee1
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>