20410 Commits

Author SHA1 Message Date
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
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
Filip Gruszczynski
1a4dfe593a Synchronize recents to freeform transition.
Recents to freeform animation must hang on the first frame and inform
Recents to hide its views. This mirrors the transition from freeform
to Recents, where the animation needs to hang on the last frame.

We need a special window flag for recents to force a redraw after the
animation launches. At this point Recents will become not visible
from the perspective of the activity manager, which would prevent
further drawing. We make recents ignore that and instead depend on
window visibility which will change after recents exit animation
finishes.

Bug: 24913782
Change-Id: Ief743b7e6fcebb3d8789d4745fb122ac607c1cf0
2015-11-17 10:03:19 -08:00
Daichi Hirono
47eb192b27 Start using MtpDatabase in DocumentLoader.
BUG=25704514

Change-Id: I4d9247c148679ee7e40a1a03443e4c0299b1e44d
2015-11-17 15:46:40 +09:00
Daichi Hirono
4604b74603 Prepare for adding MtpDocumentsProvider tests to APCT.
BUG=25093356

Change-Id: I0c194e6bf3abeb632171e9be49471b9d94a0cb4c
2015-11-17 08:30:41 +09:00
Philip P. Moltmann
354bd63726 Merge "Show "select a printer" as "destination" the first the the user prints" 2015-11-16 21:43:22 +00:00
Philip P. Moltmann
ca3f938326 Merge "Switch add icons to the default menu add icon" 2015-11-16 20:16:23 +00:00
Philip P. Moltmann
5e54896d0b Show "select a printer" as "destination" the first the the user prints
The Spinner does not support a prompt, hence temporarily hijack the
first element and install an alternate view. Once the Spinner is touched
revert to the old behavior.

If we showed a prompt the views in the spinner cannot be recycled.

Bug: 24132864
Change-Id: Iaf97878f85388a8c6351e716117b16f34919ad84
2015-11-16 12:14:18 -08:00
Philip P. Moltmann
7dfe4f64dc Switch add icons to the default menu add icon
Also use the material search icon.

Bug: 22563699
Change-Id: Iff7c6b5cac8a9f0bf282e061d2ed09c4c0fb480a
2015-11-16 11:58:46 -08:00
Steve McKay
c89cc4419e Merge "Add test size annotations to docsui tests." 2015-11-16 19:47:53 +00:00
Selim Cinek
54d8539d09 Merge "Fixed a crash with the heads up manager" 2015-11-16 18:52:32 +00:00
Selim Cinek
81831c9cd3 Merge "Fixed error in GroupManager" 2015-11-16 18:46:33 +00:00
Selim Cinek
f5fae39a55 Merge "Fixed a bug where a notification could get removed" 2015-11-16 18:44:56 +00:00
Selim Cinek
d18a45743f Merge "Allow clicking fullscreen intent notifications now" 2015-11-16 18:43:33 +00:00
Tony Mantler
80ac37d033 Merge "Move some methods to DeviceInfoUtils in SettingsLib" 2015-11-16 18:12:51 +00:00
Tony Mantler
e92cf6d739 Move some methods to DeviceInfoUtils in SettingsLib
Change-Id: I646c89c2803e4386a4b24f10ec186871768e7239
2015-11-16 09:44:52 -08:00
Geoff Mendal
857ff2e93a Merge "Import translations. DO NOT MERGE" 2015-11-16 13:35:10 +00:00
Geoff Mendal
97f8aae2f8 Import translations. DO NOT MERGE
Change-Id: Ifa6072a51df82cd0f473908393b500ff8a0d5ec0
Auto-generated-cl: translation import
2015-11-16 05:34:04 -08:00
Geoff Mendal
f905b16c71 Import translations. DO NOT MERGE
Change-Id: Ib120f1b756f35c5e144e4b35a2eae6445ccdced3
Auto-generated-cl: translation import
2015-11-16 05:31:02 -08:00
Daichi Hirono
27462ebd4e Merge "Start to use MtpDatabase in RootScanner." 2015-11-16 09:07:51 +00:00
Daichi Hirono
dc47344660 Start to use MtpDatabase in RootScanner.
Change-Id: Id99cb61ad8680529b5ee502ca5bb2b3cdd143235
2015-11-16 17:49:20 +09:00
Geoff Mendal
0477e97830 Import translations. DO NOT MERGE
Change-Id: I1378e54201336a2458b2cf4f8f2982922e8e6ac5
Auto-generated-cl: translation import
2015-11-14 06:08:16 -08:00
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
Dan Sandler
d9cd20b163 Fix crash on second screenshot.
(Work around new animator.end() behavior.)

Bug: 25601129
Change-Id: I9e5d9fc72cffa909dfd98ad80b7812df2a0e178a
2015-11-13 15:01:44 -05: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