189368 Commits

Author SHA1 Message Date
Andy Hung
25d4a63983 Merge "Add channel index mask to AudioRecord" 2015-04-23 01:30:05 +00:00
Doris Liu
7b380329ec Merge "Infer value type for keyframes when it is undefined" 2015-04-23 01:13:39 +00:00
Dianne Hackborn
13a6a9b39e Maybe fix needing wifi permission to dump battery stats.
Change-Id: I39f265bbdf1855e6e31d1b43e0e919199708aebd
2015-04-22 18:03:59 -07:00
Luan Nguyen
82e92a9e7b am a5ee27b3: am ee066f57: Merge "cherrypick from lmp-docs docs: Add Wear Capability training Original Change-Id: I52ede5d91936c5eab3d6ee8be8108004cce1f0e0" into lmp-mr1-ub-docs
* commit 'a5ee27b3aa60dc5f839e95e7d9c219f7bf59ea5d':
  cherrypick from lmp-docs docs: Add Wear Capability training Original Change-Id: I52ede5d91936c5eab3d6ee8be8108004cce1f0e0
2015-04-23 00:56:52 +00:00
Luan Nguyen
e687234f2c am 679934f3: am 34997731: cherrypick from lmp-docs docs: Add Channel API summary for Wear. Original Change-Id: I447e58264e142a5e04aaf520d31dc4ced2506ecb
* commit '679934f37f3e140b5dade8044bc1d759b8f4e948':
  cherrypick from lmp-docs docs: Add Channel API summary for Wear. Original Change-Id: I447e58264e142a5e04aaf520d31dc4ced2506ecb
2015-04-23 00:56:31 +00:00
Marco Nelissen
03cdfba5ae am 453100c0: (-s ours) am 3430f599: am ba43f7e9: Merge "Revert "Sometimes the application context is null""
* commit '453100c06e3e62474e3ad36631deb5fe332bb227':
  Revert "Sometimes the application context is null"
2015-04-23 00:56:24 +00:00
Rich Slogar
8e3250af0f am 674b0648: Merge "docs: support library 22.1 feature updates" into lmp-mr1-ub-docs
* commit '674b06481dc73ce64116b885eb97266f956b614d':
  docs: support library 22.1 feature updates
2015-04-23 00:50:12 +00:00
Rich Slogar
674b06481d Merge "docs: support library 22.1 feature updates" into lmp-mr1-ub-docs 2015-04-23 00:43:49 +00:00
Dianne Hackborn
799d8d0a0f Add "assist block" API.
To prevent assist structure traversal down the view hierarchy.

Change-Id: I50ce5f8de6f2eca3cb862de8eacd6422c40a2f7c
2015-04-22 17:36:48 -07:00
Christopher Tate
64da495dc7 Merge "Retain milestone timestamps of historical broadcast activity" 2015-04-23 00:28:33 +00:00
Christopher Tate
f278f12fae Retain milestone timestamps of historical broadcast activity
Also use a ring buffer now instead of using arraycopy() every time
we send a broadcast.

Bug 20297662
Bug 20426398

Change-Id: I682461f358e5bc6ebc63bbeb87d0ad07d85fe4b6
2015-04-22 17:27:15 -07:00
Jae Seo
c6e64a95ce Merge "TIF: Cache multiple app private commands" 2015-04-23 00:17:37 +00:00
Alan Viverette
7de07a60c2 Merge "Implement DayNight theme for DocumentsUI" 2015-04-23 00:13:02 +00:00
Mike Lockwood
60a6df9b95 Merge "Add Context.MIDI_Service to the public API" 2015-04-23 00:12:57 +00:00
Chet Haase
5b3edbde20 Add annotation to Rect.intersect()
Failing to check the return result from intersect() can cause artifacts
because the developer may assume that the rect has been changed to the intersection.
In particular, when the two rects do not overlap, there is no change made to the
source rect. Instead, the method simply returns false. When developers do not
check that return value, they may use the source rect and get undefined results.

This change adds the @CheckResults annotation that will cause a Lint warning
when developers call this method without checking the return value.

Change-Id: I476367d74e712038c248c2379fb124734298fcc1
2015-04-22 17:07:21 -07:00
Jae Seo
411d58d330 TIF: Cache multiple app private commands
Bug: 19809952
Change-Id: I458ab436761e8fd7e54fc7f49d86550e7945dca9
2015-04-22 17:02:04 -07:00
Quddus Chong
a5cca43036 am 7a8b0945: am 789c5971: Merge "docs: Added What\'s New section for GMS v7.3 (Parmesan)." into lmp-docs
* commit '7a8b094521832586b142de34c91ab2c886eb5109':
  docs: Added What's New section for GMS v7.3 (Parmesan).
