22252 Commits

Author SHA1 Message Date
Winson
91b225d41f Disabling history
- Fixing regression in scrolling from the back of the stack to the front
  where bindVisibleTaskViews() would be called early causing jank and
  task views to be returned to the view pool before the animation was
  complete.

Change-Id: Ib68495a2e3b34f92a4971dd6b32b7bc6c616ac23
2016-02-17 10:57:45 -08:00
Steve McKay
25a7ee08f6 Merge "Remove "HOME" directory. Use "Documents" instead." into nyc-dev 2016-02-17 17:46:24 +00:00
Michal Karpinski
f58179a24b Merge "Be less aggressive in removing old remote bugreport files" into nyc-dev 2016-02-17 17:18:19 +00:00
Felipe Leme
6cb955826b Merge "Cancel notifications when user tap on Details or Take Screenshot after service died." into nyc-dev 2016-02-17 16:11:16 +00:00
Jason Monk
0a6495dc60 Merge "Protect against monkey crash" into nyc-dev 2016-02-17 15:46:58 +00:00
Jason Monk
8556328bdf Merge "Move detail panel to its own thing" into nyc-dev 2016-02-17 15:45:53 +00:00
Jason Monk
377e7ad8dc Move detail panel to its own thing
Move pieces of the detail panel from the header and QSPanel to be
in a single container to make the enter/exit be handled better
and code cleaner.

Change-Id: Id1e79b96830ee50051e340fb09ecde537a64e516
2016-02-17 10:42:41 -05:00
Jason Monk
8c7e47f95d Protect against monkey crash
Bug: 27164002
Change-Id: Ic1b68a55a136106010b6df07766a96533683eece
2016-02-17 10:39:31 -05:00
Geoff Mendal
319524a51b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:31:09 +00:00
Jason Monk
300ec46741 Merge "Fixes and changes to support settings using UsageView" into nyc-dev 2016-02-17 15:30:52 +00:00
Geoff Mendal
120be92692 Import translations. DO NOT MERGE
Change-Id: I18d91b33eaa2d759744cdf7c44f41143de0e109f
Auto-generated-cl: translation import
2016-02-17 07:30:29 -08:00
Geoff Mendal
3d13783841 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:28:49 +00:00
Geoff Mendal
063cb147b7 Import translations. DO NOT MERGE
Change-Id: I01ab59200468fe5d7a8cb27a9ef16eb46d52f3fe
Auto-generated-cl: translation import
2016-02-17 07:25:10 -08:00
Julia Reynolds
7caa0b8724 Merge "Alarm can end time-based rule." into nyc-dev 2016-02-17 15:20:10 +00:00
Geoff Mendal
f0922b2a4b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-17 15:17:19 +00:00
Jason Monk
a5d7dd9cd5 Fixes and changes to support settings using UsageView
Bug: 27213136
Change-Id: I1796d710379fc92cf21b196459f34dda4570355f
2016-02-17 10:16:31 -05:00
Geoff Mendal
878b249c90 Import translations. DO NOT MERGE
Change-Id: If833e6af6b9206411e02db9c081d410c4893d73e
Auto-generated-cl: translation import
2016-02-17 07:14:57 -08:00
Geoff Mendal
fb7a4e73de Import translations. DO NOT MERGE
Change-Id: Ic8d25da29dbdb3132a51bef32045c166f48b8bc6
Auto-generated-cl: translation import
2016-02-17 07:11:49 -08:00
Michal Karpinski
a57f0e6b14 Be less aggressive in removing old remote bugreport files
Always keep all the files of the remote bugreport
operation and keep them for at least a day.

