platform: Fix the gid for the theme manager service

It was mismatched with fs_config, resulting in attribution of the
"-1" gid

Change-Id: Ia6d55af0b39f659da2965f9bc0bda0df5c775ba4
Replace Active Display Icons

MDPI -> HDPI - HDPI -> XHDPI...
Signed-off-by: aways <aways@c-rom.biz>

Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_ad_dismiss_notification_activated.png
	packages/SystemUI/res/drawable-hdpi/ic_ad_dismiss_notification_normal.png
	packages/SystemUI/res/drawable-hdpi/ic_ad_morenotifications.png
	packages/SystemUI/res/drawable-hdpi/ic_handle_notification_normal.png
	packages/SystemUI/res/drawable-xhdpi/ic_ad_dismiss_notification_activated.png
	packages/SystemUI/res/drawable-xhdpi/ic_ad_dismiss_notification_normal.png
	packages/SystemUI/res/drawable-xhdpi/ic_ad_morenotifications.png
	packages/SystemUI/res/drawable-xhdpi/ic_handle_notification_normal.png

Change-Id: Ib05001f3c2dd22e8251b06e60d9cd19d4cb64d66
Replace Active Display Icons

MDPI -> HDPI - HDPI -> XHDPI...
Signed-off-by: aways <aways@c-rom.biz>

Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_ad_dismiss_notification_activated.png
	packages/SystemUI/res/drawable-hdpi/ic_ad_dismiss_notification_normal.png
	packages/SystemUI/res/drawable-hdpi/ic_ad_morenotifications.png
	packages/SystemUI/res/drawable-hdpi/ic_handle_notification_normal.png
	packages/SystemUI/res/drawable-xhdpi/ic_ad_dismiss_notification_activated.png
	packages/SystemUI/res/drawable-xhdpi/ic_ad_dismiss_notification_normal.png
	packages/SystemUI/res/drawable-xhdpi/ic_ad_morenotifications.png
	packages/SystemUI/res/drawable-xhdpi/ic_handle_notification_normal.png

Change-Id: Ib16f90946bee4b75f18bb7934b7ee4125ef31682
fix Typo on OpenGLRenderer (libhwui) Properties

See: http://code.google.com/p/android/issues/detail?id=60165

In file

https://android.googlesource.com/platform/docs/source.android.com/+/master/src/devices/tuning.jd

Line 109 says property is called "texture_cache_flush_rate" however in the code it is called "texture_cache_flushrate". See that in file

https://android.googlesource.com/platform/frameworks/base/+/master/libs/hwui/Properties.h

Change-Id: I4b6aff888608e9d7c9de66421f68114081250b9b
framework-res: Remove gingerbread scrolls

Change-Id: I74dbac134c701c7b0253130191ad4d9e3519b097
FlingTracker can divide by zero and hang StatusBar in an infinite loop

if 2 events have the same timestamp then FlingTracker in PanelView will divide
by zero causing NaNs. the bug is usually triggered by rapid StatusBar up/down
dragging activity and updateCarrierLabelVisibility can then loop indefinitely
looking at NaNs. the user visible symptom is that StatusBar refuses to pull
down and is burning cpu time.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java

Change-Id: I83044d243dcc57d4052e5c95dede7fc972f9db5e
FastScroller: Fix to use appropriate index

Fix FastScroller to use appropriate index to determine the
the position of a section while calculating the y coordinates
of thumb. In case of last section, use totalItemCount to determine
next section position.

Change-Id: I89bfd483949b5c14f85303b50380a73b4a4e635e
Prevent MediaScanner infinite loop with invalid path

including double slash  "/storage/sdcard0/xx//xxx/xxxx"

Change-Id: I112a70c88b5ec662482b79c3151310b9b9b52e40
Fix one wifi and ethernet concurrency bug

enable wifi and connect to a AP while ethernet cable plugged in.
wifi will be teared down.But driver is not stopped.After unplug
ethernet cable.It will failed to auto reconnect wifi.fix it here.

Change-Id: I1b0156cf89f26747ce67ebad2b4138e8d61f30df
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
IntentService: Fix to run with a lower priority flag.

Added extra contructor to start IntentService with a diferent priority.

Change-Id: I4224ca56ae7eee2c099140bf0242be33b8690ad8
Signed-off-by: Gonçalo Ferreira <monxalo@gmail.com>
Prevent EventHub from adding input device twice

When Android first starts up, it scans /dev/input for input devices.
In some rare instances, the EventHub gets another notification that
some device nodes are created. It then proceeds to add the same
input device again. This causes the system to get two events per
touch or key stroke.

This adds a check to prevent adding the same device if the operation
is triggerd by inotify.

Change-Id: I68b02594f1c7f14067611735db0b3763378ec7ea
Signed-off-by: Daniel Leung <daniel.leung@linux.intel.com>
Camera: Adds support for meta data callbacks

- This change adds a new type of callback
  that will be called when there are pending
  meta data notifications.

Change-Id: I84f5cbafe4f023c7b0efa9ec8620756b0eaa428d
Fix issue #10226007: Reset apps restores most of the changed settings...

...to original but not all modified ones

Very stupid mistakes in messing up the iteration when pruning op
entries.

Change-Id: Ie536b9095f797fcd2b86c9a386a72746796430d1
Fixup panelview

Change-Id: I37ca951e607f6830ffa41f78fe65bfef23bb89ac
Revert "PhoneWindowManager: Delay setting updates during window animation."

This reverts commit 245db68fc3c3034fd964fac1803bbb930f85c9c1.
Active display: Add sunlight mode. [1/2]

Change-Id: I541e74c5a1a7e6ce5028ab00cf998bba1d4fe0f9
Delay hiding systemui by 100ms
When disabling the keyguard, the systemui visibility is
changed and can occur after we hide it so delaying this
a bit resolves that issue.

Change-Id: Iad432f75195983837d643fa38495e6beb54f3e22