232101 Commits

Author SHA1 Message Date
Abhijith Shastry
dc4535ebda Update javadoc for BlockedNumberContract.
BUG: 26232372
Change-Id: I57330782fa439bed52c595986916eb24bfbceab0
2016-02-05 09:58:35 -08:00
Jorim Jaggi
f9ef97936c Merge "Fix build" 2016-02-04 22:56:37 +00:00
Jorim Jaggi
dd50c3fc15 Fix build
Change-Id: I42ae0a22ce7259aa37c39a09d3b754785d000892
2016-02-04 14:55:50 -08:00
Jorim Jaggi
5bef2fcce8 Merge changes If489d2ba,I1fe12181,Ieb4f586a,Ib51163a0,Ifdfcf3ad, ...
* changes:
  Hide swipe-up gesture behind tuner flag
  When long pressing recents and already docked, undock
  More multi-window fixes
  Use separate flag to suppress resizes
  Only treat "null" bounds as fullscreen
  Exclude stable insets from task config
  Fix bug where surface was not clipped off during resizing
  Fix crash in SysUI when configuration changes
2016-02-04 22:49:52 +00:00
Jorim Jaggi
8f2a44f934 Hide swipe-up gesture behind tuner flag
(;゚︵゚;)

Bug: 26317834
Change-Id: If489d2bac21e376f2b24a3ce0537a2a8a29651ab
2016-02-04 14:39:46 -08:00
Jorim Jaggi
ea4a19f1aa When long pressing recents and already docked, undock
Bug: 26771328
Change-Id: I1fe12181cd80fd948e4184be6a8790c77bfe9e45
2016-02-04 14:39:22 -08:00
Adrian Roos
5df0661daf Merge "App crash dialog polish" 2016-02-04 22:39:20 +00:00
Jorim Jaggi
1b025a6026 More multi-window fixes
- When exiting multi-window (taskOverride gets EMPTY), emulate
the same task configuration so we don't end up with unnecessary
relaunches.
- Fix flicker by not calling WM.setAppVisibility if the app is
already visible. setAppVisibility makes a dummy transition,
which sets the transformation's alpha to zero if we think that
the app is not visible, which is the case because the app is in
DRAW_PENDING state because we are waiting for it to exit the
dragResize mode, but it's really visible.

Change-Id: Ieb4f586ae86e1185b21a901c57883a1f19d58fee
2016-02-04 14:37:47 -08:00
Jorim Jaggi
8202b2a5db Use separate flag to suppress resizes
When moving a task between stacks, we temporarily suppress resize
changes because while moving, the task is still in another stack
which might get resized by the docked stack because when fetching
the stack, we might create it and thus resize the other stack.

Introduce mTemporarilyUnresizable which makes it really not resizable,
regardless of whether we are force resizing our activities.

Change-Id: Ib51163a0606106fd55f5bdeecf8e53f08add4b4b
2016-02-04 14:37:26 -08:00
Jorim Jaggi
067e817585 Only treat "null" bounds as fullscreen
When long pressing on the recents button, we made it one pixel smaller
than fullscreen so we don't dismiss the stack immediately again.
However, this is a huge hack, and lead to problems with navigation bar
background because there we actually rely on the fact whether
the window is fullscreen or not to determine whether to draw the
navigation bar background, which lead to flickering.

Bug: 26777526
Change-Id: Ifdfcf3ad4138bc88c5164177cd20f1ff1635085f
2016-02-04 14:37:07 -08:00
Jorim Jaggi
0a93214198 Exclude stable insets from task config
When a app is in fullscreen, we exclude navigation bar and status bar
size when calculating the config. However, when in multi-window, and
the task was almost fullscreen, the height/width reported to the app
was actually larger than when it was in fullscreen. In order to fix
this, exclude the stable insets when calculating the task
configuration, and also fix a bug when calculating the screen layout.

Change-Id: I843ae012fb3050c79643d125550aacb6e73d27da
2016-02-04 14:36:57 -08:00
Jorim Jaggi
9511b0f1e9 Fix bug where surface was not clipped off during resizing
When dragging the divider in a way such the task size goes through
the following transition

- Half size
- Full screen
- Half size

