Commit Graph

53174 Commits

Author SHA1 Message Date
Naveen Leekha
ea2afa460a Merge "Fix parsing of extension string" into mnc-dev 2015-08-03 14:45:11 +00:00
The Android Automerger
9a0513bf83 merge in mnc-release history after reset to mnc-dev 2015-08-01 01:06:22 -07:00
The Android Automerger
e0ea7db1bb merge in mnc-dr-release history after reset to mnc-dr-dev 2015-08-01 01:04:27 -07:00
Michael Lentine
e2fc6f87be Fix parsing of extension string
Previously the parsing found the next space and then added the the difference
between the current position and space to the set of tokens. This improperly
generated empty strings if there were consecutive spaces or if spaces existed at
the beginning or end of strings. To fix this, the parse is modified to use
simple stringstream parsing.

Bug: 22709246

Change-Id: I9e32c07bbf984eadccdadf1dc34437fa0c46088b
2015-07-31 09:26:58 -07:00
Dan Stoza
03d7e301c8 am d87defaf: SF: Allow present if sideband stream changed
* commit 'd87defaf486ff4e9c0066754564851cfb7be49ed':
  SF: Allow present if sideband stream changed
2015-07-31 15:44:52 +00:00
Aravind Akella
e2806cb445 Bug fix in SensorManager.
If SensorService hasn't started when SensorManager instance is requested, keep retrying for a
longer duration.

Bug: 22529981
Change-Id: I3c506d962b61347085fc80b2c5832289539d6853
2015-07-30 19:05:21 +00:00
Dan Stoza
d87defaf48 SF: Allow present if sideband stream changed
Allows the sideband layer to be passed all the way to HWC instead of
getting blocked by the updated PTS tracking code.

Bug: 22291067
Change-Id: Ic2f20a7528e276fff054e86ca35789c26873b348
2015-07-29 16:15:50 -07:00
Narayan Kamath
5a373bb9b0 Revert "Bug fix in SensorManager."
This reverts commit 869eb2089e.

Change-Id: I4fb865e3b18bbb011fa4e4b4732336930c3a45ae
2015-07-29 15:19:06 -07:00
Narayan Kamath
88daa01da6 Revert "Bug fix in SensorManager."
This reverts commit 869eb2089e.

Change-Id: I4fb865e3b18bbb011fa4e4b4732336930c3a45ae
2015-07-29 07:41:42 -07:00
Narayan Kamath
65f1d44cd8 am a29db50c: Merge "Revert "Bug fix in SensorManager."" into mnc-dev
* commit 'a29db50c448f8d00a544b925544f3dee725f7750':
  Revert "Bug fix in SensorManager."
2015-07-29 10:07:56 +00:00
Narayan Kamath
a29db50c44 Merge "Revert "Bug fix in SensorManager."" into mnc-dev 2015-07-29 09:41:23 +00:00
Narayan Kamath
8034fc63a0 Revert "Bug fix in SensorManager."
This reverts commit 869eb2089e.

Change-Id: I4fb865e3b18bbb011fa4e4b4732336930c3a45ae
2015-07-29 09:36:05 +00:00
The Android Automerger
52655f91f9 merge in mnc-release history after reset to mnc-dev 2015-07-29 01:06:33 -07:00
The Android Automerger
cce3fae0be merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-29 01:04:18 -07:00
Aravind Akella
3a77d00927 am 2376bd68: Merge "Bug fix in SensorManager." into mnc-dev
* commit '2376bd6869f4cd835a351322d48d35567eceec4f':
  Bug fix in SensorManager.
2015-07-29 00:40:49 +00:00
Aravind Akella
2376bd6869 Merge "Bug fix in SensorManager." into mnc-dev 2015-07-29 00:21:09 +00:00
Aravind Akella
869eb2089e Bug fix in SensorManager.
If SensorService hasn't started when SensorManager instance is requested, keep retrying for a
longer duration.

Bug: 22529981
Change-Id: I4ba6b760608e34d79273aeb39568f0fa72fbaf9d
2015-07-26 11:48:06 -07:00
The Android Automerger
e3acb92fd7 merge in mnc-release history after reset to mnc-dev 2015-07-25 01:06:02 -07:00
The Android Automerger
122baf627d merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-25 01:04:20 -07:00
Jim Miller
40481a7126 am bf7cd01a: Merge "Add FEATURE_FINGERPRINT to PackageManager\'s feature list" into mnc-dev
* commit 'bf7cd01ab0fce5c76364f78e3b9fdba078c197c0':
  Add FEATURE_FINGERPRINT to PackageManager's feature list
2015-07-24 02:53:59 +00:00
Jim Miller
bf7cd01ab0 Merge "Add FEATURE_FINGERPRINT to PackageManager's feature list" into mnc-dev 2015-07-24 02:41:02 +00:00
Jim Miller
c89cf5f76e Add FEATURE_FINGERPRINT to PackageManager's feature list
Fixes bug 22674557

Change-Id: I2ced132c1cb4f4b5166f9af288dd3e697fdcf92b
2015-07-24 02:39:06 +00:00
Dan Stoza
14cd37cf3d SF: Track missed frames and optionally drop them
Adds code to track whether SurfaceFlinger has sent two frames to HWC in
the same vsync window. This can occur if one frame is delayed so far
it slips into the next window or just if one frame takes an abnormal
amount of time. If this occurs, it shows up as FrameMissed in systrace.

Also adds a property debug.sf.drop_missed_frames which, if set, tells
SurfaceFlinger to skip sending a frame to HWC (i.e., calling
prepare/set) when we detect this condition, which can help prevent
backpressure from the HWC implementation.

