99 Commits

Author SHA1 Message Date
Maggie Benthall
68881e4ed7 UX compliance for CA Cert warning tile in QuickSettings
Text not all uppercase
Reduce spacing between icon and text
Break the string in the middle.

Bug: 10785095
Change-Id: If85da55452b06d77d2ae1c40f3d63431c2ae2a9a
2013-09-19 15:25:43 -04:00
Daniel Sandler
a30b7035ce Fix RenderScript crash.
Also lay the groundwork for a future checkin.

Bug: 10240151
Bug: 10505742
Change-Id: I62d61c9048188c93863c8c43839e713b75a65102
2013-09-16 11:19:15 -04: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
John Spurlock
8f1f0109d3 Remove unused status bar help and obsolete resources.
Bug:10502089
Change-Id: I813244c4d5535256a56b242b92e6373edbbaba93
2013-08-29 21:02:15 -04:00
Geoffrey Borggaard
f4e8eb8342 Merge "Notify the users if a user installed SSL CA Cert is present." into klp-dev 2013-08-22 18:13:53 +00:00
Geoffrey Borggaard
348fc4867e Notify the users if a user installed SSL CA Cert is present.
Adds a tile to quick settings when a cert is present.  Message varies
depending on if this device is managed or a consumer device.
Bug: 10105918
Change-Id: Ifbe78c10638ef6e2a4661e8d18b44b8913a2cf9d
2013-08-22 18:09:57 +00:00
John Spurlock
83208e34f6 Remove obsolete sysbar icons and layouts.
Remove icons no longer referenced in source or layout files.
Some icons are referenced in obsolete layouts, remove those
as well.

Bug:10344949
Change-Id: Ifc2e4c01534499b687cebd3e32db61e9c7a92e4a
2013-08-22 09:41:39 -04:00
Daniel Sandler
dfaf3bdeeb Toward regularizing color & level across battery indicators.
Each of our existing assets is slightly incorrect in some
way: inconsistent pixel jumps from one percent to the next,
inconsistent color change, etc. The only way to get it
perfectly right is to draw it programmatically.

Bug: 8504254 // inconsistent color change threshold
-- previously --
Bug: 3136046 // in Gingerbread
Bug: 3387973 // Honeycomb
Bug: 5070948 // ICS
Change-Id: I6a3e7409ecec55e10328541ecb1e9d54aebdbe96
2013-08-13 23:21:08 -07:00
John Spurlock
34e13d90ed Update transient navigation confirmation logic.
Show the confirmation toast when hiding the transient
navigation bar only the first time per app, per reboot.

Hitting the power key while the transient nav is hidden
is taken as a signal of possible user confusion, so reshow
the prompt the next time.

This requires the confirmation prompt to live in policy
(not sysui).  It arguably should have been here in the first
place, since the transient bar state/policy was here, and
sysui should not have not been able to fail to display
the prompt correctly.

Also take this opportunity to remove a hack wrt positioning
the confirmation properly while the nav bar is transitioning.
Toasts now support LAYOUT_HIDE_NAVIGATION if applied to the
toast's view.

Bug: 10246225
Change-Id: Ieb6355e4ca975c0758918a39e3c2ec13da81c7f4
2013-08-13 13:18:14 -04:00
David Christie
c750c1fb83 Update gps status icon to be a "high power" location icon.
Move icon to right side of the screen and synchronize status with
AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION.

Change-Id: Iea2570501cb18be0489669fd4ea240dc63f9567a
2013-08-08 14:06:25 -07:00
John Spurlock
e1f366faf8 Introduce new transparent bars sysui flags.
Two new public sysui flags for views to request transparent
bars:
  View.SYSTEM_UI_FLAG_TRANSPARENT_STATUS
  View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION

This first change simply introduces the flags at the framework
level, and makes the requisite layout tweaks to WM.

