Hide method needsOldRilFeature.

Change-Id: I05a031091465b3d852f50be4086742d783f32a13
Automatic translation import

Change-Id: I0cfcecc9b7aa8a2494b7b7eebb01f2a715ee91f9
immersive mode: don't unconfirm a package, that's just dumb

* This is very annoying for specialized apps
* See here for a great explanation http://stackoverflow.com/a/20309721
* The fact that it doesn't even notify the user until the NEXT time they
  run it makes it completely pointless in my opinion anyway.

Change-Id: I423611efc07d467e1d81c66d58adcff331be8b38
Forward Port: Smoother Upload and Download Animation

Change-Id: I6e6409cc85ad951019dbac10156d4aed92f4c5bc
Forward Port: Add option to hide AlarmClock Icon in StatusBar [1/2]

Change-Id: Iedba17f3622afa43e7b9ebeb1805e56442fc4272
Keyguard: don't refresh ui when screen off

KeyguardStatusView is doing refresh all the time,
which cause high power when screen off.

PatchSet:
- We turn of the refresh when screen is off which is a good
  idea. But we should force latest next refresh when screen turns
  on. Du that a timechanged refresh maybe comes a bit later.

Change-Id: Icbb9a92bae3cf099417ab820617dd3f17e49f75a
Only go HOME if screen is fully awake

Avoid going home when hardware home button is used to wake the device on an insecure keyguard

Change-Id: I5d5d8c4fff76967c29e70251f7b165205005ba11
Power menu: Change color of volume selector to material green

Change-Id: I04eb568245c6cdae58dccaaa45dd5dd0043b9582
Merge "Only go HOME if screen is fully awake" into lp5.0
Frameworks: inital bringup of slim actions and helper classes

Bring back slimactions.

- Most actions are available and adapted to LP (mainly statusbar actions we did on kk need to be ported back again)
- Cleanup of old code
- Renamed classes and methods

and more.....

This is the base for all the comming features now

Change-Id: I0b4458325e248319217b8e41b64e2cf1e45f56cd
Merge "immersive mode: don't unconfirm a package, that's just dumb" into lp5.0
Merge "Forward Port: Smoother Upload and Download Animation" into lp5.0
Merge "Forward Port: Add option to hide AlarmClock Icon in StatusBar [1/2]" into lp5.0
Merge "Keyguard: don't refresh ui when screen off" into lp5.0
Merge "Frameworks: inital bringup of slim actions and helper classes" into lp5.0
Merge "Automatic translation import" into lp5.0
Frameworks: only send volume key events to the session manager if it is not a wake key

This fixes the problem of volume adjustment when volume wake up is activated and volume rocker
music search disabled.

Change-Id: I04873fd82885134c3674290dae530def269bfb50
MediaMuxer: handle expection for add track

Native addTrack call throws IllegalArgumentException on failure.
Catch this exception in MediaMuxer and throw IllegalArgumentException
that calling function can trap.

Change-Id: I97239ee2272c754ef6d7d54c5a27d1889ac01b80
Allow override of DUN settings

Allow override of system DUN settings by setting
persist.sys.dun.override
to one of the following values:
2 = not set, 0 = DUN not required, 1 = DUN required
If the prop is not set or is set to an invalid value the system setting
will be used.

Conflicts:
	services/java/com/android/server/connectivity/Tethering.java

Change-Id: I296f303a23351e4ab29898895abfcd313c747db9
Optimize drawBitmapMesh using TRIANGLE_STRIP

Draw BitmapMesh using STRIP instead of TRIANGLES.
Depending on where the bottleneck is located in the pipeline,
there is a potential for saving two-thirds of the time spent rendering.
The speedup is due to avoiding redundant operations,
i.e., mapping each vertex four times to texture and color attribute,
sending each vertex twice to the GPU, vertex processing of GPU ...

In this patch:
1. Refactoring mesh using Strip.
2. Batch triangles by adding degenerate triangles.
3. Optimize computing positions of texture and color attribute.

Benchmark: Drawing Bitmap(1152x768 px) with 200x200 meshes
Performance is doubled (from 26.4 fps to 53 fps, Nexus10).
Memory footprint: only 17% of original method.
(from 240000 to 40401 vertices with xy, uv, rgba data.)

Change-Id: I08c5c20d981d88528ce7b02012feefae468d6ec4
Signed-off-by: kui.zheng <kui.zheng@arm.com>