245194 Commits

Author SHA1 Message Date
Jeff Davidson
c2d75c898b Merge "Fix runtime restart when using aggregated net observers." into nyc-dev 2016-06-20 16:56:15 +00:00
Jason Monk
ab17c98416 QS: Don't disable hotspot animation when leaving airplane mode
Change-Id: I80750e3c4d63e4d590b43e3ed595100e054e5b1e
Fixes: 29374561
2016-06-20 12:40:37 -04:00
Julia Reynolds
2d5c95f5b9 Merge "Don't reference variables before they are assigned." into nyc-dev 2016-06-20 16:40:31 +00:00
Joe Fernandez
13697b873c docs: Narnia 2 advertising language update
b/29009702

Change-Id: Icd060074413c53d6ad24e2919dc80be949a2260c
2016-06-20 09:08:46 -07:00
Narayan Kamath
5ae42bb661 Merge "PackageManager: Don't fail app installs if dexopt fails." into nyc-dev 2016-06-20 15:19:31 +00:00
Robin Lee
6918675fa1 Remove @return from void API javadoc
Fix: 29500429
Change-Id: Ieddf211ad881e2e48bf593dcde6d262dd5be6c5c
(cherry picked from commit b3d6b13ad5fffaad82da4c060ba1a064a445456a)
2016-06-20 14:53:58 +00:00
Julia Reynolds
370bca66e7 Don't reference variables before they are assigned.
Rare but technically possible.

Change-Id: I375cd1ac0bef5b6c7295618bef087554114c3cdd
Fixes: 29394773
2016-06-20 13:56:23 +00:00
Gustav Sennton
b088cb36b8 Use newly fetched PackageInfo for loading WebView code.
During a time window between the point at which a webview package
becomes updated and the WebViewUpdateService receiving an intent
declaring this action the WebViewUpdateService APIs will return a
PackageInfo pointing to an old and possibly removed WebView package.
This means that any paths that PackageInfo is referring to could have
been removed.

Currently, we set WebViewFactory.sPackageInfo using one of these APIs
and we might thus try to use deleted paths to to load WebView. This can
cause crashes, so instead fetch a fresh PackageInfo and assign
WebViewFactory.sPackageInfo to that.

Also early-out in loadWebViewNativeLibraryFromPackage if the current
package version doesn't match that of the one fetched from the
WebViewUpdateService.

Bug: 29381682
Change-Id: I2713ce2338a4a96c5317dcdbb363b424513088d5
2016-06-20 14:30:27 +01:00
Jason Monk
bd04ec31bd Merge "QS: Fix missing tiles" into nyc-dev 2016-06-20 13:26:05 +00:00
Narayan Kamath
99407db8dd PackageManager: Don't fail app installs if dexopt fails.
bug: 29493857
Change-Id: I953de204319b943d9389bb4c787f859e169e8d21
2016-06-20 13:35:27 +01:00
Shreyas Basarge
70b6cd903e Merge "Fix for the missing sync bug" into nyc-dev 2016-06-20 09:17:21 +00:00
Chris Wren
fddf5df01f Merge "assume a generous prior in the rate estimator" into nyc-dev 2016-06-18 19:28:18 +00:00
Selim Cinek
88086e7183 Fixed a stackoverflow in notifications
Change-Id: I29ce76593af81ad6e326d2e273fd872a4d9d4a89
Fixes: 29464060
2016-06-17 21:01:32 -07:00
Selim Cinek
e5ec413c13 Fixed a bug where a notification was incorrectly marked as removed
When unauto-bundled, it could lead to serious bugs on the lockscreen
and the header not being restored.

Change-Id: I2d6310a2bcb2f3a60402db5f1e522954f8bd0389
Fixes: 29463339
2016-06-17 20:04:16 -07:00
TreeHugger Robot
d11b5e6661 Merge "DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it" into nyc-dev 2016-06-18 02:07:05 +00:00
TreeHugger Robot
fc275d244e Merge "Avoid re-calculating vsync mid-frame" into nyc-dev 2016-06-18 02:01:00 +00:00
Sudheer Shanka
1796f6fa15 Add pm operation to set user restrictions.
Bug: 29189712
Change-Id: I6fdb3b68dfe3f51119e5ce8008880fc7d9c793df
2016-06-17 18:59:07 -07:00
Selim Cinek
a554c70738 Fixed a potential issue where a notification could be empty
Change-Id: Ic4b294092a47d30c469dfbd1eb6ab31208533b1c
Fixes: 29158425
2016-06-17 18:02:12 -07:00
Roozbeh Pournader
e977b0ae59 Mark Serbian in Latin script as non-localized [DO NOT MERGE]
Serbian in Latin script is only partially localized in Android N. We
should not show it as localized in either Setup Wizard or Settings.

