Commit Graph

246497 Commits

Author SHA1 Message Date
Dirk Dougherty
eeee5e2ec9 Merge "Adjust root path for translated content dirs on devsite builds." into mnc-mr-docs
am: face65fe16

* commit 'face65fe16294e7e9406c18b4dce96f6a9c8594d':
  Adjust root path for translated content dirs on devsite builds.

Change-Id: I27ea20a3ea7e0e854a4e22823a4c17c336549a53
2016-04-22 07:23:24 +00:00
Dirk Dougherty
face65fe16 Merge "Adjust root path for translated content dirs on devsite builds." into mnc-mr-docs 2016-04-22 07:15:54 +00:00
Rebecca Silberstein
efdb845427 NativeDaemonConnector: add waitForCallbacks method
Add a method that allows callers to wait until all unsolicited
responses received from the native daemon during a command are
processed.

When commands are issued to a native daemon (such as netd) through the
NativeDaemonConnector we block until the command response is received.
Any responses or events that are a side-effect (considered
"unsolicited") of the command are placed in a Message and handled as
callbacks. The order of their processing is not guaranteed and, as we
have seen from bugreports, can be handled several seconds
later - causing the SoftAP that was just set up to be torn down
because a late interface down/removed is indistinguishable from a
new interface down/removed.

This CL adds a method that first checks to make sure callback thread
is not the same thread as used for the blocking call.  The new
waitForCallbacks method uses a CountDownLatch to force the calling
thread to wait until all unsolicited responses received from the
native daemon during the execution of the command are handled.

The wifiFirmwareReload method is also updated to use the new
waitForCallbacks method.

BUG: 27857665
Change-Id: I3e22978f720b1cbf57fbb64ad4fea73f8c2d408a
2016-04-22 06:40:49 +00:00
Selim Cinek
58a22c56bc Merge "Fixed a bug where notification header could become empty" into nyc-dev
am: 57e4a67be1

* commit '57e4a67be13eede636608f789d1b88d0889683ec':
  Fixed a bug where notification header could become empty

Change-Id: Iab1ee2e9d7e8436e52697978a331889b103a7031
2016-04-22 05:42:04 +00:00
Selim Cinek
57e4a67be1 Merge "Fixed a bug where notification header could become empty" into nyc-dev 2016-04-22 05:33:33 +00:00
Jorim Jaggi
f934025e9d Merge "Fix signal cluster animation leak" into nyc-dev
am: 8891ae1f7f

* commit '8891ae1f7f69a1d1b203477bea01674c98af1141':
  Fix signal cluster animation leak

Change-Id: I00e58b5fc254f68c1f2a0549ececd01a31278cfb
2016-04-22 04:14:16 +00:00
Jorim Jaggi
8891ae1f7f Merge "Fix signal cluster animation leak" into nyc-dev 2016-04-22 04:09:13 +00:00
Selim Cinek
6b755582bd Merge "Fixed a crash when the heads up content view was null" into nyc-dev
am: 841e4946bf

* commit '841e4946bf3f6cbbc4a84d849de675f1d6296a02':
  Fixed a crash when the heads up content view was null

Change-Id: I7bfb0889584b971ff8fe0e7e2193fc146e0ebd9b
2016-04-22 03:40:32 +00:00
Selim Cinek
ba26bf8a47 Merge "Changed the name of chronometer countdown" into nyc-dev
am: 8f32cd4306

* commit '8f32cd4306a201c2167c20fc636fe613f1fabd4c':
  Changed the name of chronometer countdown

Change-Id: Id89cb8d2bf201752bab018d25068841714405c3b
2016-04-22 03:40:30 +00:00
Jorim Jaggi
155168d704 Fix signal cluster animation leak
When subscription id's change during the animation, make sure to
clear them out as well. This happens when doing a network switch
on Fi.

