21294 Commits

Author SHA1 Message Date
Dan Sandler
8d9aea8a18 DO NOT MERGE: Use GregorianCalendar.add() when searching for next alarm.
Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.

Bug: 26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8
2016-01-07 18:09:11 +00:00
Rakesh Iyer
b96b0b6eac Merge "System UI for auto." 2016-01-07 18:07:04 +00:00
Philip P. Moltmann
7814f0f68a Merge "Store which print services are disabled instead of which are enabled" 2016-01-07 17:42:57 +00:00
Xiaohui Chen
7ef70d159b Merge "sysui: remove some dead code" 2016-01-07 17:35:56 +00:00
Xiaohui Chen
ddcd201b39 sysui: remove some dead code
Change-Id: I77f16798971e1984fc4be058f626a1730b8c0c89
2016-01-07 09:31:40 -08:00
Philip P. Moltmann
8141bdfa56 Store which print services are disabled instead of which are enabled
This make services that appreared while the print manager was not active
by default enabled.

In the case we upgrade from pre-N we convert the enabled-list into a
disabled-list.

Bug: 26249649
Change-Id: Iae783a8dd19f1a9d75d675710ea4348fdfbd34f3
2016-01-07 09:30:43 -08:00
Philip P. Moltmann
a5fcd5028a Remove debugging from print notification code.
Change-Id: I3f0fb6c68de0b3f4cd0fa67ddf8c405199d6498e
2016-01-07 09:25:49 -08:00
Philip P. Moltmann
eadc267b38 Merge "Use notification grouping for print notification." 2016-01-07 17:21:03 +00:00
Philip P. Moltmann
a1cdb4bacb Use notification grouping for print notification.
Change-Id: Ifb5bc0f233611a056db511b15379165ac6fe0edf
2016-01-07 09:19:54 -08:00
Adrian Roos
8565906956 Merge "Show back button while RemoteInput is active on keyguard" 2016-01-07 16:10:53 +00:00
Andrei Stingaceanu
2f30011120 Merge "Keyboard shortcuts: minor naming refactor" 2016-01-07 15:30:15 +00:00
Winson
55e20d502f Removing workaround causing full view inflation.
Bug: 26420766

Change-Id: I0bb0eeada5002460de47fe4b3e23bc8a8d6e751d
2016-01-07 13:50:24 +00:00
Andrei Stingaceanu
c22ab7911a Keyboard shortcuts: minor naming refactor
Replace all occurrences of showKeyboardShortcuts* with
toggleKeyboardShortcuts* in order to be inline with
the current/desired behavior.

Change-Id: Ia076952ec40963b2727fd1f855b64859b94b1643
2016-01-07 12:42:46 +00:00
Andrei Stingaceanu
9d9294cc68 Keyboard shortcuts: initial view.
Initial view and functionality for showing/hiding it.

Change-Id: I0e365ecc3ba19110b87b020ff53a6318a7304ce8
2016-01-07 10:53:57 +00:00
Daichi Hirono
af5ea38b8c RealDeviceTest for MTP does not need to ask device permission.
MtpDocumentsProvider can obtain permission itself now because it's
system component.

BUG=26415299

Change-Id: Ia2cd275e57cffadbaefd0f1bf3cb99cde12e5e33
2016-01-07 18:24:59 +09:00
Tomasz Mikolajewski
4b6ac4a359 Merge "Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""" 2016-01-07 07:19:56 +00:00
Tomasz Mikolajewski
75395651c2 Revert "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException.""
This reverts commit 2b931719783cda11c3bbac9928c603d0a0a06d43.

Change-Id: Ic61b874012daeada02b73643f5c58f9ec840b3e5
2016-01-07 07:19:22 +00:00
Tomasz Mikolajewski
97dd67cc34 Merge "Revert "Remove the flag and make openTypedDocument throw FileNotFoundException."" 2016-01-07 04:47:42 +00:00
Tomasz Mikolajewski
2b93171978 Revert "Remove the flag and make openTypedDocument throw FileNotFoundException."
This reverts commit 95149ab6a5442a05f05f448854b6ab386c87f717.

