Commit Graph

6680 Commits

Author SHA1 Message Date
PauloftheWest
b4564c39b7 Applied some minor UI changes (see below)
+ Changed wifi icons to teal
+ Removed “Secured with …” from network status
+ Added an empty state image above text when Wi-Fi is off
+ Removed Wi-Fi Direct and WPS Push button from overflow menu
+ Added Wi-Fi Direct and WPS Push button to Advance Activity
+ Input Password Dialog: Moved Signal Strength and Security to Advance
+ Input Password Dialog: Updated Password text to Material style

BugId: #15698824 #15702808
Change-Id: I542ab9aac2c098738330c92d9183d3907c4f0b38
2014-06-27 12:52:56 -07:00
Fabrice Di Meglio
58146c2b2f Fix bug #15431722 Uninstalling an app via settings leaves user on screen
...for the now uninstalled app

- add the missing call to finish()
- fix also a typo

Change-Id: I3d365db1fa1e6ba1efeddae022d8c2136af6380a
2014-06-26 16:20:26 -07:00
Fabrice Di Meglio
74ef69a7d1 Fix WifiSettings / AdvancedWifiSettings indexing
- fix typo for the declaration of the SearchIndexableResource for
AdvancedWifiSettings that was not the correct one

See bug: #12910134 Implement Search into the Settings App

Change-Id: I964ca7ae4ba75a382af099e023383fc00773c844
2014-06-26 15:50:33 -07:00
Fabrice Di Meglio
b1acf9ceb6 Fix bug #15914018 Search - "wifi" does not gives any result for WifiSettings
- prevent the NPE by checking if the drawable reference is not null

Was a regression from c8e2eeeaa1

Change-Id: I467dfd41b76eacd0ad1c67bc138481964b2e5b13
2014-06-26 15:45:37 -07:00
Fabrice Di Meglio
200cca4c1d Fix icon size for Data Usage / Battery Stats / Process Stats
- remove padding from app_percentage_item and apply it correctly
on its containers
- wrap app_percentage_item into preference_app_percentage for having
correct padding o nProcessStatsPreference and PowerGaugePreference

Change-Id: I290c92959f51a33a1edb49435cd0bd1e6cd9afa3
2014-06-26 14:04:11 -07:00
Julia Reynolds
7a5d7d9ea6 Merge "Credentials should be shown but can't be modified." 2014-06-26 18:35:29 +00:00
Jason Monk
0e6ffc429d Merge "Add lock-to-app to settings" 2014-06-26 18:35:29 +00:00
Fabrice Di Meglio
2a8354f693 Merge "Fix bug #15431722 Uninstalling an app via settings leaves user on screen ...for the now uninstalled app" 2014-06-26 18:07:29 +00:00
Fabrice Di Meglio
04579cd603 Merge "Fix WifiSettings / AdvancedWifiSettings indexing" 2014-06-26 18:02:09 +00:00
Fabrice Di Meglio
1f306b4cfe Merge "Fix bug #15914018 Search - "wifi" does not gives any result for WifiSettings" 2014-06-26 18:02:09 +00:00
Fabrice Di Meglio
bf4ea4bd8c Merge "Fix icon size for Data Usage / Battery Stats / Process Stats" 2014-06-26 18:02:09 +00:00
Julia Reynolds
4ea24ecfbf Merge "Use user restriction instead of pin to guard factory reset in Settings." 2014-06-26 18:35:29 +00:00
Jason Monk
315070d58b Add lock-to-app to settings
Lock-to-app when disabled shows some instructions about how to
enable it and use it.

When enabled shows an option of use lock screen, which controls
whether the device is locked when exiting lock-to-app.  Turning
on use lock screen requires that the device have some security
challenge.

