137159 Commits

Author SHA1 Message Date
Craig Mautner
ffcfcaadfe Implement maxRecents and fix TaskPersister bug
Activities can now set the maximum number of times that they will
appear in the recent task lists when using DocCentric mode. The
default number is 15, the min 1, and the max 100.

Also a bug in TaskPersister that deleted files because it did not
properly parse their task ids is fixed.

Fixes bug 13736052.

Change-Id: I7ccb4e6f89d6202ff31c8577bb7b9d8d1b7e5e8d
2014-06-05 10:18:48 -07:00
Chris Wren
3af4edf572 Merge "Disable the attention light on devices that do not have it." into lmp-preview-dev 2014-06-05 16:49:13 +00:00
Chris Wren
2d6b2f9be3 Merge "A notification that emerges from Zen Mode interception should beep." into lmp-preview-dev 2014-06-05 16:44:50 +00:00
Chris Wren
5116a821b9 Disable the attention light on devices that do not have it.
If the attention and notificaiton light are mapped to the same
physical LED, then pulsing the attention light can turn off the
notification light. See bug for detailed discussion.

Bug: 12900389
Change-Id: I2703af23f50ecc3e92140b9843aaf340d520bce5
2014-06-05 12:38:13 -04:00
Chris Wren
a344656a01 A notification that emerges from Zen Mode interception should beep.
If a notificaiton emerges from Zen Mode due to a ranking
reconsideration (possibly because a long-running query resolved an
important person) then it should get the oportunity buzz, beep, blink,
and send accessibility events.

Save what we need to know about the old notificaiton record on the new
record so we don't have to hold onto it.

Bug: 15383458
Change-Id: I15c7834fef03ff6a676e78e9d2caae24f00720ef
2014-06-05 12:38:13 -04:00
Eric Laurent
a335e14b6b Merge "remove debug log in AudioPortEventHandler." into lmp-preview-dev 2014-06-05 15:18:35 +00:00
Yorke Lee
8089ce7cbc Merge "API changes per API review for contacts" into lmp-preview-dev 2014-06-05 13:43:35 +00:00
Selim Cinek
7256a852ce Merge "Changed the default success color of the lockpatternview to white." into lmp-preview-dev 2014-06-05 05:36:22 +00:00
Selim Cinek
bd8deb0e3b Changed the default success color of the lockpatternview to white.
Since it was distracting when unlocking

Bug: 13735707
Change-Id: I6b9c5baa22dc5c102f36bdf9a99390c5dd1690ba
2014-06-05 07:25:01 +02:00
Ihab Awad
f73b23e7a1 Merge "DO NOT MERGE. Implement connection error dialogs (1/4)" into lmp-preview-dev 2014-06-05 05:24:38 +00:00
Selim Cinek
35066c385f Merge "Changed the LockPatternView assets to quantum" into lmp-preview-dev 2014-06-05 05:03:11 +00:00
Selim Cinek
2cb687e7b9 Changed the LockPatternView assets to quantum
Bug: 13735707
Change-Id: Id999adbd8a4aeb3ca91fcb9957ec38ec75ff91b0
2014-06-05 06:59:08 +02:00
Eric Laurent
e94379beba remove debug log in AudioPortEventHandler.
Bug: 14815883.
Change-Id: Ib5076fcfe8a36d1dd772b072fdf3400e57acc61c
2014-06-04 20:09:13 -07:00
Dan Sandler
c03f429b9f Merge "Platlogo: The icon now matches the activity." into lmp-preview-dev 2014-06-05 02:26:40 +00:00
Yorke Lee
1ca440b38f API changes per API review for contacts
* Improve documentation for REMOVE_DUPLICATE_ENTRIES
* Hide android.provider.ContactsContract.PinnedPositions, it will be
reworked and improved for L.
* Hide android.provider.ContactsContract.Preferences - we will rework
the various apps that are relying on this to use their own preferences
instead
* Remove inheritance of hidden interfaces in android.provider.Contacts

Bug: 15430304
Change-Id: I0f96e8a506083df21023f9b95655f0ce5244bdce
2014-06-04 18:16:26 -07:00
Eino-Ville Talvala
b530848032 Merge "Camera2: Invoke onError callbacks for failure to open" into lmp-preview-dev 2014-06-05 01:08:54 +00:00
Eino-Ville Talvala
7fcb357811 Camera2: Invoke onError callbacks for failure to open
When the initial attempt to connect to the remote camera device fails,
fire the onError callback as documented, instead of throwing an
exception from open().

