1147 Commits

Author SHA1 Message Date
Clara Bayarri
d6aeff17e6 Floating Palettes: Create the ActionMode type and use it in Editor.
This CL creates the Type attribute for ActionMode, which will serve as a flag to determine its behavior and representation.
- TYPE_PRIMARY is the default and will maintain the current behavior and representation in the ActionBar
- TYPE_FLOATING will be the new Type and will be represented as a Floating Palette

Editor switches the flag from the default to TYPE_FLOATING, but this has no consequences right now, until the functionality is implemented.

Change-Id: Icd6cab01637f6ca3ae2e999b06904e08974d0c81
2015-02-03 11:07:15 +00:00
Wale Ogunwale
9d3de4cfb4 Support for activity to opt-in/out of resizeable/multi-window support.
Bug: 19178148
Change-Id: I5819a71cdc48e0af4add11a6d4a503ec5cbe5d63
2015-02-02 16:06:55 -08:00
Brian Attwell
3398442905 Merge "Expose QUERY_PARAMETER_VCARD_NO_PHOTO" 2015-02-02 21:34:34 +00:00
Brian Attwell
f9fb60a592 Expose QUERY_PARAMETER_VCARD_NO_PHOTO
QUERY_PARAMETER_VCARD_NO_PHOTO is used to avoid
attaching photos on vcards that get sent over NFC.
Large VCards can't be easily sent over NFC.

I'm deferring writing CTS tests till later.

Bug: 18777272
Change-Id: I6e3a7bf836978023225c709446b9113de05f6cef
2015-02-02 13:33:53 -08:00
Julia Reynolds
07c40dbe9d Merge "Add skip encryption constants for device owner provisioning." 2015-02-02 17:52:05 +00:00
Julia Reynolds
a9ec70ba17 Add skip encryption constants for device owner provisioning.
Bug: 19228730
Change-Id: Id5022f2f669cf0dfc1b1523190da52c77238a02c
2015-02-02 12:42:18 -05:00
Sailesh Nepal
2c56fde04d Merge "Update setNextPostDialWaitChar API" 2015-02-02 17:24:02 +00:00
Bryce Lee
cdfebd60fa Make THEATER_MODE_ON a System API.
Bug: 19043538
Change-Id: Ibf0d6b45868ca90eb792a40c5d1b1395774486b8
2015-02-02 08:19:11 -08:00
Tyler Gunn
7c0756b6fe am 235f60bc: am 4143b796: Merge "Fixing conference merge where only one party is added to conference." into lmp-mr1-dev
automerge: 736cb49

* commit '736cb492aea736e9c3b33fe20285f531497462d0':
  Fixing conference merge where only one party is added to conference.
2015-02-02 16:02:08 +00:00
Sailesh Nepal
1ed8561ac6 Update setNextPostDialWaitChar API
This CL does the following:
  - make the API public
  - rename it from setNextPostDialWaitChar to setNextPostDialChar
  - remove reference to "wait" from the API documentation

BUG: 19216940, 19216942
Change-Id: Ic4c7f44a900fd79875318d8c565c3aacaa42b962
2015-01-31 15:25:51 -08:00
RoboErik
ddce02f3b9 Merge "Move mute/unmute handling to adjust volume paths" 2015-01-30 18:55:10 +00:00
Alan Viverette
447590524a Merge "Add accessors for switch thumb and track tinting" 2015-01-30 18:53:14 +00:00
Alan Viverette
e7eee640f8 Add accessors for switch thumb and track tinting
Bug: 19196145
Change-Id: I5c426bc8c624c75fd27faaf6e0cbef5a0594175a
2015-01-30 10:05:24 -08:00
Alan Viverette
b59041595b Merge "Add transition support to PopupWindow" 2015-01-30 18:04:48 +00:00
Zhen Yu Song
f1a0a3f842 Merge "+ Update api file." 2015-01-30 00:37:11 +00:00
Zhen Yu Song
619ef3fe93 + Update api file.
Change-Id: I1a2abb974c6a789c3533a44d3ceb70cf6701b9f9
2015-01-29 16:28:18 -08:00
RoboErik
4197cb60bc Move mute/unmute handling to adjust volume paths
This deprecates the setStreamMute and setStreamSolo APIs. Soloing is no
longer supported and muting is redirected through the adjust volume APIs.

Also updates the hidden master versions of these APIs.

