Commit Graph

20443 Commits

Author SHA1 Message Date
Geoff Mendal
569a7ab571 Import translations. DO NOT MERGE
Change-Id: I5eb347309ecaa015fb1486196e7600ab98d06b67
Auto-generated-cl: translation import
2015-11-23 05:33:01 -08:00
Amith Yamasani
930240e848 Merge "Fix missing observer reply callbacks" 2015-11-20 23:17:41 +00:00
Amith Yamasani
ca0ac5c6b2 Fix missing observer reply callbacks
This was causing upto 2 seconds in user switching delay.

Also switched to using Log.wtf for the timeout message to
track any regressions in this due to new clients.

Bug: 25813588
Change-Id: Icf23b021f134a8ccfa2dae470af02b2da7454acc
2015-11-20 14:16:24 -08:00
Svetoslav Ganov
c47132c205 Merge "Use resolved calling user id" 2015-11-20 21:10:52 +00:00
Svetoslav
d8d25e0038 Use resolved calling user id
bug:25476216

Change-Id: I0093a5c071affaa5f3ca8eeb0e3a7a36b66a3c1f
2015-11-20 13:09:32 -08:00
Chris Tate
3d4e969f4f Merge "Don\'t back up / restore EAP network definitions" am: 14a0981fde am: b5a38f6da5
am: 96333c2e8c

* commit '96333c2e8cd13df55e8c878925f8cd2e9c90ac42':
  Don't back up / restore EAP network definitions
2015-11-20 18:15:52 +00:00
Chris Tate
96333c2e8c Merge "Don\'t back up / restore EAP network definitions" am: 14a0981fde
am: b5a38f6da5

* commit 'b5a38f6da5f59020e2c32e00d7228ed71c18f70d':
  Don't back up / restore EAP network definitions
2015-11-20 18:10:21 +00:00
Chris Tate
b5a38f6da5 Merge "Don\'t back up / restore EAP network definitions"
am: 14a0981fde

* commit '14a0981fdef45967b19c3db4fb2f298c8b5a1f7c':
  Don't back up / restore EAP network definitions
2015-11-20 18:05:04 +00:00
Steve McKay
6c88085547 Intent-filter for BROWSE action.
Missing from ag/777423
Bug: 25806013

Change-Id: I79ac0946f0d4548efab23e363dfa864ad8b1426a
2015-11-20 08:52:00 -08:00
Tomasz Mikolajewski
a8057a9dce Add first-class support for virtual files in SAF.
Bug: 20820363
Change-Id: Ic509a6003a99997126f129a836fdd8c0e843108f
2015-11-20 16:26:18 +09:00
Steve McKay
acd29b5c99 Merge "Add "Home" directory support." 2015-11-20 00:01:25 +00:00
Steve McKay
c6a4cd8c0f Add "Home" directory support.
Update FilesActivityUiTests to verify Home is present
    and that clicking a root sets the title accordingly.
Guard addition of WRITABLE flag with a volume test.

Bug: 25147243
Change-Id: Ic20372737cae08a82af0aade0c0dbbd8c22d5f34
2015-11-19 15:56:05 -08:00
Jorim Jaggi
7c149b5295 Merge "Add gesture to drag in recents from navigation bar" 2015-11-19 23:23:01 +00:00
Jorim Jaggi
dd98d41e3a Add gesture to drag in recents from navigation bar
Change-Id: I672ed08f1019835891411b87e2d0de0290defff7
2015-11-19 14:10:28 -08:00
Jason Monk
ee35d738f4 Merge "Add Quick Settings API" 2015-11-19 20:55:14 +00:00
Jason Monk
bbadff8603 Add Quick Settings API
It is a little bit limited right now, but it contains
the lifecycle of a tile getting added/removed, and
listening/not listening and clicks.

SysUI side will need some cleanup later on.

Change-Id: I4db803c8a271f8bf44f2ef710517969a84a95cf0
2015-11-19 14:57:11 -05:00
Ben Kwa
368c31d143 Merge "Tweak grid item layout. Adjust colors to match spec." 2015-11-19 18:52:55 +00:00
Ben Kwa
d27906e581 Tweak grid item layout. Adjust colors to match spec.
BUG=10960718
BUG=24326989