Also ensure the correct exception is sent when methods are called
while in the error state, and make sure onClosed() is called correctly
if closing the device after an initial startup error.

Bug: 14413756
Bug: 14413363
Change-Id: I0822261dad52bcd428a0c4556202f00032499990
2014-06-04 16:52:00 -07:00
Deepanshu Gupta
58ff7de971 Fix build.
Change-Id: I877532b5056a035dbd4b0c6c55b5969d6292846a
2014-06-04 16:50:07 -07:00
Deepanshu Gupta
648a309d9b Merge "Add basic support for simulating older versions." into lmp-preview-dev 2014-06-04 23:37:37 +00:00
Igor Murashkin
6e9c5cc617 Merge "camera2: Change CaptureListener callbacks to include the session (api)" into lmp-preview-dev 2014-06-04 23:31:54 +00:00
Raph Levien
cbc9a679d8 Merge "Turn off elegantTextHeight in quantum theme" into lmp-preview-dev 2014-06-04 23:28:47 +00:00
Ihab Awad
fc91b7d448 DO NOT MERGE. Implement connection error dialogs (1/4)
Implement reporting of connection errors from ConnectionServices through
Telecomm to the InCallUI.

Bug: 15195720
Bug: 15117141
Change-Id: I0e1443f75a175a212fb19afde5a7eadef15d239d
2014-06-04 23:25:04 +00:00
Alan Viverette
1c121e124a Merge "Update ripple spec, fix ripple mask, rotate progress drawable" into lmp-preview-dev 2014-06-04 23:13:55 +00:00
Raph Levien
c499e97667 Turn off elegantTextHeight in quantum theme
Setting elegantTextHeight to true was a great experiment, but it led to
too much difficulty getting text to fit in space-constrained spaces
(action bar, list items). A long term solution is optical bounds, but
for the time being, just turn it off.

This patch fixes bug 14227056: "Language name displaying under Personal
dictionary are truncated in landscape mode"

Change-Id: I2b0e1ca2e7a06cd0fd9a4d84c1c07fdea2ddbf03
2014-06-04 16:09:11 -07:00
Adam Powell
2a7b35e80b Merge "Fix list navigation callbacks for ActionBarView" into lmp-preview-dev 2014-06-04 23:04:56 +00:00
Igor Murashkin
21547d66a9 camera2: Change CaptureListener callbacks to include the session (api)
* Also makes CameraDevice an abstract class (API)

Bug: 15428219
Bug: 14964443
Change-Id: I0e8c8309186aad59570aac7e0f998bb615405f0a
2014-06-04 16:03:32 -07:00
Adam Powell
c9102d743f Fix list navigation callbacks for ActionBarView
Fix a regression from a previous refactoring where the call ordering
between setNavigationMode and setListNavigationCallbacks could result
in the item selection listener being ignored.

Bug 15395053

Change-Id: I5330f2c684a21448c64c6b62eec10b96405758f7
2014-06-04 15:49:04 -07:00
Matthew Williams
64939ae385 DO NOT MERGE Redact SyncService stuff from master
Cherry-pick over from master.
This changes the API surface area, deleting things we aren't releasing.
I'll do the internal clean-up at the same time I do the SyncManager
refactor to sit on top of the TaskManager.
Bug: 14997851

Change-Id: Ieebbbcd3324827098e88b36e45e6e82315a51e65
2014-06-04 22:46:25 +00:00
Ruben Brunk
35677d1762 Merge "DNG: Hide unimplemented methods." into lmp-preview-dev 2014-06-04 22:25:18 +00:00
Deepanshu Gupta
e43dcc1d64 Merge "Distinguish between menus in ActionBar and popup." into lmp-preview-dev 2014-06-04 22:11:37 +00:00
Raph Levien
8224ad4f70 Merge "Query style from asset-created font (Minikin)" into lmp-preview-dev 2014-06-04 22:05:41 +00:00
Zhijun He
d618169619 Merge "Camera2: Update availableStreamConfigurations for JPEG sizes" into lmp-preview-dev 2014-06-04 21:56:27 +00:00
Selim Cinek
45474056ea Merge "Simplified maxPanelHeight logic." into lmp-preview-dev 2014-06-04 21:49:04 +00:00
Alan Viverette
b996d809bf Update ripple spec, fix ripple mask, rotate progress drawable
Change-Id: I4fc155bf2f12d9f324c354dee81479f9cddafac4
2014-06-04 14:35:42 -07:00
Craig Mautner
4c6debb767 Merge "Launch document sharing into unique activities" into lmp-preview-dev 2014-06-04 21:13:06 +00:00
Zhijun He
df9b74781a Camera2: Update availableStreamConfigurations for JPEG sizes
Also Fix some doc issue in availableCapabilities

