179085 Commits

Author SHA1 Message Date
John Reck
ed3c2962be am 165fb8f5: am f89dac47: Merge "Tweak RT-animator scheduling" into lmp-mr1-dev
* commit '165fb8f5aa0709a8dc35f99a9b81f6906452a648':
  Tweak RT-animator scheduling
2014-12-19 23:21:44 +00: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
be2fba6232 am f64d26fc: am e130d6c1: Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev
automerge: 19ecc78

* commit '19ecc7847faf0f6800c342eab806358d68b610c1':
  Remove a bad heuristic when determining click location for accessibility.
2014-12-19 22:44:52 +00:00
Svet Ganov
19ecc7847f am f64d26fc: am e130d6c1: Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev
* commit 'f64d26fce002019f390b4f9f37c8edf965c362c5':
  Remove a bad heuristic when determining click location for accessibility.
2014-12-19 22:43:30 +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
f603390675 am a2bd0e55: am 02aca27f: Merge "Allow OEM to specify <unavailable-feature>." into lmp-mr1-dev
automerge: d63dd3c

* commit 'd63dd3c75b2d6d4af2b687e9a58822a983d97acd':
  Allow OEM to specify <unavailable-feature>.
2014-12-19 22:21:43 +00:00
Bart Sears
d63dd3c75b am a2bd0e55: am 02aca27f: Merge "Allow OEM to specify <unavailable-feature>." into lmp-mr1-dev
* commit 'a2bd0e55997e1d8c956a616b376c5b7ccf8ed243':
  Allow OEM to specify <unavailable-feature>.
2014-12-19 22:18:57 +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
15c446b5e5 am 7c580cab: am b5f1e878: Fix build breakage.
automerge: 7478d51

* commit '7478d51f7042f6b78741058668060e87ce80a703':
  Fix build breakage.
2014-12-19 19:25:25 +00:00
Wink Saville
7478d51f70 am 7c580cab: am b5f1e878: Fix build breakage.
* commit '7c580caba94ca3b917c887b9e8353809c7f320c7':
  Fix build breakage.
2014-12-19 19:22:41 +00: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
97b6ab4862 am 57859d70: am f73c2d1f: Update mapping between RAF and Network Type.
automerge: 700b8f0

* commit '700b8f080ae39345b7174deea3c8acf6e1b51972':
  Update mapping between RAF and Network Type.
2014-12-19 18:35:54 +00:00
Wink Saville
700b8f080a am 57859d70: am f73c2d1f: Update mapping between RAF and Network Type.
* commit '57859d704ef2bc61798c172c4524596393f0beef':
  Update mapping between RAF and Network Type.
2014-12-19 18:33:20 +00:00
Mike Lockwood
0147bdb3de Merge "Rename UsbAudioManager to UsbAlsaManager" 2014-12-19 18:31:40 +00: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
1bb25d4d7b am aa40537c: am 63c79ce4: Merge "Update mapping between RAF and Network Type." into lmp-mr1-dev
automerge: 7b727e2

* commit '7b727e2e0aedef50aba8e3d4081a643b79329497':
  Update mapping between RAF and Network Type.
2014-12-19 18:11:59 +00:00
Wink Saville
7b727e2e0a am aa40537c: am 63c79ce4: Merge "Update mapping between RAF and Network Type." into lmp-mr1-dev
* commit 'aa40537ca56ce386edcdaed2d21a9e2f07975812':
  Update mapping between RAF and Network Type.
2014-12-19 18:09:26 +00:00
Mike Lockwood
d2de5a421a Rename UsbAudioManager to UsbAlsaManager
Change-Id: I53b084400ef3e0692415cc5af91c8b500ffd8346
2014-12-19 10:08:36 -08: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
ddac2a7b31 am 05fce092: am 8d24fe23: Merge "AudioService: fix permission check." into lmp-mr1-dev
automerge: b418537

* commit 'b4185370d22457e8893ab5da07870e6d56910fbe':
  AudioService: fix permission check.
2014-12-19 17:31:14 +00:00
Eric Laurent
b4185370d2 am 05fce092: am 8d24fe23: Merge "AudioService: fix permission check." into lmp-mr1-dev
* commit '05fce092aa2b6a7f4a8cf4b0f33f7c003eb228f3':
  AudioService: fix permission check.
2014-12-19 17:28:03 +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
Olawale Ogunwale
2d412c369f am 796a1773: am 4fa039df: Merge "Layout the config-changed window if it has surface"
automerge: 9079259

* commit '9079259054359e45b9616afaa799439c9171c0e2':
  Layout the config-changed window if it has surface
2014-12-19 15:46:45 +00:00
Olawale Ogunwale
9079259054 am 796a1773: am 4fa039df: Merge "Layout the config-changed window if it has surface"
* commit '796a1773070fd13eca07bc4919f1c7cdf2d8a8e7':
  Layout the config-changed window if it has surface
2014-12-19 15:42:46 +00:00
Olawale Ogunwale
796a177307 am 4fa039df: Merge "Layout the config-changed window if it has surface"
* commit '4fa039dfb1a5a23dad493f3c8c2c7529ecc1e96d':
  Layout the config-changed window if it has surface
2014-12-19 15:37:11 +00:00
Olawale Ogunwale
4fa039dfb1 Merge "Layout the config-changed window if it has surface" 2014-12-19 15:30:39 +00:00
Jason Monk
e387af1cd0 am 87343eff: am 28fbe040: Merge "Fix missing subscription list changes" into lmp-mr1-dev
automerge: bce7231

* commit 'bce72316c5ef39dc4669a8e0a023d43c78535bb4':
  Fix missing subscription list changes
2014-12-19 15:08:32 +00:00
Jason Monk
bce72316c5 am 87343eff: am 28fbe040: Merge "Fix missing subscription list changes" into lmp-mr1-dev
* commit '87343eff543a127c29e0fa47c9c276b3e9b92d57':
  Fix missing subscription list changes
2014-12-19 15:06:43 +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
Leon Scroggins III
1e9547722f Merge "Make SkiaCanvas creation call ref() on SkCanvas." 2014-12-19 14:32:05 +00:00
Leon Scroggins III
0e52410217 Merge "Remove dependence on SK_LEGACY_PICTURE_DRAW_API." 2014-12-19 14:31:45 +00:00
Oliver Woodman
c2597f0e09 am 9aa5cb76: am 69fd01d3: Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
automerge: 20e52c3

* commit '20e52c3453b2683cccfc4ac0841c9d6ef0796f88':
  MediaSessionLegacyHelper uses global Application context
2014-12-19 11:49:15 +00:00
Oliver Woodman
20e52c3453 am 9aa5cb76: am 69fd01d3: Merge "MediaSessionLegacyHelper uses global Application context" into lmp-mr1-dev
* commit '9aa5cb76f3b0486afcd9b3ff445d8d082793f2b5':
  MediaSessionLegacyHelper uses global Application context
2014-12-19 11:47:38 +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