Commit Graph

255075 Commits

Author SHA1 Message Date
Dianne Hackborn
ea05cd57f5 Fix issue #29438842: Enter the "am broadcast -a...
...'android.hardware.action.NEW_PICTURE'" to terminal, but does not have a response.

Change-Id: I264f386810237a7abc767f68363afeccda557b9c
2016-06-20 11:22:40 -07:00
Gustav Sennton
cdbf412f8e Merge "Use newly fetched PackageInfo for loading WebView code." into nyc-dev 2016-06-20 18:17:06 +00:00
Chong Zhang
168e07a6b3 Merge \"Make sure fontScale in configuration sent to app is equal to global\" into nyc-dev
am: 7c6692646c

Change-Id: Ia4b4fc716a5d6e8146a1d13fe3ed750c7287e77d
2016-06-20 18:11:56 +00:00
Adrian Roos
03ed2f837d Merge \"SystemUI: Override notification app name\" into nyc-dev
am: e416a4200a

Change-Id: I874cdfb2452b4c67377c434b851bb7c5ec51328a
2016-06-20 18:11:52 +00:00
Wale Ogunwale
60920d5aa1 Revert "Don't re-launch activities while the device is sleeping"
This reverts commit 0619545be9.

Bug: 29497152
Bug: 28518380
Change-Id: I8684b731b1e9973ead7066dc650eff720f70ac91
2016-06-20 11:11:28 -07:00
Sudheer Shanka
3b2297d05f Allow call addSharedAccountsFromParentUser with CREATE_USERS permission.
Bug: 29189712
Bug: 29500492
Change-Id: I0fca4951d41c14aa1739e01ca15d674b86a15d7c
2016-06-20 18:11:26 +00:00
Chong Zhang
7c6692646c Merge "Make sure fontScale in configuration sent to app is equal to global" into nyc-dev 2016-06-20 18:02:51 +00:00
Adrian Roos
e416a4200a Merge "SystemUI: Override notification app name" into nyc-dev 2016-06-20 18:00:04 +00:00
Adam Lesinski
f9b20a9ec4 BatteryStats: record best estimated battery capacity
Using the coulomb counter, record the estimated max battery
capacity.

Bug:28743761
Change-Id: I1270b062cf4a1e6fd69ea1da3de11a85a81b3663
2016-06-20 10:58:37 -07:00
Chong Zhang
6be533ef6c Make sure fontScale in configuration sent to app is equal to global
We don't want the default value 1.0 from empty config to be applied
as an override.

bug: 29367672
Change-Id: Ia9947c24fa9435ba5b208eb9bd05e0b07b574015
2016-06-20 10:55:03 -07:00
Christopher Tate
abf0d56469 Merge \"Let bmgr inspect the set of whitelisted transports\" into nyc-dev
am: 0f101342e1

Change-Id: Ie0f51529e4cad6f3c68c49b2b1e1d0baca6222b6
2016-06-20 17:35:04 +00:00
Jeff Davidson
2d3fdfd95b Merge \"Fix runtime restart when using aggregated net observers.\" into nyc-dev
am: c2d75c898b

Change-Id: Ie5e3e5e4871b7fe6ec613d7bea97ab73929f6c14
2016-06-20 17:34:58 +00:00
Julia Reynolds
bd0bb036ca Merge \"Don\'t reference variables before they are assigned.\" into nyc-dev
am: 2d5c95f5b9

Change-Id: I2d379ee7b02ebde5020ef94e333fff671b9c96b6
2016-06-20 17:34:55 +00:00
Narayan Kamath
b9ebff58f5 Merge \"PackageManager: Don\'t fail app installs if dexopt fails.\" into nyc-dev
am: 5ae42bb661

Change-Id: I9b354c1bb42a17d020e40899526f9d9c61572db8
2016-06-20 17:30:40 +00:00
Robin Lee
8a8a489bbf Remove @return from void API javadoc
am: 6918675fa1

Change-Id: Ie91f340ac28868a00197898b662cb809c750ec65
2016-06-20 17:30:34 +00:00
Jason Monk
339923b5e9 Merge \"QS: Fix missing tiles\" into nyc-dev
am: bd04ec31bd

Change-Id: Iab076b534faf6ffa9496e9104674544b97a8c970
2016-06-20 17:30:27 +00:00
Shreyas Basarge
956c8b7892 Merge \"Fix for the missing sync bug\" into nyc-dev
am: 70b6cd903e

Change-Id: Iea3af329cf5aaf370c4454ef35f8c35c36b6d04c
2016-06-20 17:30:21 +00:00
Chris Wren
02af0f327e Merge \"assume a generous prior in the rate estimator\" into nyc-dev
am: fddf5df01f

Change-Id: I4a526dd0467a6f57e9e919817f87d643071ae81b
2016-06-20 17:30:15 +00:00
Marie Janssen
382871b03f Fix links to Bluetooth Guide
Change-Id: I5798c3d71c7cc9c509e0f7b04fa140168b0fdc11
2016-06-20 10:26:31 -07:00
Chris Tate
0f101342e1 Merge "Let bmgr inspect the set of whitelisted transports" into nyc-dev 2016-06-20 17:19:55 +00:00
David Brazdil
83dce3642a Fix NPE in reading package-usage.list file
A zero-length file is a valid package usage file of version 0 but
checking against the version 1 magic would throw a NPE.

Bug: 29491065
Change-Id: Ie54b1dd3218e4b1251c29db0c784a5ddf605394f
2016-06-20 17:56:25 +01:00
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 b3d6b13ad5)
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
John Reck
f5159155d0 Merge \"DO NOT MERGE Move SurfaceView offscreen if the app stops drawing it\" into nyc-dev
am: d11b5e6661

Change-Id: I1caf2fbac785c68c6afeb61b60493e728a83a670
2016-06-18 02:14:29 +00: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
John Reck
cb0649f72b Merge \"Avoid re-calculating vsync mid-frame\" into nyc-dev
am: fc275d244e

Change-Id: Ic46d2d9627c4dcbd345b49f01af0bf3b8247259c
2016-06-18 02:05:17 +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
Svetoslav Ganov
ee4c0a3c7e Merge \"Fix a race in local settings caches\" into nyc-dev
am: f4ddb7ce30

Change-Id: Ia973ef68382ac359908b83be3dbca485c91d5cd6
2016-06-18 00:38:28 +00: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
Calvin On
c535f2a520 Merge \"Fix race with BT disable in BLE_ON_STATE\" into nyc-dev
am: 1bf8782605

Change-Id: I9d82cab156e81e87faf965ed1c9b37bc73359cc0
2016-06-18 00:20:14 +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
Adrian Roos
6aa4b7fb11 Merge \"Fix data race\" into nyc-dev
am: 838dfe60f0

Change-Id: I4aa6d76b855bcbb9d570ddcfcf8f8c61c135930d
2016-06-17 23:50:12 +00:00
TreeHugger Robot
838dfe60f0 Merge "Fix data race" into nyc-dev 2016-06-17 23:42:59 +00:00
Christopher Tate
fda1e10468 Merge \"Unspecified alarm worksource names are the rule, not the exception\" into nyc-dev
am: 4eaaf7c8ff

Change-Id: I92267b8ce147e9172147e0bea4ac2c23e91f6e8b
2016-06-17 23:30:29 +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