Commit Graph

31027 Commits

Author SHA1 Message Date
Julia Reynolds
f4eb180e73 Merge "Third party DND provider APIs." 2015-09-30 18:01:05 +00:00
Wale Ogunwale
41d14a9a1a Merge "Initialize DisplayContent base info when object is constructed" 2015-09-30 18:00:21 +00:00
Wale Ogunwale
16a4a0adb7 Merge "Don't make surface opaque when resizing window" 2015-09-30 17:58:39 +00:00
Julia Reynolds
a47a27ffd9 Third party DND provider APIs.
Bug: 22977552
Change-Id: I8c1bac317e9aa5d9565afe3f0c4e2be8fc34e6a9
2015-09-30 13:39:12 -04:00
Wale Ogunwale
e7bf46b7c2 Don't make surface opaque when resizing window
This helps reduce some of the artifacts shown in areas the app isn't
drawing content when resizing using the docked divider.

Bug: 24507122
Change-Id: I08a2c3ccd5cb5366c8278f62a5808b12ca09154d
2015-09-30 10:27:08 -07:00
Wale Ogunwale
fd04d8c884 Initialize DisplayContent base info when object is constructed
It is possible for an external process (e.g. sys-ui) to call into
WM to get the bounds of a stack in between the construction of the
DisplayContent object and SystemServer telling WM that the display
is ready. Incorrect bounds would be returned to the caller in this
case since the baseDisplayWidth/Height is only set when the displayReady
call is made.
We now initialize the base display information when the DisplayContent
object is created so any call to get the logical display rect of the
display will always return the right bounds. This should be okay as the
display manager is initialized way before window manager.

Bug: 24505761
Change-Id: Iebd688ad8f4c08556846fcebb543e58bd2c01414
2015-09-30 10:20:25 -07:00
Chong Zhang
9b316c125f Merge "fix crash when restoring freeformed task to recents" 2015-09-30 16:54:00 +00:00
Wale Ogunwale
b186388b67 Merge "Report re-sized stacks/task as fullscreen when docked stack isn't visible" 2015-09-30 15:28:07 +00:00
Chong Zhang
dc8d48c0d3 fix crash when restoring freeformed task to recents
bug: 23798697

Change-Id: I2f6c6cc9d5db5114de6a0cd662a36d8031863f1d
2015-09-29 19:55:14 -07:00
Wale Ogunwale
e5ec210bb1 Merge "Inform activity manager of stack/task rotation bounds changes in WM" 2015-09-29 18:14:08 +00:00
Wale Ogunwale
f175e8a6d0 Report re-sized stacks/task as fullscreen when docked stack isn't visible
When a docked stack exist we resize all other stacks and crop their
window content to the stack size. This was also been done when the
docked stack exist, but not visible. E.g the primary user has a docked
stack, but the secondary user doesn't, so the windows of the secondary
user get cropped.
We now report stacks/task sizes as fullscreen whenever the docked stack
isn't visible.

Bug: 24366804
Change-Id: Ia3f24e6f7d33fc175348e27db24a15ce3027e6f7
2015-09-29 11:07:06 -07:00
Filip Gruszczynski
23c0cc974f Merge "Refactoring: create method for marking display as needing layout." 2015-09-29 16:50:30 +00:00
Filip Gruszczynski
e92179d676 Refactoring: create method for marking display as needing layout.
Change-Id: Ib040d053bf5011587d4383e89c6206a783387b72
2015-09-29 09:49:57 -07:00
Fyodor Kupolov
76ce8473ca Merge "Fixed VPN support for restricted profiles in split system user model" 2015-09-29 00:04:45 +00:00
Fyodor Kupolov
1c36315a36 Fixed VPN support for restricted profiles in split system user model
In a new split system user model, owner of a restricted profile is not limited
to just user0. restrictedProfileParentId field should be used to get an owner.