Bug: 29460424
Change-Id: I6829a89c49c1b5e8768b1527daa3aa9508deb491
2016-06-17 17:34:13 -07:00
TreeHugger Robot
f4ddb7ce30 Merge "Fix a race in local settings caches" into nyc-dev 2016-06-18 00:30:28 +00:00
Andre Eisenbach
1bf8782605 Merge "Fix race with BT disable in BLE_ON_STATE" into nyc-dev 2016-06-18 00:15:19 +00:00
TreeHugger Robot
838dfe60f0 Merge "Fix data race" into nyc-dev 2016-06-17 23:42:59 +00:00
Hemal Patel
ab5de09e7e Docs: Changed sample link under Related Samples
Changed the Hello Compute sample link to point to Github Android Samples page

Bug: 28928053
Change-Id: I0673620f8beb03297b5dea0b50f4ddbd9d6e25db
2016-06-17 16:29:47 -07:00
Chris Tate
4eaaf7c8ff Merge "Unspecified alarm worksource names are the rule, not the exception" into nyc-dev 2016-06-17 23:20:20 +00:00
Christopher Tate
e555cb9f4a Unspecified alarm worksource names are the rule, not the exception
Bug 29443799

Change-Id: I6457a3680a26c900ed9c8e2ac2ab3f5fc4dfc007
2016-06-17 16:11:41 -07:00
Aurimas Liutikas
f33ce4e846 Merge \\"Fix spelling error in Core App Quality docs.\\" into mnc-io-docs am: 3c8b96ad1f
am: cd9cc200d8

Change-Id: I590329103ed52b33e01b90964fa2a142c9e6e133
2016-06-17 23:11:23 +00:00
Aurimas Liutikas
cd9cc200d8 Merge \"Fix spelling error in Core App Quality docs.\" into mnc-io-docs
am: 3c8b96ad1f

Change-Id: I78b545d5bf018f7c9fd94397365753c8120700fe
2016-06-17 23:06:08 +00:00
Adrian Roos
e25c18da7d SystemUI: Override notification app name
Overrides the notification app name for all SystemUI notifications.

Change-Id: Ic7676069aa03d5b83f0fbe0e8c3ad9820453118a
Fixes: 26517701
2016-06-17 16:00:06 -07:00
Aurimas Liutikas
3c8b96ad1f Merge "Fix spelling error in Core App Quality docs." into mnc-io-docs 2016-06-17 22:57:03 +00:00
Svetoslav Ganov
8c35dcc7ae Fix a race in local settings caches
We send a handle to the generation tracker along with the first accessed
setting but don't send the generation id of when the setting was
actually looked up. So by the time the client gets the setting with the
generation tracker from which to get and cache the last generation the
setting may have changed. We need to pass the generation id along with
the value and the generation tracker.

bug:29458487

Change-Id: I0ac4955ba5b10b547f8fe653a7c28e048a4691eb
2016-06-17 15:30:45 -07:00
TreeHugger Robot
f6824b51cc Merge "Add pm operation to set user restrictions." into nyc-dev 2016-06-17 22:03:59 +00:00
Amith Yamasani
8cbe1a6309 Merge "Clean up ex-users in lock settings db" into nyc-dev 2016-06-17 21:56:00 +00:00
Svetoslav Ganov
7ef9f61be6 Merge "Don't dispatch Uris with appended user handle" into nyc-dev 2016-06-17 21:51:34 +00:00
Adrian Roos
a4b5486a70 Fix data race
Fixes a race in BluetoothControllerImpl that could lead
to a ConcurrentModificationException, by moving the manipulation
of the callbacks array to the handler.

