221760 Commits

Author SHA1 Message Date
Bart Sears
0c22429bfa Revert "Ensuring that fast-alt tab works from Home as well as other apps."
This reverts commit 55ff9de8aed998468caf320a3b7ecb7407e721e1.

Change-Id: I37213ea9bbd43a83835a9de6f873ccd1b549ad17
2015-11-12 19:20:31 +00:00
Winson
55ff9de8ae Ensuring that fast-alt tab works from Home as well as other apps.
Change-Id: I920fdd06d5b9e3e63d197dce5a366a4316361ed5
2015-11-12 18:27:03 +00:00
Andrei Stingaceanu
938767f929 Merge "Wire in the device owner info into the KeyguardStatusView" 2015-11-12 18:12:44 +00:00
Andrei Stingaceanu
04e245b152 Wire in the device owner info into the KeyguardStatusView
Display the device owner information if it has been provisioned by
DPC via DevicePolicyManager, else fallback into displaying the
current user owner information (if set).

Change-Id: Ie915d6669ecac06bfa7b57079b9dcd0fac56df57
2015-11-12 18:08:12 +00:00
Philip P. Moltmann
6dc9114ef8 Merge "Deal correctly with suggested print attributes" 2015-11-12 17:17:30 +00:00
Filip Gruszczynski
c010798bbd Merge "Fix missing dock divider." 2015-11-12 16:48:34 +00:00
Winson Chung
14df4a5096 Merge "Removing hacks to delay app animations until window animations complete." 2015-11-12 16:42:20 +00:00
Wale Ogunwale
8c0886fe2e Merge "Avoid configuration of callback being reset after relayout." am: cbcafde45e am: 0170fb8281
am: f98a6f4101

* commit 'f98a6f41019bf41d57d0681c2e1d6859f8704091':
  Avoid configuration of callback being reset after relayout.
2015-11-12 16:35:44 +00:00
Filip Gruszczynski
ae10080b99 Fix missing dock divider.
When invisible the dock divider would have its bounds adjusted to size
0, 0 and that would be sent to Surface Flinger. When it becomes visible
we immediately adjust the size of the surface, but it's too late for
Surface Flinger and it returns wrong size to the renderer. By not
adjusting the dock divider bounds when it's invisible, Surface Flinger
will always hold good size. The position will be adjusted when the
divider gets visible.

Bug: 25612050

Change-Id: Iab0798d6545ae0f8b46eabfe7e4100079779bd06
2015-11-12 08:31:39 -08:00
Wale Ogunwale
f98a6f4101 Merge "Avoid configuration of callback being reset after relayout." am: cbcafde45e
am: 0170fb8281

* commit '0170fb8281d4de9364dc51985be26adea3163c0d':
  Avoid configuration of callback being reset after relayout.
2015-11-12 16:08:34 +00:00
Wale Ogunwale
0170fb8281 Merge "Avoid configuration of callback being reset after relayout."
am: cbcafde45e

* commit 'cbcafde45ec28d62ce674d215c0264f41580d9a6':
  Avoid configuration of callback being reset after relayout.
2015-11-12 16:01:22 +00:00
Wale Ogunwale
cbcafde45e Merge "Avoid configuration of callback being reset after relayout." 2015-11-12 15:55:18 +00:00
Jason Monk
7fc97c9134 Let support preferences use DeviceDefault themes
Change-Id: I5a0f074dfd1b948b1ced9195ae937e2ad80a5f28
2015-11-12 10:27:12 -05:00
Andrei Stingaceanu
bfd2290824 Merge "Introduce APIs in DPM for setting/getting the device owner info" 2015-11-12 10:47:07 +00:00
Seigo Nonaka
a17d8766d4 Merge "Clear suggestionSpan reference once popup window is closing." 2015-11-12 06:55:34 +00:00
Andre Eisenbach
4008c27aa1 Merge "Move Bluetooth startup to PHASE_ACTIVITY_MANAGER_READY" 2015-11-12 06:16:52 +00:00
riddle_hsu
164725c652 Avoid configuration of callback being reset after relayout.
mPendingConfiguration is a parameter of IWindowSession.relayout.
And IWindowSession.aidl declared "out Configuration outConfig",
it will always create a new configuration for remote side to write.
If remote side does not write (WMS does not have config change),
the new default configuration will be returned.

In original code passes mPendingConfiguration to updateConfiguration
directly, then callbacks (sConfigCallbacks) receive the same
instance of mPendingConfiguration. And because the implementation
of callback may use the configuration after relayout has reset
the configuration to default, then it may have timing that results
"showing hybrid of portrait and landscape modes" which try to fix
in commit e36d6e27.

To avoid this, always create a copy to updateConfiguration.
MSG_RESIZED_REPORT from dispatchResized also did the same thing.

Related commit:
e36d6e277e49475076b7872d36ea6a5c5b996e9d
694f79b5d1196640d1beb680b7d1fc68e6e77cbd