Bug: 27215341
Change-Id: I514956004bf982e868a87b39c705d7c4a4a7b001
2016-02-17 13:47:17 +00:00
Julia Reynolds
1998ee5628 Alarm can end time-based rule.
Bug: 21069008
Change-Id: I857d85a32eb44ca873da4a9f19323c48a922ab9f
2016-02-17 08:44:26 -05:00
Andrei Stingaceanu
5ae4e73ef0 Merge "Suspend packages - new API for retrieving the suspended status" into nyc-dev 2016-02-17 11:57:51 +00:00
Daichi Hirono
ebd2405159 Use device key to map device documents.
The CL introduces MAPPING_KEY column to the database and lets Mapper use
the column to map IDs of devices.

It also removes the concept of mapping mode from Mapper for
simplyfing. Now Mapper just tries to multiple mapping keys (MTP
identifier, display name, and mapping key) to find candidate of ID
mapping.

BUG=26212981

Change-Id: I19f6c7dac146047e9978de4eb33d5076406037ad
(cherry picked from commit 637a2010f4a0c0484b13c4cb87aa2858bdf079b2)
2016-02-17 08:18:13 +00:00
Tomasz Mikolajewski
7d37da7086 Merge "Provide siblings in a sorted orders in DocumentsUI." into nyc-dev 2016-02-17 07:04:17 +00:00
Jorim Jaggi
8a5c64062f Fix recents transitions
- Also animate when there is no thumbnail, which can frequently
happen after exiting multi-window.
- Also animate when the target stack id is INVALID, because we
currently don't persist stack id's in the tasks.

Change-Id: I280c85e62f55d712408a3e77c43f665acb19bc4c
2016-02-17 06:17:48 +00:00
Steve McKay
ab3b8936dc Remove "HOME" directory. Use "Documents" instead.
Use "Folder" as home icon for now.

Bug:27148009
Change-Id: I9f57bba1c8e51ae7887861923f5baa8f69ec2e6e
2016-02-16 14:52:35 -08:00
Wale Ogunwale
5a21494d6e Merge changes from topic 'flaky-test' into nyc-dev
* changes:
  Fixed issue with losing window name when copying WindowManager.LayoutParams
  Added AM API to remove a stack
  Don't resume activity on start if there are activities pausing.
2016-02-16 22:32:23 +00:00
Jason Monk
c18766d065 Merge "Battery graph in QS Detail" into nyc-dev 2016-02-16 21:26:25 +00:00
Jason Monk
96ab63640f Battery graph in QS Detail
Add new usage graph view to SettingsLib that shows usage with
same labels and whatnot.

Use that graph in the battery detail panel to show more stuffs.

Change-Id: I397b1314f65f668df566e93bdbc15420e1b3a280
2016-02-16 16:25:44 -05:00
Felipe Leme
1eee1996f5 Cancel notifications when user tap on Details or Take Screenshot after
service died.

There are scenarios when the user is running low on resources and it
kills Shell after it start monitoring a dumpstate process, in which case
the BugreportInfo is not available anymore when the user tap a
notification action.

We could add a mechanism to recover that info (like persistenting the
user-provided values in a shared preference), but would incur in more
costs when the device is already in a resource-constrained state, so
it's better to just stop monitoring and switch back to the traditional
model where the user is notified after the bugreport finishes (the
drawback is that all user-provided information will be lost).

Also improved how info.name is checked to avoid crash in similar cases.

BUG: 27186542
BUG: 27203559
Change-Id: I57076b098a3fce493e1a27121b6e070366808668
2016-02-16 13:17:53 -08:00
Adam Lesinski
e4735a9959 Merge "Fix up some small resource issues" into nyc-dev 2016-02-16 18:34:28 +00:00
Aga Wronska
f9b78bb69d Merge "Fix focus issues in directory fragment * Empty directory view gets focus when shown * Skip opening drawer when showing empty search results * Fix typo" into nyc-dev 2016-02-16 18:29:50 +00:00
Aga Wronska
d4b1753170 Fix focus issues in directory fragment
* Empty directory view gets focus when shown
    * Skip opening drawer when showing empty search results
    * Fix typo

