Commit Graph

9223 Commits

Author SHA1 Message Date
Winson
a401a034a3 Merge "Take app screenshots in 565." into nyc-dev
am: de16f96

* commit 'de16f96c7e66b7a643ecc7b6c1a8fb70737f5250':
  Take app screenshots in 565.

Change-Id: I2782bd786b849a8e5f4003d98de81071b124be61
2016-04-15 01:00:36 +00:00
Winson Chung
de16f96c7e Merge "Take app screenshots in 565." into nyc-dev 2016-04-15 00:56:20 +00:00
Adrian Roos
12e9d8ffed Merge "Fix LockscreenWallpaper panning" into nyc-dev
am: a7e2eaa

* commit 'a7e2eaaac82280e06b0d1f1183921ffcbe42193f':
  Fix LockscreenWallpaper panning

Change-Id: I89189cd31482ad8d2aa270caf7da4d89727c956f
2016-04-15 00:15:28 +00:00
Adrian Roos
a7e2eaaac8 Merge "Fix LockscreenWallpaper panning" into nyc-dev 2016-04-15 00:05:00 +00:00
Winson
a5fdde9d15 Take app screenshots in 565.
- Or to be specific, SurfaceFlinger can’t easily take 565 screenshots,
  so convert them when creating the ashmem bitmap.

Bug: 28151300
Change-Id: Ic7586659a41cc19c322136f77a1c52ef68c22707
2016-04-14 16:03:44 -07:00
Sriram Viswanathan
af47d077c3 Merge "Disable recents button in carmode inside of NavigationBarView, instead of doing it from PhoneWindowManager, which doesnt maintain the mUiMode properly and in sync with that in the UiModeManager. In addition the re-layout / modifications in the content of the navigation bar in care mode are better consolidated in one place instead of many places." into nyc-dev
am: 95a4791

* commit '95a4791d1a0dfbd1898f010f0a2d1b1985a46079':
  Disable recents button in carmode inside of NavigationBarView, instead of doing it from PhoneWindowManager, which doesnt maintain the mUiMode properly and in sync with that in the UiModeManager. In addition the re-layout / modifications in the content of the navigation bar in care mode are better consolidated in one place instead of many places.

Change-Id: I37796cce858180e0497296fed14f3f7223a90d79
2016-04-14 22:14:38 +00:00
Sriram Viswanathan
95a4791d1a Merge "Disable recents button in carmode inside of NavigationBarView, instead of doing it from PhoneWindowManager, which doesnt maintain the mUiMode properly and in sync with that in the UiModeManager. In addition the re-layout / modifications in the content of the navigation bar in care mode are better consolidated in one place instead of many places." into nyc-dev 2016-04-14 22:05:12 +00:00
Dongwon Kang
5a534f8643 Merge "PipManager: Revisit the logic for PIP close for TV app case" into nyc-dev
am: 7c1f390

* commit '7c1f3905af890bd2959f7bf25d2a6f76a8ccd076':
  PipManager: Revisit the logic for PIP close for TV app case

Change-Id: Idff02048cc9e5b5f283b61ac7cf1a2463a32591f
2016-04-14 21:47:43 +00:00
Dongwon Kang
7c1f3905af Merge "PipManager: Revisit the logic for PIP close for TV app case" into nyc-dev 2016-04-14 21:38:12 +00:00
Sriram Viswanathan
469caae9ea Disable recents button in carmode inside of NavigationBarView,
instead of doing it from PhoneWindowManager, which doesnt maintain
the mUiMode properly and in sync with that in the UiModeManager.
In addition the re-layout / modifications in the content of the
navigation bar in care mode are better consolidated in one place
instead of many places.

Bug: 27313462

Change-Id: I1bdc2324f649f19f879b71c695381587561498e9
2016-04-14 14:18:22 -07:00
Sid Soundararajan
028a613bb3 Merge "Add a null check to prevent NPE" into nyc-dev
am: 996c409

* commit '996c40906e39cffb23e0317d2e10a7cf61a1bfb5':
  Add a null check to prevent NPE

