22137 Commits

Author SHA1 Message Date
Steve McKay
0d198d3afc Merge "Fix CTS failure." into nyc-dev 2016-02-18 20:00:10 +00:00
Steve McKay
b8397607ee Fix CTS failure.
Loosen the reigns on setPickTarget to accommodate no sub command mode.

Change-Id: Ia11c4194970c93fe86e98dfd0d23ed4fa1cea765
2016-02-18 11:59:26 -08:00
Jason Monk
26ae3c8063 Merge changes I91733155,If5912504 into nyc-dev
* changes:
  QS header: animation work
  Add TouchAnimator to make QS Animations simpler
2016-02-18 19:21:20 +00:00
Xiaohui Chen
ea4b6ba420 sysui: refactor for extensibility
Bug: 27100755
Change-Id: I7fff6751b7f197e3e66ab1f87690d556f6e66872
2016-02-18 19:16:57 +00:00
Jorim Jaggi
d30d95d36c Fix issues with docked icon
- Make sure to update when configuration changes
- Do not reset it to a deprecated icon we don't use
anymore.

Bug: 26451729
Bug: 27045882
Change-Id: I6c23a91fd9577ca836818fcd3ab6a0682880df1f
2016-02-18 18:52:29 +00:00
Jason Monk
ea834eca6e Merge "Tuner volume dnd panel work" into nyc-dev 2016-02-18 18:47:06 +00:00
Jason Monk
aa911b37ae Tuner volume dnd panel work
Change-Id: Id7852e96f987d13c06041e2280d44163a296f49b
2016-02-18 13:39:38 -05:00
Jason Monk
97cb9c77bc QS header: animation work
Bug: 27201532
Change-Id: I917331555132028897821c2a996d1d9dd8ad1833
2016-02-18 13:37:24 -05:00
Jason Monk
794457ae5c Add TouchAnimator to make QS Animations simpler
Bug: 27201532
Change-Id: If5912504748f7b29dd71b70a41bba4ff70b1fc9d
2016-02-18 13:37:05 -05:00
Jason Monk
5cac50c3c6 Merge "Remove lights out views from nav bar" into nyc-dev 2016-02-18 15:11:01 +00:00
Rakesh Iyer
6f1cdc92e5 Merge "Dejank app switching." into nyc-dev 2016-02-18 14:12:26 +00:00
Clara Bayarri
983bc7076c Merge "Lock Work Profile immediately when user presses power button" into nyc-dev 2016-02-18 11:21:19 +00:00
Clara Bayarri
3dc575f135 Lock Work Profile immediately when user presses power button
Bug: 26579952
Change-Id: I6e4e0fc2a4f41c72f0d940006f6ceb17e7852682
2016-02-18 11:20:35 +00:00
Jaewan Kim
88072ab9b1 Merge "PIP: Temporarily disable overlay text bubble timeout" into nyc-dev 2016-02-18 04:54:04 +00:00
Rakesh Iyer
9f831f64dc Dejank app switching.
App switching is a little janky, one of the causes seems
like we're doing a call into package manager to see if there
are more applications (to draw the arrow) and that is expensive
(around 10-160ms). Remove this call and maintain a cache and
query that instead.

Bug: 27232284
Change-Id: I9666073944e406b595a3486857f3fe44b2ae2039
2016-02-17 20:06:55 -08:00
Steve McKay
4a1ca86f47 Don't show recents as copy/move destination.
Revoke "SUPPORTS_CREATE" from the Recents faux-Root.
Don't allow copy to roots that don't support children.
Add friendly access methods to Root info for checking flags.
Only show spacer between roots sections when both non-empty.
Add docs explaining the "apps" section in roots.
Improve logic in the "canCopy" method.

Bug: 27232639
Change-Id: If78ee0ff73f0788de863345b560aecd41b23dfb9
2016-02-17 18:52:03 -08:00
Tomasz Mikolajewski
32a34d3379 Limit number of ClipData items for a quick viewer to 1000.
Bug: 20822219
Change-Id: I774be914ddeea0335dc646000a1d5c997ea73fd4
2016-02-18 00:54:26 +00:00
Jaewan Kim
bfef1edd26 PIP: Temporarily disable overlay text bubble timeout
Bug: 27224884
Change-Id: I2aeae84b62d3918d5e43ea5fda616a37683e1841
2016-02-17 16:45:41 -08:00
Wale Ogunwale
7fbec4193b Merge "Make PipOverlayActivity views visible onResume" into nyc-dev 2016-02-18 00:44:58 +00:00
Wale Ogunwale
ed0f7e2297 Make PipOverlayActivity views visible onResume
Also moved the scheduling of the invisible timeout to onResume.