Bug: 15759649
Change-Id: I6188243e03fb0c85bdfdbc32a23ad486296a34f9
2014-06-26 11:09:54 -04:00
Jeff Davidson
33212394e9 Merge "Update change scorer dialog to use new label field." 2014-06-26 08:19:24 +00:00
Alexandra Gherghina
3939cd70b1 Add work account settings.
Bug: 15467756
Change-Id: I13b5a0bb3967611d0d24b575bfc15d9bfaad4cfa
2014-06-26 10:01:29 +01:00
Jeff Davidson
e4d398b32a Update change scorer dialog to use new label field.
Bug: 15775300
Change-Id: I61a7d1966742d463508e6801b7845ced8392db84
2014-06-25 19:03:31 -07:00
Fabrice Di Meglio
c0ac943eb6 Merge "Make Apps Icons size consistent in Battery Stats" 2014-06-25 17:34:02 +00:00
Fabrice Di Meglio
b974ab5825 Make Apps Icons size consistent in Battery Stats
- set them to 24dip as for the Settings Dashboard

Change-Id: Iadab299cac88a6b22157d285aff8a7dcf506fc97
2014-06-25 17:04:39 -07:00
Christoph Studer
d273c2abb3 Merge "Remove ZEN notification visibility settings" 2014-06-25 03:33:37 +00:00
Christoph Studer
672e6ed50c Remove ZEN notification visibility settings
Bug: 15286335
Change-Id: I927948458cfa4cddb8ebffda2f4c81fa003f8004
2014-06-24 18:23:29 +02:00
Kenny Guy
3a1bdaaded Merge "Fix bug with building args then ignoring it." 2014-06-24 06:38:28 +00:00
Kenny Guy
ac1e20ebfc Fix bug with building args then ignoring it.
Change-Id: Ie3b19b44386812e68e1593c5d257399ac043fd9f
2014-06-24 14:34:14 +01:00
Emily Bernier
6b37902e0a Merge "Update Settings UI to add new microphone app ops." 2014-06-24 08:05:46 +00:00
Emily Bernier
4241d0b8db Update Settings UI to add new microphone app ops.
Bug: 13585692
Change-Id: I5aa7087621a5d03f14f693a68ed4a4823b91a784
2014-06-24 14:28:31 -04:00
Julia Reynolds
93898bbfde Merge "Block WiMax settings with UserRestriction." 2014-06-24 08:05:46 +00:00
Julia Reynolds
00d19c7426 Block WiMax settings with UserRestriction.
Change-Id: I6f254f65ed9e967a7ef13d599ab9ed525ce4b7f0
2014-06-24 15:40:00 -04:00
Fabrice Di Meglio
5b7a100dbd Fix bug #15782664 Need to remove Search and Up affordances from App Info
- make AppInfo like a shortcut

Change-Id: I6f63cdbebce8e245cc5a8a673afcbdfc309d901a
2014-06-23 17:59:05 -07:00
Maurice Lam
f13c783f6b Merge "[WifiSetup] Removed button bar" 2014-06-23 21:50:10 +00:00
Dianne Hackborn
7a1f70533a Merge "More work on proc stats UI for summary display." 2014-06-23 21:44:43 +00:00
Dianne Hackborn
74868d1c5d More work on proc stats UI for summary display.
Improve how we compute the bar to better represent the
actual memory situation.  Scale the per-app bars to try to
show them better in terms of overall memory use.  And some
bug fixes.

Change-Id: I336ff0c938a39092f2ac54d354c57d6b1b8220c0
2014-06-23 17:29:56 -07:00
Fabrice Di Meglio
fdf54815d2 Remove VM switch from Developer Options
- no more needed as Art is the one and only one VM

See bug: #15778483 "Select Runtime" still exists in search results, but not in Settings

Change-Id: I4ccca20165e254f7eec87c1e44aad8de0cab628d
2014-06-23 17:27:38 -07:00
Fabrice Di Meglio
f24859cdb7 Fix bug #15827043 - Stability: CursorIndexOutOfBoundsException in Settings: Index -1 requested, with a size of 38
- ahhhh Monkeys, do not allow to have position < 0

Similar fix than the one done for:

mSuggestionsListView.setOnItemClickListener(...) in I3a8ded4c1471a1589134826539c9db1b551f49dd

