21540 Commits

Author SHA1 Message Date
Winson Chung
2e0eef3e89 Merge changes I53b9dab1,If8a33073
* changes:
  Make mock tasks work again.
  Fixing layout issue causing overlay to sometimes not appear.
2016-01-26 00:16:06 +00:00
Wale Ogunwale
cc25a8a24e Send notification we attempted to start an already running pinned acitvity
API will be used by Android TV sys-ui to decide what to do next with the
Pinned activity.

Bug: 26452296
Change-Id: I5411515d079468616422ba9e5093164a924cd6a2
2016-01-25 15:14:26 -08:00
Tony Mantler
af6a01fb6f Merge "Move AccessPointPreference to SettingsLib" 2016-01-25 23:06:42 +00:00
Sudheer Shanka
1450173034 Add support for adding preference summary when disabled by admin.
Change-Id: I455c3180266734fa4ba6b5bf7cb5fc2f34177759
2016-01-25 22:40:10 +00:00
Jason Monk
9a4ce137eb Add data saver tile
Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824
2016-01-25 17:16:22 -05:00
Rakesh Iyer
2790a37e0f Move FullscreenUserSwitcher into car/
Move the full screen user switcher into the car/ directory
because it is only used there.

Bug: 26559008
Change-Id: I4f24b2029ed11be49a165be35e225e726677d37e
2016-01-25 13:00:20 -08:00
Jason Monk
d7ecd381e4 Merge "Re-add support for the app shelf" 2016-01-25 20:16:14 +00:00
Jason Monk
4f878ef5cc Re-add support for the app shelf
Accidentally broken as a part of tuner customization of the nav bar.
Now supported for inflation.

Change-Id: Id097fb48d1d77aa37518246cca8c7a9494de2af2
2016-01-25 15:15:24 -05:00
Wale Ogunwale
5a5877d52e Merge "Removed handling of layoutDirection configuration change" 2016-01-25 19:04:20 +00:00
Wale Ogunwale
133f299c16 Removed handling of layoutDirection configuration change
We thought this was required for resizing, but it isn't.

Bug: 26742139
Change-Id: I2b25ac8b188f8cafaf9d7472f79ca947cfe824c0
2016-01-25 10:49:13 -08:00
Winson
6e6bd8776f Make mock tasks work again.
- Rename it so that it’s a bit more clear that they are mock tasks.

Change-Id: I53b9dab1789a208e74538cd8c3ee4ec58cfa364f
2016-01-25 10:41:40 -08:00
Jason Monk
76c70c8f5c Merge "Fix crash on bug report" 2016-01-25 18:35:09 +00:00
Jason Monk
25d3a437d5 Fix crash on bug report
Bug: 26766534
Change-Id: I5b76ac8911eef960028cceb40e54f76ea998024a
2016-01-25 13:00:44 -05:00
Adrian Roos
4afbe99127 Merge "Improved trust error messaging (1/2)" 2016-01-25 17:20:11 +00:00
Chris Wren
77781d3aaa a step toward enforcing unique metrics log IDs
First of several change lists:
1. Add in the new proto (this CL)
2. Migrate the existing code over to the proto.
3. Remove MetricsConstants once it is unused.

Bug: 26442178
Change-Id: Ic24829246af8ec5b202e39a85960aac5cf336c33
2016-01-25 11:24:08 -05:00
Adrian Roos
c13723f22e Improved trust error messaging (1/2)
Tracks why trust agents are disabled and shows
a generic message on the keyguard. Dedicated strings
in follow-up.