As part of this change, expunge the term "hideybars" from the
codebase. The flag to declare support for transient bars is called:
  View.SYSTEM_UI_FLAG_ALLOW_TRANSIENT

Final visuals/transitions between opaque/transparent bars will be
done as a subsequent change. Right now the transparent style is
identical to the transient bars.

Change-Id: I5ead9c5e7b77f212df5b2a5f6e770596cd2226f3
2013-08-06 14:17:22 -04:00
David Christie
03ed0127da Modify quicksettings to have new location behavior.
Location tile is always present, and long pressing
toggles the master location enabled switch.

Change-Id: I54d5ccaa3b04e14ebebd68f5fafa8e65311debb4
2013-08-02 13:10:10 -07:00
John Spurlock
b2e90390e6 Merge "Remove unused do-not-disturb items." 2013-06-15 12:57:17 +00:00
John Spurlock
0ac7b73b81 Remove unused do-not-disturb items.
Change-Id: I3dd3e242a8a1db0148e3ff4386ff812a4cca66bc
2013-06-14 16:09:57 -04:00
John Spurlock
e804cb56d0 Stabilize hideybar confirmation toast.
Remove gravity workaround no longer needed after recent window
manager layout fix.

Also migrate instable code-based toast text calculation to use
the resource system properly.

Change-Id: Ifa380e387389ed9917336ad19dfde49f67a5fb10
2013-06-14 14:04:21 -04:00
Daniel Sandler
ea28f9bc62 am 4a9fcaf4: am cd5b3310: Merge "Add LTE overlays for signal strength indicators." into jb-mr2-dev
* commit '4a9fcaf49f6da3f28334bb8e5eddea51c0b6fc59':
  Add LTE overlays for signal strength indicators.
2013-06-11 14:13:58 -07:00
Daniel Sandler
2fe71d013f Add LTE overlays for signal strength indicators.
Note that operators that wish to show "4G" instead of "LTE"
on these networks can set config_show4GForLTE to true.

Bug: 9265513
Bug: 9265217
Change-Id: If7f3580da7266b0d0c62639e30684393d4e03392
2013-06-06 21:31:04 -04:00
John Spurlock
cdc05e0014 Remove remaining universe bits from sysui.
The logic has been gone for a while, a few resources remained.

Change-Id: I96b85741eec1582ef0947035344eb420994690fd
2013-06-06 15:39:51 -04:00
John Spurlock
dcf4f21460 Hideybars feature confirmation toast bar.
Enhance Toast to support new standard toast bar style, similar
to the undo bar in Gmail.  Toast bars can be interactive,
and can have a single action.  Add a new toast duration to
indicate persistent toasts (no auto-hide delay).

Use the new toast bar to implement a feature hint when hiding
the navigation bar in hideybars mode.

Per UX, the feature confirmation bar can also be dismissed on
any outside touch as long as the user confirmed it using the
OK button at least once globally.

Bug: 8754108
Change-Id: Iaa85d3b4da7ada1952a562f1e31de04380f5d587
2013-05-28 13:09:23 -04:00
Daniel Sandler
bd9cafa433 Dreams/Sleep Mode is now Daydreams.
Bug: 7395321
Change-Id: I3173cd9205df94217911a2d432d1be1db9e3d539
2012-10-23 01:21:33 -04:00
Casey Burkhardt
d7059dfb9b Properly label RecentsActivity for accessibility.
Bug: 7229886

Change-Id: I440c7e9b9ef3272e287d5d4d58bcfc0e8d0735ac
2012-10-09 17:53:21 -07:00
Casey Burkhardt
bac221ff0b Accessibility enhancements within quick settings and notification shade.
Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
2012-10-08 12:41:32 -07:00
Daniel Sandler
b88311685c Merge "Notification & settings panel help." into jb-mr1-dev 2012-10-07 13:51:57 -07:00
Daniel Sandler
b17a726f2f Notification & settings panel help.
Comes up the first time you touch the status bar; explains
where quick settings is, and even allows you to swipe down
to try it (instead of touching "OK").