Bug: 27434767
Change-Id: I9cbd65888419ca630e884c51d41a0d785237f35b
2016-04-21 20:33:44 -07:00
Selim Cinek
841e4946bf Merge "Fixed a crash when the heads up content view was null" into nyc-dev 2016-04-22 03:22:14 +00:00
Selim Cinek
8f32cd4306 Merge "Changed the name of chronometer countdown" into nyc-dev 2016-04-22 03:21:52 +00:00
Erik Kline
f152a8ed35 Merge "IpManager,DhcpClient: catch some errors and better logging" into nyc-dev
am: 5486aabc74

* commit '5486aabc747501da868985a9df5e4d24d2395fda':
  IpManager,DhcpClient: catch some errors and better logging

Change-Id: Idc9d3d0aefbd7dedaa31a2f21b06ca80f4383c30
2016-04-22 03:21:47 +00:00
Jorim Jaggi
1a9fafce2e Merge "Fix squished UI elements" into nyc-dev
am: 42a6dc9bd6

* commit '42a6dc9bd6cd5028ab65f456fe7cc4d8a7fd77c8':
  Fix squished UI elements

Change-Id: I6a86c75799f8352bad08ed8170e65d7b5f7eedbe
2016-04-22 03:21:46 +00:00
Paul Crowley
f76f85501a Merge "Clear calling identity before calling mountService" into nyc-dev
am: a482c6e5e6

* commit 'a482c6e5e61c2c01502a344240ef596dfbe84f26':
  Clear calling identity before calling mountService

Change-Id: I778323b472c0ec40087e8fbf19caa23913159f50
2016-04-22 03:21:44 +00:00
Erik Kline
5486aabc74 Merge "IpManager,DhcpClient: catch some errors and better logging" into nyc-dev 2016-04-22 03:14:05 +00:00
Jorim Jaggi
42a6dc9bd6 Merge "Fix squished UI elements" into nyc-dev 2016-04-22 03:10:00 +00:00
David Friedman
e7b05a72e2 Docs: Minor fix and restructuring to Vulkan validation-layer doc to prevent devs from corrupting their NDK install.
Bug: 28242623
Change-Id: I4336e6dc70727963106413c72e46f93925016217
2016-04-21 20:07:05 -07:00
Paul Crowley
a482c6e5e6 Merge "Clear calling identity before calling mountService" into nyc-dev 2016-04-22 03:00:11 +00:00
Jorim Jaggi
65002e1d17 Fix squished UI elements
Stack bounds were wrong after moving all tasks from docked stack to
fullscreen stack, if fullscreen stack was created while moving.
This lead to very wrong bounds when rotating the screen the next
time.

Bug: 27870534
Change-Id: I6d054922ffc7baa7cd1a86d0d3448050cbacd21f
2016-04-21 18:25:49 -07:00
Fan Zhang
27904e913b Make theme decoration method public.
Bug: 28141203

Change-Id: I0a51de3f9cafe8f562108f6e859c9e59f733d0ca
2016-04-21 18:14:07 -07:00
Christopher Tate
3987b9554f Merge "Don\'t worry about an extra weak indirection with callback alarms" into nyc-dev
am: 0a7ec886c3

* commit '0a7ec886c35107c1f8d2d1ff3977ac5dd91fddd1':
  Don't worry about an extra weak indirection with callback alarms

Change-Id: I961f330a5af87881d2a05d0712096faa33c1272d
2016-04-22 00:50:54 +00:00
Dake Gu
a8314ef7bf Merge "leanback: Fix link to changed API setTitle()" into nyc-dev
am: dca499fdad

* commit 'dca499fdadff67b954883f2260f79850d65d1b97':
  leanback: Fix link to changed API setTitle()

Change-Id: Ic4f9fcd50d4cf14f21d11d3055c1684f08feefaa
2016-04-22 00:50:52 +00:00
Chris Tate
0a7ec886c3 Merge "Don't worry about an extra weak indirection with callback alarms" into nyc-dev 2016-04-22 00:40:44 +00:00
Dake Gu
dca499fdad Merge "leanback: Fix link to changed API setTitle()" into nyc-dev 2016-04-22 00:26:53 +00:00
Daichi Hirono
7e5487430c Merge "Add throws definition to MtpDevice#readEvent." into nyc-dev
am: 4dfde6079c

