NetStats: Don't update stats when screen is off

Also moved registering of broadcast receiver and settings
observer to onAttachedToWindow() and unregistering to
onDetachedFromWindow() to avoid these being leaked.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkStatsView.java

Change-Id: I077515a0550a8268b2ec4ed09b5bf0f42315733d
Merge "NetStats: Don't update stats when screen is off" into jb-mr2
Network stats: use number formating based on android code

Uses logic from Formatter.formatFileSize

Change-Id: I9008df0e90fbaf8d733cfd853dc1ef6160cf67f5
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Active Display: Add always show pocket mode. [1/2]

Currently pocket mode is either on or off and when no
notifications are available it doesn't turn on.  This
adds an option to allow active display to come on even
when no notifications are available, showing the time
and allowing the user to unlock the device.

PS2:
Add unlock icon to center of the ring.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java

Change-Id: I14043256e0202b497c0e9f3c64aa796c1b2becac
Merge remote-tracking branch 'aokp/jb-mr2' into aokp-mr2
Fix build

This fixes building SystemUI after merging this: http://gerrit.aokp.co/#/c/13236/

Change-Id: I52ee26c09ff0fd8d6dab88dfb436794e9319d13d
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge remote-tracking branch 'aokp/jb-mr2' into aokp-mr2