Change-Id: Ic1abd596e384918224b3a7020583d9a04641cccc
2015-11-12 14:07:12 +08:00
Andre Eisenbach
305fdabfd0 Move Bluetooth startup to PHASE_ACTIVITY_MANAGER_READY
For some reason BluetoothManagerService recently has been unable to bind
to the BluetoothService, causing timeouts, which in turn could lead to
Bluetooth not working immediately after boot.

While refactoring that code, the "get name and address" code was also
removed to make the startup sequence more transparent and easier to
debug.

Bug: 25597150
Change-Id: I62ffe4589a76ea8a6db75e3c7599f149db677ea3
2015-11-11 21:51:36 -08:00
Winson
c6a2da07bf Fixing crash when trying to set thumbnail info.
- The TaskThumbnailInfo can have the same lifecycle as the TaskRecord, and
  we should just reset it instead of setting it to null when the thumbnail
  is disposed.

Bug: 25652261
Change-Id: I54384e208b19e60d469bf3471dd555f78f04290c
2015-11-12 02:29:02 +00:00
Winson
3fb67562c5 Removing hacks to delay app animations until window animations complete.
- We should have been using onEnterAnimationComplete instead, which is 
  more reliable and respects the window transition developer option.

Change-Id: Ib7cd2868283cfe0e5fc79863818a614375072e0f
2015-11-11 17:58:52 -08:00
Doris Liu
be2187a175 Merge "Add hooks in JNI to start using native path parsing" 2015-11-12 01:56:06 +00:00
Doris Liu
cdd23f9d45 Add hooks in JNI to start using native path parsing
Change-Id: Iaa0d3c2c1936c248146ed7f186a13e8e79be818e
2015-11-11 17:54:52 -08:00
Erik Kline
ca596c6e07 Merge "Lower NTP timeout from 20 seconds down to 5 seconds" 2015-11-12 01:45:00 +00:00
Makoto Onuki
54b5f25b85 Merge "Revert "Do not call into ActivityManager from DPMS within DPMS lock"" 2015-11-12 01:39:44 +00:00
Makoto Onuki
219bbafc3f Revert "Do not call into ActivityManager from DPMS within DPMS lock"
Bug 25567963

This reverts commit 53de36f9c40c9a4ac1eb9cca8f458aa6c998c1fd.

Change-Id: I4faaa0b4c50d75e208f37b99bc1d6e2f0fff8127
2015-11-12 01:38:47 +00:00
Eino-Ville Talvala
78c90c2376 Camera: Documentation updates am: d8407271ff am: 37e78cf8f1 am: 0e57a4d021 am: 7a062ed396
am: 184cefc2ae

* commit '184cefc2ae33dde0d82a2ee4ed2683b05df9ccc3':
  Camera: Documentation updates
2015-11-12 01:38:37 +00:00
Eino-Ville Talvala
184cefc2ae Camera: Documentation updates am: d8407271ff am: 37e78cf8f1 am: 0e57a4d021
am: 7a062ed396

* commit '7a062ed396f6e563766367de70e0d9c6ba615fed':
  Camera: Documentation updates
2015-11-12 01:31:30 +00:00
Eino-Ville Talvala
7a062ed396 Camera: Documentation updates am: d8407271ff am: 37e78cf8f1
am: 0e57a4d021

* commit '0e57a4d02199a55db763b10a49f383c395e768c7':
  Camera: Documentation updates
2015-11-12 01:25:02 +00:00
Eino-Ville Talvala
0e57a4d021 Camera: Documentation updates am: d8407271ff
am: 37e78cf8f1

* commit '37e78cf8f18523cda95926a85ae2b3678ffd7e5e':
  Camera: Documentation updates
2015-11-12 01:18:12 +00:00
Eino-Ville Talvala
37e78cf8f1 Camera: Documentation updates
am: d8407271ff

* commit 'd8407271ffa83d27e9a524f485a0799e422e1fd6':
  Camera: Documentation updates
2015-11-12 01:10:07 +00:00
Amith Yamasani
7fdc58866f Merge "Use correct lock for reading/writing usage stats files" 2015-11-12 00:46:49 +00:00
Jeff Sharkey
7d0b9856fc Merge "More file-based encryption work." 2015-11-12 00:20:27 +00:00
Eino-Ville Talvala
d8407271ff Camera: Documentation updates
- Clarify hardware.camera feature being only for the back camera
 - Clarify what setting a CaptureRequest field to null does
 - Use preCorrectionActiveArray instead of activeArray in list of
   possible raw output sizes
 - Clarify length of GPS processing field for camera1 API

Bug: 24540625
Bug: 23908116
Bug: 23051627
Bug: 17345901
Change-Id: Iaf11fdf626268cf30f66b3628153ec3ac770c4f4
2015-11-11 23:59:38 +00:00
Daniel Koulomzin
37079993a1 Merge "ActivityView gets its own thread pool." into cw-e-dev am: 1090acc958 am: 102e66152a
am: c549b4fbc4

* commit 'c549b4fbc4fc9330f72050bf92a21ef3e48446e8':
  ActivityView gets its own thread pool.