Change-Id: I726898bc8d1539906d0363d447050c82574ba5ef
2016-04-14 20:15:42 +00:00
Sid Soundararajan
996c40906e Merge "Add a null check to prevent NPE" into nyc-dev 2016-04-14 20:02:30 +00:00
Jaewan Kim
060bed2dc0 Merge "PIP: Fix regressions" into nyc-dev
am: 3653085

* commit '36530859d061d126ff09abc6dbd65617035dab7c':
  PIP: Fix regressions

Change-Id: Ic682d1daeecd28f0cefd81b5b84758d64c92e281
2016-04-14 19:12:55 +00:00
Adrian Roos
3b777cb9b1 Fix LockscreenWallpaper panning
Bug: 27484494
Change-Id: Ic74b447213fcad5b7ca5107c5a0ebd9e76276ea6
2016-04-14 12:04:31 -07:00
Jaewan Kim
36530859d0 Merge "PIP: Fix regressions" into nyc-dev 2016-04-14 19:04:10 +00:00
Sid Soundararajan
6598b2d01a Add a null check to prevent NPE
Rare case where the rect returned from a View is null.

BUG: 28118236
Change-Id: Ie95b082c92c110f753152a50399c188b19d14e4b
2016-04-14 11:36:42 -07:00
Winson
8f3e983ddd Merge "Fixing various layout issues when docking" into nyc-dev
am: 4ecc096

* commit '4ecc096b625dce65970b785f156d24d32cff5e64':
  Fixing various layout issues when docking

Change-Id: Iae6814dd5c195597a199d8ddb84b05f5986bf398
2016-04-14 17:57:25 +00:00
Winson Chung
4ecc096b62 Merge "Fixing various layout issues when docking" into nyc-dev 2016-04-14 17:51:54 +00:00
Winson
67c79578f9 Fixing various layout issues when docking
- Fixing regression where we were scrolling to front immediately on 
  dragging-to-dock a task, we should only scroll to the front on 
  configuration change.
- Accounting for the inset when calculating the final stack bounds
  (similar to b/27921362)
- Fixing issue with task views being clipped as user drags a view due 
  to the bounds of the view changing.  We manually now set the frame on
  the view to the current stack task bounds.
- Simplifying calls to animate the task view bounds
- Removing old instance state code

Change-Id: I17d3e33e159ff250c11a504ef87558051926a974
2016-04-14 10:45:31 -07:00
Jaewan Kim
8c6e9f519b Merge "PIP: Implement new onboarding spec" into nyc-dev
am: cac7b22

* commit 'cac7b221ae24377e67e04afba67362c7c9a09a22':
  PIP: Implement new onboarding spec

Change-Id: I7c237dcc7142315f58c2caf32988731fbde400f9
2016-04-14 17:28:18 +00:00
Jaewan Kim
cac7b221ae Merge "PIP: Implement new onboarding spec" into nyc-dev 2016-04-14 17:21:39 +00:00
Jaewan Kim
5802b598c4 PIP: Update the focusability of recents row whenever Recents is shown
am: 8ad8419

* commit '8ad841944ebc2e10c620e5bb70135def4a9e5005':
  PIP: Update the focusability of recents row whenever Recents is shown

Change-Id: I7fd5b0ce68d7c261339dd9db8a53db87e0e93c06
2016-04-14 17:12:01 +00:00
Jaewan Kim
8ad841944e PIP: Update the focusability of recents row whenever Recents is shown
Bug: 28175628
Change-Id: I39da6ca3a8d379b85cea2341b3b61f93bf8cada4
2016-04-14 17:01:30 +00:00
Jaewan Kim
419c89533a PIP: Fix regressions
This includes following fixes
- Press back key to go to Home from Recents
- Do not show Recents when an activity is PIPed immediately after moved
  to fullscreen.

These regressions are caused by
c81082b Improve Animation Calculations to remove Jank

Bug: 28107787
Change-Id: I3078a5d8a9505c8d03cceee329e5d740efae7feb
2016-04-15 01:50:04 +09:00
Jaewan Kim
9d712faa45 PIP: Implement new onboarding spec
Bug: 27954437
Change-Id: Ib939a4ca5f304821036a43971ae7f45b7802ed8a
2016-04-15 01:17:42 +09:00
Andrei Stingaceanu
e32b8d906a Merge "Keyboard shortcuts: one instance refactor" into nyc-dev
am: 671e866

