Clock Font: Adding more styles

Change-Id: I7ff863fba0c33409f6cad28df5bf3003db2aae0f
Base: Allow hiding notification icons

When long pressing a notification, add another menu
item which allows the user to hide the notification icon
(but keep the actual notification in the dropdown).

This is meant for applications which have services running
in the statusbar which the user is aware of, so right now
we hide the icon by the package.

Change-Id: I60c8705e1fd02d7b26dbe90fe39a3b40febdbfcc

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
[1/2] Add battery level around unlock ring

PS2:
added missing change in KeyguardSelectorView.java

Change-Id: Ia4dbc2335657c096c34349ec67c4adfec0aeb91b

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/Keyguard/src/com/android/keyguard/KeyguardSelectorView.java
frameworks/base: translation - RU

Fixed minor translation issues

Change-Id: I4fb6418ba3142150580d4150d03a632e72aa437f
frameworks/base - translation: RU

I8023933cb064429aef84e4a027645108e18d2940
I9a80cd8b7d4cc6205328f737a3d202eacd1b2dd4

Removed extra lines

Change-Id: If59d7b801f8003f2983d3596f2a314620926d0d2
Frameworks: SlimRecents make it RTL/LTR aware + scaling + lefty mode (1/3)

This commit adds several features:

- Make it fully RTL/LTR aware. Means it shows up on the oposite side if an RTL
  language was choosen. As well icon, textposition, menu etc follows RTL direction.
  So like AOSP guidelines suggest it is fully compatible now for all locals

- Add scaling mode....user can scale the overall size down (especially for the
  user with stock dpi requested)

- Add lefty mode. Recent panel shows up on the left edge instead of the right edge

As well this commit unlinks the construct of the card with the update of the content. This
reduces one update call on construct and gives a tight faster loading.

Change-Id: I4c5105f86644a08da81861851da7e0e347c26244

Conflicts:
	core/java/android/provider/Settings.java
Revert "services: don't clear wallpaper when SystemUI"

This reverts commit fb2840a98928be2fd02ec5ac98a16c8a21506c0c.

Change-Id: Ib23bd688f690c51afe2115cc7497d3cf508a091e
Frameworks: add favorite mode

Allow user to set favorite apps in recent task list. User can set them with
longpress on the app icon. This apps are always shown in the task list above
the first default one (on phone the first 2 which always show the last 2 active
tasks). Favorites are shown in order of last time they were called. Favorites
settings are saved permanently till the user removed it from favorites.

As well this commit fixes the wrong icon if an package has more then one
activity to call (eg Google+ and Google Photo).

Using for all now a unique identifier.

Change-Id: I3cd7dd6600389c73e678f382377b441612902833
Frameworks: SlimPie only preload recent on button press down

and not like it was before on showing up pie for better peformance

Change-Id: I87ec56649a5bc8979225036b9eb8e823de587185
Add people lookup settings keys

Change-Id: I2ff9bb7684d04f4f9b640939c7db269873aa3308
Framework: Notify User Interaction on Unlock

If user is unlocking or opening an app...
	Notify so the screen timeout is
	reset.

PS2: Dependency

Change-Id: Id605aa1ee01adfb1a1f043eaac1627eb524442d8
Frameworks: More Keyguard Colors (1/2)

No content resolver?  Colors EVERYWHERE!!!

PS2: Code clean-up && fix avatar
	text color && set avatar
	border color (AOSP was never
	using their own color value
	either <_< so fix that as well

Change-Id: Ie4daaf1588cd2bbff8871c2beea862f2a15faef7

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
SystemUI: Notification Reminder - Update Reminder

Add button to notification to update reminder
	time once it fires (to let it fire again).

Change-Id: Ie369bf4c478553a0c792308949b053790c001b61
frameworks: including build.prop property "ro.config.vc_music_vol_steps"
to control music steps amount (like it is
with "ro.config.vc_call_vol_steps" and call volume steps)

Change-Id: I81a3188919482383e015974818e7042d521ac679
Service: Keep services needing restart.

Services needing restart after crash include:
1) service with 'persistent == true'
2) service explicitly reuqired restart by returning START_STICKY
   or START_REDELIVER_INTENT from onStartCommand

Change-Id: Idc490a1ceb1e151a3eb7f34b7b4cf8058a06f34a
Signed-off-by: Liangcai Li <liangcail@nvidia.com>
Tethering: fix NPE when retrieving active interfaces

When in airplane mode getActiveNetworkInfo() may return null.

Change-Id: Icba37abb51b9378c8af73d9f6587e04c588dd85e
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
SystemUI: Update Ringer tile code.

Fixed the issue when ringer tile shows not correct ringer state.

Change-Id: Iddf7122d66a86caa032b026919857ccb0fa33497
VolumePanel: Don't force navigation bar

It always annoyed me that when changing volume while in immersive the navigation bar is shown.

Change-Id: I82bff7d22b741950ef26eaf092eb6272ab9ed7ff
NsdService does not clean up after exiting clients

When a client of the NsdService exits, NsdService should
clean up the requests it has sent to the mDNS daemon:
cancel any pending resource-discovery and resource-resolution
queries, and remove any services registered by this client.

If this isn't done, several bad things happen. The daemon will
continue to run unnecessarily, will report service discoveries
that can't be forwarded on to the client, and will continue to
advertise service ports for an application which is no longer
running until the device is rebooted (mDNS pollution).

Bug: 9801184
Change-Id: I0aa7311480322aefcff16f902fbbf34f50985d38
NULL previous background bitmap upon changing wallpaper

Step to reproduce it on Nexus 10 with 4.4.2(KOT49H):
1. Long press on home screen.
2. Choose wallpaper from Wallpapers.
3. Select new wallpaper and set it.
4. Repeat step 1-3 several times.
See black background instead of the wallpaper.

There are two binder objects who hold reference to the
ImageWallpaper$DrawableEngine, which keeps the big chunk
bitmap from being recycled.
One is WallpaperService$IWallpaperEngineWrapper. The client
references went away slowly, maybe several minutes after
changing wallpaper. Then the finalizer has to been executed
to GC it.
The other one is WallpaperService$Engine$BaseIWindow. Don't
know who still held reference to it even after the window
was removed.
Anyway, let the bitmap be GCed first.

Change-Id: I27f6971a3edd26472b69e59b542b27fd7c8e7b90
Signed-off-by: jshe32X<jianchunx.shen@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>