Commit Graph

246497 Commits

Author SHA1 Message Date
Kevin Hufnagle
ab38a66142 Merge "docs: Fixed Marshmallow links in API level table." into mnc-mr-docs am: 88e19d1 am: 2d9cc0f
am: a732be1

* commit 'a732be179d7bc06580b66669d6b6c7ebe05b9e01':

Change-Id: I1a2d3eba374fe931b28e0358740d545348ebceba
2016-04-26 21:03:09 +00:00
smain@google.com
55ba523a63 typo
am: de6fde7

* commit 'de6fde797012535c3ec1e67c9919e6a8dc88d4cf':
  typo

Change-Id: Iaa18d64775f72fcdd1be432e758c3ed65e3afe9c
2016-04-26 21:02:33 +00:00
Kevin Hufnagle
049902fae8 Merge "docs: Removed "Drive Installs from Search" page." into mnc-mr-docs am: 8ea3fd8 am: f1cb86cc
am: 690cba0

* commit '690cba02682e89299f94d58a5ea9f212006c11c4':

Change-Id: I958d262d9022e91a85f75af7f3e8cb9af1e1f355
2016-04-26 21:00:06 +00:00
Joe Fernandez
d8e20a310d Merge "docs: NDK r11c - release notes and downloads" into mnc-mr-docs am: 42a3312 am: faa815d
am: 2ca2a2c

* commit '2ca2a2c86571d0ad05b95ea0bda7d33414e4cb89':

Change-Id: Ica6e6425d795da330da197536a0e516fb53c8b7d
2016-04-26 20:57:54 +00:00
Felipe Leme
2850b56b9e Update background data restrictions intent javadoc.
BUG: 26820898
Change-Id: Ib2ed6835708ec77926fe49264ccf65a0aaf9a984
2016-04-26 13:57:00 -07:00
Andrew Solovay
22df4ed94c docs: Added link to "preparing for multiwindow" blog post am: d93472b am: 5db4e1f
am: 04b4190

* commit '04b41903f9c4ceebc0f5d2e03f8f921f5dc95e69':

Change-Id: I789b9b1066978a665b1262e46a8331c07cd7e9c3
2016-04-26 20:55:21 +00:00
smain@google.com
de6fde7970 typo
Change-Id: I9d1bf39a73b227372cbde1bd7eb4069744b8ebad
(cherry picked from commit 35170697ee)
2016-04-26 20:54:50 +00:00
smain@google.com
35170697ee typo
Change-Id: I9d1bf39a73b227372cbde1bd7eb4069744b8ebad
2016-04-26 13:52:39 -07:00
Andrew Solovay
197cfcde13 Merge "docs: Clarified how multi-window applies to activities in task stack" into mnc-mr-docs am: a23e28f am: fbb8b65
am: 3832614

* commit '3832614650f39719dbbb52ee092c0826291d6516':

Change-Id: Ic5aab52976bceb23ad6c584b87ee86fcff634c76
2016-04-26 20:52:24 +00:00
Dianne Hackborn
d6e4aa499a Fix issue #28403313: Improve package manager query commands
Change-Id: I69122cb2ba04e7d8e5e2ff1aaeb840a28dfc3e14
2016-04-26 13:51:07 -07:00
Elliot Waite
369a536e54 Merge "Change colons to equals for custom_link_attributes." into mnc-mr-docs am: abb9f4d am: fe0cc90
am: e8b402e

* commit 'e8b402e20533d5ce7387a4666683c971b22ba381':

Change-Id: Ie43452782ce7ab1e1bdbce67c007b2d3705c7910
2016-04-26 20:49:26 +00:00
Miao Wang
77f655c2a2 Merge "[RenderScript] Update documentation about API level and RS Support Lib." into mnc-mr-docs am: f2988f5 am: 2291d03
am: 25570d5

* commit '25570d531904594d0e73cbc5c7a5105006aa8cdd':

Change-Id: I91af0cd7f8a87e3bf00261cece1bf19c9fb88790
2016-04-26 20:46:23 +00:00
Baligh Uddin
21d25948b1 Import translations. DO NOT MERGE
Change-Id: I1d1476f589e3f8fc34d6ed748592b9ed50254251
Auto-generated-cl: translation import
2016-04-26 13:45:25 -07:00
sreevanis
65600189ae Merge "cherrypick from mnc-docs docs: Updated API changes for Dinar wearable support." into mnc-mr-docs am: f70f0f4 am: 9f57db1
am: cedb262

* commit 'cedb262cfaffed00f091d2a0abe22f92f9809d3e':