Bug: 22950929
Change-Id: I928319a9450e543972237a42267eb2404e117c83
2015-09-28 16:44:04 -07:00
Wale Ogunwale
1ed0d89e7e Inform activity manager of stack/task rotation bounds changes in WM
Change-Id: I342093d8af1d397ab4894146f9b288bdfdc464f0
2015-09-28 15:58:37 -07:00
Erik Kline
8cd7c5a05c Merge "Add an explanation of how IpReachabilityMonitor works" 2015-09-28 22:42:15 +00:00
Wale Ogunwale
54eb12caa0 Allow non-freeform tasks to gain focus when docked stack is up
We were previously limiting the focus task detection to freeform tasks.

Bug: 24365439
Change-Id: I4e9f8560f7e297bf7abe598565892d59db8c2e23
2015-09-28 15:16:22 -07:00
Filip Gruszczynski
f370a5b303 Merge "Resizing docked stack by dragging dock divider." 2015-09-28 21:05:12 +00:00
Filip Gruszczynski
3ddc5d6096 Resizing docked stack by dragging dock divider.
Change-Id: Icc9df00446780f8cd81df4654ace07f33346e901
2015-09-28 13:26:33 -07:00
Julia Reynolds
41da2f777f Merge "Allow signature apps to modify notification policies." 2015-09-28 19:21:28 +00:00
Julia Reynolds
6ee2617832 Allow signature apps to modify notification policies.
Bug: 22977552
Change-Id: Ib2bc3a55a904011218bb3adb19998cc4a0b7e709
2015-09-28 15:03:52 -04:00
Julia Reynolds
7581121ba5 Merge "Revert "Allow signature apps to modify notification policies."" 2015-09-28 18:55:41 +00:00
Julia Reynolds
3a0ee8f963 Revert "Allow signature apps to modify notification policies."
This reverts commit 39a8c353a8.

Change-Id: I9a9a5fcc76202f5d2b3b175e5d5b9361604285d8
2015-09-28 18:55:28 +00:00
Julia Reynolds
b487ffeef7 Merge "Allow signature apps to modify notification policies." 2015-09-28 18:51:48 +00:00
Julia Reynolds
39a8c353a8 Allow signature apps to modify notification policies.
Bug: 22977552
Change-Id: I7bfd2fe7bcb2e14b9eb7281acbb8a35dbc2ec93e
2015-09-28 14:48:42 -04:00
Todd Kennedy
6b78340f6c resolved conflicts for b4d41021 to master
Change-Id: Ib413c588ffb7a2b4385d2088e6de782417625037
2015-09-28 11:47:19 -07:00
Todd Kennedy
b4d41021b4 am 92b28f37: resolved conflicts for 4ed21bf0 to stage-aosp-master
* commit '92b28f37de9956c172f779df4cf540abc5b94deb':
  Allow using the JIT
2015-09-28 18:28:14 +00:00
Todd Kennedy
92b28f37de resolved conflicts for 4ed21bf0 to stage-aosp-master
Change-Id: I9c8ab83589ee3786c884f34066c1f3d709dc5136
2015-09-28 11:20:38 -07:00
Fyodor Kupolov
dfc9ce5477 Merge "Added --restricted option for create-user command" 2015-09-28 18:00:40 +00:00
Makoto Onuki
a047d2e550 Merge "Fix OwnersTest when run with -e package" 2015-09-28 17:53:16 +00:00
Fyodor Kupolov
02cb6e773b Added --restricted option for create-user command
Also moved restricted profile create/setup logic from Settings to
UMS.createRestrictedProfile.

Bug: 24212155
Bug: 24303609
Change-Id: I0346a3368de53f4bb4b6e054349f19adac959d7f
2015-09-28 10:01:54 -07:00
Erik Kline
41480898f3 Add an explanation of how IpReachabilityMonitor works
Change-Id: Idfc1cf64c867182ffd612b27ba463b97e6c95769
2015-09-28 15:44:12 +09:00
Filip Gruszczynski
f77a6dbac6 Merge "Refactoring: Delete AppWindowToken.willBeHidden field." 2015-09-27 21:50:49 +00:00
Bryce Lee
535570a7ce am 979a22ea: am 6ad696c3: am f0740e0a: Merge "Add ThermalObserver system service to capture thermal state uevents." into cw-e-dev
* commit '979a22eaf9c62637c02ebd6f92ef6ea2888aa5be':
  Add ThermalObserver system service to capture thermal state uevents.
