10336 Commits

Author SHA1 Message Date
Mike Lockwood
60a6df9b95 Merge "Add Context.MIDI_Service to the public API" 2015-04-23 00:12:57 +00: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
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
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
Alan Viverette
3797a788dc Merge "Fix visual styling for Material Spinner background" 2015-04-22 20:41:30 +00:00
Todd Kennedy
4ff2617265 Merge "update api files" 2015-04-22 18:08:52 +00:00
Todd Kennedy
89902b9040 update api files
Bug: 20410696
Change-Id: I3a9d14e4031b0746b2527ad2b0ff1c8521c64e1d
2015-04-22 11:07:28 -07:00
Lajos Molnar
ce510d5f62 Merge "media: add annotations to low-level Media* classes" 2015-04-22 17:08:23 +00:00
Mady Mellor
724866172a Merge "Remove mouse association in scaling, only do it for stylus, update doc." 2015-04-22 16:56:13 +00:00
Lajos Molnar
99f8072386 media: add annotations to low-level Media* classes
Also remove explicit runtime exception added to
MediaExtractor.setDataSource, as other methods don't
explicitly declare it.

Includes MediaCodec, Crypto, Drm, Extractor, Muxer, Sync.

Bug: 19756615
Bug: 19967103
Bug: 16906375
Change-Id: If511d85af7f61808fbe63fbdc6e04a3d2e7e262c
2015-04-22 09:44:03 -07:00
Lajos Molnar
5b230c516a Merge "media: define codec color formats (part 1)" 2015-04-22 16:18:50 +00:00
Lajos Molnar
b1fa78c132 media: define codec color formats (part 1)
Define supported color formats. Deprecate old color formats.

Change-Id: I909acf33a2019e2d5b55080298d5d00f8e9ce71d
2015-04-22 16:18:31 +00:00
Yang Ni
db720ce9f2 Merge "Move new script group API into ScriptGroup class" 2015-04-22 16:00:09 +00:00
Craig Mautner
81786701b6 Merge "Add API for putting up locktask pinning toast." 2015-04-22 14:11:08 +00:00
Martijn Coenen
8abf680e00 Add NFC APIs for dynamic resources.
For new Tap & Pay settings UX.

Change-Id: I55ff4e4d4a4b6d26c3c88d96431c4f14d0963323
2015-04-22 11:56:36 +02:00
Yorke Lee
bb2979d61c Merge "Make CAPABILITY_CAN_PAUSE_VIDEO public" 2015-04-21 21:49:32 +00:00
Yang Ni
18314caccd 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-21 14:13:47 -07:00
Yorke Lee
e661d9fb6f Make CAPABILITY_CAN_PAUSE_VIDEO public
Change-Id: If20f642a3d6bda886a68bb1e0ce459c38361a73c
2015-04-21 13:42:24 -07:00
Rachad
9201d23047 Fix Build:
Add overloaded AudioTrack.write() to api/current.txt and api/system-current.txt

Change-Id: I5982e3c19c74dcde1df745137a9eed8ec32efa6a
2015-04-21 13:28:54 -07:00
Alan Viverette
388cd3b69c Fix visual styling for Material Spinner background
Adds explicit padding attributes to LayerDrawable, constrains the ripple
to fit within the container to avoid projection.

Bug: 19359934
Bug: 20083467
Change-Id: I46da941fba37552adeb2c1fe617b799f576df0c6
2015-04-21 13:00:33 -07:00
Dan Sandler
994349c61e Rediscover your own notifications.
This new API, NotificationManager.getActiveNotifications(),
allows an app to recover the set of notifications it has
posted that are still active (un-cleared, un-canceled,
visible by the user). Along with the Notification object
you'll get the original tag and id you used to post it,
wrapped up in the somewhat awkwardly-named
StatusBarNotification data structure (previously only used
internally by NoMan/SysUI and NotificationListenerServices).

Bug: 17320461
Change-Id: I8cd610956fafed4e31526b663cebdc31231ad930
2015-04-21 17:14:17 +00:00
Craig Mautner
c21ae9ed22 Add API for putting up locktask pinning toast.
Fixes bug 18993662.

Change-Id: Ic1753285044857f8ea897784485fd1a9580acf25
2015-04-21 10:11:12 -07:00
Andrei Kapishnikov
8d505ff025 Merge "Introduced DO_NOT_ASK_CREDENTIALS_ON_BOOT flag" 2015-04-21 16:38:06 +00:00
Joseph Cooper
b201110437 Merge "Introduces navigation keycodes." 2015-04-21 15:31:46 +00:00
Andrei Kapishnikov
4eb6a36922 Introduced DO_NOT_ASK_CREDENTIALS_ON_BOOT flag
A new flag for DPM.resetPassword() method that specifies that the
device should be decrypted without asking for the password or pattern.

Bug 19250601

Related CL in Settings App: https://googleplex-android-review.git.corp.google.com/#/c/670206