Change-Id: I65d2a5d5fc15b386bd497abf8ca6869fec75a26a
2015-01-29 16:14:30 -08:00
Zhijun He
0e99c2260d Camera2: metadata spec update for reprocessing
Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4
2015-01-29 15:26:05 -08:00
Tyler Gunn
8a2b1199a6 Fixing conference merge where only one party is added to conference.
- Adding "onConferenceStarted" listener for Connections.
- This is necessary so that an ImsCall can report the fact that it has
went from being a single party call to a multiparty call.  This was not
previously necessary since the multiparty bit change would be detected
when one of the connections being merged changed state.  Since we now must
defer the establishment of the conference until all connections have been
merged, we need a means of detecting when the call becomes multiparty.

Bug: 18960042
Change-Id: I3ba138cb546e3efdf89b29d6676d00257a5e00cd
2015-01-29 11:47:24 -08:00
Alan Viverette
5435a30ae5 Add transition support to PopupWindow
Allows framework-added windows to manually specify surface insets, which
enables us to wrap the popup window's elevated content view with a root
view, which in turn allows us to use the Transition API for popup window
transitions.

Fixes a bug where the root view's render node forced clipping.

Bug: 13211166
Change-Id: I303dfa55a052cdf5d3b1485422529123e3cc867a
2015-01-29 10:25:34 -08:00
Dianne Hackborn
8bd95f1623 Introduce new MNC API version.
Change-Id: Ib40822e82ea389092727dfc1f2f9ada5d04f2e87
2015-01-28 15:08:52 -08:00
RoboErik
c911612602 Fix build
Reran make update-api to generate the new system-current changes that
were enabled.

Change-Id: I98830fe1bc058ea97c99537bf8d64908467cdf67
2015-01-28 11:56:01 -08:00
Chien-Yu Chen
25af2fc0cc Merge "CameraManager: add torch mode APIs for flashlight" 2015-01-28 18:24:47 +00:00
Bryce Lee
c0086ea950 am 263987f6: am 2a8ccd4b: am 1061652a: Merge "Revert "Make THEATER_MODE_ON setting a system api."" into lmp-mr1-dev
* commit '263987f6268439af69fcfa66a278103e1efe1343':
  Revert "Make THEATER_MODE_ON setting a system api."
2015-01-28 18:05:04 +00:00
Bryce Lee
1061652a37 Merge "Revert "Make THEATER_MODE_ON setting a system api."" into lmp-mr1-dev 2015-01-28 17:50:39 +00:00
Bryce Lee
034dc3839f Revert "Make THEATER_MODE_ON setting a system api."
This reverts commit 35dafda1b0357eb0f2eef766427a2b473967a918.

Change-Id: I76e72592791682e0dbee719fbd518962a1bdcd11
2015-01-28 17:45:35 +00:00
Bryce Lee
293465a75c am f2d5253b: am fdb8dff5: am d8cb4040: Merge "Make THEATER_MODE_ON setting a system api." into lmp-mr1-dev
* commit 'f2d5253bce5ef69cb6cb4da7697a228a47b55904':
  Make THEATER_MODE_ON setting a system api.
2015-01-28 17:22:22 +00:00
Bryce Lee
d8cb404035 Merge "Make THEATER_MODE_ON setting a system api." into lmp-mr1-dev 2015-01-28 17:03:57 +00:00
Alan Viverette
5f54ecbe47 Update system-current to fix build
Change-Id: Ib8e092cf5097def96eebf85179e6daa683cd717e
2015-01-27 17:01:04 -08:00
Chien-Yu Chen
c8c109b403 CameraManager: add torch mode APIs for flashlight
Add torch mode APIs to support flashlight without opening any
camera devices.

Bug: 2682206
Change-Id: Ifb66c309f23fd7e9f124016e0d9c6b364d19acdd
2015-01-27 16:55:16 -08:00
Jorim Jaggi
cb4f594eca Remove dead code #11: Remove more unused classes
Change-Id: Ie78d40fd20eef859e3c0ea9269b86ff1e1471a58
2015-01-27 18:15:50 +01:00
Brian Attwell
7ba4751e91 Merge "Add Insert.EXTRA_{ACCOUNT,DATA_SET} to API. P #1/2" 2015-01-27 00:50:01 +00:00
Brian Attwell
63f859b2b7 Add Insert.EXTRA_{ACCOUNT,DATA_SET} to API. P #1/2
Names are based on recent suggestions from the API council, such as
implemented inside ag/540453.