Change-Id: I7c3be74d239d4706f55357f54e539b7b6439e76d
Fixes: 29390132
2016-06-17 14:44:20 -07:00
Winson Chung
b1f3404f8f Merge "Ensure that the tint is properly applied in docked mode." into nyc-dev 2016-06-17 21:29:04 +00:00
Calvin On
a0b91d77d6 Fix race with BT disable in BLE_ON_STATE
This will restart the BT stack when it detects a transition
into OFF state while the user enable flag (mEnable) is set.

Bug: 29363429
Change-Id: I9839119b34c4694ad92e96240c6989008b2f8d52
2016-06-17 21:18:21 +00:00
John Reck
501ff9acfe Avoid re-calculating vsync mid-frame
Fixes: 29072773

By using computeFrameTime AnimationContext would
potentially end up modifying the latest vsync if
a very-slow frame was received from the UI thread.

This could potentially desync animations that were
RT & UI thread 'synchronized', but more significantly
it would confuse the swap chain which tries to only
draw one frame per vsync causing unneccessary frame
drops.

Change-Id: Ibd2ec3157ce32fee1eec8d56837c45a35e622895
2016-06-17 20:44:43 +00:00
Dianne Hackborn
6bc33b07f4 Merge "Work on issue #29328569: NPE in " com.google.android.configupdater"" into nyc-dev 2016-06-17 20:33:22 +00:00
John Reck
34bf49e4de DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it
Bug: 29360411
Change-Id: Iefb9d7a9dafb34a2b4f79130a2a8b5a7cf7de906
(cherry picked from commit aa6e84f21ddf89ea649a3f00044bc23adfe86978)
2016-06-17 20:26:10 +00:00
TreeHugger Robot
dd65ee628f Merge "QS Edit: Fix auto-selecting add location" into nyc-dev 2016-06-17 20:22:46 +00:00
Selim Cinek
73cf02a078 Fixed a bug where the expanded layout would flash
When the heads up disappeared from the shade, it's layout would
switch to the expanded state. We're now delaying this until
the animation is done.

Change-Id: I6c5c970f6b471fb10b197922dfea520b07c84abc
Fixes: 	29318819
2016-06-17 13:08:00 -07:00
Chris Wren
888b7a8faf assume a generous prior in the rate estimator
currently with one data point the estimator is biased high. If we don't
have any data we want to be biased low to allow the first interaction
to be an isolated burst.

Also add metrics for enqueue rate to make it easier to debug this
code in the future (currently we only have metrics after the
rate limiter).

Bug: 29379789
Change-Id: I7b1d379290a55f120d039fd29d1bc0abbc6d4932
2016-06-17 15:50:30 -04:00
Andrii Kulian
d3bbb13fe2 Compare intent filter when launching adjacent
When we're looking for a task during adjacent launch, we need to
perform full intent filter comparison instead of just comparing
components.

Bug: 29424577
Change-Id: I10f271986a8dc405e28a053e4cb122c1e9aa6ee0
2016-06-17 12:41:39 -07:00
TreeHugger Robot
fc70b07385 Merge "QS API: Fix mService and mTile being null once and for all" into nyc-dev 2016-06-17 18:38:26 +00:00
Android Build Merger (Role)
68bfdd71b5 Merge "Merge \\"Docs: Completed updates to the Data Binding docs\\" into mnc-io-docs am: eebe22fef6 am: f693ea687f" into nyc-dev 2016-06-17 18:35:51 +00:00
Hemal Patel
f12c00dea4 Merge \\"Docs: Completed updates to the Data Binding docs\\" into mnc-io-docs am: eebe22fef6
am: f693ea687f

Change-Id: I235e73606098e54fc14568c6437af314f9bea337
2016-06-17 18:35:24 +00:00
Joe Fernandez
9f0722a4c7 Merge "docs: NDK r12 release notes and downloads" into nyc-dev 2016-06-17 18:35:09 +00:00
Yigit Boyar
f693ea687f Merge \"Docs: Completed updates to the Data Binding docs\" into mnc-io-docs
am: eebe22fef6

Change-Id: I47b4003b1bd1bb5cdfc12bde543dd2c9d8babdcc
2016-06-17 18:31:17 +00:00
Hemal Patel
eebe22fef6 Merge "Docs: Completed updates to the Data Binding docs" into mnc-io-docs 2016-06-17 18:25:48 +00:00
Chong Zhang
2756d0707f Merge "Do a forceLayout if pending insets is changed after relayout window" into nyc-dev 2016-06-17 18:22:30 +00:00