2015-09-27 15:11:22 +00:00
Nick Vaccaro
30c767afbf am 09746d89: am 5eccf896: am faf3f370: Merge "Fix sensor usage model" into cw-e-dev
* commit '09746d898099332a079af5349278e7c284fc2cbe':
  Fix sensor usage model
2015-09-27 15:11:07 +00:00
Filip Gruszczynski
7cc2ad0a31 Merge "Entry animation for docking windows." 2015-09-26 22:45:18 +00:00
Filip Gruszczynski
8aafd3a81b Refactoring: Delete AppWindowToken.willBeHidden field.
The only time AppWindowToken.willBeHidden is used is for determining
if the app should contribute to calculating orientation. In the same
check AppWindowToken.hiddenRequested will be or-ed with willBeHiden,
so it's enough that hiddenRequested to be set.

The only place where willBeHidden is set, is right before
WMS.setAppVisibility is called, which will set hiddenRequested.
Because of this willBeHidden is unnecessary.

Change-Id: Iea35f39f72e7f0dcd76205ef580f3a74cac72d08
2015-09-26 15:40:58 -07:00
Bryce Lee
979a22eaf9 am 6ad696c3: am f0740e0a: Merge "Add ThermalObserver system service to capture thermal state uevents." into cw-e-dev
* commit '6ad696c35b80f70f19de304b53bdbfc6f5a265d8':
  Add ThermalObserver system service to capture thermal state uevents.
2015-09-26 06:55:22 +00:00
Nick Vaccaro
09746d8980 am 5eccf896: am faf3f370: Merge "Fix sensor usage model" into cw-e-dev
* commit '5eccf896a838c74f844af5dc3e4e3584d3aff708':
  Fix sensor usage model
2015-09-26 06:54:52 +00:00
Bart Sears
b1755d8b49 Merge "Revert "Added --restricted option for create-user command"" 2015-09-26 02:02:15 +00:00
Bart Sears
9249a90977 Revert "Added --restricted option for create-user command"
This reverts commit 737b216b5c.

Change-Id: I4c43967933bb2e46cdb8ad6e643d7037d722cab2
2015-09-26 01:58:59 +00:00
Bryce Lee
f0740e0a2e Merge "Add ThermalObserver system service to capture thermal state uevents." into cw-e-dev 2015-09-26 01:33:00 +00:00
Wale Ogunwale
b0204d86c4 Merge "WindowStateAnimation: Clear transformation clip rect." 2015-09-26 00:55:06 +00:00
Bryce Lee
bc58f59da6 Add ThermalObserver system service to capture thermal state uevents.
Bug: 21445745
Change-Id: I980d60b66ca51942a1fd62502d6cf1f09208fc3a
2015-09-25 16:43:01 -07:00
Todd Kennedy
8c6e537225 Allow using the JIT
Instead of the JIT only being available for eng builds [or configurable
via environment variable], allow the JIT to be enabled programatically.

Change-Id: Ifcbc8445fb8bd45ce2bfed3f80fbaf48496f8e3a
2015-09-25 16:18:47 -07:00
Makoto Onuki
72a3a0c7d2 Fix OwnersTest when run with -e package
It was because UserManager.get() returns a static cached instance but
we should always be using the mock instance that's created for each test.

Bug 24378326

Change-Id: Id4663e7676d2d0130622055a97fbde0884714349
2015-09-25 16:01:43 -07:00
Todd Kennedy
f36f4f5845 Merge "resolved conflicts for 389bb7f5 to master" 2015-09-25 22:58:27 +00:00
Todd Kennedy
56ebb25708 resolved conflicts for 389bb7f5 to master
Change-Id: I9c3474577166cc91c50d32d225957fbd13c205bf
2015-09-25 15:57:11 -07:00
Makoto Onuki
cf2bb175bb Merge "Use a factory class for dependency injection, add more tests." 2015-09-25 22:52:38 +00:00