5159 Commits

Author SHA1 Message Date
Svetoslav Ganov
4244d66a12 Merge changes Id0a67846,I20b57d66 into klp-dev
* changes:
  Print system may get stuck bound to a print service
  Spooler should not crash if print service config activities are not exported.
2013-09-15 18:46:02 +00:00
Baligh Uddin
3386b07ef1 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-15 04:36:52 +00:00
Baligh Uddin
215da064f7 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-15 04:31:30 +00:00
Baligh Uddin
694980e075 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-15 04:31:25 +00:00
Baligh Uddin
def10485e3 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-15 04:31:09 +00:00
Baligh Uddin
169a37ce8f Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-15 04:31:02 +00:00
Baligh Uddin
1c8b3fa018 Import translations. DO NOT MERGE
Change-Id: I12383ccb553cbace814156dafc8aad62a007f2c0
Auto-generated-cl: translation import
2013-09-14 21:08:26 -07:00
Baligh Uddin
763a9f96e8 Import translations. DO NOT MERGE
Change-Id: Iedddc6498eb09ce99ae5ffbc60c2069d4373b3e5
Auto-generated-cl: translation import
2013-09-14 20:33:13 -07:00
Baligh Uddin
428580bb78 Import translations. DO NOT MERGE
Change-Id: Iab13f37067f3888f58ada1c4764674194eb24c25
Auto-generated-cl: translation import
2013-09-14 20:32:29 -07:00
Baligh Uddin
da9120b062 Import translations. DO NOT MERGE
Change-Id: Ie76c722a4e7525264922041684f25b5b35286973
Auto-generated-cl: translation import
2013-09-14 20:30:38 -07:00
Baligh Uddin
610ecfe8e8 Import translations. DO NOT MERGE
Change-Id: I45ac6ed92f61d59d2e2fdf87a1ac02db3510720c
Auto-generated-cl: translation import
2013-09-14 20:29:57 -07:00
Baligh Uddin
75d888b188 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-15 03:27:49 +00:00
Baligh Uddin
31ceae5629 Import translations. DO NOT MERGE
Change-Id: I68895c16a26ecc9554bfc53e9d9346fe29412fec
Auto-generated-cl: translation import
2013-09-14 20:27:22 -07:00
Baligh Uddin
330dcb882c Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-15 03:09:03 +00:00
Baligh Uddin
5242b4b997 Import translations. DO NOT MERGE
Change-Id: Iebcc32693fe755e3f7e73b255e61f1963e4c15e9
Auto-generated-cl: translation import
2013-09-14 20:06:00 -07:00
Baligh Uddin
f222e28849 Import translations. DO NOT MERGE
Change-Id: I1e4035acc161f784dc2f35eaf1f346ecbddf2fcf
Auto-generated-cl: translation import
2013-09-14 20:04:06 -07:00
John Spurlock
fa0556943e Merge "Promote lights-out to a bar transition mode." into klp-dev 2013-09-14 21:31:09 +00:00
John Spurlock
0819e34221 Merge "Despotted back." into klp-dev 2013-09-14 21:30:21 +00:00
John Spurlock
7edfbca5d0 Promote lights-out to a bar transition mode.
Move all visual application of the legacy lights-out behind
a new mode managed by BarTransitions for better coordination.

Remove unused "hidden" state in NavigationBarView.

Improve window state (showing/hiding/hidden) calculation,
affecting whether or not sysui thinks it should animate.
Removes invalid interim mode changes causing needless
flashing during some transitions.

Consider WINDOW_STATE_HIDING a state in which we ought to animate,
since at least part of the window is visible throughout.

Make the status/nav bar transition helper classes real boys.

Animate KeyButtonView drawing alpha transition, cancel existing
animations when resetting to avoid needless and unsightly "recovery".

Bug:10746803
Change-Id: Ibd883da9041d071b6a4ff5b42cf96efba7696e9c
2013-09-14 16:58:57 -04:00
Baligh Uddin
cb1b8f43b6 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-14 19:48:10 +00:00
Baligh Uddin
780ac803d8 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-14 19:47:36 +00:00
Maggie Benthall
f5aba5ad1e Merge "CA cert monitoring: add notifications and actions for dialog" into klp-dev 2013-09-14 18:00:13 +00:00
John Spurlock
b9b2fa9249 Despotted back.
Bug:9795248
Change-Id: If46134afe7560b74ce7758f8dbe221dbe2872262
2013-09-14 12:17:15 -04:00
Michael Jurka
276e6c7a89 Merge "Add new intent/method for cropping and setting wallpapers" into klp-dev 2013-09-14 12:25:51 +00:00
Svetoslav Ganov
860f8a6b66 Spooler should not crash if print service config activities are not exported.
1. If a print service does not export its activities for settings and
   adding printers the print spooler ignores them instead of crashing.
   Also if the service is not enabled its activities are now ignored.