Bug: 7209412
Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
2012-10-07 14:48:24 -04:00
John Spurlock
01e2f4f522 Update quick settings wireless display tile per spec.
Bug:7178216
Change-Id: If917033930b0ba5a3ca0c7c8f574b069d5ecac6d
2012-10-05 17:33:31 -04:00
Chris Wren
a64544748d renaming Sleep Mode feature.
Bug: 7267485
Change-Id: If54495436f0df1c0bf90f9bb77b043e40884bbd7
2012-10-02 10:40:57 -04:00
Winson Chung
f4b5ab193c Fixing various QS issues. (Bug 7216908, Bug 7217154)
- Making distinction between wifi not connected and unavailable
- Removing periods from carrier names
- Updating airplane mode icons

Change-Id: I8a629f07375faaa34a1b5ebeb307605f12f75173
2012-09-25 10:26:39 -07:00
Winson Chung
34563e2dc5 Fixing various QuickSettings issues (Bug 7210343, Bug 7174839, Bug 7174738)
- Using startActivityFromUser() for multiuser settings intents
- Show Wifi/Bluetooth Off labels when they are off
- Removing quotes from SSID name
- Only showing the IME tile under the same conditions that the notification is showing
- Making tile labels uppercase

Change-Id: Ic4a085cda600da019eab259b22c9041d1a0b5d29
2012-09-21 17:22:30 -07:00
Daniel Sandler
ced8d21f5a Add string for 'Ethernet'.
Bug: 6676469
Change-Id: Icbeb3e96b8580850a8392f443dc277488631bcab
2012-09-21 07:32:04 -07:00
Jeff Brown
89d5546d7f Add support for remembering Wifi display devices.
Add a setting to globally disable Wifi display.

Fixed a bug where the wifi display broadcast receiver
was running on the wrong thread.

Removed the wifi-display QuickSettings dialog, all functionality
has been moved to Settings.

Bug: 7178216
Bug: 7192799
Change-Id: I9796baac8245d664cf28fa147b9ed978d81d8ab9
2012-09-19 22:04:44 -07:00
Winson Chung
5f623011db Making QS scrollable and making numerous tweaks.
- Updating new assets (all line up)
- Updating brightness tile to reflect auto state
- Fixing network tile asset colors
- Adding press feedback

Change-Id: I857f141258eefec65243454cb69905cbd2a10bf6
2012-09-17 14:59:39 -07:00
Winson Chung
d4726d062e Adding rotation lock tile to quick settings (on tablets).
Change-Id: Ia68c07051acc1f0f42dde0b1322db034b5d54506
2012-09-14 12:28:40 -07:00
Winson Chung
eaa5ab01a1 Updating assets, fixing Battery tile to show proper states.
Change-Id: I0df6d62f57e8034f17d6add31416b050af8a0c15
2012-09-13 16:36:59 -07:00
Winson Chung
2a4057d2e9 Updating IME tile with proper subtype name.
Change-Id: Ie7fed20873f51e3b2b4def14532df00d71762418
2012-09-12 18:30:53 -07:00
Benoit Goby
45f6aaa558 UsbDebuggingActivity: Strings update after review
Bug: 7056209
Change-Id: I447b021973332414e5e57a3b7066bf25dfccb628
2012-09-11 16:10:35 -07:00
Winson Chung
1679b36800 Adding brightness dialog to quick settings.
Change-Id: I81f640138057c26320d41f70c7f47a518fc1bd4a
2012-09-10 20:20:22 -07:00
Jeff Brown
508257bdfc Add skeleton Wifi-Display tile in QS.
Pop up a little dialog when the tile is touched with options
to connect, scan and disconnect.