Change-Id: I218aa8059ef674400dac8531a86cd326748c26d5
2016-01-07 04:47:03 +00:00
Tomasz Mikolajewski
5a22e1a19d Merge "Remove the flag and make openTypedDocument throw FileNotFoundException." 2016-01-07 03:52:01 +00:00
Tomasz Mikolajewski
95149ab6a5 Remove the flag and make openTypedDocument throw FileNotFoundException.
To be compatible with ContentProvider, DocumentsProvider should not
require checking for a flag before calling openTypedAssetFile.

This CL removes the flag, and makes the default implementation throw
FileNotFoundException instead.

Bug: 26222645
Change-Id: I3492f05804e39583ebb8584109c7017b3082846e
2016-01-07 03:49:14 +00:00
Daichi Hirono
fff12cd70a Merge "Implement FUSE operations in AppFuse JNI." 2016-01-07 01:21:07 +00:00
Daichi Hirono
1830c2aa55 Merge "Leave from the current root when the root is removed." 2016-01-07 01:18:34 +00:00
Winson
f24f21695f Refactoring and unifying TaskView animations.
- Adding notion of a TaskViewAnimation to animate a TaskView to a
  specific TaskViewTransform
- Refactoring task view enter/exit/launch/delete animations into
  a separate class so that we can improve them easier
- Removing individual TaskView view property animations in favor
  of using the existing TaskStackView stack animation. This ensures that
  we don't have to add separate logic when animating TaskViews.  It is
  all handled by the TaskStackView now.
- Breaking down the TaskStackView synchronize method into binding
  TaskViews and updating them to transforms.  This allows us to
  synchronously update in many cases and is cleaner than the many
  request* calls.

Change-Id: Ib26793568a14e837e6782358155f21158a133992
2016-01-06 14:55:20 -08:00
Felipe Leme
4967f737d9 Include title and description on bugreport.zip
Prior to this change, the user-provide title and description were only
used in the ACTION_SEND_MULTIPLE intent, which was fine for the cases
where the user share the bug report with an app that used intent
extras (like an email app).

But if the app did not use the extras, or if
the user did not share the bug report right away, the info supplied by
the user would be lost.

With this change, such info will be saved into 2 new zip entries,
title.txt and description.txt

BUG: 26403310
Change-Id: I888364d14d67fb4e2f2c26cb66b21576d7ce13b4
2016-01-06 14:53:53 -08:00
Jeff Sharkey
51f3908c6a Merge "Consistent naming for PackageManager methods." 2016-01-06 22:26:16 +00:00
Jeff Sharkey
e06b4d1d9f Consistent naming for PackageManager methods.
When hidden PackageManager methods take a userId argument, they
should be named explicitly with the "AsUser" suffix.  This fixes
several lagging examples so that we can pave the way to safely
start passing flags to new methods without scary overloading.

Also fix spacing issues in various logging statements.

Change-Id: I1e42f7f66427410275df713bea04f6e0445fba28
2016-01-06 15:21:06 -07:00
Ben Kwa
4788b3392c Merge "Switch to smooth scrolling when zooming to home/end." 2016-01-06 21:44:43 +00:00
Jason Monk
cd90a54e12 Merge "QS Customize panel cleanup" 2016-01-06 21:43:13 +00:00
Ben Kwa
8d7bf9487b Switch to smooth scrolling when zooming to home/end.
Smooth scrolling fires off a full complement of scroll state changes,
which enables the code to more accurately detect when a scroll is
finished.

BUG=24865658,25632648

Change-Id: Ib902836fdb4a76612d3bbfc4d30d5b0b249301a5
2016-01-06 13:41:58 -08:00
Jason Monk
51c444be14 QS Customize panel cleanup
- Use better service management to ensure onTileAdded and onTileRemoved
   are sent.
 - Fix not always registered as tunable bug.

Bug: 26423350
Change-Id: I56156de8e0edf903509dac594b471700068ebe3e
2016-01-06 16:32:29 -05:00
Ben Kwa
f01d85c353 Merge "Reinstate mime icons on grid tiles." 2016-01-06 21:13:29 +00:00
Ben Kwa
91430f1adf Reinstate mime icons on grid tiles.
- Add code to restore the mime icon on grid tiles (previously removed
  while tile layouts were being worked on).

- Switch mime icons from pngs to vector drawables.

BUG=24326989

Change-Id: I38b54256c6eca79052decadb6d138f658d03b951
2016-01-06 12:15:49 -08:00
Rakesh Iyer
1186faa905 System UI for auto.
This change adds in the beginnings of System UI for
the automotive use case. We extend the Phone status
and navigation bar and override the parts which are
customized for auto.

