Revert "Remove opaque check in GLRenderer when preparing dirty region."

This reverts commit 00dc95ffbfa8415cc661192c4f695493af4625c1.
Display options: allow configuration of wake on plug behavior (2/2)

The PowerManager now checks Settings.Global.WAKE_WHEN_PLUGGED_OR_UNPLUGGED
to determine wake-on-plug behavior instead of using the configuration option
config_unplugTurnsOnScreen.

PS 2: Re-added config_unplugTurnsOnScreen, which is used as the default value
for the new setting.

PS 3: Fix white-space error

PS 4: Fix white-space error

Change-Id: I062794828831a2b6faf4293579103d2251f1bdd0
Fix RIL_UNSOL_CDMA_PRL_CHANGED constant typo (1/2)

Change-Id: I6eef9350fa62857cb5fd133a385cb09150cb6d1b
Signal strength: add more checks to signal strength,

so it doesn't fall under the range of poor signal and automatically
assumes a gsm signal, actually checks if all values are true and not
valid then pass it on to lte or gsm. This fixes cases when gsm signal
is not valid and lte is active. When lte is active and shows a really
weak and gsm signal is not avalible due some broken vendor ril or
just running cdma lte and a few others senario creates this issue.

Change-Id: If9c5dc1a969605cd1eeb9218de02a9f8dbbd3ae1