161960 Commits

Author SHA1 Message Date
Jinsuk Kim
a95794bc4f CEC: Allow no vendor-specific data for <Vendor Command With ID>
Changed not to return <Feature Abort> if the command comes
with any vendor-specific data, which is still valid.

Bug: 18816046

Change-Id: I22204d167c7783a841f7bb560e900b525f9f036b
2014-12-20 08:47:34 +09:00
Eric Laurent
a1bd2d0008 am 1ed9a88e: Merge "MediaSession: unmute stream when adjusting volume" into lmp-mr1-dev
* commit '1ed9a88ec3a1a1d9f418ae0b6f1e77e7b7dd99a3':
  MediaSession: unmute stream when adjusting volume
2014-12-19 23:21:04 +00:00
Eric Laurent
1ed9a88ec3 Merge "MediaSession: unmute stream when adjusting volume" into lmp-mr1-dev 2014-12-19 23:17:08 +00:00
John Reck
165fb8f5aa am f89dac47: Merge "Tweak RT-animator scheduling" into lmp-mr1-dev
* commit 'f89dac472366c547e535dfafa8df25bd2d031833':
  Tweak RT-animator scheduling
2014-12-19 23:15:12 +00:00
John Reck
f89dac4723 Merge "Tweak RT-animator scheduling" into lmp-mr1-dev 2014-12-19 23:09:49 +00:00
Svet Ganov
f64d26fce0 am e130d6c1: Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev
* commit 'e130d6c14ae2d4a6f703ef452a7e5741d84936a0':
  Remove a bad heuristic when determining click location for accessibility.
2014-12-19 22:36:56 +00:00
Svet Ganov
e130d6c14a Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev 2014-12-19 22:33:50 +00:00
Bart Sears
a2bd0e5599 am 02aca27f: Merge "Allow OEM to specify <unavailable-feature>." into lmp-mr1-dev
* commit '02aca27f8005ef94c906e599695243a9fd80f68a':
  Allow OEM to specify <unavailable-feature>.
2014-12-19 21:50:03 +00:00
Bart Sears
02aca27f80 Merge "Allow OEM to specify <unavailable-feature>." into lmp-mr1-dev 2014-12-19 21:45:48 +00:00
Svet Ganov
257ffbda60 Remove a bad heuristic when determining click location for accessibility.
As a bride-gap solution to click on partially covered views in accessibility
mode we compute a point on the screen where to send a down/up event pair.
A heuristic we used was that if the action target is covered by a view that
that has a touch listener we consider the target obscured by the one with
the listener. However, this generates false positives, for example the target
is covered by a view that observers touches for scrolling but not clicking.

bug:18782023

Change-Id: I31ff34011d45667f1eddda47373ec00e4a23dbf6
2014-12-19 11:59:21 -08:00
Robert Greenwalt
152ed37a3e Fix timing between bcast and net setup.
A legacy network type request would generate a bcast before the network
notification was sent - the legacy startUsingNetworkFeature API requires
the notification so it can bind your dns queries to the new network.
Fast-moving clients could try to use the network before it was ready.

bug:18792871
Change-Id: I24c46ef15c249c50bfc321f62756d1f66dc3a6a9
2014-12-19 11:54:27 -08:00
John Reck
a733f89c05 Tweak RT-animator scheduling
Bug: 18226391

The issue occurs as a result of a dispatchFrame itself
taking longer than 12ms, the alloted budget. The result
is that a vsync request (which occured at the end) would
miss the vsync that occured 1ms prior to the end of the frame.
As a result it would end up waiting for the following vsync,
essentially dropping to 30fps even though 60 could have been
sustained.

Fix this with a few tweaks.
First, adjust the UI thread's delay bias from (now + 4ms) to
(vsync + 4ms), this prevents RT animators from slowly drifting
if the vsync occurs mid-task.
Second, request a vsync preemptively prior to running callbacks.
This way if any callbacks needs the next vsync and it takes
"too long", we will catch that vsync.
Finally, fix an issue where the display event queue was always
drained & rejected at the end of a task loop. Instead, drain
and reject all stale vsyncs. This still prevents the issue of
both UI thread & RT thread trying to drive 2 frames in a single
pulse, but also allows RT to notice that it missed a vsync
pulse it needed and that it should speed-up a bit in response

Change-Id: I9d6be037737e9283297898cac2e3563453e797cd
2014-12-19 11:37:21 -08:00
Wink Saville
7c580caba9 am b5f1e878: Fix build breakage.
* commit 'b5f1e878d1bc245b676a1a2504c30d21a311bf6c':
  Fix build breakage.
2014-12-19 19:17:21 +00:00
Jeff Sharkey
1c4ae809d7 Allow OEM to specify <unavailable-feature>.
Some single-system-image builds may run on devices that lack
certain hardware features.  This change allows the OEM partition to
mark a feature as "unavailable" which overrides the system image.

Bug: 18801291
Change-Id: I0d81144ec92ee9a78c13b223bbba20a4aed23fa0
2014-12-19 11:09:20 -08:00
Wink Saville
b5f1e878d1 Fix build breakage.
I rebased a change and didn't compile, my mistake.

