Applied PDroid 1.51 for 4.2.1 patches with fixes/concurrency updates
Moved locking to be outside the database transactions to avoid deadlocks. Not sure why the deadlocks were happening (write locks were not being correctly released?), but the restructured locking does fix them. It unfortunately also extends the duration of the write locks.
Fix null pointer exception caused by PDroid code: not all intents have actions, so doing an '.equals' would cause a null pointer exception.
Merge branch 'cm-10.1' into cm-10.1-pdroid
Remove references which are now invalid due to Telephony libraries being moved
Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_frameworks_base into cm-10.1-pdroid
Added PrivacyActivityManagerService.java (removed from opt/telephony)
Added additional logging (intended to be temporary) to help with debugging PDroid.
Substantially modified/rewrote privacy settings check code in Instrumentation.java
General code tidy-up for PDroid
Merge branch 'cm-10.1' into cm-10.1-pdroid
Merge branch 'cm-10.1-pdroid' into cm-10.1-pdroid-codetidy
Added GPL v3 headers to the files as per the licence shown on the Google Code page
Merge branch 'cm-10.1-pdroid' into cm-10.1-pdroid-codetidy
Merge branch 'cm-10.1' into cm-10.1-openpdroid
Merge branch 'cm-10.1-openpdroid' of git://github.com/wsot/platform_frameworks_base into cm-10.1