189517 Commits

Author SHA1 Message Date
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
040028000c am d57ccb8d: am f0936e2f: Merge "docs: Added 3rd-party Javadocs for GMS Parmesan release." into lmp-docs
* commit 'd57ccb8d3c814ea46d735d7443e02e669207afef':
  docs: Added 3rd-party Javadocs for GMS Parmesan release.
2015-04-23 00:01:07 +00: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
d57ccb8d3c am f0936e2f: Merge "docs: Added 3rd-party Javadocs for GMS Parmesan release." into lmp-docs
* commit 'f0936e2fb0e9f013f6079e7a733a41d42d49c3f3':
  docs: Added 3rd-party Javadocs for GMS Parmesan release.
2015-04-22 23:48:00 +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
f0936e2fb0 Merge "docs: Added 3rd-party Javadocs for GMS Parmesan release." into lmp-docs 2015-04-22 23:38:38 +00: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
Marco Nelissen
453100c06e am 3430f599: am ba43f7e9: Merge "Revert "Sometimes the application context is null""
* commit '3430f59951328c6d17045fbc8f85f629723af541':
  Revert "Sometimes the application context is null"
2015-04-22 20:42:41 +00:00
Alan Viverette
3797a788dc Merge "Fix visual styling for Material Spinner background" 2015-04-22 20:41:30 +00:00
Rich Slogar
e85ca7d1fe docs: support library 22.1 feature updates
b/20456505

Change-Id: Iff4b97928d73fa38d9ada2e786ac644d61e918cb
2015-04-22 13:39:42 -07:00
Marco Nelissen
3430f59951 am ba43f7e9: Merge "Revert "Sometimes the application context is null""
* commit 'ba43f7e914cd2cb8145ffeb5720aa5e87be48b9b':
  Revert "Sometimes the application context is null"
2015-04-22 20:28:54 +00:00
Jose Lima
7e0f2ac425 Add pre-order as a pricing type for ContentInfoExtender
Change-Id: I137d038c82342869dd104b178f1b11ba02fed07c
2015-04-22 13:08:45 -07:00
Marco Nelissen
ba43f7e914 Merge "Revert "Sometimes the application context is null"" 2015-04-22 20:08:38 +00:00
Marco Nelissen
360f2ab62d Revert "Sometimes the application context is null"
This reverts commit d86281cb3da685672d89f964228980f6753adcae.

Change-Id: Icaf8e1e4812f64060066331f9000be15c134d1d2
2015-04-22 20:07:15 +00:00
John Reck
f7de58130a Merge "GraphicsJNI Canvas cleanup" 2015-04-22 20:00:46 +00:00
Wale Ogunwale
b171abbca8 Don't limit fullscreen stack window size to parent window size
A previous change limited the size of a window to the parent window
size at max. so that child windows don't extend outside their parent
stack when resized in a multi-window environment. This broke the
wallpaper positioning functionality since the wallpaper is no longer
bigger than it's containing stack so it can't be scrolled. Now, we
only limit the window size to the parent window size if the window
stack is not fullscreen.

Bug: 19434096
Bug: 19225079
Change-Id: I1a8788727e6c4a91da45d8a87850093ef5a24edf
2015-04-22 12:47:17 -07:00