Change-Id: I6ef266852e2c2ab5d0d0f6b4faf358b22d12bf6b
2014-06-23 16:33:39 -07:00
Fabrice Di Meglio
47a25e7640 Update Dashboard layout again
- follow UX spec
- update also the Search Panels (suggestions / results) to
follow the same specs

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I3d27a3b3d9779644f8ea123990a0c7bed8d4ba74
2014-06-23 13:23:47 -07:00
Julia Reynolds
233ccd0cf7 Credentials should be shown but can't be modified.
Change-Id: I1a22a0ffb244d6cec3c64b2224fa5e9639bf4673
2014-06-23 13:59:04 -04:00
Maurice Lam
8b2655cfbb Merge "[WifiSetup] Restore enableNext behavior" 2014-06-23 14:51:00 +00:00
Dianne Hackborn
96debb5c96 Update to follow battery stats change.
Improve how we decide that WIFI is on.

Change-Id: If209d85dd88b6bdd56913684a890f732b8234a8c
2014-06-20 16:02:12 -07:00
Maurice Lam
9f59de930a [WifiSetup] Restore enableNext behavior
Partial revert of ag/475394 which moved enable-next-on-connect
behavior to setup wizard specific code. But account creation was
using it outside of setup wizard context.

Change-Id: I575976207a3ba2b5dac7e5467036e6ec7f519d9d
2014-06-20 15:27:25 -07:00
Jay Civelli
575f9c057d Merge "Reenabling permission check for TrustAgent." 2014-06-20 21:00:34 +00:00
Ido Ofir
c24ffca0f4 Merge "Fixing a bug in the security menu." 2014-06-20 02:15:46 +00:00
Ido Ofir
31648b54dc Fixing a bug in the security menu.
Change-Id: I583a391773a1cdee429e8fe92f7347883f301825
2014-06-20 11:30:01 -07:00
Dianne Hackborn
68f005fbd4 Modify proc stats to show new memory use computation.
Switch the proc status UI's memory use bar to be based on the
new total memory use computation, instead of showing that weird
"time spent in memory states" thing.

Also now have it link to a detail page that shows details of time
spent in memory states and RAM used by various things.

Change-Id: I6817a499db518adb8e72466a5e9cfe18a81be5d5
2014-06-19 21:35:27 -07:00
Maurice Lam
f2724a6131 Merge "[WifiSetup] Fix WifiDialog crash" 2014-06-20 02:04:45 +00:00
Yorke Lee
cb4f825c77 Merge "Revert "Add default Dialer preference to Settings"" 2014-06-19 22:33:55 +00:00
Yorke Lee
5e10834bd8 Revert "Add default Dialer preference to Settings"
This reverts commit d4720d9872.

Change-Id: I0cfc0506619892360e42a62c6bdbf6d2d3186e1c
2014-06-19 22:21:41 +00:00
Fabrice Di Meglio
356b89a3ba Merge "Improve Search results highlighting" 2014-06-19 20:37:59 +00:00
Fabrice Di Meglio
c70b7f6f35 Improve Search results highlighting
- remove unnecessary code
- use keyed Tag with a well known App key for preventing collisions
- fix missing Brightness Level preference key (used for highlight)

Change-Id: I070e3b8c3cb43da7addd34be192aade21951f57c
2014-06-19 13:58:22 -07:00
Maurice Lam
3c9ca35ebc [WifiSetup] Fix WifiDialog crash
Static inner class fragments need to be public.

Bug: 15742215
Change-Id: I24410b1ad6756c090fbf15f2a2ba07aa4eae5f41
2014-06-19 11:36:03 -07:00
Przemyslaw Szczepaniak
6ac8ddb898 Normalize TTS default locale before #toDisplayString
TTS is... special in regard of Locale instances it uses.
Recently ISO-3166 alpha 3 country codes went out of spec, so
"English (GBR)".

Bug: 15741357
Change-Id: I022105acad9d319d5e09231be340405d797c84c4
2014-06-19 15:50:50 +00:00
Jay Civelli
ad90774075 Reenabling permission check for TrustAgent.
Now that master is using the latest Manchego, we can reenable the
permission check for TrustAgent.

Change-Id: Icec3be998eb1f6db67e99d29859a593d7ddcc60a
2014-06-19 08:34:18 -07:00
Fabrice Di Meglio
b11f132e07 Merge "Fix Spell Checker layout padding" 2014-06-18 18:22:48 +00:00