Change-Id: Iad7fc609b08d53aa7b8b96af609e3ff9a4f0e889
2014-12-19 11:02:01 -08:00
Andre Eisenbach
650639f9a5 Exclude unnecessary intents in SystemUI
Bug: 18771211
Change-Id: Ie1288938b51aa85ba36aabbc1c34aee5fdbf4e28
2014-12-19 10:45:01 -08:00
Wink Saville
57859d704e am f73c2d1f: Update mapping between RAF and Network Type.
* commit 'f73c2d1f0b6d55668c19493fba0088a69e6b128f':
  Update mapping between RAF and Network Type.
2014-12-19 18:27:32 +00:00
Wink Saville
f73c2d1f0b Update mapping between RAF and Network Type.
bug:18754476
Change-Id: I5bdb8df192610b831a418ae810fe4f3b96c30f77
2014-12-19 10:08:15 -08:00
Eric Laurent
2b5208c358 MediaSession: unmute stream when adjusting volume
Bug: 18482488.

Change-Id: I3411f78551cba31aa7f91b5223e015f0b8c1bbb2
2014-12-19 10:07:25 -08:00
Wink Saville
aa40537ca5 am 63c79ce4: Merge "Update mapping between RAF and Network Type." into lmp-mr1-dev
* commit '63c79ce4bfef7e8de7939be3de8a539938d9fc4e':
  Update mapping between RAF and Network Type.
2014-12-19 18:03:40 +00:00
Wink Saville
63c79ce4bf Merge "Update mapping between RAF and Network Type." into lmp-mr1-dev 2014-12-19 17:58:52 +00:00
Eric Laurent
05fce092aa am 8d24fe23: Merge "AudioService: fix permission check." into lmp-mr1-dev
* commit '8d24fe235a6e8f44e32a56a05ab36ed5b35385df':
  AudioService: fix permission check.
2014-12-19 17:19:34 +00:00
Eric Laurent
8d24fe235a Merge "AudioService: fix permission check." into lmp-mr1-dev 2014-12-19 17:11:28 +00:00
Jason Monk
87343eff54 am 28fbe040: Merge "Fix missing subscription list changes" into lmp-mr1-dev
* commit '28fbe04052b95ada3c32d805f26d6d9ad5548d6b':
  Fix missing subscription list changes
2014-12-19 15:00:12 +00:00
Jason Monk
28fbe04052 Merge "Fix missing subscription list changes" into lmp-mr1-dev 2014-12-19 14:55:49 +00:00
Oliver Woodman
9aa5cb76f3 am 69fd01d3: Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
* commit '69fd01d3e6e8e94eafdb6d424f92a32ada93096d':
  MediaSessionLegacyHelper uses global Application context
2014-12-19 11:42:17 +00:00
Oliver Woodman
69fd01d3e6 Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev 2014-12-19 11:37:04 +00:00
Lorenzo Colitti
7e81cdef36 am 7b42f399: Add a lastValidated bit and use it when reporting capabilities.
* commit '7b42f399430d5d4ace4efbee225bbd3ecd2d4146':
  Add a lastValidated bit and use it when reporting capabilities.
2014-12-19 10:41:08 +00:00
Lorenzo Colitti
b069e434cb am d3b8a3e7: Rename validated to everValidated.
* commit 'd3b8a3e77696ecd90ce59a869aaadf1e7804a9c8':
  Rename validated to everValidated.
2014-12-19 10:41:03 +00:00
Lorenzo Colitti
7b42f39943 Add a lastValidated bit and use it when reporting capabilities.
When we switched the way the status bar determines if a
connection is validated from using INET_CONDITION_ACTION
broadcasts to calling getDefaultNetworkCapabilitiesForUser(),
the statusbar stopped displaying ! when a network stopped having
working Internet connectivity. This is because the validated bit
is never set to false once a network is validated.

Fix this, hopefully temporarily, by introducing a new validated
bit that does go back to being false when a network no longer
has working connectivity, and use that bit in
getDefaultNetworkCapabilitiesForUser().

Bug: 18777225
Change-Id: I991c068be50252391d0e64c647fcf2e053dc82f9
2014-12-19 19:10:42 +09:00
Lorenzo Colitti
d3b8a3e776 Rename validated to everValidated.
This is a straight rename and thus a complete no-op from a
functionality perspective.

Bug: 18777225
Change-Id: I140d7640f1460c869a311294873772819a7a7059
2014-12-19 19:10:42 +09:00
xinhe
eee6db9f4a am ffe80ab7: Merge "take out SIM card, the RSSI Triangle is still full" into lmp-mr1-dev
* commit 'ffe80ab7f68d553fbda221e3457f288a3b7baa0a':
  take out SIM card, the RSSI Triangle is still full
2014-12-19 03:32:58 +00:00
Eric Laurent
38edfda9bd AudioService: fix permission check.
Clear caller identity before calling TelecomManager.isInCall().

