[3/3] AudioFX: Add center frequency param to bassboost

Change-Id: I49da8e5ab24502d0de5c09b7fc9f4b8a51bead60
Block application install from unknown sources through adb

adb install command  doesn't check source of an application.

This change enforces that adb install command only works if user has
download/install from unknown sources selected in settings app.

Change-Id: Id0d328d1dad36089802d6bec2f5d2f940e045c25

Conflicts:
	services/java/com/android/server/pm/PackageManagerService.java
NumberPicker: Don't filter Bengali-Indic characters

Add Bengalese digit characters to the digit characters list of
NumberPicker.

CRs-Fixed: 530201

Change-Id: I32445660c2c2a451c71f5a235ee71ae906660f12
NumberPicker: Don't filter Devanagari-Indic characters

Add Devanagari digit characters to the digit characters list of
NumberPicker.

CRs-fixed: 530201

Change-Id: I0f5b273679e3f0bb478c8a6f0609b1bb8a0fac11
Adjust the index of the ArrayList during iteration

Decrement the index when an element is deleted during
iteration to avoid the index going out of bounds and also
some elements getting skipped.

Change-Id: Ie4a57e02d684d598cd971c4ce6866579b65345d3
CRs-Fixed: 613390
Revert "Block application install from unknown sources through adb"

This reverts commit 35e9ac2740cffb5abdde46a83624a3043173a194.
SmoothProgressBar: Initial Commit

Change-Id: Ic48f7ff57f76c933808f2ea4a6be49e949ce2c00
Signed-off-by: hany <hany.alsamman@gmail.com>

Conflicts:
	core/res/res/values/symbols.xml
Port SmoothProgressBar: User Custom ProgressBar Setting[2/2]

Sample : https://github.com/castorflex/SmoothProgressBar
http://antoine-merle.com/images/smoothprogressbar_all.gif

thanks Dokdo Project

Change-Id: If476fb2a4fa9a988c73364107555b5e7624dea53
Signed-off-by: hany <hany.alsamman@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
SmoothProgressBar: Accelerate and Interpolator

PS1 : reformat the code
PS2 : use android animation interpolator

Signed-off-by: hany <hany.alsamman@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	core/java/android/widget/ProgressBar.java
Add ContentLoadingProgressBar support

ContentLoadingProgressBar allows developers to follow the policy for loading content
laid out in the style guide. The progress view will only show if MIN_DELAY
passes before the view is hidden. The progress view, if shown, will always
show for at least MIN_SHOW_TIME ms.

https://github.com/android/platform_frameworks_support/commit/befff92741b1f0629d9a9389a3889cca56d914a2

thanks @castorflex

Signed-off-by: hany <hany.alsamman@gmail.com>
XuiMod: Toast Animations [1/2]

Add Xylon, Xperia Z1, TokoROM Transition and more

https://github.com/zst123/XuiMod/commit/8fc1152fb485ed5e007ac8d4ea9ad7b7f1c493d8

https://github.com/zst123/XuiMod/commit/1989a90850e5491799620e1f86fcbc9ae54f5161

https://github.com/zst123/XuiMod/commit/e3383f127244822b9fc61db169b59e4a502d127b

Credit zst123, thanks for GwonHyeok

Signed-off-by: hany <hany.alsamman@gmail.com>

Conflicts:
	core/res/res/values/symbols.xml
Tethering: Skip link local addresses when enabling NAT

Only one entry is allowed to be added to route table 60 for all
interface ipv6 link local addresses, so skip ipv6 link local
addresses on all interfaces when enabling NAT

Change-Id: Ibbe6c2bdae83586cdd38287089715f3433bbb91f
Signed-off-by: jiaguo <jiaguo@marvell.com>
Structure device not freed in error case

In case of an error in the call usb_device_get_fd()
the memory created by usb_open_device() is never
freed.

Added a call to usb_device_close in case of error to
release the allocated memory.

Change-Id: Iaa83674f000242d80604dd30c782236f7afd90c2
Fixed a possible infinite loop in JsonReader#skipValue()

Bug: https://code.google.com/p/android/issues/detail?id=65846

Change-Id: Idaa0e75fc5612550c4b9ccb9afa5535ea5b189df
Remove java.io.tmpdir assignment in AndroidRuntime.

This value is overridden by the framework anyway
(see ActivityThread.handleBindApplication). Besides,
it doesn't seem like a great idea to let tools clutter
/sdcard/ with temp files.

Change-Id: I26c710cbea7397f89e6103e54a73044a87da95b1
EGL14.eglCreateWindowSurface should set producerControlledByApp

Interface of Surface class changed.
To reflect the change for EGL14, add producerControlledByApp flag.
Similar change can be seen in 0fa257fe53bf520bdde93996a1901ce6bc3e1788

Change-Id: Ic8911d3131e033747cfdabe59ac2fea1e90bb4a0
Merge remote-tracking branch 'base/kitkat-remix' into remix-legacy