* commit '671e86605c96144066c65704dbd154df5f0a0bad':
  Keyboard shortcuts: one instance refactor

Change-Id: I6bcee9a2e8fad7b2aa34d9b6d904289ee0e72e3b
2016-04-14 15:45:22 +00:00
Andrei Stingaceanu
671e86605c Merge "Keyboard shortcuts: one instance refactor" into nyc-dev 2016-04-14 15:40:48 +00:00
Andrei Stingaceanu
f86bc97626 Keyboard shortcuts: one instance refactor
Make all the instance public methods private
and add static methods to control the behavior:
* show
* dismiss
* toggle

Make sure we only deal with one instance of the
KeyboardShortcuts (previously both the
KeyboardShortcutsReceiver and BaseStatusBar were
creating instances).

Makes sure the instance is destroyed when dismissing
and when showing it either creates a new one if none
exists or reuses the existing one.

Also fixes an existing nasty issue where in order
to dismiss the dialog from BaseStatusBar we were
always first creating a new instance.

Bug: 28012198
Change-Id: I207553dd45ae535edc64b6292a472fa0899029b0
2016-04-14 16:37:08 +01:00
Sid Soundararajan
99f07aac47 Merge "Add a fall back for when the thumbnail is not generated for a task" into nyc-dev
am: ac5a240

* commit 'ac5a240f0546b88507a85100a55483cc8380949b':
  Add a fall back for when the thumbnail is not generated for a task

Change-Id: If7e27669d0031ec5513c94d343bfeda348b098fc
2016-04-14 15:26:40 +00:00
Sid Soundararajan
ac5a240f05 Merge "Add a fall back for when the thumbnail is not generated for a task" into nyc-dev 2016-04-14 15:19:24 +00:00
Jason Monk
ad0680d6ea Merge "QS Edit: Fix drag to add tiles going away" into nyc-dev
am: dea7075

* commit 'dea7075249e0825a9ec44be7371b898a3bf3abb3':
  QS Edit: Fix drag to add tiles going away

Change-Id: Ib89c0e829fe1aff8287cda8ece90a479a455f12c
2016-04-14 15:01:57 +00:00
Jason Monk
dea7075249 Merge "QS Edit: Fix drag to add tiles going away" into nyc-dev 2016-04-14 14:57:45 +00:00
Jason Monk
42317eade5 QS Edit: Fix drag to add tiles going away
Change-Id: I421717066e6effde6dade7ef498877aa8834abdd
Fixes: 28153092
2016-04-14 10:53:42 -04:00
Dan Sandler
73a694b486 Merge "Allow system apps to substitute a different app name in notifications." into nyc-dev
am: 3af45bd

* commit '3af45bd2d06303bfaf8ba28324ca976e6f96ece3':
  Allow system apps to substitute a different app name in notifications.

Change-Id: I5fc24757a4db46a499f5638c04922e131c79d1f9
2016-04-14 13:59:20 +00:00
Dan Sandler
732bd6cb27 Allow system apps to substitute a different app name in notifications.
This is a privileged permission and is only to be used by
the core OS and related packages whose names are confusing
or misleading when shown in notifications.

The user will always be able to see the true package name by
accessing the notification inspector (longpress or swipe
gesture on the notification row in SystemUI).

Fixes: 26517701
Change-Id: I2b021c9da0757b99df76399666af263668d88070
2016-04-14 13:48:03 +00:00
Dongwon Kang
353d8d78ac PipManager: Revisit the logic for PIP close for TV app case
Bug: 26644185
Change-Id: I566f965796bc5a50b4e2ecf08b7217c6565cb163
2016-04-13 21:55:22 -07:00
Winson
5913a156a2 Reducing work on configuration change (Part 1)
am: 670ea71

* commit '670ea71f1b4ae59a0cd6608ae44b0fb78a1144c4':
  Reducing work on configuration change (Part 1)

Change-Id: I42fad93826036aef60bbc2d182c13840bae57fa4
2016-04-14 03:56:57 +00:00
Winson
670ea71f1b Reducing work on configuration change (Part 1)
- Don’t reinflate the header bar and dummy stack view
- Only update the header bar layout params when values change