Change-Id: I216382c84e33766b5d6d3bdc6c831ffd9afa6560
2016-04-26 20:43:10 +00:00
Lajos Molnar
7a2ab16b65 VideoCapabilities: account for block size for getAchievableRates
Bug: 25597057
Change-Id: I1a01e4b466e2b70cebf55179c83806fe269a31ee
2016-04-26 13:42:44 -07:00
Baligh Uddin
8274d65d91 Import translations. DO NOT MERGE
Change-Id: I91487f91ea00c34859b4e8a015ecbd88b84c9574
Auto-generated-cl: translation import
2016-04-26 13:41:51 -07:00
sreevanis
88121700dd Merge "docs: Updated API changes for Dinar wearable support." into mnc-docs am: 71b1f0b -s ours am: a6d7166 am: 0446ed4
am: f786db7

* commit 'f786db7b9bcc6ebfa79b4bc60a837877e5a8a380':

Change-Id: I0c8528b9a6a0313f8983cd4d75adc244ec68f92d
2016-04-26 20:40:13 +00:00
smain@google.com
0459843629 simplification and clarification to the Studio Overview am: e9b3ada am: f1a5076
am: 1f8be54

* commit '1f8be548ae1c21be6651ddc2621018b2028c58d0':

Change-Id: I2e08479aadd3d223b11e10d873239e14ed1a6976
2016-04-26 20:36:57 +00:00
smain@google.com
e4a095ab6a Merge "improved structure and organization between video and training docs on the Training landing page." into mnc-mr-docs am: 49b17d3 am: 30c61f9
am: 07bfe29

* commit '07bfe296d0e7337ba42fcf260d1029746308a262':

Change-Id: Iedc8b307eba45aa106b52fac980fe1c0fe8cdae3
2016-04-26 20:34:41 +00:00
Chris Craik
0d48f40218 Merge "Improve SurfaceView postion snapping" into nyc-dev
am: 987609f

* commit '987609f5a7bd8e18559334aa0260e6614520af13':
  Improve SurfaceView postion snapping

Change-Id: I91683e93b9ddfd47d9ebc0a81cf144c359f106fb
2016-04-26 20:28:00 +00:00
Chris Craik
987609f5a7 Merge "Improve SurfaceView postion snapping" into nyc-dev 2016-04-26 20:20:39 +00:00
Chet Haase
fa21bdfd5a Document behavior of object references in Animator classes
Animators that are created with Object values may have undefined
behavior when those objects are changed outside of the animator itself.
For example, an animator created with a start Rect and end Rect
will animate the bounds between those two objects. But if the caller
changes either the start or end rect before or during the animation,
that will affect the values used on every frame of the animation.

Issue #28304520 Strange interpolation of property values holder values

Change-Id: Id6ac19c8369ae34450e6b53d68f5e492b27c577e
2016-04-26 13:03:31 -07:00
Mady Mellor
33c2ef37e7 Merge "Fix a crash when setting vertical gear location and content view null" into nyc-dev
am: 6e3a90d

* commit '6e3a90d9b7789b04121a6b773175b97e165ba702':
  Fix a crash when setting vertical gear location and content view null

Change-Id: I90b3cb69e8e292f6270a3f7ae0ba6750a41df7c9
2016-04-26 19:46:09 +00:00
Mady Mellor
6e3a90d9b7 Merge "Fix a crash when setting vertical gear location and content view null" into nyc-dev 2016-04-26 19:38:44 +00:00
Chong Zhang
55c9d73918 Do not set waitForDebugger if the process to be debugged already started
For non-persistent debug settings, mDebugApp and mWaitForDebugger flags
will only be restored when we get attachApplication. If the process is
already running, we can't wait for debugger and there will be no
attachApplication calls coming.

We should leave the settings unmodified, otherwise after two such calls,
both mDebugApp and mOrigDebugApp will point to the same app, and the
debug settings can never be restored.

bug: 27931552
Change-Id: Id53e21bbe154f45bf2ca12bb5d7fd56279bae653
2016-04-26 12:29:14 -07:00
Chris Banes
c202e175de Merge "Fix onPrepareActionMode() not being called" into nyc-dev
am: 9412176

* commit '94121762ff47728fd8080f45f04cafb55b92079d':
  Fix onPrepareActionMode() not being called

Change-Id: Ib8accfd3ffafefd963a7d2d8b09e3a2d5cf26a34
2016-04-26 19:26:56 +00:00
Chris Banes
94121762ff Merge "Fix onPrepareActionMode() not being called" into nyc-dev 2016-04-26 19:20:16 +00:00
Adarsh Fernando
c070811219 Merge "Docs: Gradle 2.1.0 Release Notes" into mnc-docs am: aa53fb1 am: c49e787
am: 4defc19

