20361 Commits

Author SHA1 Message Date
Winson
e86deb8adb Ensuring that fast-alt tab works from Home as well as other apps.
Change-Id: Ie4a6e95e790483c283d4257b15cf1b7dd315db28
2015-11-13 22:53:28 +00:00
Winson Chung
d8f89e5f9f Merge "Ensure that the device is provisioned before showing Recents." 2015-11-13 18:38:12 +00:00
Winson
e924356ddf Ensure that the device is provisioned before showing Recents.
Bug: 25476219
Change-Id: I87b78d4c3ca1e4d71280f057f3e076cc456bbf8f
2015-11-13 18:37:46 +00:00
Daichi Hirono
18d70d5b7c Split MtpDatabase class into three classes.
BUG=25162822

Change-Id: Id64b6d9fa11a3214bb855ea8e1344af45fb415ff
2015-11-13 16:42:50 +09:00
Daichi Hirono
cfcb0c007d Adds new method to update existing documents in MtpDatabase.
BUG=25162822

Change-Id: I7aa63fc272aa7b57d6a9672565f842774e898a00
2015-11-13 14:50:48 +09:00
Steve McKay
0c89a3a991 Merge "Handle shift+arrow correctly in single select mode." 2015-11-13 03:36:19 +00:00
Filip Gruszczynski
fba5632f2b Merge "Fix wrong dock stack bounds after rotation." 2015-11-13 00:35:57 +00:00
Sanket Padawe
0d23df82af Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev am: 5b6ad87630 am: 4f822bbf2a am: 761af3d27d
am: c9d033a71a

* commit 'c9d033a71afc263c0e493d33e555c3134f665bfb':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-13 00:26:54 +00:00
Sanket Padawe
c9d033a71a Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev am: 5b6ad87630 am: 4f822bbf2a
am: 761af3d27d

* commit '761af3d27d40488d46a35a0c0c421a81fdd46cc4':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-13 00:17:13 +00:00
Sanket Padawe
761af3d27d Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev am: 5b6ad87630
am: 4f822bbf2a

* commit '4f822bbf2a1c44c9dc5668857aa8cf7f0e5969cc':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-13 00:07:47 +00:00
Sanket Padawe
4f822bbf2a Merge "Don\'t allow contact sharing by default for device not recognized as carkit." into mnc-dr-dev
am: 5b6ad87630

* commit '5b6ad87630756751471f7224672328d955c8f2fb':
  Don't allow contact sharing by default for device not recognized as carkit.
2015-11-12 23:58:48 +00:00
Philip P. Moltmann
d86e8d813b Merge "Do not disable the add printer icon and have special empty view if no print services are enabled" 2015-11-12 23:07:04 +00:00
Filip Gruszczynski
b38b0003e2 Merge "Fix recents to freeform animation." 2015-11-12 23:02:38 +00:00
Filip Gruszczynski
fe9823f64c Fix recents to freeform animation.
We should use freeform animation spec not only when the task is already
freeform, but also when it is entering freeform.

Bug: 25669457
Change-Id: I30cba79a149183b0a8b9e1e4751a215cef6a490f
2015-11-12 14:35:59 -08:00
Filip Gruszczynski
f6d8e9e85f Fix wrong dock stack bounds after rotation.
When setting the stack bounds from the system UI we need depend on
DisplayInfo.logicalWidth/Height instead of DisplayMetrics.
DisplayMetrics have values adjusted for status bar and nav bar, but the
Activity Manager doesn't know about that. It expects the stack bounds to
use full display size.

Bug: 25665425
Change-Id: Idf5f3192105b72686d1ad11fe4f42c894bb87fbe
2015-11-12 13:39:20 -08:00
Philip P. Moltmann
953639cb82 Do not disable the add printer icon and have special empty view if no
print services are enabled

The add printer icon is always visible as this is used for both adding
a printer and adding addition print services