Change-Id: I74da23fe0b40d713a3f435d1467d26d707e76fca
2015-11-19 10:50:35 -08:00
Filip Gruszczynski
49c0ea0c83 Merge "Fix crash when docking from recents." 2015-11-19 18:27:01 +00:00
Filip Gruszczynski
96daf32e4e Fix crash when docking from recents.
The crash was happening because we were sending a future from sysui, but
that future would always return null animation specs when docking. This
makes it returns proper specs in that case. However, we need to still
protect ourselves from null specs when executing the future.

Bug: 25765339
Change-Id: I02d842ea31503169f6e053a1695d8896d2e4d97c
2015-11-19 10:07:30 -08:00
Philip P. Moltmann
6d198e8c96 Merge "Do not restart printSpooler when switching portait mode / landscape mode" 2015-11-19 16:56:57 +00:00
Julia Reynolds
bb9bfc9713 Merge "Remove 'peekable' preference." 2015-11-19 13:58:25 +00:00
Daichi Hirono
6b5e215a10 Merge "Don't close database when all devices have been detached." 2015-11-19 06:46:40 +00:00
Daichi Hirono
e1d57710fb Don't close database when all devices have been detached.
ContentProvider is a singleton of the process. So it may live longer
than Service. We could not close database when the service is destroyed.

BUG=25730042

Change-Id: I591250c1a1e7c5705eb2585c71cac2598c0c0fb9
2015-11-19 14:16:42 +09:00
Wale Ogunwale
76415ee500 Merge "Allow apps to set launch bounds for activities." 2015-11-19 02:10:32 +00:00
Wale Ogunwale
7a8fa60962 Allow apps to set launch bounds for activities.
unhide ActivityOptions APIs for setting launch bounds for
an activitiy so apps can use it. Only works on devices that
support PackageManager#FEATURE_FREEFORM_WINDOW_MANAGEMENT.

Bug: 25499677
Change-Id: I75424681f25cbb9fe92f2ed73e6afbab765dab29
2015-11-18 18:04:45 -08:00
Suprabh Shukla
d93d481ea1 Merge "Moving recent tasks information to a user directory" 2015-11-19 00:53:20 +00:00
Philip P. Moltmann
adac7f3406 Do not restart printSpooler when switching portait mode / landscape mode
When the configration changes there are two modes to handle it:
1. do through a onDestroy - onCreate cycle
2. declare that your activity can handle certain changed and handle them
   in onConfigurationChanges

For most apps (1) is zero effort to implement, hence it is the default
behavior. You only want to do (2) if recreating your activity is
expensive.

As recreating the printActivity is expensive (and currently even
impossible) we want to handle the configuration change gracefully. There
is no code to be added as handling portrait mode / landscape mode switch
is not different from an orientation switch.

Bug: 25727559
Change-Id: Iac5b854c9dd080a4432957bc4551162dc3d480e9
2015-11-18 16:27:51 -08:00
Julia Reynolds
bc253a2858 Remove 'peekable' preference.
To be replaced by 'importance' in the future.

Bug: 22854014
Change-Id: Idc9ca79b145d5c69e769c9239ed9291dce40d8c8
2015-11-18 17:05:02 -05:00
Christopher Tate
9bc2f472e9 Don't back up / restore EAP network definitions
Bug 25725016

Change-Id: Idfef9dd53f2403bbe4c950493a0ab8fa66a3b7d4
2015-11-18 13:42:04 -08:00
Ben Kwa
4550388a3f Merge "Open the destination dir when a copy notification is tapped." 2015-11-18 21:15:37 +00:00
Felipe Leme
42ca0087de Merge "Improves how cornercase scenarios are handled:" 2015-11-18 20:41:53 +00:00
Ben Kwa
84cebbeb69 Open the destination dir when a copy notification is tapped.
- Cleanup: rename the "open copy destination" action to "pick copy
  destination", which better reflects what it does.
- Move DocumentsIntent from BaseActivity to Shared.
- Rename ACTION_BROWSE_DOCUMENT_ROOT to ACTION_BROWSE for general browsing.
- Use the new ACTION_BROWSE to open the copy destination when copy
  notifications are tapped.