Change-Id: If56d61a2e20b08748e1c9f7f3ab1b12b22320110
2016-02-17 16:37:42 -08:00
Jorim Jaggi
185fa234a2 Fix some strings
Bug: 26411749
Bug: 27022727
Change-Id: I405ba61a46011365bfa2aebfdb0797738237e86b
2016-02-18 00:35:28 +00:00
Ben Kwa
6f4de5b6a1 Merge "Fix focus issues on RV." into nyc-dev 2016-02-18 00:19:21 +00:00
Steve McKay
9a0fc1f680 Merge "Improvements to Copy/Move flow." into nyc-dev 2016-02-17 23:40:58 +00:00
Steve McKay
a6bbeab1d3 Improvements to Copy/Move flow.
- Always open drawer for copy/move operations.
- Set title to match operation.
- Update button to say "move" for move operations.
- Other minor fixes.

Also fix "Home" tests broken by ag/867110

Bug: 26506479
Change-Id: I3ccb4ddc72be0a21b91744bcb610c1ca490ac30c
2016-02-17 15:39:58 -08:00
Felipe Leme
014a0d11c7 Merge "Removed Intent.OPEN_EXTERNAL_DIRECTORY." into nyc-dev 2016-02-17 22:43:20 +00:00
Felipe Leme
34a9d52719 Removed Intent.OPEN_EXTERNAL_DIRECTORY.
Such intent is now encapsulated by StorageVolume.createAccessIntent().

BUG: 26742218

Change-Id: I2e2bd71126ecd74981f77b0af7d069f51aaece74
2016-02-17 14:38:25 -08:00
Ben Kwa
86bf12397b Fix focus issues on RV.
Don't set focusable=false - that's the wrong thing to do, per Yigit.
For now, just temporarily make the RV unfocusable while performing the
focus search for kb navigation.

BUG=27221751

Change-Id: I37ed77eb2aecf522a85c8a7c181e89c0bf73765d
2016-02-17 14:12:11 -08:00
Jason Monk
f269fd7fd5 Merge "Work on QS header redlines and animations" into nyc-dev 2016-02-17 21:39:00 +00:00
Steve McKay
a3b936aa55 Merge "Guard against NPE in equals checks." into nyc-dev 2016-02-17 20:41:28 +00:00
Steve McKay
30551a257c Guard against NPE in equals checks.
Update State test to cover different conditions separately.
Update DirectoryInfo test to best practices.
Update RootInfo to follow DirectoryInfo equals pattern.
Also, allow null cursors from Model...since they happen...I seen it mahself.

Bug: 27118725
Change-Id: Id0a0be053b91c887a745bfca5416e64f0edba995
2016-02-17 12:35:51 -08:00
Jason Monk
dbd8817d24 Work on QS header redlines and animations
Bug: 27201532
Change-Id: I791454dda3a42b588e506f6bcd174a69a0fd29f8
2016-02-17 15:20:29 -05:00
Steve McKay
c265117881 Don't read raw root from State, use getCurrentRoot
Bug: 27213606
Change-Id: I9abf42672d914041ab710bd09886c0c4034b85b6
2016-02-17 11:22:50 -08:00
Xiaohui Chen
ac83d19665 Merge "sysui: refactor in notification panel view" into nyc-dev 2016-02-17 19:21:41 +00:00
Winson
a00a785ec8 Adding event log tags for tracking secondary user connections.
Bug: 27175589
Change-Id: I6025eb6b0cef0057fd006cc044a638c48b481ed7
2016-02-17 10:58:50 -08:00
Winson
5b4e0d2b11 Fixing issue with double tap sometimes launching the same task.
- When double tapping, the next preload call can come in before activity
  start, which then resets the instance load plan (which is not 
  preloaded since Recents is “on top”), thus having no launch task, 
  which then falls back to launching the front-most task.  The preload
  call should never create a new plan unless it will preload it.

Change-Id: I001bfc901856c4e6b4e4b9b6a2125085b53c808b
2016-02-17 10:58:08 -08:00
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