SurfaceTextureClient : Reset buffer size to 0 after setting geometry

Buffer size has to be reset to 0 after setting geometry , otherwise
the new request may get the buffer with wrong size.

CRs-Fixed: 337041
(cherry picked from commit 9b3ebedad4f53b7348135dac827392a39b01f69f)

Change-Id: Id9afe01c80912d3245c2f37ddac51f550c896dce
Fix wrong include on tablet layouts

We're including keyguard_screen_status_land on portrait keyguard.
This fixes it

Change-Id: I11c5d7db669968a69e8ae3ee4e538b0b7380063d
Lock Screen Weather: units changed to Uppercase

Change-Id: I2e9ac94bba147e073f6d8c466fc864bc1189eca0
Remove duplicate notifications

Acrux=Antares and Bellatrix=Betelgeuse.

I'm guessing these are duplicate due to differing
names. I believe Antares and Betelgeuse are the names
in AOSP, so leaving those two.

Change-Id: Ie58b20039bb4343c9907fc5bc31e099fd942bb87
libstagefright: LPAPlayer: Fix choppy playback on BT.

-Music playback on BT A2DP device is choppy/glitchy
-Decoder thread hogs the CPU this starves A2DP thread from data.
-Fix is to use small buffer(64k) only in the case of A2DP playback.

CRs-Fixed: 33353851
(cherry picked from commit e64bb36f81b22c93d3af156451b1236966c99ea4)

Conflicts:

	media/libstagefright/LPAPlayer.cpp

Change-Id: I2e9450a2be6f9e79e68d525d2119d33154d132b7
surfaceflinger: Fix top-bottom UI composition with S3D.

-Fix the scissor computation for top and bottom frame in S3D.
-Fix the artifacts seen in top-bottom case by clearing the
 color buffer with scissor applied.

CRs-fixed: 346986
(cherry picked from commit 241b5b6b41fa4e1b2eca3565fd27b454a6aff262)

Change-Id: I8fb98007f67351009762c4494e260142b998ddb5
Revert "libhwui: Correct transform used for drawing text-shadow."

This reverts commit 5e30781aba176787e3abc50c79c35fbba6a1deeb.
FileInputStream is not closed in "UserManager.java : readUserList()"

Change-Id: I50f54c70c8b6bc808fa59ce589b0480780cc811b
String on Toast notification does not aligned to center

If length of the string being showed on Toast is short (less than 8 chars),
it is aligned to left rather than to center.
Added attribute android:layout_gravity="center_horizontal" on the TextView where Toast's message are shown to fix issue.

Change-Id: I77669fd8a11d1ec8f6b082348eb818671ce158bb
Signed-off-by: Taeho Kim <jyte82@gmail.com>
Merge "LockScreen Weather : Align City/Condition/Time text" into ics
SurfaceFlinger: Set the transform value correctly

When using the transform value, read only last 4 bits
of it regarding the change of
transform value in Layer::setGeometry().

Change-Id: Icdb2c9d8c283867a273e9633a7a563516f6af637
Depends-on: 120066
Merge "camera: Add parameters for HTC msm8960" into ics
Merge "Set landscape orientation prop" into ics
Merge "Turkish: Weather Forecast" into ics
Merge "pt-pt: added missing translations few corrections from pt-br to pt-pt" into ics
Merge "Enable Dock Battery Percentage" into ics
Electron Beam Animation (1/2 Frameworks)

Change-Id: Ia6e67983008eca505cead7cd4cb196627f5e2f77
libstagefright: Fix MPEG4 timestamp

MPEG4 timestamp needs to be stored with the classic Mac OS epoch not
the unix epoch. Header needs to be changed to version 1 to support
64-bit timestamp which is needed to represent the time.

Change-Id: Ie86c62349edaa96dd9c5c5cb8e2bdb89794ebb5f
Merge "Weather spanish translations - typos & strings shortened" into ics
stagefright: Turn off verbose logging in LPAPlayer

Change-Id: I3e90fad0b93b594fda4357a8b7094d94a3b22469