Change-Id: Ic9e28344899310692ace36c322974df175f82e08
2012-09-08 23:15:12 -07:00
Winson Chung
d63c597865 Initial changes to add QuickSettings.
Change-Id: If510f74d6046929e5e8a794c6dc2fddb15a03d6b
2012-09-08 15:55:31 -07:00
Daniel Sandler
32f6fd55b1 New "Start dreams" launcher shortcut.
Change-Id: Ice46fc8b99dae615e421ccf4eb6ca6f2a76cbe5f
2012-09-06 11:52:10 -04:00
Daniel Sandler
0bcf4adcde Only show the BeanFlinger screensaver to the worthy.
(That is: you must have discovered the flying-jellybeans
easter egg to gain permanent access to the Dreams version of
same.)

Change-Id: I65ce39c0ab5b61f492a3637e3c31b3c91f4f0f89
2012-08-31 16:18:31 -04:00
Benoit Goby
4e68bd420b Add UsbDebuggingManager and UsbDebuggingActivity
The UsbDebuggingManager listens to adbd requests and displays a dialog
when the public key authentification fails, for the user to confirm if it
wants to allow USB debugging from the attached host. If the user chooses
to always allow USB debugging, the UsbDebuggingManager writes the public
key to adbd's config file so that the public key authenfication succeeds
next time.

Change-Id: I115c828331d8e326c380844ee33915d5dff22260
2012-08-20 13:44:34 -07:00
Dianne Hackborn
a4b7f2f75e Use two fingers to work some magic...
Change-Id: Ibcb3dbd3d158c22da8277e544d81fb47eadccd49
2012-06-25 19:19:15 -07:00
Daniel Sandler
8b96a660e5 Concatenate SPN and PLMN with a pipe.
Prior change 199020 fixes it for instances of CarrierLabel;
this fixes it for customers of NetworkController.

Bug: 6639047
Change-Id: I69dada2298f4a3caf453f43d847cdb32fe7eaa9f
2012-06-14 23:54:55 -04:00
Daniel Sandler
9ff6378916 Visual refresh of notification panel header.
CLOCK - 2 LINE DATE - ROTATION LOCK - SETTINGS ---- CLEAR ALL

Bug: 6418617
Change-Id: I477b59d83aaefc6943ed3cfd5bb4e3f4072a8471

Conflicts:

	packages/SystemUI/res/values/strings.xml
2012-05-07 09:04:53 -04:00
Daniel Sandler
d2217f0c32 Restore do-not-disturb mode on tablets.
Bug: 6195112
Change-Id: Iecb850942df43fb8861cbbf2e2343c2aabfc4263
2012-05-04 16:44:16 -04:00
Daniel Sandler
f7a1956b06 Long-press a notification to find out who sent it.
Bug: 5547401
Change-Id: I8d5d73723b3f03f5b0f8717faaca826b1530df7a
2012-04-19 11:39:49 -04:00
satok
01038492ff Show physical keyboard control button on the input method switch dialog
Bug: 5240095
Change-Id: Ica768083f95c33dc1e494a28ba7d8b6eb989b0ef
2012-04-11 15:49:35 +09:00
Daniel Sandler
0fee21703b Fold WiMAX state into the mobile RSSI.
WiMAX will now be shown like any other 4G network.

Bug: 5584528
Change-Id: I33ef7b34b88ca006ce77a7ff1e55b7b38648d7d8
2011-11-10 00:36:23 -05:00
Robert Greenwalt
ea54b76085 Merge "Wimax : wimax framework related open source." into ics-mr1 2011-11-08 10:01:07 -08:00
tk.mun
148c7d0de7 Wimax : wimax framework related open source.
Integrate wimax network related changes into Android Framework.
- In Connectivity service, start wimax service.
- 4G icon display in StatusBarPolicy.
- DHCP renew add.
- Add radio for wiamx

Change-Id: I2d9012247edfdf49d71ca7e1414afd0006f330ca
Signed-off-by: tk.mun <tk.mun@samsung.com>
bug:5237167
2011-11-07 14:47:40 -08:00