23901 Commits

Author SHA1 Message Date
Benjamin Franz
f02420c5e1 Maybe decrypt user when quiet mode is disabled
When quiet mode is disabled for a user and that user is not currently
decrypted, we show a confirm credentials screen to trigger decryption
of that user. Only if that was successful, do we actually disable quiet
mode.

Bug: 27764124
Change-Id: Ib1f649194d89e225dad62c14f3ddba1fa3d79da2
2016-04-15 14:12:41 +01:00
Nicolas Prévot
428fdd104c Merge "Call notifyLockedProfile in TrustManagerService instead of KeyguardViewMediator." into nyc-dev 2016-04-15 09:52:56 +00:00
Baligh Uddin
236c40ac26 Import translations. DO NOT MERGE
Change-Id: Ibe3273d1791c214e6f9f311bbf37657a9051f830
Auto-generated-cl: translation import
2016-04-14 23:16:45 -07:00
Selim Cinek
4bb593492c Fixed a bug with the overflow number
The number didn't apply the contrast computations
and wasn't scaling when density changed.

Change-Id: Ibde116f176c3a8d20de28ab432a80d9219f75581
Fixes: 28073460
2016-04-15 13:30:18 +08:00
Tomasz Mikolajewski
30616fcd21 Fallback to Recents when Downloads is not available.
Bug: 28182647
Change-Id: I0ece028f7980c7e55ca64d5aa34e98bdb4d08176
2016-04-15 14:06:09 +09:00
Andrii Kulian
5981b8c2e8 Merge "Remember task which is being locked" into nyc-dev 2016-04-15 04:32:57 +00:00
Jorim Jaggi
698e7634aa Disable resize when IME is adjusted
Bug: 28175599
Change-Id: I338dd230443973d912f17946ed722789b0f545a2
2016-04-14 20:45:56 -07:00
Baligh Uddin
52b9c133dc Import translations. DO NOT MERGE
Change-Id: I620bb1cffbc6a62baf7486c09e6a67887af65f47
Auto-generated-cl: translation import
2016-04-14 19:29:04 -07:00
Andrii Kulian
0f051f5abd Remember task which is being locked
We need to remember task which requested to be locked
because we can accidentally lock another task after
user interacts with pinning request dialog.

Bug: 27876860
Change-Id: Ie8e607df4380dd33ea9b3474afc247b02e31de07
2016-04-14 19:26:18 -07:00
Baligh Uddin
717f3260d0 Import translations. DO NOT MERGE
Change-Id: Iba257ea26b4756c7553ec4e1343fea739123ca26
Auto-generated-cl: translation import
2016-04-14 19:14:03 -07:00
Baligh Uddin
6c9b9a0040 Import translations. DO NOT MERGE
Change-Id: I937913df9ba9c5bcb8ca110826e8bb61730eab93
Auto-generated-cl: translation import
2016-04-14 19:11:22 -07:00
Baligh Uddin
79bf7eac1b Import translations. DO NOT MERGE
Change-Id: I8c49c19931631bbb8d84f1a5f121f8d3e4781f0a
Auto-generated-cl: translation import
2016-04-14 19:08:44 -07:00
Baligh Uddin
155b6e6c03 Import translations. DO NOT MERGE
Change-Id: Ia0afabcab2e24a438c56b8d9306f3bf2855fe124
Auto-generated-cl: translation import
2016-04-14 19:03:29 -07:00
Sid Soundararajan
be403e345e Add a dimmed dismiss icon below task card view
This should give a clear indication of moving down to dismiss.

BUG: 27968917

Change-Id: I49bbc2b071eb176b1af59ce9fd9e75a4b9bf2f56
2016-04-14 19:03:15 -07:00
Winson Chung
e2a49bfc50 Merge "Fixing jank issue with animating alpha." into nyc-dev 2016-04-15 01:25:16 +00:00
Winson
f19376ec01 Fixing jank issue with animating alpha.
Change-Id: I32685921eb58210f3ab012587c607d84a64be494
2016-04-14 18:20:56 -07:00
Winson Chung
de16f96c7e Merge "Take app screenshots in 565." into nyc-dev 2016-04-15 00:56:20 +00:00
Adrian Roos
a7e2eaaac8 Merge "Fix LockscreenWallpaper panning" into nyc-dev 2016-04-15 00:05:00 +00:00
Ben Lin
3a1ae58286 Merge "Disable auto-drawer opening if intent is creating doc on empty dir." into nyc-dev 2016-04-15 00:03:00 +00:00
Chong Zhang
6eee0e131a Disable starting window for Recents
When using a starting window, transition could start early before
real app window is drawn. We don't want this with Recents, so disable
it explicitly.

bug: 27812497
Change-Id: I648b2de3f91923978ef8b3d4f2629f0f73321b98
2016-04-14 23:22:48 +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
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
Adam Lesinski
5ff3ad6312 SettingsLib: Build with AAPT2
Bug:22775504
Change-Id: I2e5015235384d124418d32186daa190f38e1c5b3
2016-04-14 14:45:21 -07: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
Sudheer Shanka
3ee2cc630d Merge "Update RestrictedSwitchPreference to have an additional summary." into nyc-dev 2016-04-14 21:05:26 +00:00
Sid Soundararajan
996c40906e Merge "Add a null check to prevent NPE" into nyc-dev 2016-04-14 20:02:30 +00:00
Sudheer Shanka
6823a8fc59 Update RestrictedSwitchPreference to have an additional summary.
Bug: 27659072
Change-Id: Idfefe16f709d092355ce9cfbd820aacf12b95692
2016-04-14 12:24:23 -07: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
Steve McKay
f90db0890d Merge "Deal gracefully with empty srcs." into nyc-dev 2016-04-14 19:00:49 +00:00
Steve McKay
cb6903deac Merge "Guard against null clipdata objects." into nyc-dev 2016-04-14 18:44:24 +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 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
Steve McKay
55625a675f Deal gracefully with empty srcs.
Bug: 28184194, 28173827
Change-Id: I6794b147a7e3d3aba73600a87d565bfffe4a4b93
2016-04-14 10:34:08 -07:00
Jaewan Kim
cac7b221ae Merge "PIP: Implement new onboarding spec" into nyc-dev 2016-04-14 17:21:39 +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
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
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
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
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
Nicolas Prevot
c662898a18 Call notifyLockedProfile in TrustManagerService instead of KeyguardViewMediator.
Setting the profile as locked is not synchronous.
In some cases, KeyguardViewMediator called notifyLockedProfile before
TrustManagerService had actually marked the profile as locked.

BUG:28161912

Change-Id: Ic2ad302c74806ae368d56050eb31503a8ef0bd38
2016-04-14 13:46:39 +01:00
Bernard Chau
25c43b78d1 Merge "Includes both direct boot aware and unaware apps in Apps default view" into nyc-dev 2016-04-14 09:40:00 +00:00
TreeHugger Robot
73ba4a7136 Merge "Filter out ACTION_UP events in onKey() listener." into nyc-dev 2016-04-14 09:32:20 +00:00
Daichi Hirono
b12733481b Filter out ACTION_UP events in onKey() listener.
Previously we invokes performeSave both for ACTION_DOWN and ACTION_UP,
thus it creates two documents.

Change-Id: I7fc2a62c34fc239c2bf3ca6c71122e360d589727
Fixes: 28179791
2016-04-14 16:54:47 +09:00