Commit Graph

256895 Commits

Author SHA1 Message Date
Phil Weaver
adaafb2980 Fix a11y crash when window layer isn't unique.
TalkBack is seeing crashes that I can only explain by our assumption
that window layer is unique in all cases. TalkBack reports that it
happens during animation, so I assume that the layer may repeat
transiently.

Reducing our dependence on this assumption by traversing the list of
windows sorted by layer without assuming that the list has the same
length as the list of unsorted windows.

Also documenting the undefined behavior of SparseArray when indexing
beyond its bounds. The undefined behavior itself is intentional for
performance reasons.

Bug: 28679528
Bug: 28815817
Change-Id: I0c9f90b0b458b4cde465f603ba204fe6691e5c2c
2016-05-19 13:32:24 -07:00
Steve McKay
a1f7505fb6 Merge "Fix RTL issue in delete dialog." into nyc-dev
am: 7b5327fb67

* commit '7b5327fb67765769adc6cb0b2de21034a30cf24d':
  Fix RTL issue in delete dialog.

Change-Id: Ic55b0e756df55859318ae748073b0c85c3cade3e
2016-05-19 20:31:46 +00:00
Steve McKay
0264097200 Merge "Fix RTL issue in delete dialog." into nyc-dev
am: 7b5327fb67

* commit '7b5327fb67765769adc6cb0b2de21034a30cf24d':
  Fix RTL issue in delete dialog.

Change-Id: I4351e7da5c8643e5099c70472e1de1a49fcc025b
2016-05-19 20:31:46 +00:00
TreeHugger Robot
7b5327fb67 Merge "Fix RTL issue in delete dialog." into nyc-dev 2016-05-19 20:24:35 +00:00
Keisuke Kuroyanagi
24b260de62 Set input method mode for CascadingMenuPopup.
Set INPUT_METHOD_NOT_NEEDED not to steal input focus.

Bug: 28638654
Change-Id: Ic5070b309de459914d2670bd20a9af568438a843
2016-05-19 13:23:51 -07:00
Robert Carr
031384556e Never set resized while not drag resizing for pinned stack.
It's not necessary in the pinned stack and interferes with the
animation. It's not enough to just check getBoundsAnimating, as
we turn that off prior to the final resize so that we unmute
notifications to the client.

Bug: 28559097
Change-Id: Iae180c8a8ca0585184efcf24e7677557a33678eb
2016-05-19 13:19:53 -07:00
Sungki Kim
fa72693db3 Merge "Fix GATT autoConnect race condition" into nyc-dev am: ddd7d3d766
am: b0eab23516

* commit 'b0eab2351632558be4c7612d491964f3edc019ad':

Change-Id: Id6051bf433bac4b393d8fcec06a4a465d2ff4742
2016-05-19 19:57:53 +00:00
Chris Tate
0b00b8a3be Merge "Incorporate feedback on new wallpaper-related APIs" into nyc-dev am: 9d37bdcb91
am: 2b2ad77fdb

* commit '2b2ad77fdb0dfa6c8721642a60360e2bc2191c00':

Change-Id: I4ad2852ef5f2db1c02a7d4ff73ed81b3ae7c473f
2016-05-19 19:56:32 +00:00
Sungki Kim
77def887c6 Merge "Fix GATT autoConnect race condition" into nyc-dev am: ddd7d3d766
am: 22665c943b

* commit '22665c943b9a7d55c632c1bfefecc2c1a32dea61':
  Fix GATT autoConnect race condition

Change-Id: I3688588e3d00ca3a1fb3f19a2ad6a761d906b52b
2016-05-19 19:49:30 +00:00
Sungki Kim
b0eab23516 Merge "Fix GATT autoConnect race condition" into nyc-dev
am: ddd7d3d766

* commit 'ddd7d3d766744125b1bd3033f12e54b26a1d4068':
  Fix GATT autoConnect race condition

Change-Id: Ibd668dcd22c1c1f17835ee05bcd175024a6487e5
2016-05-19 19:46:03 +00:00
Sungki Kim
22665c943b Merge "Fix GATT autoConnect race condition" into nyc-dev
am: ddd7d3d766

* commit 'ddd7d3d766744125b1bd3033f12e54b26a1d4068':
  Fix GATT autoConnect race condition

Change-Id: I19dfdf3c52bf90d7e1541716cd63d5aa9d73700d
2016-05-19 19:44:44 +00:00
Christopher Tate
2b2ad77fdb Merge "Incorporate feedback on new wallpaper-related APIs" into nyc-dev
am: 9d37bdcb91