* commit '4dfde6079c492ab0f54e699c367abf89a5e0dfa3':
  Add throws definition to MtpDevice#readEvent.

Change-Id: I0dbb683db01ef67de04b57bf605dfda6aeeb7752
2016-04-22 00:12:19 +00:00
Daichi Hirono
e26966fe40 Merge "Handle API review comments from the council." into nyc-dev
am: b9c64cd2c0

* commit 'b9c64cd2c06933eda7ff1e691b80c53a74ff09d7':
  Handle API review comments from the council.

Change-Id: If37e15af289c47660b28ad637d8f42a861e742a5
2016-04-22 00:12:17 +00:00
Selim Cinek
183135069b Merge "Switched the notification time to relative time" into nyc-dev
am: 037235d83e

* commit '037235d83edcc78aab8798a0b221b6f14d9e15f3':
  Switched the notification time to relative time

Change-Id: I5d1ac3edbb140a2947c1e64916a2fe72b444ef4e
2016-04-22 00:12:14 +00:00
Daichi Hirono
4dfde6079c Merge "Add throws definition to MtpDevice#readEvent." into nyc-dev 2016-04-22 00:00:33 +00:00
Daichi Hirono
b9c64cd2c0 Merge "Handle API review comments from the council." into nyc-dev 2016-04-22 00:00:33 +00:00
TreeHugger Robot
037235d83e Merge "Switched the notification time to relative time" into nyc-dev 2016-04-21 23:47:23 +00:00
Garfield, Tan
360a1964a7 DO NOT MERGE: Disable drag n' drop in DocumentsActivity.
Bug: 28318396
Change-Id: If27bc093b873af5395f69d9139d3fd96e50c0a7b
2016-04-21 16:34:37 -07:00
Adam Powell
e362a65921 Merge "Move child FragmentManager shutdown for retained fragments" into nyc-dev
am: ee4ee262c6

* commit 'ee4ee262c674cf0a20cf294ecfe4b8736cf6c983':
  Move child FragmentManager shutdown for retained fragments

Change-Id: Ifca43aa119216143eaf55e531a99dd3825cf8816
2016-04-21 23:30:11 +00:00
John Reck
bf4e2f742c Merge "Fix flag value collision" into nyc-dev
am: e5cebf7aaa

* commit 'e5cebf7aaa1a1eaa16bbb8b039a572e19e0a5542':
  Fix flag value collision

Change-Id: I3e37e772474b2a8d37d2bb4dcea41daa46e23c69
2016-04-21 23:30:10 +00:00
Philip P. Moltmann
823715d656 Rename 'thousands of an inch' to 'thousandths of an inch'in the docs.
Fixes: 28268203
Change-Id: I4246bc7431d1e0ecb75a6d101ba6ccd548567704
2016-04-21 16:29:43 -07:00
Adam Powell
ee4ee262c6 Merge "Move child FragmentManager shutdown for retained fragments" into nyc-dev 2016-04-21 23:05:03 +00:00
Tim Murray
e5cebf7aaa Merge "Fix flag value collision" into nyc-dev 2016-04-21 22:59:42 +00:00
John Reck
60e885f672 Fix flag value collision
Bug: 28314544
Change-Id: If73c1e8fd0e7b313bccbeffa172bdc3ab9496a43
2016-04-21 15:40:45 -07:00
Joe Onorato
a5f89b13a8 Merge changes I036fbc5f,I979f0107 into nyc-dev
am: 60b688876d

* commit '60b688876de79392236524b950381927878fa34f':
  If we can't call into an app process to deliver an intent, crash the process.
  If a crash dialog can't be shown, just kill the process.