Change-Id: I47bb699e35b10caea2ab8640be8d3f9a3d445c58
2016-04-13 20:51:37 -07:00
Jaewan Kim
b5948bd877 Merge "PIP: Implement focus change animation in PIP control buttons" into nyc-dev
am: 6309cab

* commit '6309cabcda6a6a3e2e397808f34ec6cc91b535aa':
  PIP: Implement focus change animation in PIP control buttons

Change-Id: I0d5121aae90d5d39b4a2930a05419ac5806e0718
2016-04-14 01:44:35 +00:00
Jaewan Kim
6309cabcda Merge "PIP: Implement focus change animation in PIP control buttons" into nyc-dev 2016-04-14 01:41:56 +00:00
Winson
5ab0315adc Fixing crash.
am: f21c3dac

* commit 'f21c3dace89b168f5e5e4e96532d977b8b0a1cf5':
  Fixing crash.

Change-Id: Ic5bec6333691edf57eb99387167f3e7dc00fa999
2016-04-14 01:37:16 +00:00
Winson
f21c3dace8 Fixing crash.
b/28179361

Change-Id: I5c6049efcd0c43f3b0e595648fd331c2a82d4d73
2016-04-14 01:34:57 +00:00
Sid Soundararajan
bda1b17d45 Add a fall back for when the thumbnail is not generated for a task
Re-add scrim and shadows to cards.

This can happen on TV when an App is mid launch and the HOME button
is pressed. The Banner of the App is used as a fallback, with the
icon of the app as a final fallback. The icon should not be used
normally, since an App would fail review for not providing a banner.

BUG: 27349208
BUG: 27857124
BUG: 27953609
Change-Id: I50f6ee714eeddee1ea2b5ae31f23ea68d230bc59
2016-04-13 18:31:18 -07:00
Adrian Roos
d9d70858b0 Merge "Keep HUNs that have an active remote input" into nyc-dev
am: e6036ad

* commit 'e6036ad09417edc2a0786237824eff306d1ca1bb':
  Keep HUNs that have an active remote input

Change-Id: Ia4ebbfc9f2f1dc6ad45f89a5f0c60ff8893569c0
2016-04-14 01:25:14 +00:00
TreeHugger Robot
e6036ad094 Merge "Keep HUNs that have an active remote input" into nyc-dev 2016-04-14 01:23:06 +00:00
Adrian Roos
69df48c446 Merge "StrongAuthTracker: Don\'t rely on USER_PRESENT" into nyc-dev
am: c142a8c

* commit 'c142a8c43fa7d1b6c9d797e044060755d9ecfcd6':
  StrongAuthTracker: Don't rely on USER_PRESENT

Change-Id: Id81115f8311e797f0b7d8a435226ea5862a9550a
2016-04-14 00:08:08 +00:00
TreeHugger Robot
c142a8c43f Merge "StrongAuthTracker: Don't rely on USER_PRESENT" into nyc-dev 2016-04-14 00:04:54 +00:00
Adrian Roos
4ab7e595a5 StrongAuthTracker: Don't rely on USER_PRESENT
USER_PRESENT is sent via the background queue. A delay
there can cause us not to recognize that the user has
unlocked and prompt for the credential again, when trust
or fingerprint would be sufficient.

Also removes an obsolete reference to USER_PRESENT from
TrustManagerService.

Change-Id: Ie8d1a180170df5f0c8f9e71660504fd71eeacd99
Fixes: 27830458
2016-04-13 15:38:18 -07:00
Kaori Katou
8f2d7678a5 Merge "Dismiss keyguard when user button is tapped" into nyc-dev
am: 819b9bc

* commit '819b9bc9dbf31b8b6db999ff56477038ad95ffcf':
  Dismiss keyguard when user button is tapped

Change-Id: I8c88b4067bd58adf66c86f5246ad3674f34784d3
2016-04-13 21:39:10 +00:00
Jorim Jaggi
d79d1ba4bc Refine long-press enter and exit animations
am: 545c5c2

* commit '545c5c20d3b1f424b2f1917a262a5e8130dab6d0':
  Refine long-press enter and exit animations

Change-Id: I229da9faaee36f491ee40ad00fea9273919e71a9
2016-04-13 21:39:08 +00:00