* commit '9d37bdcb91dffbfeebc45ef5ae7724c556cb6864':
  Incorporate feedback on new wallpaper-related APIs

Change-Id: I0dce83effbb05d52e2bcfb6f0ff48badbab71655
2016-05-19 19:44:42 +00:00
Chris Tate
2467a7fe90 Merge "Incorporate feedback on new wallpaper-related APIs" into nyc-dev am: 9d37bdcb91
am: 3de573733c

* commit '3de573733c05d204589d9c56fb26fbb985ecc060':
  Incorporate feedback on new wallpaper-related APIs

Change-Id: I7cbca080286f54040782c79eab57f2285cee222d
2016-05-19 19:44:15 +00:00
TreeHugger Robot
ddd7d3d766 Merge "Fix GATT autoConnect race condition" into nyc-dev 2016-05-19 19:38:56 +00:00
Christopher Tate
3de573733c Merge "Incorporate feedback on new wallpaper-related APIs" into nyc-dev
am: 9d37bdcb91

* commit '9d37bdcb91dffbfeebc45ef5ae7724c556cb6864':
  Incorporate feedback on new wallpaper-related APIs

Change-Id: Iea24b4a97c72248c185f8756b8b74b8b60f3c05f
2016-05-19 19:38:48 +00:00
Chris Tate
9d37bdcb91 Merge "Incorporate feedback on new wallpaper-related APIs" into nyc-dev 2016-05-19 19:34:08 +00:00
John Reck
1b1fcbaab5 DO NOT MERGE Cherry pick libpng usage fixes
am: 7c9f2b8aa2

* commit '7c9f2b8aa2bdbbd5ee9fc6ff52161d994a10b865':
  DO NOT MERGE Cherry pick libpng usage fixes

Change-Id: If3b1a86798e4f8064fc1ad912d91b1106b24739a
2016-05-19 19:26:24 +00:00
Ta-wei Yen
467f067c8c Hide VoicemailContract.setQuota()
This method is a helper for internal use only.

+ Updated docs for QUOTA_OCCUPIED, QUOTA_TOTAL, and QUOTA_UNAVAILABLE.

Change-Id: Ib146926cd2bff50affe970a0123bcbec62ac3e70
Fixes:28842445
2016-05-19 12:02:25 -07:00
Android Build Merger (Role)
ee626aa0e8 Merge "Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53 am: f7688a4f29 am: 6badb0fb54 am: a4316e962c am: d390a7da12" into nyc-mr1-dev-plus-aosp 2016-05-19 18:56:04 +00:00
Android Build Merger (Role)
c675b7e459 Merge "Merge "Mapping up/down of legacy Gps vs. Gnss Status" into nyc-dev am: b5b03bc450 am: 2f052f8e94" into nyc-mr1-dev-plus-aosp 2016-05-19 18:55:52 +00:00
Chris Craik
042aee2e17 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53 am: f7688a4f29 am: 6badb0fb54 am: a4316e962c
am: d390a7da12

* commit 'd390a7da1217e9d6f192b0614ddccb997aedfff2':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I7a2c4ac0d257c8f763dd3c3559c9e4a73b9fbd42
2016-05-19 18:55:10 +00:00
Wyatt Riley
762b1b2a7c Merge "Mapping up/down of legacy Gps vs. Gnss Status" into nyc-dev am: b5b03bc450
am: 2f052f8e94

* commit '2f052f8e946e2f0268d923e599263dd01369e3d0':

Change-Id: Ib83e082de25558c13ac96e6e31b5bde4b71b9ecf
2016-05-19 18:54:26 +00:00
Chris Craik
9d6a071ced Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53 am: f7688a4f29 am: 6badb0fb54 am: a4316e962c
am: 665cd5ee94

* commit '665cd5ee94d621bc1732c264fc421aaed562bcb5':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: Ic5e396ff09489dccaf6c8b9b7077dfd8ba985094
2016-05-19 18:54:19 +00:00
Chris Craik
d390a7da12 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53 am: f7688a4f29 am: 6badb0fb54
am: a4316e962c

* commit 'a4316e962c8f22f1adf7eca4763b2a29e4286846':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: If25fa93d13377cdd6d9cd9aa1c6f0e77bfe4352b
2016-05-19 18:50:09 +00:00
Wyatt Riley
2f052f8e94 Merge "Mapping up/down of legacy Gps vs. Gnss Status" into nyc-dev
am: b5b03bc450

* commit 'b5b03bc450235ffa85ac636da460b61f1e99bff1':
  Mapping up/down of legacy Gps vs. Gnss Status