* commit '4defc19f9d18c169a7752d3c78eb7d1d80e54d96':
  Docs: Gradle 2.1.0 Release Notes

Change-Id: Iacc8151511e3f6f6dd9b0145a13361fb38fe8e96
2016-04-26 18:57:45 +00:00
Adarsh Fernando
4defc19f9d Merge "Docs: Gradle 2.1.0 Release Notes" into mnc-docs am: aa53fb1
am: c49e787

* commit 'c49e787863046ab6f588edf53a5861650f9f6a6b':
  Docs: Gradle 2.1.0 Release Notes

Change-Id: I559e89210eb9f0414505f48eb966cd1480fde1b3
2016-04-26 18:54:28 +00:00
Adarsh Fernando
c49e787863 Merge "Docs: Gradle 2.1.0 Release Notes" into mnc-docs
am: aa53fb1

* commit 'aa53fb10d6cb7de197b336e45f96aa1b17af7139':
  Docs: Gradle 2.1.0 Release Notes

Change-Id: I041f60d147491cf7ea596e21642b2807e9312128
2016-04-26 18:51:11 +00:00
Svet Ganov
c1a5bace1e Merge "Ensure local settings caches are not stale" into nyc-dev
am: f71d7fe

* commit 'f71d7feef22db9e0cab2f32edc7440aedb86fdfe':
  Ensure local settings caches are not stale

Change-Id: Iab7ff4dbfb4961b131b8ab82656b99bf45ed29bf
2016-04-26 18:47:52 +00:00
Adarsh Fernando
aa53fb10d6 Merge "Docs: Gradle 2.1.0 Release Notes" into mnc-docs 2016-04-26 18:45:28 +00:00
Winson
3e5f0af085 Mark header bar buttons as clickable only when they are made visible.
- We were incorrectly setting the OnClickListener to null to try to do 
  this, which still causes the touch event to be consumed by the button
  view, so instead we should just set the clickable state directly.

Bug: 27859552
Change-Id: Ida3b4a467c6f325ce8fe5a90b0b77c2bdda5a936
2016-04-26 11:39:28 -07:00
Alan Viverette
11125b0700 Merge "Remove -night qualified resources" into nyc-dev
am: 83ca62b

* commit '83ca62bdbe00359a1cf574efc5abfb19c5f57337':
  Remove -night qualified resources

Change-Id: Ie61dafd3462a85bec90496a0ee4aa3e06d96c8e4
2016-04-26 18:37:49 +00:00
Svetoslav Ganov
f71d7feef2 Merge "Ensure local settings caches are not stale" into nyc-dev 2016-04-26 18:36:28 +00:00
TreeHugger Robot
83ca62bdbe Merge "Remove -night qualified resources" into nyc-dev 2016-04-26 18:33:05 +00:00
Svet Ganov
53a441ca8e Ensure local settings caches are not stale
We used the system proterties as a shared memory mechanism
to propagate information to local settings caches when the
content has changed and the cache should be cleared. The
system properties are unfortunately updated asynchronously
leading to cases where clients may read stale data.

This change adds a simple int array data structure backed
by shared memory which guarantees individual values are
atomically read and updated without memory tear. Multi-
index opearations are not synchronized between each other.

The settings provider is using the new data structure to
propagate the settings generation which drives when caches
are purged.

We have a single memory array keeping the generation for
different settings tables per user. Since memory array is
not a compact data structure and the user space exceeds
the memory array size we use an in-memory map from keys
to indices in the memory array where the generation id of
a key is stored. A key is derived by the setting type in
the 4 most significant bits and the user id in the 28 least
significant bits.

The mapping from a key to an index is cleared if the user is
removed and the corresponding index in the memory arry is
reset to make it available for other users. The size of the
memory array is derived from the max user count that can be
created at the same time.

bug:18826179

Change-Id: I64009cc5105309ef9aa83aba90b82afc8ad8c659
2016-04-26 11:31:55 -07:00
Eino-Ville Talvala
1df18b7bca Merge "SchedulingPolicyService: Fix UID for cameraserver" into nyc-dev
am: e9bfc4e

* commit 'e9bfc4e20b1a0269c8b7fc7f52eb15ebaacdefec':
  SchedulingPolicyService: Fix UID for cameraserver

