David Brazdil
14e7acd58c
Fix infinite loop during package-usage.list file upgrade
...
When upgrading from version 0 to version 1 of the file
'/data/system/package-usage.list', the PackageManagerService can get
stuck in an infinite loop if one of the listed packages does not
exist, e.g. because it had been uninstalled. Fix the issue by
refactoring the loop.
Bug: 28409278
Change-Id: Ia312bd0d04f696240445b710dd6a68b93c5d5946
2016-04-27 10:35:56 +01:00
Hugo Benichi
9b907e440c
Fixes 2 race conditions in MetricsLoggerService
...
- in dump, the array of pending intent was iterated without locking
against logEvent. This can throw a ConcurrentModificationException
if at the same time logEvent sends intents and remove them from the
array.
- in getEvents, the returned reference was reading the reference of the
last event after releasing the lock on mEvents, which can cause
callers to miss events if at the same time logEvent is called and
mLastEventReference is incremented.
Bug: 28204408
Change-Id: I7ff21d4d2c0b02d8e0b47310430dff7d8a87f0bf
2016-04-27 16:47:55 +09:00
Seigo Nonaka
6e5b602552
Fix unexpected null check condition flipping.
...
With I5a40675dd226564c0ee190d0d6f7eb2a7e4673b0, isNull() is used for
null check but accidentally the condition is flipped.
Bug:28406262
Change-Id: I776a6c259765210a7b334a81876233b594fd25ed
2016-04-27 16:32:44 +09:00
Erik Kline
741b15dc75
IpManager: add a provisioning timeout option
...
Relatedly: remove the provisioning timeout from DhcpClient.
Bug: 17733693
Bug: 24837343
Change-Id: I6d5b835b4ca70ba6fd06df359fc2128a0df46252
2016-04-27 16:27:44 +09:00
Svet Ganov
6f8a10bd14
Add a missing null check
...
We no longer have a null settings value - instead it is a
null object. This change adds a missing null check that is
not changed to check against the null object.
bug:28406262
Change-Id: I5a40675dd226564c0ee190d0d6f7eb2a7e4673b0
2016-04-26 23:14:06 -07:00
Daichi Hirono
59688a5883
Remove "don't disconnect the device" description.
...
Previously MTP notification shows a message "don't disconnect the
device". But there is no unmount button for MTP. Because it's safe to
disconnect MTP device after completing file operations, we remove the
message from MTP notification.
Change-Id: I78b7649e3a9982c02b0312d221d395e9ac799318
Fixes: 28194216
2016-04-27 14:49:06 +09:00
Andrew Solovay
fc1a21d918
doc: Removed duplicate card from distribute/users page am: 5ecc2aaee8 am: 2a7de38
...
am: 80b5d84
* commit '80b5d84dcd816d7a132ee20dbc98677ff818c35f':
doc: Removed duplicate card from distribute/users page
Change-Id: I1800f2b42f5af02006d07b7b64fa1197a289da96
2016-04-27 05:44:24 +00:00
Scott Rowe
1497af4f25
Merge "docs: 3 additional review criteria for Android TV" into mnc-mr-docs am: 88e0bbce56 am: 1eb657a
...
am: 9e1a923
* commit '9e1a9233215b21785b07a753c13ec8eed851d0e8':
docs: 3 additional review criteria for Android TV
Change-Id: I8d17d44886ea71fc11d6f8c3c03c3dc938c50b92
2016-04-27 05:44:02 +00:00
David Friedman
e4ed9c7874
Docs: Adds missing Indonesian and Vietnamese to left-hand TOC for Preview docs. am: 0e7bc1b215 am: f829492
...
am: 0811472
* commit '0811472a36c7b18635654e97866c406aab587e89':
Docs: Adds missing Indonesian and Vietnamese to left-hand TOC for Preview docs.
Change-Id: I50f0e413de828bd4aa61dadd462e525e00dcf659
2016-04-27 05:43:19 +00:00
David Friedman
5256b6ce15
Merge "Docs: Localized DAC pages for N Preview." into mnc-mr-docs am: e20502c240 am: 1c2ce95
...
am: 25a92f0
* commit '25a92f0762ea5fc1e60f00b6f7634ffccc8265cd':
Docs: Localized DAC pages for N Preview.
Change-Id: I6bc25875398fbad13821095a5e0115969620fcdb
2016-04-27 05:42:07 +00:00
Cheryl Potter
a179e1845d
Merge "docs: Small edits to Vector Asset Studio Support Library support b/28199128" into mnc-mr-docs am: 0a67c6a am: b8f834d
...
am: 1f48ddb
* commit '1f48ddb1902764bdcbd4eb885a25a1c8c5897a34':
docs: Small edits to Vector Asset Studio Support Library support b/28199128
Change-Id: I4fdd22938e8e4443b3d69fc4173aac3824d83ce4
2016-04-27 05:41:44 +00:00
Daniel Yu
f09e309f7f
Merge "docs: Fixing various minor issues" into mnc-mr-docs am: 9780f94 am: cf35d40
...
am: d563c25
* commit 'd563c253911b5ad86804b474acbc931d27572d2a':
docs: Fixing various minor issues
Change-Id: Ied80c3fc5cbe1af6fce8a006af698170601bf292
2016-04-27 05:41:21 +00:00
Kevin Hufnagle
27076c7bfc
Merge "docs: [Revert] Improved description of "package" attribute (manifest)." into mnc-mr-docs am: fa8847d am: ee3411d
...
am: 0e5d260
* commit '0e5d260ae793a42efc974c0674a530f808d7f05a':
docs: [Revert] Improved description of "package" attribute (manifest).
Change-Id: I336b8fa0787934813004b8c3b322a408635c6c87
2016-04-27 05:40:59 +00:00
Cheryl Potter
526c6dd8c3
docs: Remove banned deep link term from release notes b/28153615 am: 0489fe9 am: 6e09530
...
am: d88a3ca
* commit 'd88a3caddb34aed7bef5a7d01f62164eacbcbbb0':
docs: Remove banned deep link term from release notes b/28153615
Change-Id: Ibdf8a433c31d8487d1319ff61912baacc0500e3e
2016-04-27 05:40:37 +00:00
Kevin Hufnagle
096e5a807f
Merge "docs: Improved description of "package" attribute (manifest)." into mnc-mr-docs am: 190bf3b943 am: 19db30b
...
am: 7e8840d
* commit '7e8840dec7879e2973ebf1e09c74a482c1ee8651':
docs: Improved description of "package" attribute (manifest).
Change-Id: I8ea2623afea04cc3f5c5b9550fc66cb42d79a5d2
2016-04-27 05:40:13 +00:00
Kevin Hufnagle
48a4930ef6
Merge "docs: Clarified purpose of application "name" attr within manifest." into mnc-mr-docs am: c3500321cd am: c9c3ad8
...
am: 3c8a59f
* commit '3c8a59fc25e7d1bd777f15ef9712696b341e2a49':
docs: Clarified purpose of application "name" attr within manifest.
Change-Id: Ic8bb4cc1edbbef00d06d030e1cdae215ceb9d2e5
2016-04-27 05:39:08 +00:00
Adarsh Fernando
b26ec02bf9
Merge "Docs: Background optimizations \'foreground\' -> \'running app\' fix." into mnc-mr-docs am: df0509bce1 am: 86efe43
...
am: 016500b
* commit '016500bd5850869db649abe616ab327118b843d9':
Docs: Background optimizations 'foreground' -> 'running app' fix.
Change-Id: I90a096de57b9591304623a9713d2ef103c814290
2016-04-27 05:38:04 +00:00
Jaewan Kim
c6c5d8dc5b
Fix NPE when WindowManagerDebugConfig.DEBUG_SCREENSHOT is true
...
Bug: 28410270
Change-Id: I547556bec20a756735edad1692c64d6bd5a13773
2016-04-27 14:25:37 +09:00
Kevin Hufnagle
5dcd5e5ba5
Merge "resolve merge conflicts of 70adfe3 to nyc-dev" into nyc-dev
2016-04-27 05:24:44 +00:00
Bill Yi
119fe56bc7
Import translations. DO NOT MERGE
...
Change-Id: I462f55a9c48e4154ce97bbe76b2b8ef6add73086
Auto-generated-cl: translation import
2016-04-26 22:23:19 -07:00
Jeff Tinker
892a6a343d
Merge "Remove MediaDrm stack from mediaserver" into nyc-dev
2016-04-27 05:21:49 +00:00
Kevin Hufnagle
8ce7d79c64
resolve merge conflicts of 70adfe3 to nyc-dev
...
Change-Id: I0dbd35b74a8cc1427258b4066d759a6861faba8f
2016-04-26 22:14:38 -07:00
Baligh Uddin
15c972e137
Import translations. DO NOT MERGE
...
Change-Id: Ieeed8b27ac11d25abab727f3228dd4177a12a606
Auto-generated-cl: translation import
2016-04-26 21:55:28 -07:00
Baligh Uddin
88e5283f73
Import translations. DO NOT MERGE
...
Change-Id: I39a98d2dd0e5fb4d22faed2b19832854fce2e586
Auto-generated-cl: translation import
2016-04-26 21:32:51 -07:00
Cheryl Potter
6373dc7260
Merge "docs: Attach debugger to process 2.0 update and corrections" into mnc-mr-docs am: 97f8b66 am: b7b1e22
...
am: 93c7630
* commit '93c7630146507e1c828361d7a90fd1b8e22487da':
docs: Attach debugger to process 2.0 update and corrections
Change-Id: I1f4ee7ea866b76c3702c06b73ca96cb724e17b44
2016-04-27 04:31:04 +00:00
Amanda Kassay
605bdae988
Merge "Copied over redirects from mnc-mr-docs/vendor/google/docs/app-engine-server/v4/redirects.yaml b/27314537" into mnc-mr-docs am: 0050cd7 am: bb0a302
...
am: 8306431
* commit '83064319b2d925c052513f1b19b22fd65f9d47f7':
Copied over redirects from mnc-mr-docs/vendor/google/docs/app-engine-server/v4/redirects.yaml b/27314537
Change-Id: I1be69f55016dc8902726a3b5d6e9fae6c598ba0c
2016-04-27 04:30:36 +00:00
Ryan Seys
47b26c6ee9
Merge "Fix a couple typos and clarify UI requirements for banner images" into mnc-mr-docs am: 7c9712b am: 97c3608
...
am: cef06ba
* commit 'cef06ba4ed9dde6c51f96f3d0c246c530c175ca3':
Fix a couple typos and clarify UI requirements for banner images
Change-Id: Id67c91f881ab919d1428849102e4946ff0042530
2016-04-27 04:30:00 +00:00
Cheryl Potter
34cef12549
Merge "docs: Remove unsupported emulator features and refer users to Android Emulator b/28070270" into mnc-mr-docs am: 5f57a68 am: fa6e4eb
...
am: bbb15ba
* commit 'bbb15bab85c1583912bb7b9d630512a3d98a05d7':
docs: Remove unsupported emulator features and refer users to Android Emulator b/28070270
Change-Id: I3029969ef1a147699644f2b87604eb9cf249e47e
2016-04-27 04:28:09 +00:00
Andrew Solovay
2321fb370c
docs: Adding "OEM Unlock" issue to DP2 Release Notes am: 80d04a7 am: ee1ecbb
...
am: 8278d99
* commit '8278d999c2d1edb6be9e0c5217fd030a4f8cbbce':
docs: Adding "OEM Unlock" issue to DP2 Release Notes
Change-Id: I3625aeaf5f2f2850b9420fcc1e0e6c7692ef7ea1
2016-04-27 04:27:35 +00:00
Adarsh Fernando
543f23d592
Merge "Docs: Fixed refrences of 65K -> 64K" into mnc-mr-docs am: 1938352 am: 99f3f9c
...
am: a7905c2
* commit 'a7905c2cc4c2da88c5f3c3f52e02347bf60e7a25':
Docs: Fixed refrences of 65K -> 64K
Change-Id: I549efee1802f1e4106323f55249280e75f1c62a6
2016-04-27 04:27:04 +00:00
Cheryl Potter
00f9e8d3f6
Merge "docs: Vector Asset Studio support for Support Library in AS 2.0 b/26949405" into mnc-mr-docs am: 90518c7 am: d726826
...
am: 33351ef
* commit '33351ef5e564d0751698d8c2ebab1ad9a5bf052e':
docs: Vector Asset Studio support for Support Library in AS 2.0 b/26949405
Change-Id: I5e4de173c25eeb3701f2dcb7f37d849bc9815443
2016-04-27 04:26:30 +00:00
Sungsoo Lim
ed69570795
Another intent sent by both system and apps.
...
Bug: 28375541
Change-Id: Ia0302af28647c3d76020a22c8218963c0beb1600
2016-04-27 13:25:07 +09:00
David Friedman
c8fc3cef14
Merge "Docs: Adds Vulkan-related KIs to the N-DP2 "Support and Release Notes" page." into mnc-mr-docs am: 863db15 am: dd3abf8
...
am: 1561e33
* commit '1561e331167223b3c631508fb3d14fb590e55554':
Docs: Adds Vulkan-related KIs to the N-DP2 "Support and Release Notes" page.
Change-Id: I5e68b81a32beef3c5fbddd89b24c825d11a2ab2d
2016-04-27 04:24:55 +00:00
Cheryl Potter
9fcc7d3839
Merge "docs: Update Lint instructions for Android Studio b/26627201 b/26987391" into mnc-mr-docs am: 517ea98 am: 22be914
...
am: 56e4b32
* commit '56e4b32a121259a20dfbaf7077e69bcd8f52dcb0':
docs: Update Lint instructions for Android Studio b/26627201 b/26987391
Change-Id: I1f1639789a89b8f268e5c62d3436d735a0830346
2016-04-27 04:24:02 +00:00
Cheryl Potter
7c5c2e97b1
Merge "docs: Fix multi-touch doc b/28163832" into mnc-mr-docs am: e42d550 am: 1ab0f3f
...
am: f2b790c
* commit 'f2b790ce99455538727d957ad9100326e39aa3d9':
docs: Fix multi-touch doc b/28163832
Change-Id: Icc4e6264bd69f3aebc6747888e85c56d7f4b9a6a
2016-04-27 04:23:28 +00:00
Andrew Solovay
b8fac18749
Merge "docs: Android for Work updates to DP2 Release Notes" into mnc-mr-docs am: 86bcabf am: 59b5161
...
am: 087a37f
* commit '087a37f433c606bea80338d2bcd57f48073bb71b':
docs: Android for Work updates to DP2 Release Notes
Change-Id: Iaa87037b9ece35a5901246b0cc3abea4bebfef57
2016-04-27 04:22:51 +00:00
Adarsh Fernando
4cbdfc66b2
Merge "Docs: Updated Jack/J8 doc for DP2" into mnc-mr-docs am: ed6921b am: be83917
...
am: 7ac2c21
* commit '7ac2c2164d2498b8b4d451cda7ce0cedb4a6e1fd':
Docs: Updated Jack/J8 doc for DP2
Change-Id: Icaaedaf9fb3db8b422a8db187d7ad64acf0bf518
2016-04-27 04:21:30 +00:00
Winson Chung
e433cafe07
Merge "Mark header bar buttons as clickable only when they are made visible." into nyc-dev
2016-04-27 04:02:10 +00:00
Joe Fernandez
7072f87b7f
docs: Fixes for DP2 docs am: 1271b6e am: 4e3fbe8
...
am: 46e8c2a
* commit '46e8c2af79fe3699bd22398f6f4611907d8cebf8':
docs: Fixes for DP2 docs
Change-Id: I33a14dc06cce2a66de7774adee42dfafe00ad51f
2016-04-27 03:46:54 +00:00
David Friedman
39b6840fce
Docs: Updates NDK TOC to include new Vulkan pages. am: 1ab34c0 am: 2e1974c
...
am: 75b3275
* commit '75b32758d1bc8a62966edb9596e8e23bc0291394':
Docs: Updates NDK TOC to include new Vulkan pages.
Change-Id: I253aab51457b12328a3010055da8a32f4db57efe
2016-04-27 03:46:12 +00:00
Joe Fernandez
b9936fced4
docs: N Developer Preview 2 downloads am: 922b5e4 am: 6ef51c6
...
am: b14ac73
* commit 'b14ac736d0e4822d383feeed405cc6f2735bfeba':
docs: N Developer Preview 2 downloads
Change-Id: I0ecae4c9c02e956a711cc5c6d8359e712c6f8787
2016-04-27 03:45:19 +00:00
Robert Carr
9848c84d02
Fix surfaceInset adjustment.
...
surfaceInsets are relative and have the same
sign direction for left/top/right/bottom. This means
we want to subtract the left/top insets and add the
right/bottom in order to expand the surface. The current code
is adding the left/right insets before adding them to the right,
while still subtracting from the left. This ends up expanding the
surface by 3*inset pixels instead of 2*inset pixels.
Bug: 28368990
Change-Id: I6495e39283c7d2494c962f89e95672c5f1f6e1cd
2016-04-26 20:44:30 -07:00
Andrew Solovay
74019c40c9
Merge "docs: Continuing work on the N DP2 release notes." into mnc-mr-docs am: cd40b61 am: c308aa4
...
am: b9d7f7d
* commit 'b9d7f7d52c2e091138c8d4edf6ec40a64519e069':
docs: Continuing work on the N DP2 release notes.
Change-Id: I1853d8776e478ad7c9abf4064de20ad824aa3a2c
2016-04-27 03:43:36 +00:00
Andrew Solovay
fa91ed4855
docs: Continuing work on the N DP2 API Overview. am: f5266e5 am: ef86375
...
am: 3d3af77
* commit '3d3af778f84769c82e4c603fd30fccb60296b9e8':
docs: Continuing work on the N DP2 API Overview.
Change-Id: Ifea3883e6e2337f1272dd55671899766f072514c
2016-04-27 03:42:45 +00:00
David Friedman
91a77fd5c4
Merge "Docs: Updates NDK samples page and Vulkan landing page for launch." into mnc-docs am: a5f673f am: 9da6e91 am: 1373b2e
...
am: 2fec99b
* commit '2fec99b8407d2e1a09aa2b77c9bd47b565c8d033':
Docs: Updates NDK samples page and Vulkan landing page for launch.
Change-Id: I0c532f572f2cb7be667fdfd5e05e30ddeb351915
2016-04-27 03:42:06 +00:00
David Friedman
25fa4ca93e
Merge "Docs: Adding shader-compiler documentation to initial Vulkan doc set." into mnc-docs am: f0bc99f am: 4f3ab05 am: 76c9370
...
am: d2e09b1
* commit 'd2e09b1e8fdbb3a6f3964e4dbb64d3d614f25629':
Docs: Adding shader-compiler documentation to initial Vulkan doc set.
Change-Id: I8746ebaa8c196db00243fb8c599c70408c60d215
2016-04-27 03:40:19 +00:00
David Friedman
3d0723ea3c
Merge "Docs: Adds validation-layer material to new Vulkan doc set" into mnc-docs am: b94ea2c am: d3867e5 am: 6adbc4d
...
am: 5c58a99
* commit '5c58a99dd314e3078400e9178916b68eca451220':
Docs: Adds validation-layer material to new Vulkan doc set
Change-Id: I541213ffdf3341133973de6b82e6365d455e2132
2016-04-27 03:39:22 +00:00
David Friedman
1fb14f80b5
Merge "Docs: Vulkan Design Guidelines for Vulkan launch." into mnc-docs am: 65a8bce am: 9ac0752 am: 808053b
...
am: 3b930e1
* commit '3b930e1a57c70b27ec271f2f120144d4aa90b44f':
Docs: Vulkan Design Guidelines for Vulkan launch.
Change-Id: Ide711b56df5fc5982454defafdabf0c9a55c68e2
2016-04-27 03:38:35 +00:00
David Friedman
c6cddf914e
Docs: Getting Started guide for Vulkan on Android am: a357c3f am: 0603232 am: 82c23f1
...
am: 9e0af78
* commit '9e0af78ee6b4be14a1d7b17dd38f2e53749c5f54':
Docs: Getting Started guide for Vulkan on Android
Change-Id: I7c5ad257fb7560b8f41374761fe0e349aee651ca
2016-04-27 03:36:16 +00:00
Bert McMeen
d693509068
Merge "Docs: Correction to service node snippet of manifest file" into mnc-mr-docs am: 4fb6ada am: 650a59a
...
am: 7308200
* commit '7308200268ac856874195f2f264c8d5f4aac7462':
Docs: Correction to service node snippet of manifest file
Change-Id: I27b3a19a3103f8fd3375d6832c77ac31ff186d27
2016-04-27 03:35:17 +00:00