2015-11-11 23:44:26 +00:00
Daniel Koulomzin
c549b4fbc4 Merge "ActivityView gets its own thread pool." into cw-e-dev am: 1090acc958
am: 102e66152a

* commit '102e66152a51e28920da23e2991281f51f2439ee':
  ActivityView gets its own thread pool.
2015-11-11 23:37:13 +00:00
Daniel Koulomzin
102e66152a Merge "ActivityView gets its own thread pool." into cw-e-dev
am: 1090acc958

* commit '1090acc958add85c1332fc73b66258ea4efba69e':
  ActivityView gets its own thread pool.
2015-11-11 23:28:10 +00:00
Daniel Koulomzin
1090acc958 Merge "ActivityView gets its own thread pool." into cw-e-dev 2015-11-11 23:23:18 +00:00
Daniel Koulomzin
71c012e001 ActivityView gets its own thread pool.
Bug: 24316798

Change-Id: I4278fa792cec8d2710f2f41eed02ba4a14af7052
2015-11-11 18:21:57 -05:00
Ian Pedowitz
c9711721f3 Merge "Revert "Fix race condition when setting default ringtones"" into mnc-dr-dev am: 88d4cc1001 am: 4f22c781b6 am: 44df02fc17
am: 4ab979e6cc

* commit '4ab979e6cc0c63b97b79441b478e30c8febdc3ee':
  Revert "Fix race condition when setting default ringtones"
2015-11-11 22:13:11 +00:00
Ian Pedowitz
4ab979e6cc Merge "Revert "Fix race condition when setting default ringtones"" into mnc-dr-dev am: 88d4cc1001 am: 4f22c781b6
am: 44df02fc17

* commit '44df02fc17bb0f3f1c445166c6cbd7f4d92b4eb6':
  Revert "Fix race condition when setting default ringtones"
2015-11-11 22:04:28 +00:00
Ian Pedowitz
44df02fc17 Merge "Revert "Fix race condition when setting default ringtones"" into mnc-dr-dev am: 88d4cc1001
am: 4f22c781b6

* commit '4f22c781b614322fe3790d314a527ac10471a63a':
  Revert "Fix race condition when setting default ringtones"
2015-11-11 21:54:42 +00:00
Chong Zhang
14c040bdd9 Merge "Fixes for dim bounds and touch bounds" 2015-11-11 21:50:56 +00:00
Ian Pedowitz
4f22c781b6 Merge "Revert "Fix race condition when setting default ringtones"" into mnc-dr-dev
am: 88d4cc1001

* commit '88d4cc100175a54be3b7d560a91c38197f59f4bf':
  Revert "Fix race condition when setting default ringtones"
2015-11-11 21:46:06 +00:00
Ian Pedowitz
88d4cc1001 Merge "Revert "Fix race condition when setting default ringtones"" into mnc-dr-dev 2015-11-11 21:39:11 +00:00
Ian Pedowitz
05ce0c6bb0 Revert "Fix race condition when setting default ringtones"
This reverts commit f2cb9341ff864e6d9cc6797857665b2281643a74.

Change-Id: I151972052aea47bf8c6823eb8bbf8161c5a7a4f0
2015-11-11 21:38:04 +00:00
Rob Carr
1bc5d9b3d4 Merge "Prevent early recent trimming of distinct documents." 2015-11-11 21:04:35 +00:00
Chong Zhang
4c9ba52aca Fixes for dim bounds and touch bounds
- Change dimming and touch related usage to use task's "max visible
  bounds", which is the app within a task that's covering the maximum
  visible area looking down from top. This solves the problem where
  an app pops up a dialog window. We should dimming (and allow touch)
  the entire task area, not just the dialog's visible area.

- Fix initial bounds used in drag moving/resizing, this should be
  visible bounds of the app main window, not the original task bounds.

- Fix touch region set up for freeform apps, even when task is not
  full screen, we should get the max visible bounds first (as freeform
  app could have dialogs too).

bug: 25494928
bug: 25487005
bug: 25613403

Change-Id: Ib1c6a1665fb83ded2fcb0a7ea92cf1def5372edd
2015-11-11 13:03:39 -08:00
Amith Yamasani
ccf7d9e8ce Use correct lock for reading/writing usage stats files
Bug: 25355086
Change-Id: I65946e5afa841215f161fc25ad70b31a108a33c3
2015-11-11 12:53:26 -08:00
Chad Brubaker
669692234b Merge "Add NetworkSecurityConfigProvider" am: d1c469e876 am: 8c89f4d28c
am: 70b2eede18

* commit '70b2eede18476f3a7d6344ffdc18b40f07bf4b5f':
  Add NetworkSecurityConfigProvider
2015-11-11 20:46:48 +00:00
Amith Yamasani
bdb94fe2ce Merge "Fix system watchdog timeout when reading too many usage events." am: 10b0bae06f am: b3d48f18a9
am: f12ffe6d76

* commit 'f12ffe6d762f281cbda56322be83a1da80b707ea':
  Fix system watchdog timeout when reading too many usage events.
2015-11-11 20:45:29 +00:00