camerawrapper: better logging

Change-Id: I81eea1765773a1c477bdd70cf8cf57f0c3f4eb36
DisplayColorCalibration: get minValue from the sysfs node

* 35 is a good default minimum

Change-Id: Icc7703ff3ae7cac8501df5f2abef0c6e4f98d434
Update Dotcase to support 24-hour time

Displays 12- or 24-hour time per standard system setting

Change-Id: I387e12a299fb4eb52d69d402be18d70947c9a5aa
Dotcase: Fix brightness sticking

The UEventObserver sees the case open, so it turns on the screen and
kills the Dotcase activity. But, then the BroadcastReceiver sees the
screen turn on, so it tries to launch the Dotcase "stuff," including
setting the brightness to max. Sometimes, the order in which these
things happen causes the brightness to get set to max after the
activity is killed, and it gets stuck there until the case is closed
and opened again.

Make the switchState a class variable and, in the BroadcastReceiver,
check whether the case is open before starting any of the Dotcase
stuff.

Change-Id: I08b40bff766d8af6e467bf5be36f770566cee31f
Dotcase: don't animate activity appearing

Change-Id: Id0696f93978c74078e6ab0f98bbbc2b0232fbff1
Dotcase: Define static colors to prevent reuse glitches

Change-Id: I9e4eb3e51df537d32e06cfcbb9d538caefe51b06
Dotcase: Improve exception-handling

Don't catch generic Exception, and log exceptions as errors. Also,
remove try-catch blocks around things which seemingly do not throw any
exception.

Change-Id: I333be1f178fec12f38caded0c176c93f6ed710b1
Dotcase: Only check for new notifications before displaying them

Rather than check for new notifications on every redraw, only check at
the beginning of each animation cycle (i.e., right before they're
about to be shown). This reduces notification checks from about twice
per second to about every 3 seconds.

Change-Id: Ia53de5bc24f3e41d33bfe5bc7c0f56b284e4d3e8
Merge "camerawrapper: better logging" into cm-11.0
Merge "Dotcase: Improve exception-handling" into cm-11.0
Merge "Dotcase: Only check for new notifications before displaying them" into cm-11.0
Dotcase: Add another missed exception

Change-Id: I510100de4fc71af24060fc3e6ddf19c47520b7a7
media_codecs: Remove mpeg4/h263/h264 ffmpeg entries

Change-Id: I60bc2be88ae3a7be5d5c86ad901ccc41de079929
Merge "media_codecs: Remove mpeg4/h263/h264 ffmpeg entries" into cm-11.0
Merge "DisplayColorCalibration: get minValue from the sysfs node" into cm-11.0
Dotcase: add permission to end calls

Without this permission, rejecting calls fails (crash)

Change-Id: I39128158da27feb18d8e2d200ca1d9fe2c782f7f
Dotcase: fix typo in snooze sprite

One pixel was 21 instead of 12

Change-Id: Ic27863ea5dd62c9f48de917368ad29bdd849e009
Dotcase: do not timeout if ringing or alarm

Change-Id: I88b54163c3c971e9b3d1103e5b911305c5581874
Merge "Dotcase: do not timeout if ringing or alarm" into cm-11.0
Dotcase: Add proximity detection to ignore touches in pocket

Change-Id: Ib0126c384e5947118be6750892ea45b8a4334496