Bug: 22704995
Change-Id: Ibb4fd9c9386c4dc12f0734004502b9a9cc6ded79
2016-01-25 08:04:42 -08:00
Geoff Mendal
313b825fe6 Merge "Import translations. DO NOT MERGE" 2016-01-25 14:05:34 +00:00
Geoff Mendal
70d815eb64 Import translations. DO NOT MERGE
Change-Id: I6198abea42fededfce4ee9be2c7a88523ace87ca
Auto-generated-cl: translation import
2016-01-25 06:04:23 -08:00
Geoff Mendal
867f84774e Merge "Import translations. DO NOT MERGE" 2016-01-25 13:45:14 +00:00
Geoff Mendal
41cc6b5dc0 Merge "Import translations. DO NOT MERGE" 2016-01-25 13:44:26 +00:00
Geoff Mendal
861a25200a Import translations. DO NOT MERGE
Change-Id: Ic795f08684fc10e54499e25b31f4a3db3cbec981
Auto-generated-cl: translation import
2016-01-25 05:43:23 -08:00
Geoff Mendal
93f18cefca Import translations. DO NOT MERGE
Change-Id: Id69e1f05426df237d87764464acd6997ed22cff8
Auto-generated-cl: translation import
2016-01-25 05:40:21 -08:00
Geoff Mendal
4ff50f02fd Import translations. DO NOT MERGE
Change-Id: I8f438e455cdd8053c92304766b84d327fd83ee9e
Auto-generated-cl: translation import
2016-01-25 05:20:39 -08:00
Sudheer Shanka
45e298f4b9 Add util method to get the admin who set maximum time to lock.
Added util method checkIfMaximumTimeToLockIsSet in RestrictedLockUtils
to get the admin who set maximum time to lock. Also, made a few updates
to the javadocs of other methods.

Change-Id: Ide3048b277f854360aa92d975963b61dff2387bb
2016-01-25 13:00:35 +00:00
Daichi Hirono
7d1ca068a2 Merge "Update "accessing files" notification resources." 2016-01-25 08:28:23 +00:00
Tomasz Mikolajewski
af231f0a67 Remove retry logic from DocumentsUI.
Bug: 26720030
Change-Id: I041caeed7243614e20d92e1bb3308f564f6aae34
2016-01-25 17:25:20 +09:00
Daichi Hirono
e6bffff9d9 Update "accessing files" notification resources.
* Replace tentative resources with real ones.
 * Show the notification for each device as per request from UX.

BUG=26625702

Change-Id: Ibcfe7075e4827d5aee216ce5c0007f6dd4572efe
2016-01-25 16:27:19 +09:00
Daichi Hirono
7ed413524b Merge "Add eventsSupported property to MtpDeviceInfo." 2016-01-25 01:59:27 +00:00
Daichi Hirono
148954a657 Add eventsSupported property to MtpDeviceInfo.
The property provides the set of event code that are supported by
MtpDevice.

BUG=26147375

Change-Id: I54be75e4bb52ddfe9aba8630538ddd32d1a641c8
2016-01-25 10:47:01 +09:00
Casey Burkhardt
86b867fd45 Adds Settings.System.FONT_SCALE observer to ActivityManagerService
Changes to Settings.System.FONT_SCALE were not being handled by any service,
which required a device reboot for any changes to take effect.  Changes to
this field by the Settings app worked as expected only because it is able to
poke ActivityManager with an updated configuration, whereas unbundled
applications cannot.

This also ensures the setting value is backed up and doesn't conflict with
a configured value from accessibility onboarding during restore.

Bug:23033258
Change-Id: I98d4aed2f9f5893d054e6b10c4dfda406de8eba2
2016-01-24 04:21:36 -08:00
Winson
3c107166fc Fixing layout issue causing overlay to sometimes not appear.
- We were incorrectly making calls that could request layout after the
  view was detached from the parent, causing a messed up 
  layout-invalidation hierarchy path.  Now ensuring that we always reset
  the view before detaching, and after attaching.  As a result of this,
  we need to ensure that the same optimization as before applies, which 
  is that children of TaskView don’t affect the relayout of TaskView.
  We do so by making TaskView a subclass of FixedSizeFrameLayout which
  only takes layout updates uni-directionally down the view hierarchy.
- This CL also fixes an issue with missing task bar buttons due to an
  optimization which did not update the visibility and translation of
  buttons if a view is laid out after the task view size has changed.
- Removing double measurement of TaskView sub-children
- Removing unnecessary invalidate after marking the thumbnail as 
  invisible