We have three different empty views now:
1. No print services
2. No printers found (not search filter set)
3. No printers found (search filter set)

Bug: 24132367
Change-Id: Ic30812b60986f1e0f023488cefc6aa901ce20824
2015-11-12 11:48:09 -08:00
Bart Sears
8b8be50c64 Merge "Revert "Ensuring that fast-alt tab works from Home as well as other apps."" 2015-11-12 19:21:11 +00:00
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
Jason Monk
22f19fb9cb Merge "SettingsLib Drawer: Listen to theme about actionbar" 2015-11-12 18:55:09 +00:00
Jason Monk
f18a55da5a SettingsLib Drawer: Listen to theme about actionbar
Show it or not based on windowNoTitle.

Bug: 25567755
Change-Id: Ie1a6b79eb87dcc101bd76785df7c5330acc54603
2015-11-12 18:51:48 +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
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
Jeff Sharkey
7d0b9856fc Merge "More file-based encryption work." 2015-11-12 00:20:27 +00:00
Sanket Padawe
07533dbfff Don't allow contact sharing by default for device not recognized as carkit.
+ Don't allow contact sharing by default for devices not recognized
as carkit at pair time.

Bug: 23607427
Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a
2015-11-11 15:01:35 -08:00
Amith Yamasani
536258c531 Merge "Once system is provisioned, lock the screen on system user" 2015-11-11 20:05:06 +00:00
Amith Yamasani
cb15d66f1c Once system is provisioned, lock the screen on system user
If the device provisioning is complete, check if we need to show
the keyguard. We don't want it to show launcher after finishing
with setupwizard in the system user.

Bug: 25326078

Change-Id: I326069e29122ebf19a59fc00a9120cd5de70f231
2015-11-11 10:58:29 -08:00
Jeff Sharkey
f9fc6d6cc0 More file-based encryption work.
Add granular StorageManager APIs for key creation/destruction and
unlocking/locking.  Start passing through an opaque token as part
of the unlock command, but leave it empty for now.  We now have a
separate "prepare" method that sanity checks that user directories
are correctly setup.

Define a handful of system properties used for marking devices that
should be operating in FBE mode, and if they're emulating FBE.  Wire
a command to "sm", but persisting will come later.

Start using new "encryptionAware" flag on apps previously marked with
coreApp flag, which were apps running in the legacy CryptKeeper
model.  Small tweaks to handle non-encryptionAware voice interaction
services.  Switch PackageManager to consult StorageManager about the
unlocked state of a user.

Bug: 22358539
Change-Id: Ic2865f9b81c10ea39369c441422f7427a3c3c3d6
2015-11-11 10:47:23 -08:00
Philip P. Moltmann
ab2ee47d01 Merge "Allow ellipsizing of copy count and media size in PrintActivity main view." 2015-11-11 18:40:39 +00:00
Philip P. Moltmann
3aa1fc5aec Allow ellipsizing of copy count and media size in PrintActivity main view.
Bug: 25589299
Change-Id: I231c156de1180b18a140ee8ad896bd4226196bc9
2015-11-11 10:30:21 -08:00
Winson Chung
cef9219fda Merge "Fixing issue with wrong transition when tasks are offscreen." 2015-11-11 17:30:24 +00:00
Winson
83c1b07a99 Fixing issue with wrong transition when tasks are offscreen.
- Fixing issue with wrong animation specs being created for tasks that
  are offscreen
- Removing unused code and simplifying the logic for task launching, also
  pulling this out into another file so that it is easier to read and
  understand
- Removing old incorrect call to moveTaskToFront() instead of
  startActivityFromRecents()

Bug: 25590404

Change-Id: I25d9530d089a7984fb8c94954a34dd124420755a
2015-11-11 09:25:54 -08:00
Jorim Jaggi
8b717e7ad1 Make all calls go through mExecutor
So we don't run into race conditions when both the main thread and
the executor thread are calling into window manager.

