23145 Commits

Author SHA1 Message Date
Winson Chung
d037ef95e8 Merge "Allow dragging to dock single tasks." into nyc-dev 2016-03-18 17:47:59 +00:00
Philip P. Moltmann
27db6611a7 Treat all remotedocumentadapter-command results as cancel in the case we
are canceling the command.

Before it could happen that we have a pending cancel on a layout command
but the layout command finishes normally. This enqueued a new write
command before the PrintActivity is notified. This in turn prevented the
printactivity from finishing as the write command was still pending.

Bug: 27642724
Change-Id: I3c532d53b0c66c40d2e48ab8b4419251ff473a79
2016-03-18 09:44:28 -07:00
Paul Jensen
84ea5f4b21 Make captive portal login app not restart upon device rotation.
Without this fix, rotating the device restarts web browsing
at the first page of captive portal losing any information a
user has already entered.

Bug: 27363244
Change-Id: Ie610f6c7192352eb80acb200d089072cf0197c37
2016-03-18 16:37:20 +00:00
Philip P. Moltmann
74f9a2fc2e Merge "Do not finish multiple times." into nyc-dev 2016-03-18 16:19:45 +00:00
Philip P. Moltmann
5849f20124 Merge "If we finish before the the remotePrintedDocument is initialized" into nyc-dev 2016-03-18 14:25:25 +00:00
Andrei Stingaceanu
844927d62d Keyboard shortcuts: new layout for keys container
Introduces a new layout which wraps and right aligns
children. Also contains minor fixes.

Change-Id: Icfd98b468cc35867928e4d67cf1fedebbf1bc5c0
2016-03-18 14:09:55 +00:00
Julia Reynolds
490ee4b755 Tune visuals for inline settings
Bug: 27597108
Change-Id: I351be8a3ea8ed157d8af2923427ddac33bcfb783
2016-03-18 09:23:39 -04:00
Daichi Hirono
2917fa9dd5 Change the title of DocumentsUI from "Files" to "Downloads".
BUG=27683277

Change-Id: I429cae8804b8f318f58039fc63d081c2a864fad0
2016-03-18 17:46:57 +09:00
Aga Wronska
632f91b653 Change enter/exit folder animation speed and delay.
Change-Id: I6150911fdfe331d76171b1806fe776540309405f
Fixed: 27654570
2016-03-17 19:43:09 -07:00
Tomasz Mikolajewski
007151a90d Reduce memory allocations and improve sorting in DocumentsUI by 8.42%.
Reland after a revert. No changes.

Bug: 27286016
Change-Id: I0988062106faf4086c44d9b344649ef2cb86d3e7
2016-03-18 02:15:10 +00:00
Tomasz Mikolajewski
4683d4c914 Merge "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%." into nyc-dev 2016-03-18 01:48:16 +00:00
Aga Wronska
836ed4a582 Merge "Add config flag to hide home directory ("Documents") from the roots list. Make home root hidden by default." into nyc-dev 2016-03-18 00:54:16 +00:00
Tomasz Mikolajewski
2e4e14789e Precompute cursor indexes in DocumentsUI and improve perf by 2.7%.
Relands after a revert, with a tiny fix.

Bug: 27286016
Change-Id: Ifb6cea46a86e8158b05db5dbf87878892c6cc702
2016-03-18 09:48:24 +09:00
dongwan0605.kim
30637e41c9 Fix to snap notification view back when not clearable while updating
When a notification is being removed by swiping action,
actual removing will be performed after the swiping animation ends.
And also, it is same when removing notifications with <Clear all> button.
The actual removing will be performed after collapsing of status bar.
But before actual removing, the notification flags can be updated
to not clearable, and then the notification view can be remain
out of display by X-translation animation.

Therefore, fix to snap the notification view back when updating
if it is not clearable and need to be come back.