the surface wasn't clipped off anymore. This was because in full
screen configuration, computeDragResizing() == false thus when
going full screen -> half size, we reset the draw state to
DRAW_PENDING to get notified when it has finished drawn. However,
this also broke clipping.

In order to fix this, we always put the window into a resizing mode
no matter whether the bounds are fullscreen or not.

However, this introduces an ugly flickering on the navigation bar,
when going into docked mode, because the app doesn't draw navigation
bar background in resize mode.

To fix that, we calculate the presence of navigation bar whether the
window is fullscreen, and not just whether it's resizing. For that,
we need to calculate the presence in BackdropFrameRenderer, by using
the insets just sent by window manager.

Change-Id: Idf56df4ae7fefe67d068bc2eeda8dc4d83bbefb7
2016-02-04 14:36:46 -08:00
Jorim Jaggi
defd9225e6 Fix crash in SysUI when configuration changes
Bug: 26913675
Change-Id: Ib36e5fcdd22197317f1b99a3aec8a46896a8cc36
2016-02-04 14:36:35 -08:00
Adrian Roos
70b89ce0bd App crash dialog polish
Bug: 26854994
Change-Id: I9b1012b00dbbcc5da27b5a32f0f8bd42187fa552
2016-02-04 14:36:14 -08:00
Dimitry Ivanov
2343f8dfcd Merge "Workaround for apps loading foreign native libs" 2016-02-04 22:13:53 +00:00
Dimitry Ivanov
add74a4629 Workaround for apps loading foreign native libs
Bug: http://b/26954419
Change-Id: I4272d015213b386abc1b04c0349cf1b081288058
2016-02-04 14:11:58 -08:00
Amith Yamasani
4c3a774ec8 Merge "Transit to correct state after alarm is fired" am: f3c432059c
am: 510a2c5aeb

* commit '510a2c5aeb88c5128737593e314e63265bc5d308':
  Transit to correct state after alarm is fired
2016-02-04 22:05:35 +00:00
Amith Yamasani
510a2c5aeb Merge "Transit to correct state after alarm is fired"
am: f3c432059c

* commit 'f3c432059c44e8e74b0385adde5f619e4d8eba0d':
  Transit to correct state after alarm is fired
2016-02-04 22:00:38 +00:00
Ben Wagner
b013cfec0b Merge "Remove unused fonts." 2016-02-04 21:56:09 +00:00
Amith Yamasani
f3c432059c Merge "Transit to correct state after alarm is fired" 2016-02-04 21:52:54 +00:00
Vladislav Kaznacheev
0975a8dda6 Merge "Support resource references in pointerShape attributes." 2016-02-04 21:28:39 +00:00
Wale Ogunwale
b631f7c60b Merge "Logging for 26793431" 2016-02-04 21:26:26 +00:00
Doris Liu
5a11e8d0ba Revert "VectorDrawable native rendering - Step 4 of MANY"
b/26949340 and b/26975469, b/26975079 as well 

This reverts commit f276acd98457bcaabc9e79a17a736b3b484f005e.

Change-Id: I4b55177daf0d289bc03604c71fd4bf579f65073a
2016-02-04 20:59:00 +00:00
Doris Liu
95085d154b Merge "Revert "Fix NPE for invalid target exception"" 2016-02-04 20:03:44 +00:00
Doris Liu
3aaff80f32 Revert "Fix NPE for invalid target exception"
This reverts commit d4fda02dd59adff9553dca5647ebb6c023145d5f.

Change-Id: I73341dc41c7effaa3209107b4e85503b17e2c826
2016-02-04 20:02:52 +00:00
Ben Wagner
cee5f2023b Remove unused fonts.
The fonts being removed are no longer referenced.

Change-Id: I3029bdc817a39f5000a1c3d067afc1d40e859b93
2016-02-04 15:02:00 -05:00
Alan Viverette
3db7796461 Use correct condition for killing background processes
Bug: 26881641
Change-Id: Iccb0f48497e5a2023543d73b5c2067e5edaf717e
2016-02-04 14:53:00 -05:00
John Reck
0a1abd3247 Merge "Have RT drive window positioning" 2016-02-04 19:32:57 +00:00
John Reck
f648108f83 Have RT drive window positioning
Bug: 22802885