BUG=23137963

Change-Id: I10480b45a16ce716febac5453cb5015d26bb0062
2015-11-18 11:22:30 -08:00
Doris Liu
adad4a623c Merge "Fix crash on second screenshot." 2015-11-18 18:53:49 +00:00
Felipe Leme
3bf521a32e Improves how cornercase scenarios are handled:
- Bug reports without screenshots are supported.
- Shows a toast message when the bugreport file cannot be read.

BUG: 25751868
Change-Id: I4ed2c47a89b373cf878720ebcba90c96bd51342b
2015-11-18 10:46:54 -08:00
Filip Gruszczynski
06993a33d9 Merge "Make recents visible on resume unless requested otherwise." 2015-11-18 17:21:38 +00:00
Filip Gruszczynski
cc95391a53 Make recents visible on resume unless requested otherwise.
If the last interaction left recents invisible, we need to make the
visible again on their next resume.

Bug: 25754031
Change-Id: I4b1d4bae5609bf3f4a77250d3544084afd594536
2015-11-18 08:58:34 -08:00
Tony Mantler
de8d933257 Merge "Move AnimatedImageView and AuthenticatorHelper to SettingsLib" 2015-11-18 16:47:41 +00:00
Julia Reynolds
1e39a15d97 Merge "Cache notifications less aggressively." 2015-11-18 16:43:54 +00:00
Julia Reynolds
6b53135736 Cache notifications less aggressively.
Bug: 25694023
Change-Id: Ie8f1b518fdcb72cfbd982908aa30cdb8ebbb2f02
2015-11-18 11:23:31 -05:00
Jason Monk
46c4a32ed9 Fix build
Change-Id: Ib784f3b8e1f8e5166128a86d07b43859ee803765
2015-11-18 10:40:34 -05:00
Jason Monk
98c204ada8 Merge "Move some stuff to SettingsLib to use for Settings Home" 2015-11-18 15:08:02 +00:00
Jason Monk
4cf95aef83 Move some stuff to SettingsLib to use for Settings Home
Change-Id: Id903747069fe83a896132714e580b1a1d7ee895c
2015-11-18 10:06:54 -05:00
Geoff Mendal
b3197f8c04 Import translations. DO NOT MERGE
Change-Id: I49c49dae609cc2b2770652a0979693124f30a824
Auto-generated-cl: translation import
2015-11-18 05:36:36 -08:00
Suprabh Shukla
2359314fd4 Moving recent tasks information to a user directory
The directories recent_tasks and recent_images are moved from
/data/system/ to /data/system/users/<n>/

Bug: b/24569398
Change-Id: I538969d86ebf14fb2d44257be1e6c0a7ff61ed8d
2015-11-17 15:23:22 -08:00
Tony Mantler
d1e3272044 Move AnimatedImageView and AuthenticatorHelper to SettingsLib
Change-Id: If3fef35b88b041326c510064679e92a90f31c6b2
2015-11-17 15:14:00 -08:00
Julia Reynolds
e122d30557 Merge "Allow DND mode to suppress visual interruptions." 2015-11-17 21:16:05 +00:00
Julia Reynolds
f612869ae1 Allow DND mode to suppress visual interruptions.
Bug: 25423508
Change-Id: Idd8242e4bc00a749dbe0b5503c458375fc017072
2015-11-17 21:10:36 +00:00
Winson
a2236f11c6 Fixing some Recents landscape issues.
- Tasks were drawing under the navigation in landscape since we did 
  not account for the nav bar space
- Fixing issue with tiny tasks in landscape
- Fixing issue where pooled views were not being measured or laid out
  after resizing.
- Fixing issue where the stack scroll would have out of bounds when 
  tasks were resized (we animate them into bounds)

Change-Id: Id301dc6891e7ff2692cb040a7df1a5a854ac84a3
2015-11-17 19:30:23 +00:00
Winson
c742f973b1 Adding tuner param to enable fast-toggling.
- Moving constants to a more explicit flags class, which also handles
  tuner changes.
- Removing some unused flags

Change-Id: If370581d431784f606c4b8d0c0face5b9a4b9fad
2015-11-17 19:26:46 +00:00