Bug: 27109140
Change-Id: Ie62d48e1c3f78e5244d88067587b3e5986f99a03
2016-02-16 10:15:24 -08:00
Wale Ogunwale
06e8ee0c8a Added AM API to remove a stack
Use the new API when closing Pip.

Bug: 26982752
Change-Id: I074d23b5535a4534626183ab77142d3932a803f0
2016-02-16 10:09:51 -08:00
Winson Chung
bc56ca34aa Merge "Adding null check for invalid activity" into nyc-dev 2016-02-16 17:32:36 +00:00
Winson
59e18729f0 Adding null check for invalid activity
Bug: 24569398

Change-Id: I509bacaab810407a3d4b44781f698b5c76a6af8a
2016-02-16 09:29:48 -08:00
Rubin Xu
5db2f16f15 Merge "Initialize mTiles before constructing AutoTileManager" into nyc-dev 2016-02-16 16:12:45 +00:00
Jason Monk
d6b6e9c2ef Merge "Add missing cast tile" into nyc-dev 2016-02-16 15:40:48 +00:00
Jason Monk
4c4f3ee4f5 Add missing cast tile
Bug: 27061481
Change-Id: Icf037b199c382096d2145a7b3a169be2f6079e54
2016-02-16 10:39:04 -05:00
Neil Fuller
5393a6605f Merge "Fix a compilation error due to 1.8 type inference differences" into nyc-dev 2016-02-16 15:01:44 +00:00
Jason Monk
087ba40044 Merge "Fix RTL in Nav Bar" into nyc-dev 2016-02-16 15:01:33 +00:00
Andrei Stingaceanu
355b232d79 Suspend packages - new API for retrieving the suspended status
Instead of always rebuilding the full ApplicationInfo for a
package when callers are only interested in the suspended status
add a new fast API in Packagemanager (which only checks the
suspended user setting for the requested package and returns
a boolean) and change the appropriate caller code too.

Bug: 26794775
Bug: 22776761
Change-Id: Ide8428ef734479360d5a8a75fd8e0ed8ddf2da7a
2016-02-16 14:57:29 +00:00
Tomasz Mikolajewski
3d988a969f Provide siblings in a sorted orders in DocumentsUI.
Bug: 27192158
Change-Id: Idefd2ba3027cd4630fcd2aefade9e6b4952e7125
2016-02-16 17:18:34 +09:00
Tomasz Mikolajewski
cc0a0a39f8 Merge "Display correct icons in grid view." into nyc-dev 2016-02-16 08:04:36 +00:00
Tomasz Mikolajewski
4e708cb205 Display correct icons in grid view.
Bug: 27183062
Change-Id: I4c0fafc7bc6f0e2dc3d1cbdf3debf6312bb85d82
2016-02-16 17:03:16 +09:00
Winson Chung
a4b27566bd Merge "Better focus handling after dismissing task/scrolling." into nyc-dev 2016-02-16 01:46:09 +00:00
Winson
23b0d3f66e Better focus handling after dismissing task/scrolling.
- When there is no focused task, focus the next task closest to the 
  stack scroll in the focus direction.
- Fixing small regression where no task would focus when alt-tabbing
  because the index was out of bounds.

Change-Id: I2555c9340f40affc371f52d51d88af0eeda53b2e
2016-02-15 17:43:01 -08:00
Winson Chung
61ce27d3e9 Merge "Fixing issue with front task dimming when scrolled back." into nyc-dev 2016-02-16 00:54:17 +00:00
Winson
be8f35747c Fixing issue with front task dimming when scrolled back.
Change-Id: I30d88796e7af13734c9a33def05b62bed4fb2e96
2016-02-15 16:52:27 -08:00
Jeff Sharkey
9c6d9753a0 Merge "Add feature versions for devices and apps." into nyc-dev 2016-02-16 00:47:49 +00:00
Winson Chung
9c345eceb6 Merge "Tweaking stack shadows and layout." into nyc-dev 2016-02-16 00:46:01 +00:00