2015-04-23 00:01:03 +00:00
Quddus Chong
f94531ccf1 am 7570ef70: cherrypick from lmp-docs branch. docs: Added What\'s New section for GMS v7.3 (Parmesan). Original change-Id: Ie56171262f866b1f312db5cefaec849353a1c541
* commit '7570ef70f33d9267e722063e9de21e84d6ba2b29':
  cherrypick from lmp-docs branch. docs: Added What's New section for GMS v7.3 (Parmesan). Original change-Id: Ie56171262f866b1f312db5cefaec849353a1c541
2015-04-22 23:55:30 +00:00
Quddus Chong
ef9aeb7794 am a93259a4: cherrypick from lmp-docs. docs: Added 3rd-party Javadocs for GMS Parmesan release. Original change-Id: Ia133c7267e500969310524369d34ab07c6aaa854
* commit 'a93259a4d6ab5c3f003322bfe72cac462fb5d77a':
  cherrypick from lmp-docs. docs: Added 3rd-party Javadocs for GMS Parmesan release. Original change-Id: Ia133c7267e500969310524369d34ab07c6aaa854
2015-04-22 23:55:25 +00:00
Selim Cinek
5f94c4da75 Merge "Fixed a regression with collapsed notification heights" 2015-04-22 23:53:59 +00:00
Alan Viverette
40a38f3062 Implement DayNight theme for DocumentsUI
Also fixes tint colors for icons to use themed colorControlNormal.

Bug: 20421157
Change-Id: I110a1d95f763332e7ca76cf8ab4125bd4d9a075e
2015-04-22 16:51:08 -07:00
Marco Nelissen
1816b396c8 am 75da2176: (-s ours) am 9e05ece7: am 0601a280: Merge "Sometimes the application context is null"
* commit '75da217605cb401c7cbd5023536a6d5c24a0af70':
  Sometimes the application context is null
2015-04-22 23:50:25 +00:00
Yang Ni
1f5dca078d am 869b428b: am f5fa550a: Merge "Move new script group API into ScriptGroup class"
* commit '869b428b29651934c1e99d71fdc715d3c482a522':
  Move new script group API into ScriptGroup class
2015-04-22 23:48:23 +00:00
Quddus Chong
7a8b094521 am 789c5971: Merge "docs: Added What\'s New section for GMS v7.3 (Parmesan)." into lmp-docs
* commit '789c59711e55be981ed2093228ded0c588e74ba0':
  docs: Added What's New section for GMS v7.3 (Parmesan).
2015-04-22 23:47:55 +00:00
Quddus Chong
7570ef70f3 cherrypick from lmp-docs branch. docs: Added What's New
section for GMS v7.3 (Parmesan). Original change-Id: Ie56171262f866b1f312db5cefaec849353a1c541

Change-Id: I6d9583fb8c301ee16ff65d4db56e79547ea5e88b
2015-04-22 16:45:56 -07:00
Quddus Chong
a93259a4d6 cherrypick from lmp-docs. docs: Added 3rd-party Javadocs for GMS
Parmesan release. Original change-Id: Ia133c7267e500969310524369d34ab07c6aaa854

Change-Id: I07f38278510e92bc3097ea749c7fb4e6b817f545
2015-04-22 16:43:05 -07:00
Quddus Chong
789c59711e Merge "docs: Added What's New section for GMS v7.3 (Parmesan)." into lmp-docs 2015-04-22 23:37:33 +00:00
Yang Ni
869b428b29 am f5fa550a: Merge "Move new script group API into ScriptGroup class"
* commit 'f5fa550afafa2276abce78b3e5779ce11dc16c68':
  Move new script group API into ScriptGroup class
2015-04-22 23:37:06 +00:00
Adam Powell
a1f6211e79 Merge "Cancel a screenshot notification after a share target is chosen." 2015-04-22 23:36:02 +00:00
Yang Ni
f5fa550afa Merge "Move new script group API into ScriptGroup class" 2015-04-22 23:14:38 +00:00
Adam Lesinski
98c7c1355b Merge "AAPT: Add flag to disable versioning of vector related XML" 2015-04-22 23:10:31 +00:00
Steve McKay
a78a3694b5 Update activities to clear search term when a root that doesn't support search is selected by the user.
BUG=20495230

Change-Id: Iee2e2bd80dea6d368cad0911117e3759bdfe37d9
2015-04-22 15:57:11 -07:00
Andy Hung
98d4ca6229 Add channel index mask to AudioRecord
Change-Id: I5d2504d3a7af6611d3ffa9a4c2d3665a2cf97fef
2015-04-22 15:43:48 -07:00
Todd Kennedy
acf4698ce6 Merge "Add hardware feature describing a car" 2015-04-22 22:42:14 +00:00
Andy Hung
463cb818ba Merge "Add PlaybackSettings for use with AudioTrack" 2015-04-22 22:36:17 +00:00
Yang Ni
ead1af8319 Move new script group API into ScriptGroup class
And mark existing methods and builder deprecated.
Removed ScriptGroup2 class.
Renamed nested class UnboundValue to Input.
Marked classes Closure, Future, and Input as final.