Change-Id: I6691a982e84fefbd537010417e3fee2580cbd1b9
2016-04-21 22:40:12 +00:00
Joe Onorato
60b688876d Merge changes I036fbc5f,I979f0107 into nyc-dev
* changes:
  If we can't call into an app process to deliver an intent, crash the process.
  If a crash dialog can't be shown, just kill the process.
2016-04-21 22:36:23 +00:00
Philip P. Moltmann
4bd8fac48e Send update notifications when the status of a print job updates and
make sure to only access mPrintServicesChangeListenerRecords when
locked.

Bug: 28315242
Change-Id: Ie41ee695e6b1b0394e55538b9d9edaee0610f1e0
2016-04-21 15:33:42 -07:00
Jorim Jaggi
9e1e02dcf9 Merge changes I7261cf87,Icabfcf47,I09e6b032,I252cf139,If85ade73, ... into nyc-dev
am: a51388d653

* commit 'a51388d6536bd57c2bbcf18e84d87763d388dbf7':
  Revert "Death to synchronous transactions (2/2)"
  Fix a few weird state issues from race-conditions
  Fix lifecycle bug in when calling positionTask
  Animation fixes when task is not resumed
  Keep stack from mReuseTask
  Final fixes for growing recents transition

Change-Id: Icccd53b5fbc4c3bde7723be261ba35ba73a99a1e
2016-04-21 22:33:21 +00:00
Chong Zhang
0d4d105259 Merge "Update divider controller\'s dim layer when the layer is changed" into nyc-dev
am: da3cd339e9

* commit 'da3cd339e968b8f54575f72823eb2e4cd826aa02':
  Update divider controller's dim layer when the layer is changed

Change-Id: I2fded43912f168eada58da94ab20ec0b572a3154
2016-04-21 22:33:20 +00:00
Joe Onorato
5869d1c5b6 If we can't call into an app process to deliver an intent, crash the process.
Rather than hoping the process will crash for some other reason, it is
better to just get rid of it right away. The Intent was not delivered,
so there are no guarantees that the app will continue to function
correctly.

Bug: 28196243
Change-Id: I036fbc5ffd42dc7259437cc5a733976478a2dd3a
2016-04-21 15:31:23 -07:00
TreeHugger Robot
a51388d653 Merge changes I7261cf87,Icabfcf47,I09e6b032,I252cf139,If85ade73, ... into nyc-dev
* changes:
  Revert "Death to synchronous transactions (2/2)"
  Fix a few weird state issues from race-conditions
  Fix lifecycle bug in when calling positionTask
  Animation fixes when task is not resumed
  Keep stack from mReuseTask
  Final fixes for growing recents transition
2016-04-21 22:28:01 +00:00
Chong Zhang
da3cd339e9 Merge "Update divider controller's dim layer when the layer is changed" into nyc-dev 2016-04-21 22:27:53 +00:00
Selim Cinek
7d1c63e66a Fixed a bug where the icon of children could be colored
Change-Id: I12e577de648f8b1734521ffe713f0168f714572a
Fixes: 28320187
2016-04-21 15:26:10 -07:00
Todd Kennedy
47763629fe Add "do not kill" install option
Passing the "--dont-kill" argument to pm install-create can be used to
install a feature split without killing the contianing application.
Use with caution.

Bug: 27780548
Change-Id: I743ac4f640c9c4251d1b3bc70ddf428bd79e07bf
2016-04-21 15:21:20 -07:00
sergeyv
92a5d4b99a Stop always set OffsetByFudgeFactor in renderVertexBuffer
bug:27857128
Change-Id: Id92e0a5790b14f76cfa8bb38e8b11ce649775da0
2016-04-21 15:20:27 -07:00
Chong Zhang
1402c2efe8 Update divider controller's dim layer when the layer is changed
The divider's layer assignment could change after the initial adjust
animation has finished.

bug: 28255739
Change-Id: I5899fe22e4fec680c49c881437c7f85d8ee9ca74
2016-04-21 15:20:08 -07:00