The navigation bar itself is built from a resource
array specified in car_arrays.xml to allow of ease
of customization of the shortcuts that are in the
navigation bar.

Bug: 26301185
Change-Id: I780a2ef9dd5ae2a4be9355b5874d08f521a86fa7
2016-01-06 12:05:35 -08:00
Felipe Leme
6d6f0a1c97 Merge "Fixed corner-case scenario where a screenshot is finished after the share notification is sent." 2016-01-06 18:28:38 +00:00
Felipe Leme
2288129d52 Fixed corner-case scenario where a screenshot is finished after the share
notification is sent.

Prior to this change, if a screenshot finished after the share
notification was sent, it would replace the share notification with a
progress notification, and the share notification would never be sent
again.

Also improved the test cases that automatically generate a screenshot
but don't use it to wait for the screenshot to finish before proceeding,
otherwise it could cause a future test to fail (if the screenshot is
finished after the initial test is completed).

Change-Id: I6e2a6549ebb48e5bebf5aa78d1bda94404c1812b
2016-01-06 10:14:36 -08:00
Jason Monk
6a40ac6cc6 Merge "Some Cleanup" 2016-01-06 15:25:50 +00:00
Jason Monk
2b37190fc5 Some Cleanup
Bug: 26395083
Bug: 26348883
Change-Id: I1e9b92fda1c83420ad72764ce2f02d7f40b34dae
2016-01-06 10:19:04 -05:00
Adrian Roos
d28ccd7cab Show back button while RemoteInput is active on keyguard
Bug: 22452379
Change-Id: Iea1cdb885698c717b98904453bf14e2bdd7d7562
2016-01-06 15:23:14 +01:00
Jason Monk
5a34cb8a73 Merge "More QS Tile modes in the API" 2016-01-06 14:18:57 +00:00
Geoff Mendal
07354e8788 Merge "Import translations. DO NOT MERGE" 2016-01-06 14:05:03 +00:00
Geoff Mendal
9e6fe0cf38 Merge "Import translations. DO NOT MERGE" 2016-01-06 14:04:33 +00:00
Geoff Mendal
53453502ca Import translations. DO NOT MERGE
Change-Id: Idd3021ee355626bc12361a252aab329d1d116b24
Auto-generated-cl: translation import
2016-01-06 05:57:10 -08:00
Jorim Jaggi
d8fb3ac4b8 Start moving divider only after passing touch slop
So there is a clear distinction between grabbing it and
start moving it.

Change-Id: I51b50220bd35d8040d0c11f131918d9741cd8403
2016-01-06 13:53:28 +00:00
Geoff Mendal
ee03b99a47 Import translations. DO NOT MERGE
Change-Id: I069886b4230a02864c84c5e12d29ac2149f88878
Auto-generated-cl: translation import
2016-01-06 05:53:27 -08:00
Jorim Jaggi
0035e383e4 Make sure to use right thread to change icon
Not sure why this ever worked.

Change-Id: Ib044236856522fb9d9e737c885d5e9223e5f3fe3
2016-01-06 13:52:01 +00:00
Geoff Mendal
41a324ebea Import translations. DO NOT MERGE
Change-Id: Icd9c16ad1f8cad8f53a99a1b7a4d7ca73510881d
Auto-generated-cl: translation import
2016-01-06 05:20:03 -08:00
Daichi Hirono
60e9a07557 Leave from the current root when the root is removed.
This is needed to handle removable roots.

1. Add a listener to RootCache.
2. BaseActivity handles roots change and leaves from the current
   directory if the current root is removed.

BUG=26316940
Change-Id: I41921fe17782fa1a2d9e58f55ea84326b8f1d3c0
2016-01-06 13:32:39 +09:00
Tomasz Mikolajewski
7e6040d981 Merge "Set the default mode to grid view." 2016-01-06 02:45:56 +00:00
Winson
ef06413afc Moving more callbacks to animated events.
- In preparation for the animation refactoring, this CL just moves the
  enter/exit callbacks that route though RecentsView into events that
  the task stack can handle directly.

Change-Id: I90f602c5486e1781129225a73dbf97af29477479
2016-01-05 18:18:05 -08:00