Change-Id: Ia2adf7e06fa63ef8eac28dddbda08f5c0b2fe99c
2016-04-26 18:31:14 +00:00
Adarsh Fernando
e956580630 Docs: Gradle 2.1.0 Release Notes
Bug: 28314226
Change-Id: Icf704d9292dd279aedae3efab301736f2f46af3f
2016-04-26 11:30:13 -07:00
Eino-Ville Talvala
e9bfc4e20b Merge "SchedulingPolicyService: Fix UID for cameraserver" into nyc-dev 2016-04-26 18:21:43 +00:00
Julia Reynolds
7f73308f50 More bugreport logging for scheduleconditionprovider.
Bug: 28261291
Change-Id: I70d1b466a9d4e18e5f4d9b1209711c442434ecab
2016-04-26 14:19:19 -04:00
smain@google.com
c7984b5d62 Update the N Preview docs now that Studio 2.1 is stable. bug: 28342771 am: 96e6abb am: 39a59d0
am: 86c6f97

* commit '86c6f97bce6beb84e826af02e26e4fd256b385f8':
  Update the N Preview docs now that Studio 2.1 is stable. bug: 28342771

Change-Id: I9d1d81f463768db9f841fe639229702fbca807e6
2016-04-26 18:02:25 +00:00
smain@google.com
7499bc755f Android Studio 2.1 release notes and downloads. am: 8e48332 am: beab847
am: 6461bca

* commit '6461bcaea5fbfb5b1056f4e26600dfe50762a036':
  Android Studio 2.1 release notes and downloads.

Change-Id: I429dac11ad58ff7694b0e364e7a0909ff1fffe6d
2016-04-26 18:02:23 +00:00
Mady Mellor
a6edc87829 Fix a crash when setting vertical gear location and content view null
When setting the vertical location of the gear we need the collapsed
height of the parent, the parent might not be fully laid out so move
setting the vertical location into onLayout instead

Bug: 28390732
Change-Id: I7c1bf14a54e9f1ef0a693fa13e1a6533f5967631
2016-04-26 11:01:03 -07:00
Scott Main
88b27807cc Merge "Android Studio 2.1 release notes and downloads." into mnc-mr-docs am: c939dd0
am: 19f9481

* commit '19f9481d9d3e306078a0eb084b427535976980e1':
  Android Studio 2.1 release notes and downloads.

Change-Id: I980cc737f56a525c37c67c868f847fdb6cb3f9cb
2016-04-26 17:55:56 +00:00
smain@google.com
86c6f97bce Update the N Preview docs now that Studio 2.1 is stable. bug: 28342771 am: 96e6abb
am: 39a59d0

* commit '39a59d0c45df2fd724dde27caaab7622f1994673':
  Update the N Preview docs now that Studio 2.1 is stable. bug: 28342771

Change-Id: I24fe1b61520c956e61c490b96ae8bd98b5aed017
2016-04-26 17:55:55 +00:00
smain@google.com
6461bcaea5 Android Studio 2.1 release notes and downloads. am: 8e48332
am: beab847

* commit 'beab847500dc51dc0fd5566487545f9c60cc422f':
  Android Studio 2.1 release notes and downloads.

Change-Id: I7b2fa8885632c0fc85b637e05f8e559451a2e4f0
2016-04-26 17:55:54 +00:00
Kenji Sugimoto
ea3064a586 Set installed flag of all users if system app is installed later
If an application(in /data) that other user installed it initially
is appended as system app later, owner user can not use the system app.

The reason this issue occurs is that the owner user's installed flag
is set false when the application was installed by other user
and the installed flag is not updated when the application is appended
as system app later.

So, we fix like as setting the installed flag to true
when the application is appended as system app.

Bug: 28183865
Change-Id: I0b4da5e0bb77fb3baf86d0453e6637a230b104ba
2016-04-26 10:55:30 -07:00
Liejun Tao
255070d2be Merge "Bluetooth: Fine tune audio gain for Absolute Volume case" into nyc-dev
am: 9444231

* commit '94442315502026a7b3a8a8c1ed74e7794670b0b0':
  Bluetooth: Fine tune audio gain for Absolute Volume case

Change-Id: I4686722e2cc9d1d059ba240902aa84fffb7b7831
2016-04-26 17:52:12 +00:00
Felipe Leme
a6db844cef Merge "Don\'t opt-out of warning dialog by default on user builds." into nyc-dev
am: 34510eb

* commit '34510eb2933b98f0c8c73f9a7be5eae911a14210':
  Don't opt-out of warning dialog by default on user builds.

Change-Id: I4cb37a050cbed326ca78e9d3ace672819059e825
2016-04-26 17:52:11 +00:00