2. Added a dedicated permission for a print service to optionally
   protect its settings and add printer activities such that only the
   system can bind to them.

3. Fixed a crash in the print dialog if its content is detached
   from the window and animators are running.

bug:10680224

Change-Id: I20b57d6622a15f9b2352ba78d04c44e67b316a15
2013-09-14 01:00:55 -07:00
Baligh Uddin
162e88759c Import translations. DO NOT MERGE
Change-Id: Idfb9ef96c1c4ea6fc1ca836114a8eb09be18f8f4
Auto-generated-cl: translation import
2013-09-13 21:47:27 -07:00
Baligh Uddin
2a19a5bd50 Import translations. DO NOT MERGE
Change-Id: I45033c9b90cdbf35e1feec31b91df21a27eaaf06
Auto-generated-cl: translation import
2013-09-13 21:45:23 -07:00
Jeff Sharkey
12c7a0c970 Merge "More UX updates around picking images." into klp-dev 2013-09-13 23:33:27 +00:00
Craig Mautner
540421ba98 Merge "When launching home activity, make sure it is top." into klp-dev 2013-09-13 23:33:17 +00:00
Jeff Sharkey
f6db154975 More UX updates around picking images.
When picking images or videos, hide the titles in recents, since the
thumbnails should speak for themselves.  Also respect new flag that
allows a directory to request their titles be hidden.

Show directory icon hint in grid mode when showing a thumbnail, to
remind user it's a directory.

Filter directories out of recents.  Hide most action bar icons on
phones, even when room.  Only show drawer on first launch.  Hide most
drawer headers to match spec.

Bug: 10710331
Change-Id: I0ef1973ddd62750f57345336388366eda1449720
2013-09-13 16:02:14 -07:00
Craig Mautner
a82aa09ba3 When launching home activity, make sure it is top.
Because recents sits on the same stack as launcher it can sometimes be
above launcher. When we were launching home activity because the flag
told us to we would sometimes launch recents instead. This fix makes
sure that the home activity is on the top when it is supposed to be
launched next.

Previously this was fixed by having recents move itself to the back
of the stack after it launched an activity (b/9750207 and ag/336019).
But that solution caused the AppTransition to be set to
TRANSIT_TASK_TO_BACK which left the SOFT_INPUT_IS_FORWARD_NAVIGATION
flag unset. This in turn caused IMEs to remain unlaunched when
returning from recents (b/10240567).

Fixes bug 10240567.

Change-Id: I35c6619af0e68d0e6d9ab87cad06ea7c27e11e27
2013-09-13 15:46:51 -07:00
Baligh Uddin
62f3bdecc0 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-09-13 22:13:09 +00:00
Jason Monk
312c495f4b Merge "Guarantee that PAC Local Proxy owns Port" into klp-dev 2013-09-13 20:31:54 +00:00
Jeff Sharkey
0bf2ed90c4 Merge "Move search to roots; Documents root; hide empty." into klp-dev 2013-09-13 20:00:14 +00:00
Maggie Benthall
0469f41010 CA cert monitoring: add notifications and actions for dialog
In DevicePolicyManagementService, on boot and when certs are installed,
post notification to tell the user that their traffic may be
monitored.
Have QuickSettings use the MonitoringCertInfoActivity instead
of building the dialog itself.

Bug: 10633199

Change-Id: Ie4b97295a9fc25867c87872feccdb17f4bea071d
2013-09-13 15:46:30 -04:00
Baligh Uddin
195752a3a6 Import translations. DO NOT MERGE
Change-Id: Ic199dafb31a9f2245f771d8a39c39c152338cf71
Auto-generated-cl: translation import
2013-09-13 12:23:22 -07:00
Jeff Sharkey
3e1189b359 Move search to roots; Documents root; hide empty.
Documents searches now happen root-wide, instead of only under a
subdirectory.  Updates abstract class and flags to match.  Add flag
for a root to indicate it's empty, and hide empty roots in UI unless
creating.