Bug: 12035686
Change-Id: Ie517a587f4a9e6cd9731fcca042e24adf832d9e3
2014-06-04 20:56:20 +00:00
Adam Powell
f5188cf6d5 Merge "Fix EdgeEffect clipping and AbsListView's use of it" into lmp-preview-dev 2014-06-04 20:55:57 +00:00
Adam Powell
9be22455ac Fix EdgeEffect clipping and AbsListView's use of it
Make sure that we clip the edge glow against the edges of the view and
not against padding. If we're clipping to padding already, this will
happen automatically.

Bug 15020863

Change-Id: I4645c92f2a372d3c9fa8bb5a9fda44c0d82ac4cf
2014-06-04 13:46:55 -07:00
Raph Levien
1633caef58 Query style from asset-created font (Minikin)
This patch sets fStyle on the TypefaceImpl based on querying the font,
which is important in the Typeface.createFromAsset path. This fixes both
the style returned from getStyle() and also selects fallback fonts to
best match the style of the main font.

Fixes bug 15429916: "Typeface.getStyle always returning 0 in some L
devices".

Change-Id: I1992ba1e65e7f488d331e175f5f12843f67c2faa
2014-06-04 13:46:35 -07:00
Selim Cinek
aa402d513a Simplified maxPanelHeight logic.
Bug: 14487435
Change-Id: If171758a3143b24d7a1443c4761890670d03e49a
2014-06-04 22:41:04 +02:00
Selim Cinek
1bb443724b Merge "Fixed an animation bug" into lmp-preview-dev 2014-06-04 20:39:56 +00:00
Selim Cinek
159ffdbf00 Fixed an animation bug
Reposition animations were generated even if the shade is closed
or animations are disabled.

Bug: 15181880
Change-Id: I278278862f4b4837fe164ce2b769d9d50fa50ced
2014-06-04 22:35:43 +02:00
Dan Sandler
d2b0b3b487 Platlogo: The icon now matches the activity.
Also tweaked ADB a little. It's just a preview!

Change-Id: I95265400c29272b7ff0593710ed41978e3e53df1
2014-06-04 16:23:11 -04:00
Ruben Brunk
8e783f7a52 DNG: Hide unimplemented methods.
Bug: 15112503
Change-Id: I31187a92b610af68fb854a27a564abf7d0635478
2014-06-04 13:21:04 -07:00
Robert Greenwalt
b2be801f07 Merge "DO NOT MERGE Report new network scores back to factories." into lmp-preview-dev 2014-06-04 19:37:19 +00:00
Eric Laurent
88db5c37ad Merge "AudioSystem JNI: fix audio gain channel count" into lmp-preview-dev 2014-06-04 19:21:57 +00:00
Robert Greenwalt
8ae980dcef DO NOT MERGE Report new network scores back to factories.
This is a first order approx of what we want - should probably be good enough in most cases.

bug:15277751

Change-Id: I10e3b25f6ad5c7e022ba966ed514d4e6a999180d
(cherry picked from commit 94a5c61cb82401dd777d0a7ac43183d92d955323)
2014-06-04 19:15:17 +00:00
Raph Levien
dd12532941 Merge "Fix incorrect getStringBounds (Minikin)" into lmp-preview-dev 2014-06-04 19:10:48 +00:00
Fabrice Di Meglio
b223ab1b43 Merge "Update permissions assets for Quantum Theme" into lmp-preview-dev 2014-06-04 18:54:08 +00:00
Fabrice Di Meglio
318875bbcf Update permissions assets for Quantum Theme
See bug: #14258811 Permissions icons are not visible in App info

Change-Id: I7167b636093cf56e3443fb46c89d693ba50eb59c
2014-06-04 11:51:07 -07:00