Commit Graph

245370 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
smain@google.com
19f9481d9d Merge "Android Studio 2.1 release notes and downloads." into mnc-mr-docs
am: c939dd0

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

Change-Id: I7d1064613d65cf605ff7dde60386a127a31d618f
2016-04-26 17:52:09 +00:00
smain@google.com
39a59d0c45 Update the N Preview docs now that Studio 2.1 is stable. bug: 28342771
am: 96e6abb

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

Change-Id: If270f5a042c29b62fcb0834e153277ea3c1619ee
2016-04-26 17:52:06 +00:00
smain@google.com
beab847500 Android Studio 2.1 release notes and downloads.
am: 8e48332

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

Change-Id: Ie8f409000083a8403659150d05bbad6fe495c0ef
2016-04-26 17:52:05 +00:00
smain@google.com
96e6abb248 Update the N Preview docs now that Studio 2.1 is stable.
bug: 28342771

Change-Id: I73ee710928e4270ffe8212ca16b42d28b738949e
(cherry picked from commit 8ac737db37)
2016-04-26 17:44:51 +00:00
smain@google.com
8e48332fa6 Android Studio 2.1 release notes and downloads.
Change-Id: I6e97e5a692ab1a2737672e7a2e23644119117caa
(cherry picked from commit ec3e785d25)
2016-04-26 17:44:15 +00:00
Scott Main
c939dd0f9c Merge "Android Studio 2.1 release notes and downloads." into mnc-mr-docs 2016-04-26 17:44:04 +00:00
TreeHugger Robot
9444231550 Merge "Bluetooth: Fine tune audio gain for Absolute Volume case" into nyc-dev 2016-04-26 17:43:22 +00:00
TreeHugger Robot
34510eb293 Merge "Don't opt-out of warning dialog by default on user builds." into nyc-dev 2016-04-26 17:40:29 +00:00
Chong Zhang
4d7369adb3 Request a wallpaper update pass when wallpaper target is set to visible
Usually wallpaper target gets updated when some wallpaper target window
finishes drawing. However in some cases, Recents app could be set to
visible again before its stopped. (Which could happen when we started
opening transition into some app with a saved surface, but the app draws
so slow so that when user pressed Recents button again, the app still
hasn't delivered first frame.) In this case, the surface is already
drawn and we won't get a finish drawing again. We need to make sure the
wallpaper target is updated.

bug: 27742244
Change-Id: I8ff53f15f95bae8a99a5a0fd11e24e0186dc3345
2016-04-26 10:36:07 -07:00
Todd Kennedy
69582262f0 Merge "Add "do not kill" install option" into nyc-dev 2016-04-26 17:17:50 +00:00
TreeHugger Robot
fff349ddba Merge "Apply tint when setting check mark drawable" into nyc-dev 2016-04-26 17:17:05 +00:00
Dirk Dougherty
61a6d2f359 Merge "Remove static _book.yaml in favor of generated version (samples_navtree_data.cs)." into mnc-mr-docs am: 2974e94
am: 1c1a85bc

* commit '1c1a85bc82c5b99571cc8b5ae63b4fdf9dfa09c1':
  Remove static _book.yaml in favor of generated version (samples_navtree_data.cs).

Change-Id: I23ee22c39d7c9a0b18526d442078e471e78eb394
2016-04-26 17:05:22 +00:00
Dirk Dougherty
1c1a85bc82 Merge "Remove static _book.yaml in favor of generated version (samples_navtree_data.cs)." into mnc-mr-docs
am: 2974e94

* commit '2974e94e41844cc8ecfb039f70c2040428dd73bd':
  Remove static _book.yaml in favor of generated version (samples_navtree_data.cs).

Change-Id: I0f6ca21b301215b5816eea9ec420830a21cac3d3
2016-04-26 17:02:18 +00:00
Dongwon Kang
150923ac6a TIF: Change invalid error code to RECORDING_ERROR_UNKNOWN
Bug: 28146354
Change-Id: Ida6525b77abf3cd8988fb948ce41645d6983fa95
2016-04-26 10:02:04 -07:00
Dirk Dougherty
2974e94e41 Merge "Remove static _book.yaml in favor of generated version (samples_navtree_data.cs)." into mnc-mr-docs 2016-04-26 16:55:33 +00:00
smain@google.com
ec3e785d25 Android Studio 2.1 release notes and downloads.
Change-Id: I6e97e5a692ab1a2737672e7a2e23644119117caa
2016-04-26 16:20:54 +00:00
Liejun Tao
39fb5670a8 Bluetooth: Fine tune audio gain for Absolute Volume case
Fine tune the audio gain for Bluetooth Absolute Volume.
Use 50%, 70% and 85% for lowest volume steps 1, 2 and 3.
Thus the volume change sounds smoother, more linear.
When remote end tune volume out of mute, we should also
tune the audio gain for the lowest volume steps.

Bug: 26694114
Change-Id: I298a334a4b40ddb87495fda1935349bfce8b0537
2016-04-26 09:19:17 -07:00
Kevin Hufnagle
c78400e095 Merge "docs: Added entry in USB vendor ID table for HP." into mnc-docs am: b8767b7 am: 599796e
am: f2f64b7

* commit 'f2f64b73444a7f06423e26c8fd465b82da718b23':
  docs: Added entry in USB vendor ID table for HP.

Change-Id: I89e5ec7da0a2c585ccf1cd5b899196a157ccebe0
2016-04-26 15:37:27 +00:00
Kevin Hufnagle
f2f64b7344 Merge "docs: Added entry in USB vendor ID table for HP." into mnc-docs am: b8767b7
am: 599796e

* commit '599796ecef67e28c1c52dc06b1bf7401d9f77a33':
  docs: Added entry in USB vendor ID table for HP.

Change-Id: I94a442b96b7b9b838c27179233b09bef5298d800
2016-04-26 15:34:21 +00:00
Kevin Hufnagle
599796ecef Merge "docs: Added entry in USB vendor ID table for HP." into mnc-docs
am: b8767b7

* commit 'b8767b7f6d70b21f024613c5d933ff62cf2e0918':
  docs: Added entry in USB vendor ID table for HP.

Change-Id: I7ccd56011ba1199b64ffab85d966910ffb9e91be
2016-04-26 15:31:04 +00:00
Julia Reynolds
a0676c9207 Merge changes from topic 'api_review' into nyc-dev
* changes:
  Api review: Settings.
  Reduce spacing.
2016-04-26 15:29:11 +00:00