Change-Id: I005a9a8ac82bb513a47b5b8afc430bbe4880b52e
2016-03-17 17:39:29 -07:00
Aga Wronska
d35446ab01 Merge "Generate more descriptive delete confirmation message." into nyc-dev 2016-03-17 23:52:38 +00:00
Aga Wronska
824ac17ae3 Generate more descriptive delete confirmation message.
Change-Id: I194ef353aec9d2841b5f3fc8dfd76df6286ce969
Fixed: 27489240
2016-03-17 16:44:10 -07:00
Jeff Sharkey
a0a58a2fd5 Merge "Refactoring FBE APIs based on council feedback." into nyc-dev 2016-03-17 22:00:26 +00:00
Jeff Sharkey
8a372a0a28 Refactoring FBE APIs based on council feedback.
Mostly consists of removing the word "encryption" from most APIs,
since we can't actually make promises about the data being encrypted.

Bug: 27531029
Change-Id: Iace9d7c4e64716abf86ed11847c40f3947e1d625
2016-03-17 14:49:08 -06:00
Adrian Roos
f18d70ba28 Merge "A11y: Content Description for Inline Reply" into nyc-dev 2016-03-17 19:57:15 +00:00
Adrian Roos
237be37fad Merge "Copy/Paste on RemoteInputView" into nyc-dev 2016-03-17 19:55:19 +00:00
Adrian Roos
187a56b3cf Mirror send in RTL
Bug: 27597203
Change-Id: I24c21dad5b5c54b9cae8076ed5b16d40c3e061c6
2016-03-17 12:51:40 -07:00
Aga Wronska
b4129d785c Add config flag to hide home directory ("Documents") from the roots list.
Make home root hidden by default.

Change-Id: Ia9f97f3cad7ab102d65e01d6e0dd9bc39ab72f21
Fixed: 27683725
2016-03-17 11:57:29 -07:00
Adrian Roos
0bd8a4b29b Copy/Paste on RemoteInputView
Also fixes a bug where the remote input view stays focused
when the inline settings open.

Also prevents sharing from contexts that are not activities,
and prevents text processing when the device is not provisioned.

Bug: 27633360
Change-Id: I8b6e7f661bd873d88e7e2460d043c2aa5f849516
2016-03-17 18:43:55 +00:00
Sid Soundararajan
29f6a9be03 Merge "Add Transition for App -> Recents on TV." into nyc-dev 2016-03-17 18:16:07 +00:00
Adrian Roos
bac198dd1b Merge "Fix some color issues with Inline Reply" into nyc-dev 2016-03-17 18:01:36 +00:00
Selim Cinek
e17595b00c Merge "Fixed the motion when expanding notification groups" into nyc-dev 2016-03-17 17:27:44 +00:00
Jason Monk
d1d15bcaa6 Merge "Reload cached icons on density change." into nyc-dev 2016-03-17 17:13:05 +00:00
Jason Monk
d7e157508e Reload cached icons on density change.
Bug: 26038240
Change-Id: I3688996aa544a6bc7a464d7b95348acf68d640fa
2016-03-17 13:10:57 -04:00
Ricky Wai
7ac1bcc323 Merge "Fix work notification dismissed in work challenge screen" into nyc-dev 2016-03-17 16:27:38 +00:00
Ricky Wai
7fa0171278 Fix work notification dismissed in work challenge screen
Bug: 26578550
Change-Id: Ic3a3a47a24df573b37b22ba1afeeaa83b312b201
2016-03-17 16:27:02 +00:00
Philip P. Moltmann
610bcf3781 Merge "The PageAdapter update might be caused by the RecylerView." into nyc-dev 2016-03-17 15:41:24 +00:00
Jason Monk
6a29da0a60 Merge "Fix up label in QS detail" into nyc-dev 2016-03-17 13:32:53 +00:00
Jason Monk
a2e759d963 Merge "Fix Settings home lifecycle" into nyc-dev 2016-03-17 13:32:20 +00:00
Jason Monk
b6408ca428 Merge "Change drag label while dragging QS tiles" into nyc-dev 2016-03-17 13:32:04 +00:00
Jason Monk
c049cb92a1 Merge "Add some synchronization to hotspot callbacks" into nyc-dev 2016-03-17 13:31:30 +00:00
Jason Monk
6123bf5d66 Merge "Close overflow when hiding QS editor" into nyc-dev 2016-03-17 13:30:53 +00:00
Gustav Sennton
4b187acf9c Merge "Change wording of WebView Implementation invalid-choice Toast." into nyc-dev 2016-03-17 10:53:24 +00:00
Tomasz Mikolajewski
f9845b4ecf Merge "Add a performance test for launching DocumentsUI." into nyc-dev 2016-03-17 08:11:53 +00:00
Tomasz Mikolajewski
5cd060a931 Update comment for compareToIgnoreCaseNullable().
Bug: 27286016
Change-Id: I0ff4d59e24e8afe129aa8a2921d3de71d3df7236
2016-03-17 06:20:12 +00:00
Tomasz Mikolajewski
e46d7f93ad Add a performance test for launching DocumentsUI.
The test launches the DocumentsUI as picker, then waits until the
main thread idles, which guarantees that roots are loaded and UI
rendered.