Change-Id: I2ff6c7714ecca01cb75176452cdbd2ec969fc937
2016-05-19 18:49:30 +00:00
Chris Craik
665cd5ee94 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53 am: f7688a4f29 am: 6badb0fb54
am: a4316e962c

* commit 'a4316e962c8f22f1adf7eca4763b2a29e4286846':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: Id5cdfc8bbff92e3dc31be174bcda6dbf648f45b8
2016-05-19 18:49:29 +00:00
Wyatt Riley
7684b31066 Merge "Mapping up/down of legacy Gps vs. Gnss Status" into nyc-dev am: b5b03bc450
am: 8a6eee8956

* commit '8a6eee895640eb55d9906e56921c42a7d5d5940f':
  Mapping up/down of legacy Gps vs. Gnss Status

Change-Id: I6f7e5948f88f7a3b04bf5541bc515f92bee4f5ad
2016-05-19 18:49:24 +00:00
Chris Craik
a4316e962c Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53 am: f7688a4f29
am: 6badb0fb54

* commit '6badb0fb54a72026dfe5d04e2556637b116a9c91':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: Ie324dd06265e48abe229c101f638e98e906bb199
2016-05-19 18:45:25 +00:00
Wyatt Riley
8a6eee8956 Merge "Mapping up/down of legacy Gps vs. Gnss Status" into nyc-dev
am: b5b03bc450

* commit 'b5b03bc450235ffa85ac636da460b61f1e99bff1':
  Mapping up/down of legacy Gps vs. Gnss Status

Change-Id: I19c8d74c51d92b9aaf3d60163dc686fe7d7b04b8
2016-05-19 18:45:18 +00:00
Android Build Merger (Role)
24ca5da9ef Merge "While turning OFF do not honor ON requests. am: 090bf55130 am: 9d2441369b" into nyc-mr1-dev-plus-aosp 2016-05-19 18:39:57 +00:00
Sanket Agarwal
542f14c3c3 While turning OFF do not honor ON requests. am: 090bf55130
am: 9d2441369b

* commit '9d2441369bdc89739274716a2118c3710daaa51f':
  While turning OFF do not honor ON requests.

Change-Id: Ic1cfba41175acaeed32f97873a3d85ee0d98c8ac
2016-05-19 18:39:06 +00:00
Wyatt Riley
b5b03bc450 Merge "Mapping up/down of legacy Gps vs. Gnss Status" into nyc-dev 2016-05-19 18:37:54 +00:00
Sanket Agarwal
64c75b9bad While turning OFF do not honor ON requests. am: 090bf55130
am: 29c7056f25

* commit '29c7056f2530e7f143a51a6abb24ecec30fbb523':
  While turning OFF do not honor ON requests.

Change-Id: Iaa3ff49bcb42e844eb76c919a80d8b3e0017c35c
2016-05-19 18:37:34 +00:00
Chris Craik
6badb0fb54 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1 am: c387613d53
am: f7688a4f29

* commit 'f7688a4f297fcab18ffdbd0ed10405ba862e8ec9':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I7f3c0af53759216af85351d950631af81cdf1316
2016-05-19 18:35:30 +00:00
Sanket Agarwal
9d2441369b While turning OFF do not honor ON requests.
am: 090bf55130

* commit '090bf551308e68b1b2a996c959b608cabd025c5c':
  While turning OFF do not honor ON requests.

Change-Id: I528c640a9bc482fbbec3b11eef6569c93a632b76
2016-05-19 18:32:24 +00:00
Sanket Agarwal
29c7056f25 While turning OFF do not honor ON requests.
am: 090bf55130

* commit '090bf551308e68b1b2a996c959b608cabd025c5c':
  While turning OFF do not honor ON requests.

Change-Id: I878609e6dfc4e18bdf30e4c14806cb9c2c3d8abf
2016-05-19 18:32:21 +00:00
Chris Craik
f7688a4f29 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1
am: c387613d53

* commit 'c387613d53284816ebb00ebeb41633f6179fc972':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I648ee1970cae83a816e9462dcbdd2208b7c205d4
2016-05-19 18:31:33 +00:00
Sanket Agarwal
090bf55130 While turning OFF do not honor ON requests.
Native stack does not handle being put from OFF -> ON state without
doing a complete cleanup. Hence instead of going from start -> ON -> OFF
-> cleanup it goes start -> ON -> OFF ->ON -> ... usually leads to race
conditions down the road in native.

This patch is a workaround so that we can throw away the requests if we
are in currently "turning off" phase. The side-effect would be that user
will need to turn it ON again. The race happens when the turn OFF time
is longer but usually it is found to be close to order of seconds hence
the wait should be bounded.