Define "Documents" public directory and storage backend to contain
files.

Bug: 10712057, 10710865, 10710758
Change-Id: I8716367568969f9cb1d83927b2bf5a7013809350
2013-09-13 11:35:04 -07:00
Michael Jurka
e8d1bf7a43 Add new intent/method for cropping and setting wallpapers
Also, create a system fallback WallpaperCropper

Bug: 4225598

Change-Id: I6bc6d5a3bb3df1dc00f3db701978aa172020c568
2013-09-13 17:04:46 +02:00
Jason Monk
6f8a68f49a Guarantee that PAC Local Proxy owns Port
This changes the PAC support to not broadcast the Proxy information until
the Local Proxy has started up and successfully bound to a port so that
the local proxy information can be guaranteed to be owned by the proxy.

Bug: 10459877
Change-Id: I175cd3388c758c55e341115e4a8241884b90d633
2013-09-13 09:53:26 -04:00
John Spurlock
49580cf1f7 Merge "SystemUI status bar/quick settings updates." into klp-dev 2013-09-13 08:42:06 +00:00
John Spurlock
2062abfa13 SystemUI status bar/quick settings updates.
Status bar:
 - Update remaining mute/speakerphone icons.
 - Remove orange versions of wifi/signal icons.
 - Use only full versions of data type overlays.
 - Remove obsolete light versions of data type overlays.
 - Low battery color back to red.

Quick settings:
 - Update to indicate problem (orange) status.
 - Update to new battery style.

And a few remaining xx assets.

Bug:10680149
Bug:10502089
Bug:10729729
Bug:10316062
Change-Id: Iccd936d90271e4ec5c48e688917225136e7d45aa
2013-09-13 02:18:14 +00:00
Svetoslav
b72ff5aa4b Merge "Remove unneeded print APIs and update the min margins APIs." into klp-dev 2013-09-13 01:43:41 +00:00
Jeff Sharkey
95a6560f63 Merge "DocumentsUI tablet support." into klp-dev 2013-09-13 00:21:53 +00:00
Svetoslav
651dd4e6ee Remove unneeded print APIs and update the min margins APIs.
1. Removed unneeded code in Resolution that was storing its
   label as resource and package name. We do not have predefined
   resolutions, therefore we always persist the label.

2. Renamed the print attribute margins to minMargins to reflect
   that these are the minimal margins the printer support. Updated
   the docs as well.

3. Renamed the create method of all builder to build.

bug:10727487

Change-Id: Ie72ab8aaa5215b8bd2853885011b3b4efa4deb2e
2013-09-12 16:58:58 -07:00
Jeff Sharkey
88f322c311 DocumentsUI tablet support.
Shows as a faux dialog on larger tablets, since the normal dialog
themes from framework don't support action bars.  Instead, this hacks
itself to look like a dialog with an InsetDrawable.  Detects touches
in dim area to dismiss dialog.

Show all action bar icons on tablets, and roots panel is always
visible with a different shadow. Show settings in dialog. Allow mode
switches in recents.

Bug: 10329832
Change-Id: Id02982ce7b0d4694962d32f8d5286fdfcc207208
2013-09-12 16:39:50 -07:00
Svetoslav
cc65b0c325 Not change the print options on printer change if possible.
If the user selects some print options from the dialog and then
changes the printer to one that has the same capabilities the
selections in the UI should not change.

bug:10631856

Change-Id: Ia76ce58c446815e3498d2f4b4739dee62d11d96a
2013-09-12 14:29:53 -07:00
Svetoslav
ef2088a26a Merge "Handle print serivce crashes." into klp-dev 2013-09-12 20:24:40 +00:00
Vinit Deshapnde
074dc2eb2d Merge "Don't restore EAP-TLS networks from backup" into klp-dev 2013-09-12 17:53:39 +00:00
Svetoslav
c6066799ad Handle print serivce crashes.
1. Now after a print service crashes we are bringing it to the same
    state of its lifecycle. For example, if a service does a discovery
    and crashes we recreate the discovery session call the start
    discovery method and so on.

2. Turned off debugging logs since we have fully fledged state dump.

bug:10697779

Change-Id: Id790537461428e96b197eef12258996bda2bd1ce
2013-09-12 10:52:26 -07:00
John Spurlock
43c70b0ccf Merge "Status bar interaction veto revoked on ups/cancels." into klp-dev 2013-09-12 16:05:56 +00:00