Change-Id: I9ca3472dc18e66e618ff772dee16ca4a450e9997
2015-04-21 11:07:09 -04:00
Alan Viverette
33f0c93fa9 Merge "Update the popup reveal animation to more closely match window reveal" 2015-04-21 00:29:36 +00:00
Rubin Xu
97e2f7d5af Merge "Rename public OTA policy APIs in DevicePolicyManager" 2015-04-20 23:56:27 +00:00
Rubin Xu
5faad8e4cd Rename public OTA policy APIs in DevicePolicyManager
Use the term "SystemUpdate" instead of "OTA", in public
DevicePolicyManager APIs that handle OTA policies.

Bug: 19650524
Change-Id: Iebdaea91337d617147cb411b6f47e0f3fae8671c
2015-04-20 23:27:14 +01:00
Raph Levien
1c17ba5f83 Merge "Add Paint methods for cursor positioning" 2015-04-20 22:13:55 +00:00
Tyler Gunn
4cf116ff20 Merge "API Cleanup - rename IConferenceable to Conferenceable." 2015-04-20 20:12:47 +00:00
Jonathan Basseri
5f24126e2e Merge "Add multi-sim support for getCarrierPackageNamesForIntent." 2015-04-20 19:59:39 +00:00
Junda Liu
f3c7bf432d Add multi-sim support for getCarrierPackageNamesForIntent.
resbmit of change Id100b7c4606287a1daa90092cd3c8a5a6519247d

Bug: 20268073
Change-Id: I852aac4da492e15f1dd7a3c88693fa14ec07b7c4
2015-04-20 10:30:35 -07:00
Tyler Gunn
df2cbc8989 API Cleanup - rename IConferenceable to Conferenceable.
Bug: 20165255
Change-Id: If4cb323749b6ef9e8657506434d760d07c34167f
2015-04-20 09:13:01 -07:00
Sander Alewijnse
e94787a027 Merge "Add certificate checksum extras." 2015-04-20 10:31:28 +00:00
Robert Shih
b14e37cb37 Merge "MediaPlayer: initial timed id3 support" 2015-04-18 02:50:13 +00:00
Robert Shih
ac033f033d MediaPlayer: initial timed id3 support
Change-Id: Ibf2ea8fa1b44f2953bda49cdc6da979c2d3f6be2
2015-04-17 19:49:13 -07:00
Amith Yamasani
eab852cb34 Merge "Add isSystemUser API" 2015-04-18 02:01:18 +00:00
Amith Yamasani
5760e1786b Add isSystemUser API
Bug: 20348316
Bug: 19945747
Change-Id: Ibb81f0b2fccec621e26e4543bf9f26ffddfafb15
2015-04-17 18:52:26 -07:00
Svetoslav
6c589570c4 Remove unnecessary WRITE_SMS permission - framework
Currently only one app can write to the SMS provider and it has to
be set as the default SMS app by the user in the UI. The default
SMS app is set by enabling the write SMS app op for it and keeping
this op off for other SMS apps. Hence, this permission does not
guard anything and can be taken out. The API change is fine as if
an app refers to the permission in the manifest as string it will
be ignored and if it was referred in Java the value is statically
compiled in the source.

Change-Id: I1128c3b034e6c7dda4baa051500ac1ef46a53575
2015-04-18 00:18:53 +00:00
Doris Liu
b1b0aa58bf Merge "Revert "Use real screen size to scale duration"" 2015-04-18 00:14:38 +00:00
Doris Liu
7513aab4df Revert "Use real screen size to scale duration"
This reverts commit 5ed54c743c04e2bc349e12c31adb67cbc3094651.

Reverting to avoid build breakage.

Change-Id: Ib73056bb5a11e718cbc82db5917946bdf8db06dc
2015-04-18 00:14:14 +00:00
Doris Liu
14e317a33c Merge "Use real screen size to scale duration" 2015-04-17 23:40:55 +00:00
Doris Liu
5ed54c743c Use real screen size to scale duration
Duration scale based on screen size was using the area of the screen
excluding system bars to compare with our reference device's screen
size. This caused the following issues:
1) On baseline device (i.e N5) a scaling factor that is not 1 will be
   applied to the duration.
2) Scaling on the same device will be different in landscape vs.
   portrait, as the system bars take different amounts of space in
   different orienations.

This CL fixes both of the above issues.

Bug: 20309042

Change-Id: I9d1d0a471d968bee1330b80f0f69a0066d6a1860
2015-04-17 16:25:01 -07:00
Alan Viverette
b75de201db Merge "Restore windowMinWidthMajor/Minor in alert dialog overlay theme" 2015-04-17 22:16:08 +00:00
Alan Viverette
614b9563c8 Restore windowMinWidthMajor/Minor in alert dialog overlay theme
Bug: 20185630
Change-Id: Ic4a6b3d84a24c26846ea0fcc3ce32ca882e4dd95
2015-04-17 14:36:51 -07:00
Yorke Lee
f200406150 Merge "Set default values for VVM constants in CarrierConfigManager" 2015-04-17 21:26:21 +00:00
Yorke Lee
2850d7a599 Set default values for VVM constants in CarrierConfigManager
* Also hide the constants, they don't need to be @SystemApi
* Make VVM_PORT_NUMBER an Int

Bug: 20272209
Change-Id: I0d47afd7916d40f77ba5bf8e95306b46b27c15b3
2015-04-17 14:24:20 -07:00
Andy Hung
eaa388bc2c Merge "Add non-blocking writes to AudioTrack" 2015-04-17 20:38:24 +00:00