Bug: 18777272
Change-Id: I17a5b7cb4d4c5a0ba48936a6fc829acaab73f31d
2015-01-27 00:05:07 +00:00
Yorke Lee
3d62078498 am 6d4a6845: Merge "Update system-api for new getLine1Number() method." into lmp-mr1-dev automerge: 8df7f43
automerge: bfe3c35

* commit 'bfe3c357043badac546fbf84d28ee8a81ccc1208':
  Update system-api for new getLine1Number() method.
2015-01-26 21:59:12 +00:00
Nancy Chen
c059271ca4 Update system-api for new getLine1Number() method.
Add new method in TelecomManager to system-current.txt.

Bug: 19087382
Change-Id: Id6db61fed45301cc1a15ded6e362d7858f24a273
2015-01-26 12:35:35 -08:00
Brian Attwell
361d45e67a Merge "Unhide getOrCreateThreadId" 2015-01-26 19:32:36 +00:00
Brian Attwell
c73ae3aaf4 Unhide getOrCreateThreadId
Part 2/2 of exposing getOrCreateThreadId. Add to
current.txt and system-current.txt.

Bug: 18777272
Change-Id: Id3bb1e3f73c4826154096057a778ac97ee86abc6
2015-01-26 10:37:26 -08:00
Bryce Lee
35dafda1b0 Make THEATER_MODE_ON setting a system api.
This will allow an unbundled home to continue accessing this property.

Bug: 19043538
Change-Id: I845a8726e617ca7b6f7f7347a0ac5aa0620d6658
2015-01-26 08:21:10 -08:00
Zhijun He
efa1534817 camera2: update API txt for the API change
Change-Id: I4a9476849f5fde9dff669876bbdaf055bd3adc48
2015-01-23 17:30:31 -08:00
Brian Attwell
1cf7405f1f Expose ContentProviderOperation type
CHANGE
isInsert, isDelete, isUpdate, isAssertQuery

JUSTIFICATION
The use of getType() in lots of unit tests means that
ContentProviderOperation#getType() can't practically be
removed.

Why not make it public? This allows 3p to use getType() in
unit tests. Plus it allows the unbundled contacts app
to continue using getType() in order to handle TYPE_INSERT
specially, without needing to awkwardly pass isInsert values
around.

Bug: 18777272
Change-Id: I6be5f325bbf6fbeb7817e9b1f7fa1a1ae2002e0b
2015-01-23 13:32:39 -08:00
Jean-Michel Trivi
3df96646a8 Merge "Add support for AudioAttributes in AsyncPlayer" 2015-01-23 19:09:03 +00:00
Jinsuk Kim
7127d264d1 am 3379c1cb: Fix broken build automerge: 2652c57
automerge: 304f696

* commit '304f696b34592d0eb75339da91a71864884322c1':
  Fix broken build
2015-01-23 08:27:29 +00:00
Jinsuk Kim
3379c1cb62 Fix broken build
Updated system-current.txt

Change-Id: I1f80d5543f0a828cf59d50d1271916a1210674d3
2015-01-23 17:13:50 +09:00
Ying Wang
f0ab37c2b9 Update current System API file.
The file was generated by "make update-api".
The concerned API change has actually be submitted in commit
9ffad071a9956ba2603475b060f271900a4d2e26, which didn't include the
system API update, for presumably an out-of-date build project.

Bug: 18777272
Change-Id: I32e0903afc492b61f36d29ec88e728780158a553
2015-01-22 21:44:37 -08:00
Jean-Michel Trivi
157784b575 Add support for AudioAttributes in AsyncPlayer
As an audio playback API, AsyncPlayer needs to support specifying
  AudioAttributes.
Deprecate play() method with stream type.

Change-Id: Ia9561883e7b398666a3d5d6da4e00324eda6b0e9
2015-01-22 15:32:09 -08:00
Ying Wang
fbdb2c5721 Update master System API files.
Bug: 18960664
Change-Id: I7771352cb464d3b0220222821ad026a40f16bb92
2015-01-22 13:17:08 -08:00
Ying Wang
02937eba32 Check in "current" system API files.
The API files were generated by running "make showcommands update-system-api".

Bug: 18960664
Change-Id: Ibb4756d98be3cbf67f6103f5d5d8ff060b3c34c9
2015-01-20 16:30:47 -08:00