Revert "Revert "Revert "Compatibility work around for bad graphics driver dependency."""

This reverts commit 673cc94f7f1a2f2546e1d5d04d3d2866dc93f19f.
Revert "Add setOrientation back"

This reverts commit 921f2b51fd021423f49ca934fd72feaff4e66727.
Revert "Legacy compatibility: add missing dummy functions"

This reverts commit 9266b89d8a153f5714ed433839c48be23d05e59e.
Use CM patch for camera
https://github.com/CyanogenMod/android_frameworks_native/commit/c9d395f986e2a271b3bce497449da270bcaf38b2