Bug: 22513558
Change-Id: I2df0d44cec5fd6edba419388d8c90b5710d1a5b6
2015-07-23 11:15:32 -07:00
The Android Automerger
5fbeececf3 merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-23 01:01:59 -07:00
Chenjie Luo
177a416625 am 99426810: Merge "Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors." into mnc-dev
* commit '99426810e4828719be84a0f8c186161578512e93':
  Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors.
2015-07-22 20:23:43 +00:00
The Android Automerger
54e63fe237 merge in mnc-release history after reset to mnc-dev 2015-07-22 01:05:28 -07:00
Chenjie Luo
99426810e4 Merge "Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors." into mnc-dev 2015-07-22 06:26:27 +00:00
The Android Automerger
38e32c9d60 merge in mnc-release history after reset to mnc-dev 2015-07-21 01:05:56 -07:00
The Android Automerger
58d353a15d merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-21 01:03:17 -07:00
Lajos Molnar
a6364e257d am f892f914: Merge "omx: fix structure sizes to be the same on 32 and 64-bit builds" into mnc-dev
* commit 'f892f9141721a3805d18da2db0e1c17f1a99feb0':
  omx: fix structure sizes to be the same on 32 and 64-bit builds
2015-07-21 00:37:21 +00:00
Aravind Akella
f504789dd3 Check for the presence of accel and magnetometer sensors before adding AOSP fusion sensors.
Bug: 22502485
Change-Id: I3d9018649302b98004e4e216b2173e8411a08501
2015-07-20 17:32:09 -07:00
Lajos Molnar
f892f91417 Merge "omx: fix structure sizes to be the same on 32 and 64-bit builds" into mnc-dev 2015-07-21 00:22:19 +00:00
Lajos Molnar
abaaf70129 omx: fix structure sizes to be the same on 32 and 64-bit builds
Bug: 22512621
Change-Id: I2100b8aad0a1cf110936f4a765718ba97f3d8ce7
2015-07-21 00:19:04 +00:00
Jeff Sharkey
9ca52e34f7 am a2307aef: Only restorecon_data once for all users.
* commit 'a2307aefd06f1310660ef1d35ce01bcfc72c9633':
  Only restorecon_data once for all users.
2015-07-20 23:56:41 +00:00
Jeff Sharkey
a2307aefd0 Only restorecon_data once for all users.
restorecon_data already iterates across all found users internally,
so we don't need to call it for each UID moved.  In fact, this was a
bug that caused data for the owner to be relabeled when moving apps
back to internal storage.

Bug: 21813384
Change-Id: I5ba76d4f30d129365864c8a25b665f344b99a6b4
2015-07-20 16:26:22 -07:00
The Android Automerger
5526b6edde merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-18 18:45:37 -07:00
The Android Automerger
2c907cfb5c merge in mnc-release history after reset to mnc-dev 2015-07-18 01:04:21 -07:00
Lajos Molnar
59d6f2c322 am 5f920c1a: BufferQueueConsumer: signal onFrameReleased on dropped frames
* commit '5f920c1a2cf12c0638c05fbddee8ff6c1193731c':
  BufferQueueConsumer: signal onFrameReleased on dropped frames
2015-07-17 18:39:25 +00:00
Lajos Molnar
5f920c1a2c BufferQueueConsumer: signal onFrameReleased on dropped frames
Bug: 22552826
Change-Id: I9bdfeb8c68f403301af90d4b494f0ae7166a767c
2015-07-17 08:37:47 -07:00
Andreas Gampe
a0abdab2fe am c968c017: Installd: Add a swap override flag
* commit 'c968c0175e967e39e72f557b5e014b9575ba4727':
  Installd: Add a swap override flag
2015-07-17 01:03:24 +00:00
Andreas Gampe
c968c0175e Installd: Add a swap override flag
Add dalvik.vm.dex2oat-swap system property to override a default
decision.

Bug: 20658562
Change-Id: I34368c6e435d1a9ceec20a0bf1c8c6213e527f5e
2015-07-16 15:55:41 -07:00
The Android Automerger
348286159f merge in mnc-release history after reset to mnc-dev 2015-07-15 01:04:39 -07:00
The Android Automerger
2061378ccb merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-15 01:03:08 -07:00
Adrian Roos
31e138db15 Merge "Show charging speed on Keyguard" into mnc-dr-dev 2015-07-14 19:17:11 +00:00
Michael Wright
82c4163ef5 am fd549578: Merge "Cancel touches as well as pointer gestures." into mnc-dev
* commit 'fd54957888a2fd692e1a8590d7e9e98e4da9ca4d':
  Cancel touches as well as pointer gestures.
2015-07-14 14:39:07 +00:00
Michael Wright
fd54957888 Merge "Cancel touches as well as pointer gestures." into mnc-dev 2015-07-14 14:22:38 +00:00
The Android Automerger
d64164dfc8 merge in mnc-release history after reset to mnc-dev 2015-07-14 01:06:35 -07:00
The Android Automerger
d0ac3c6b4e merge in mnc-dr-release history after reset to mnc-dr-dev 2015-07-14 01:03:24 -07:00
Aravind Akella
a4864d61dc am 4904821b: Merge "Rename wakelock held internally by SensorService." into mnc-dev
* commit '4904821b212a3ee91f22a51295f86f6339cbcc8d':
  Rename wakelock held internally by SensorService.
2015-07-13 23:02:20 +00:00
Aravind Akella
4904821b21 Merge "Rename wakelock held internally by SensorService." into mnc-dev 2015-07-13 18:21:49 +00:00