Bug: 18702149.
Change-Id: Ie057f3f261fc0a36dff51840cc8390408621d3bd
2014-12-18 17:40:43 -08:00
Jean-Michel Trivi
9b5257c9c9 MediaSessionLegacyHelper uses global Application context
MediaSessionLegacyHelper used a Context passed by an application
  which can cause a leak of Activity instances. Use the global
  Application context instead.
Also prevent crash if a null Context is supplied (method not
  documented as requesting a non-null Context).

Bug 18767503

Change-Id: I8281047d0af233a323f3fc11ababedff848829ec
2014-12-18 16:42:59 -08:00
xinhe
ffe80ab7f6 Merge "take out SIM card, the RSSI Triangle is still full" into lmp-mr1-dev 2014-12-19 00:07:29 +00:00
Mike Lockwood
4ad35f9cc7 am 8a0399c4: Merge "BluetoothManagerService: Enforce DUMP permission" into lmp-mr1-dev
* commit '8a0399c442522bf2dab20c688a99d92faa01f9b1':
  BluetoothManagerService: Enforce DUMP permission
2014-12-18 22:40:34 +00:00
Mike Lockwood
8a0399c442 Merge "BluetoothManagerService: Enforce DUMP permission" into lmp-mr1-dev 2014-12-18 22:34:00 +00:00
vandwalle
a3c187bc1f am f87606fe: Merge "add debug logs to confirm network flapping issue is fixed Bug:18706288" into lmp-mr1-dev
* commit 'f87606fe25acff86807ef0514b478359bcb52f84':
  add debug logs to confirm network flapping issue is fixed Bug:18706288
2014-12-18 22:20:27 +00:00
Mike Lockwood
75b52bb880 BluetoothManagerService: Enforce DUMP permission
Bug: 18667272
Change-Id: If9a510aa7b5f22b9df1d8b33f0a18183040a8cf6
2014-12-18 14:16:36 -08:00
vandwalle
f87606fe25 Merge "add debug logs to confirm network flapping issue is fixed Bug:18706288" into lmp-mr1-dev 2014-12-18 22:16:30 +00:00
Craig Mautner
2eb575b4b0 am 2281e7d6: Merge "Make window mgr stack movement track activity mgr" into lmp-mr1-dev
* commit '2281e7d6a18e4eebea602c8093ec7cb6541f2960':
  Make window mgr stack movement track activity mgr
2014-12-18 20:26:00 +00:00
Winson Chung
4edaa5e4b6 am a320b217: Merge "Bug 18784289: Fix issue with transition animation callback." into lmp-mr1-dev
* commit 'a320b2176c9e6a5b3f2c3fe6f80ca9b14e088e9a':
  Bug 18784289: Fix issue with transition animation callback.
2014-12-18 20:25:55 +00:00
Craig Mautner
2281e7d6a1 Merge "Make window mgr stack movement track activity mgr" into lmp-mr1-dev 2014-12-18 19:55:51 +00:00
Winson Chung
a320b2176c Merge "Bug 18784289: Fix issue with transition animation callback." into lmp-mr1-dev 2014-12-18 19:30:40 +00:00
Winson Chung
e494c382c0 Bug 18784289: Fix issue with transition animation callback.
This is a regression where we changed the source view for the transition
to dummy view, but since it was not yet attached, it could not get the
handler implicitly to post the onAnimationCompleted callback.  This CL
modifies these ActivityOption transitions to also take an explicit
handler to process the callback on.

Bug: 18784289

Change-Id: I73f745c33b9f8aed91f8d9cd975f37cf7e4128f1
2014-12-18 11:27:18 -08:00
Jason Monk
c9f0571302 Fix missing subscription list changes
A missing @Override let the wrong function try to catch changes
to the subscription list.

The SubscriptionManager returns null when no SIMs are in the device,
so handle null as an empty list of subscriptions.

Bug: 18752587
Change-Id: I20ee1bde3f23828860f57b512662ad54ee51baf0
2014-12-18 14:07:46 -05:00
xinhe
ac11ae91c7 take out SIM card, the RSSI Triangle is still full
Bug:18479509
Change-Id: I96b0e91ae42ad222889c123ebe0c0c1225d9b6a7
2014-12-18 10:02:14 -08:00
Michael Runge
8deabad541 am 37fed329: Merge "Increase timeout when uncrypting OTA" into lmp-mr1-dev
* commit '37fed329adec7b339755fde0b38c687f70524e4e':
  Increase timeout when uncrypting OTA
2014-12-18 01:53:26 +00:00
Michael Runge
37fed329ad Merge "Increase timeout when uncrypting OTA" into lmp-mr1-dev 2014-12-18 01:49:08 +00:00
Rich Slogar
bdc1a3d03a am 6dfc3aab: am 879cffde: am 8838a9f0: docs: sdk revision 24.0.2 automerge: 85e645a
* commit '6dfc3aab025579d0472d99fc80a1a6af0703240b':
  docs: sdk revision 24.0.2
2014-12-18 01:42:45 +00:00