Bug: 25591212

Change-Id: I6d02170f6b105c9b7b861b6dfc4b76452632d562
2015-11-11 17:06:09 +00:00
Jason Monk
befd54e3e7 Vibrate when the gear gets up to speed
Bug: 25198361
Change-Id: I2a87c2b5594cef39b247de9ae524664c60e2a0ee
2015-11-11 11:20:50 -05:00
Geoff Mendal
ab8f3c3a68 Merge "Import translations. DO NOT MERGE" 2015-11-11 13:42:06 +00:00
Geoff Mendal
5fcbc95825 Import translations. DO NOT MERGE
Change-Id: Id20219220ba0cace66145a7f51c64ba6e3157f86
Auto-generated-cl: translation import
2015-11-11 05:38:05 -08:00
Geoff Mendal
f3fd6c0e13 Import translations. DO NOT MERGE
Change-Id: Ie8815b96b223656f98372f830409837795c45766
Auto-generated-cl: translation import
2015-11-11 05:34:54 -08:00
Steve McKay
57a93babd7 Handle shift+arrow correctly in single select mode.
Bug: 25603626
Change-Id: I2f71152b303ac218ecec59e8200acf8a716ea0ee
2015-11-11 16:48:26 +09:00
Ben Kwa
d50b45ccbf Merge "Adjust grid item layouts to match mocks." 2015-11-11 05:09:59 +00:00
Ben Kwa
9094585eb4 Adjust grid item layouts to match mocks.
BUG=24326989

Change-Id: I8a4133890036a2ef9173f20828f062a7e991525d
2015-11-10 20:32:17 -08:00
Philip P. Moltmann
b4efdb4726 Deal correctly with suggested print attributes
An app might suggest certain attribute for an print job. This patch
fixes

- PrintActivity should not silently overwrite the attributes with
  the default values
- Handle duplex mode in PrintAttributes similar to the other attributes.
  I.e. have an "unset" value (0). This is an API change. But the only
  use case for PrintAttributes was to pass them to print() and thereby
  the PrintActivity. This was broken (see above), hence we are changing
  and API that could have never been used.

Bug: 23629618
Change-Id: I43c25704497c799352fb806126dc93f6db4879f5
2015-11-10 17:09:30 -08:00
Xiaohui Chen
bcc0471e2b Merge "app shelf: Change logging level" 2015-11-11 00:23:44 +00:00
Xiaohui Chen
38d01bf315 app shelf: Change logging level
It seems common for apk to not have launcher activity. I see it quite
a lot during SUW. It does not seems to be an error.

Change-Id: Iee417b0614ef17940371da9710ff14adbad82e3a
2015-11-10 15:02:29 -08:00
Jason Monk
10bd1daf5e Merge "Fix tuner-related crashes" 2015-11-10 21:05:57 +00:00
Jason Monk
72def0de65 Fix tuner-related crashes
- Make the dialog a fragment
 - add a null check

Bug: 23341500
Bug: 25341011
Change-Id: I4d9991657c487ea3b5ced8cce2a5072c8adb2ee5
2015-11-10 16:03:41 -05:00
Tony Mantler
6038349b4e Merge "Move RecentLocationApps to SettingsLib" 2015-11-10 17:48:47 +00:00
Tony Mantler
65eb4ada18 Move RecentLocationApps to SettingsLib
Change-Id: I73c7c7a2436a6af9f5353a20ea7afc4f6e57b485
2015-11-10 17:47:56 +00:00
Winson
142af42fd6 Fixing issue with regression with launching focused task.
- Only update the focused task as you scroll if we are in touch
  exploration mode.
- Use stack's notion of focused task as the currently focused task may
  not have a TaskView and can be scrolled offscreen.

Bug: 25590404

Change-Id: I5ef1b66ec74aa1a3131993ed84905210f1e45f18
2015-11-10 08:53:44 -08:00