Bug: b/28318203
Change-Id: I14f6633f31311e5b561e1dcbc8a9d6d2a5dd6fdc
2016-05-19 18:27:27 +00:00
Sungki Kim
d35167adca Fix GATT autoConnect race condition
As pointed out here:
https://code.google.com/p/android/issues/detail?id=69834

registerApp() causes onClientRegistered() to happen before autoConnect
is set. This patch fixes that.

Bug: 28861330
Change-Id: Ie1174c0f224f5084178439420b383164d22d542c
2016-05-19 18:25:25 +00:00
Sungki Kim
636ab03dfe Fix GATT autoConnect race condition
As pointed out here:
https://code.google.com/p/android/issues/detail?id=69834

registerApp() causes onClientRegistered() to happen before autoConnect
is set. This patch fixes that.

Bug: 28861330
Change-Id: Ie1174c0f224f5084178439420b383164d22d542c
2016-05-19 18:23:44 +00:00
Android Build Merger (Role)
3ed763f360 Merge "Merge "ZygoteInit: install AndroidKeyStoreProvider in the Zygote" into nyc-dev am: 44b9f13f9c am: 14c9a306ad" into nyc-mr1-dev-plus-aosp 2016-05-19 18:22:17 +00:00
Sergio Giro
882c7d244c Merge "ZygoteInit: install AndroidKeyStoreProvider in the Zygote" into nyc-dev am: 44b9f13f9c
am: 3eb0680642

* commit '3eb06806429f444fe87b894308681e20e6871c7d':
  ZygoteInit: install AndroidKeyStoreProvider in the Zygote

Change-Id: Ia3c21577450bc028548e8427a4a0f9f552e4890f
2016-05-19 18:21:50 +00:00
Sergio Giro
8b0323eead Merge "ZygoteInit: install AndroidKeyStoreProvider in the Zygote" into nyc-dev am: 44b9f13f9c
am: 14c9a306ad

* commit '14c9a306ad5700c1ab320c790fc45372243f0151':
  ZygoteInit: install AndroidKeyStoreProvider in the Zygote

Change-Id: I294dcbfa1fbf6066357b8291b5b7af8e0e7525ec
2016-05-19 18:21:48 +00:00
Steve McKay
78951ad998 Fix RTL issue in delete dialog.
Bug:28772371
Change-Id: Ia5d3e074ac40b73f21cc83f507735d0918799966
2016-05-19 11:21:41 -07:00
Chris Craik
c387613d53 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c
am: 8fc4c789f1

* commit '8fc4c789f1a356d765e98b0c3f1569fabbfb0890':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I42b9e0c852a685bd0ae1d5dd1145769b9dfd095d
2016-05-19 18:21:26 +00:00
Chris Craik
8fc4c789f1 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8
am: f6987bc94c

* commit 'f6987bc94c00fa1390aee6f665a560dcb94d7942':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: Ice3af646ca302dea7797a2ff65ed83da7beaaa90
2016-05-19 18:10:27 +00:00
Sergio Giro
14c9a306ad Merge "ZygoteInit: install AndroidKeyStoreProvider in the Zygote" into nyc-dev
am: 44b9f13f9c

* commit '44b9f13f9cfaf2e1136a1f2baab54b229d221fe4':
  ZygoteInit: install AndroidKeyStoreProvider in the Zygote

Change-Id: I22e0d3b3967ad205e0e9aad328790e907335ed17
2016-05-19 18:10:04 +00:00
Sergio Giro
3eb0680642 Merge "ZygoteInit: install AndroidKeyStoreProvider in the Zygote" into nyc-dev
am: 44b9f13f9c

* commit '44b9f13f9cfaf2e1136a1f2baab54b229d221fe4':
  ZygoteInit: install AndroidKeyStoreProvider in the Zygote

Change-Id: Ia20b312dfd8181fadd38f075817630a1c5ab518f
2016-05-19 18:09:30 +00:00
Chris Craik
f6987bc94c Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd
am: b6f51341e8

* commit 'b6f51341e8bb34de8dfdc2694599c7090971fdf8':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I323752b6f1f51a659af0aa84e7305c75ccbf0552
2016-05-19 17:59:55 +00:00
Jason Monk
dd03659cb4 QS Edit: Better handling if drags
- don't add/remove divider, hide/show it
 - don't break drag sequence by returning false
 - clean up some logic

Change-Id: I3236b1bc8a1a810e6e696c21af747bd6369c5050
Fixes: 28067638
2016-05-19 13:59:41 -04:00