Change-Id: I6beed5474d3a943b16e9097f7bd61ce3cbd37505
2016-02-04 11:23:49 -08:00
Sudheer Shanka
57218cbbf7 Merge "Made changes to fix some policy transparency options." 2016-02-04 19:14:14 +00:00
Brian Jones
37e80e3167 Merge "Allow Full ICCID Print in dumpsys on Debuggable Builds" 2016-02-04 19:11:59 +00:00
Nathan Harold
b09fdff0ff Allow Full ICCID Print in dumpsys on Debuggable Builds
Bug: 26981705
Change-Id: I83b1cb7e4e382123daf506b1621e8e100b874611
2016-02-04 11:10:20 -08:00
Chris Craik
37fd29f284 Merge "Fix ripple clipping + quick rejection" 2016-02-04 19:08:59 +00:00
Chris Craik
c8ca8ceba0 Merge "Simplify shadow task cleanup" 2016-02-04 19:04:18 +00:00
Igor Murashkin
b6aae68912 Merge "api: Un-@hide new annotation APIs from java 8" 2016-02-04 18:56:24 +00:00
Wei Liu
fba5a3b6da Merge "DO NOT MERGE ANYWHERE Put the start of RttService behind a flag." into cw-e-dev am: e2c27eede5 -s ours am: 44b73f54fb -s ours am: 3db7909c7a -s ours
am: 0218fc7dbb  -s ours

* commit '0218fc7dbb2df36cf5f9ca30075da84e0020b218':
  DO NOT MERGE ANYWHERE Put the start of RttService behind a flag.
2016-02-04 18:47:23 +00:00
Alan Viverette
6bfa4286e0 Merge "Kill background processes targeting SDK < N on density change" 2016-02-04 18:45:17 +00:00
Wei Liu
0218fc7dbb Merge "DO NOT MERGE ANYWHERE Put the start of RttService behind a flag." into cw-e-dev am: e2c27eede5 -s ours am: 44b73f54fb -s ours
am: 3db7909c7a  -s ours

* commit '3db7909c7a2b827a9c887ae8a00360cb75001c8b':
  DO NOT MERGE ANYWHERE Put the start of RttService behind a flag.
2016-02-04 18:41:11 +00:00
Wei Liu
3db7909c7a Merge "DO NOT MERGE ANYWHERE Put the start of RttService behind a flag." into cw-e-dev am: e2c27eede5 -s ours
am: 44b73f54fb  -s ours

* commit '44b73f54fb223538eb05fe7b86ff0f47c117be7e':
  DO NOT MERGE ANYWHERE Put the start of RttService behind a flag.
2016-02-04 18:35:22 +00:00
Selim Cinek
ae7c208adf Merge "Apapted the touch region for notification headers" 2016-02-04 18:30:01 +00:00
Selim Cinek
c1e3a38d29 Merge "Not truncating notification info anymore" 2016-02-04 18:29:41 +00:00
Selim Cinek
b5e6af5f55 Merge "Collapse all groups now when the shade is collapsed" 2016-02-04 18:28:45 +00:00
Selim Cinek
7fce1206fa Merge "Fixed a crash when transforming" 2016-02-04 18:28:27 +00:00
Wei Liu
44b73f54fb Merge "DO NOT MERGE ANYWHERE Put the start of RttService behind a flag." into cw-e-dev
am: e2c27eede5  -s ours

* commit 'e2c27eede562241423c02d086703b12d4b3dddd3':
  DO NOT MERGE ANYWHERE Put the start of RttService behind a flag.
2016-02-04 18:28:10 +00:00
Selim Cinek
9c916fbe76 Merge "Fixed that group children expand buttons were sometimes colored" 2016-02-04 18:28:03 +00:00
Selim Cinek
3c30c06331 Merge "Fixed a bug where the notification big text wasn't transforming" 2016-02-04 18:27:39 +00:00
Selim Cinek
e13b5c8788 Merge "Adapted the background behavior on the lockscreen" 2016-02-04 18:27:13 +00:00
Selim Cinek
c3e3652126 Merge "Adapted the style of notification groups" 2016-02-04 18:26:56 +00:00
Selim Cinek
09159fcf55 Merge "Adapted the no notifications view according to spec" 2016-02-04 18:25:53 +00:00
Selim Cinek
fee27b2d6b Merge "Updated the clear all button to spec" 2016-02-04 18:25:36 +00:00