Change-Id: I362910c115e9d0173dc515674e08bf4878232879
2015-04-22 15:34:07 -07:00
Mike Lockwood
ec32ac95dc Add Context.MIDI_Service to the public API
I forgot this when the rest of MidiManager was made public.

Change-Id: Ic5f8e2674d5b8e13bd88feebf3cf219f7af7fbcc
2015-04-22 15:33:34 -07:00
Andy Hung
263b4c9782 Add PlaybackSettings for use with AudioTrack
Change-Id: Ie59686d46869558d489a7600170ddace00e548d5
2015-04-22 15:27:16 -07:00
Luan Nguyen
a5ee27b3aa am ee066f57: Merge "cherrypick from lmp-docs docs: Add Wear Capability training Original Change-Id: I52ede5d91936c5eab3d6ee8be8108004cce1f0e0" into lmp-mr1-ub-docs
* commit 'ee066f576e153bc11ea1a3991d0204c953d2c3fa':
  cherrypick from lmp-docs docs: Add Wear Capability training Original Change-Id: I52ede5d91936c5eab3d6ee8be8108004cce1f0e0
2015-04-22 22:11:22 +00:00
Luan Nguyen
ee066f576e Merge "cherrypick from lmp-docs docs: Add Wear Capability training Original Change-Id: I52ede5d91936c5eab3d6ee8be8108004cce1f0e0" into lmp-mr1-ub-docs 2015-04-22 21:58:08 +00:00
Quddus Chong
cfdcf7d6d8 docs: Added What's New section for GMS v7.3 (Parmesan).
Change-Id: Ie56171262f866b1f312db5cefaec849353a1c541
2015-04-22 14:56:37 -07:00
Doris Liu
a01fbf35de Infer value type for keyframes when it is undefined
Bug: 20140483

Change-Id: Idf6caea2a8eae803e33dd34b9c8f563ad12e1848
2015-04-22 14:50:17 -07:00
Wale Ogunwale
7e0fea3557 Merge "Don't limit fullscreen stack window size to parent window size" 2015-04-22 21:41:44 +00:00
Tor Norbye
891ad60a6f Merge "Add threading annotations" 2015-04-22 21:32:39 +00:00
Todd Kennedy
7f95a00ec0 Add hardware feature describing a car
We need to define a hardware feature for when Android is running
embedded on a vehicle's headunit. This is not applicable when
running Android on a phone and projecting onto a headunit.

Bug: 20016089
Change-Id: I70e94564f7493afe70a49bf582a627c5ea9f0a60
2015-04-22 14:28:25 -07:00
Selim Cinek
06a24ebd77 Fixed a regression with collapsed notification heights
This could lead to collapsed notifications having and intrinsic
height smaller than the collapsed size and notifications
overlapping.

Change-Id: Iabba19033f8069f1f75218280b97d3a1a45a5efb
2015-04-22 14:22:05 -07:00
Rubin Xu
dc105cc91c Enable system service to notify device owners about pending update
Create a DevicePolicyManager API which can be used by OTA subsystem
to tell device owners about pending updates. Device owners will get
a callback from its DeviceAdminReceiver when the update service sends
out such notifications.

Bug: 20213644
Change-Id: Ifcc755655e4f441980cf77d76175a046112ca9ae
2015-04-22 22:11:04 +01:00
Luan Nguyen
679934f37f am 34997731: cherrypick from lmp-docs docs: Add Channel API summary for Wear. Original Change-Id: I447e58264e142a5e04aaf520d31dc4ced2506ecb
* commit '34997731954015ce4e946ce696d487db17b848c1':
  cherrypick from lmp-docs docs: Add Channel API summary for Wear. Original Change-Id: I447e58264e142a5e04aaf520d31dc4ced2506ecb
2015-04-22 20:48:02 +00:00
Svet Ganov
db30ac84b6 Merge "Make read/write from/to XML persistent state more robust." 2015-04-22 20:44:20 +00:00
Svet Ganov
ba0821ed3b Make read/write from/to XML persistent state more robust.
When writing critical state to XML an excpetion can lead to creating
a malformed XML that is later parsed and may put the device in a bad
state. Hence, on any error while writing we should bail out and drop
the partially write state on the floor.

Corollary, any error on parsing can lead to having a partially read
state that is not consistent which may lead to writing this bad state
back to disk. Hence, on any error while parsing we should bail as
our current state may be unrecoverable.

Change-Id: Ia050c16198cb583f8a51263ad2035dbb948052b8
2015-04-22 13:42:54 -07:00