It confirms, that the recent system cache improves cold start
performance by around 24% on my configuration (from 1685ms to 1357ms).

Bug: 27370274
Change-Id: I738202ea434a7bfe7080fc0994f636ef0e7847cd
2016-03-17 15:12:17 +09:00
Daichi Hirono
1360868de8 Merge "Add suffix number when copying a file." into nyc-dev 2016-03-17 04:53:35 +00:00
Daichi Hirono
fc7fb7533f Add suffix number when copying a file.
If we have an existing file in the destination directory, which has the
same name with the source file, adding suffix number is
DocumentsProvider's responsibility.

Because MTP does not provide a way to check existance of files with
given name, the logic is implemented as try-and error strategy. The CL
lets If we MtpDocumentsProvider assume we have a file that shares the
same name with the source file if it failed to invoke
MtpDevice#sendObjectInfo. In this case MtpDocumentsProvider retry to
invoke sendObjectInfo with new name with suffix number.

BUG=26991190

Change-Id: I223ac5031f079bc91eb27709b0356f621a1ed55b
2016-03-17 13:52:21 +09:00
Daniel Sandler
ffaf94459a Merge "Don't clear effects when the panel is fully collapsed." into nyc-dev 2016-03-17 03:26:17 +00:00
Adrian Roos
8a27cdf890 Fix some color issues with Inline Reply
Bug: 27706728
Change-Id: I2401297d38379ed6a4128b26f71f1a051f18bc8f
Fixes: 27706728
2016-03-16 18:37:52 -07:00
Adrian Roos
3225b49acb A11y: Content Description for Inline Reply
Bug: 27498293
Fixes: 27498293
Change-Id: Iba5670791089cf4d41e914981ecfee29776b70c9
2016-03-16 18:26:12 -07:00
Winson
2068408d08 Allow dragging to dock single tasks.
Bug: 27696141
Change-Id: I538cd4753d47a3606a87ac096d4ea86f6263a2ed
2016-03-16 17:24:07 -07:00
Svetoslav Ganov
3084bb8719 Merge "Disallow disabling of the package installer" into nyc-dev 2016-03-16 23:32:26 +00:00
Ben Kwa
7705999afd Merge "DocsUI: Don't animate selection changes on all bind events." into nyc-dev 2016-03-16 23:26:52 +00:00
Ben Kwa
db1f58a0a5 Merge "Add delete key support." into nyc-dev 2016-03-16 23:24:44 +00:00
Philip P. Moltmann
e7f06a874a The PageAdapter update might be caused by the RecylerView.
In this case it cannot call back into the recyclerView and update the
data. For the call path please see the bug.

Bug: 27614499
Change-Id: I84733fea30429c20a2c96085efb47d4da5e1948a
2016-03-16 16:24:38 -07:00