Change-Id: If8a330733941add1f4214af792227345d6a26309
2016-01-23 16:07:24 -08:00
Winson Chung
5bada6998d Merge "Fix issue with stack not invalidating when only focus state changes." 2016-01-23 01:54:59 +00:00
Selim Cinek
084c16b8b3 Fixed a clipping bug when expanding children notification
When children are expanded with a finger we still need to clip!

Change-Id: Ie66bb0ba690163bcabdc503a03f1e23869ec175d
2016-01-23 01:52:36 +00:00
Steve McKay
d0086a4960 Fix broken SearchViewUiTest.
Change-Id: I0df509ff6307f9aeb32d9fbfaaf68de59507e3f7
2016-01-22 16:23:32 -08:00
Steve McKay
8d4d5c1c20 Merge "Change "touch" to "tap"." 2016-01-22 23:46:17 +00:00
Steve McKay
9814a1a62e Change "touch" to "tap".
Bug: 26744850
Change-Id: I2f0f0c817ea40de4fbc6ef21e68ccbde293d3135
2016-01-22 15:44:49 -08:00
Winson
1c8461402b Fix issue with stack not invalidating when only focus state changes.
- Adding callback to invalidate when focus state changes.
- Fixing issue where we were posting the invalidate, causing everything
  to lag by 1 frame
- Fixing issue where we weren’t passing the cancel-enter animation flag
  down when setting focused tasks

Change-Id: I218ec78dc0e4e22e59ffcef03a1bc91d08b7c18b
2016-01-22 15:29:00 -08:00
Aga Wronska
31f97bc4ee Merge "Add support for renaming documents" 2016-01-22 23:26:35 +00:00
Tony Mantler
98608e43eb Move AccessPointPreference to SettingsLib
Change-Id: I4461d5bbe6dd6d78acb8c135150e15e982bb1fab
2016-01-22 14:58:48 -08:00
Michal Karpinski
727aa9c296 Merge "Logging of unlock attempts and device locking to security log" 2016-01-22 22:48:17 +00:00
Aga Wronska
3b327ef9f9 Add support for renaming documents
- Add rename dialog
- Add rename menu option
- Enable rename menu option only when renaming supported
- Rename files and directories
- Present error message if renaming fails

Bug: 20493815
Change-Id: Ic7386d14e3876655fb19245b9a90b4c67a4febb4
2016-01-22 13:36:40 -08:00
Ben Kwa
3900e4c9a0 Merge "Show empty file cabinet for no search results." 2016-01-22 20:44:40 +00:00
Jason Monk
946483a69e Only show settings drawer on top level items
Bug: 26080590
Change-Id: Id8d387492e2e1e09fc87f4123bf7c399a2c1380e
2016-01-22 15:19:44 -05:00
Steve McKay
9ed88a4da7 Show empty file cabinet for no search results.
And for empty directory.

Magic-submit? Yes please!

Change-Id: If9e1f8ab48eebd9c275ad043da728e28b850ab73
2016-01-22 11:59:16 -08:00
Julia Reynolds
5971d553b5 Merge "Inline settings color changes." 2016-01-22 19:47:37 +00:00
Felipe Leme
beda539051 Merge "Updates notification while bugreport zip is being changed." 2016-01-22 19:46:38 +00:00
Julia Reynolds
7727ad23b2 Inline settings color changes.
Bug: 26486314
Change-Id: I8c842081e544b05c6d88e99361426052c216d8f7
2016-01-22 14:38:46 -05:00
Winson Chung
1fedd8c8c9 Merge "Fixing crash with retrieving the first stack task." 2016-01-22 17:58:58 +00:00
Xiaohui Chen
8c24cc13b8 Merge "sysui: refactor PhoneStatusBar" 2016-01-22 17:47:19 +00:00
Winson
35a8b04140 Fixing crash with retrieving the first stack task.
- We should be retrieving the first stack task for calculating the 
  thumbnail transition, regardless of whether it is freeform or not.

Bug: 26739531
Change-Id: I27037a480201396011d7f9b8d094b4d9afe66f0e
2016-01-22 09:41:09 -08:00