Commit Graph

6214 Commits

Author SHA1 Message Date
Tadashi G. Takaoka
d2dd7d33c9 Add TODO comments to Language & input settings
Bug: 16115751
Change-Id: I7bc426b95af214374db98c35314f4893dabfb2d4
2014-07-09 15:29:33 +09:00
Dianne Hackborn
7804a40d86 Merge "Issue #15986092: Add power tracking of flashlight." 2014-07-08 21:53:37 +00:00
Dianne Hackborn
6fd48e224f Issue #15986092: Add power tracking of flashlight.
Also improve drawing of date markers to allow a middle
marker for really looong durations.

Change-Id: I0c12ec9b6de102360d9171627787462dfa58b7ef
2014-07-08 17:16:29 -07:00
Paul Lawrence
08c6ab0fea Fix back button on crypto screen
Did not reenable after entering wrong password.

Bug: 12434219
Change-Id: If8b0c22213a345b3dd0f92e02710c155c7adcd1c
2014-07-08 22:17:35 +00:00
PauloftheWest
7837b99986 Added Saved networks UI to Wifi
+ Added Saved networks to Overflow menu
+ Moved WPS Pin Entry from Overflow menu to Advance Setting Activity
+ "Automatically manage Wi-Fi : Let a Wi-Fi assistant manage your connection"
+ "Wi-Fi assistant : <selected assistant> [cog secondary hit target]
+ MAC address & IP address list items have the static italic style
- "Avoid poor connections" from Advance Settings
- "Wi-Fi optimization" from Advance Settings

Bug: 15698824

Change-Id: Ieb25b29874752db07398dcb200ec07862779f507
2014-07-08 11:26:22 -07:00
Fabrice Di Meglio
2a2b22a019 Merge "FR #16136331 Search - results should be ordered with match on Title and then on SubTitle" 2014-07-08 17:33:57 +00:00
Fabrice Di Meglio
b86a2bc745 FR #16136331 Search - results should be ordered with match on Title and then on SubTitle
- issue two queries instead of one. The first is for matching on the Title
and the second is for matching on the SubTitle (but use EXECEPT clause for
filtering out the potential dupe results that may be coming from the Title)
- use a MergeCursor for aggregating the two Cursor

Change-Id: I0ba4bb227dbd4a113348da8ed788ca7cded986fb
2014-07-08 11:03:14 -07:00
John Spurlock
1d607861f3 Merge "Settings: Update to follow new volume design." 2014-07-07 19:25:01 +00:00
John Spurlock
07f7efba67 Settings: Update to follow new volume design.
- "Sound & Notification"  (not Notifications)
- Remove ringer-mode pref.
- Add zen-mode pref to renamed "Interruptions" screen.
- Implement two separate "Sound" & "Notification" sections.
- Remove "Showing notifications" screen, migrate settings.
- Remove custom category styling now that we have a platform style.
- Implement new "days" sleep mode and corresponding dialog pref.
- Corresponding changes to indexable resources.

Associated frameworks/base change:
  I35afe38646f04d2ba0dbac11c2c6356120a33694

Bug:15831713
Change-Id: I6ed56791784968adfbd684f490dbbebed285a2dd
2014-07-07 18:37:06 -04:00
Derek Tan
379a1d1f73 Merge "Get phone number from TelephonyManager on Phone Status page." 2014-07-07 17:47:39 +00:00
Tadashi G. Takaoka
47f6f81b72 Refactor spell checker settings a bit
This CL removes unnecessary SpellCheckerUtils class.

Change-Id: I1b94b76620fee9119df726b86cec73fb32c0ee8b
2014-07-04 21:37:39 +09:00
Derek Tan
48383e1604 Get phone number from TelephonyManager on Phone Status page.
Bug: 11900806
Change-Id: I4df3fac7b483ddae2bbda14b5a85629486e400cf
2014-07-02 17:44:53 -07:00
Ido Ofir
1682a0d1be changing language for security screen regarding trust agents
and fixing a bug with multiple trust agents.

Change-Id: I14ee45110a20124d8f9ed2dc80214aff4dc521d3
2014-07-02 17:35:42 -07:00
Alexandra Gherghina
c46b426eb0 Merge "Adds missing per-user calls for displaying and syncing accounts" 2014-07-01 17:52:42 +00:00
Alexandra Gherghina
024ba5e4d9 Adds missing per-user calls for displaying and syncing accounts
Bug: 15466880
Change-Id: Ifa96af782adc8485f925dc45d5c71b1c28a075d2
2014-07-01 16:03:06 +01:00
Fabrice Di Meglio
6e6c87e53c Merge "Fix again bug #15940103 ACTION_SYNC_SETTINGS shows the non-functional ...left arrow button at the top (the back button works)" 2014-07-01 23:33:37 +00:00
Fabrice Di Meglio
5a62d94a2b Fix again bug #15940103 ACTION_SYNC_SETTINGS shows the non-functional
...left arrow button at the top (the back button works)

- the android.settings.DATE_SETTINGS Intent was showing similar issue
so this CL fix it on a more generic basis

Change-Id: I4c26a5a8dc3eb090d26967fa607449a4fe6631c6
2014-07-01 17:18:40 -07:00
Fabrice Di Meglio
5bdf0423f9 Fix SettingsPreferenceFragment.startFragment()
- was always passing R.string.lock_settings_picker_title as a title res

Change-Id: Iab47ef3da00e91d5ce3b6dc50c50c943bd78b08f
2014-07-01 15:36:47 -07:00
Fabrice Di Meglio
d729029b90 Fix some Dashboard top categories not showing for Search
- fix Date & time / Printing / Security

See bug: #12910134 Implement Search into the Settings App

Change-Id: I7e96eb35a6802fde7589ccfe244e71f8be43dea8
2014-07-01 14:32:03 -07:00
Fabrice Di Meglio
e0284653b7 Update Search Suggestions and Results Panel
- fix overdraw use as less backgrounds as possible
- make it look like the Dashboard with padding left and right

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I30ff33e51bc3c73e888d45f0ce6e16784eb6721c
2014-07-01 11:00:14 -07:00
Fabrice Di Meglio
fcd900b3d6 Merge "Fix SettingsPreferenceFragment.startFragment()" 2014-07-01 14:40:15 +00:00
Fabrice Di Meglio
706ad94c5c Merge "Fix some Dashboard top categories not showing for Search" 2014-07-01 14:50:43 +00:00
Fabrice Di Meglio
113b8d83f7 Merge "Update Search Suggestions and Results Panel" 2014-07-01 14:40:15 +00:00
Amith Yamasani
9e6ac3d25f Multiuser settings revamp for L, first pass
Include Guest settings
Ability to switch users from Settings
Manage user settings like telephony access

Bug: 15761405
Change-Id: I2cfdc7bc2703ed202aa8bf1261c304c51ce48b29
2014-07-01 13:19:35 +05:30
Fabrice Di Meglio
5b3c3c00b0 Fix bug #15940103 ACTION_SYNC_SETTINGS shows the non-functional left arrow button at the top
- make android.settings.SYNC_SETTINGS Intent behave like a Shortcut
(no Up affordance nor Search)

Change-Id: I573feaedeb062757fb893417e8746d17a09e66f4
2014-06-30 15:18:08 -07:00
Alexandra Gherghina
1eb3f316bd Handle forwarded intents from a managed user in AccountSyncSettings
Bug: 15466880
Change-Id: I4041b69f237033dbe5b78c8eb52f5e6ebb6ff7f7
2014-06-30 11:38:04 +01:00
Craig Mautner
746078fb71 Merge "Take TextToSpeechSettings out of endless loop" 2014-06-26 23:50:27 +00:00
Craig Mautner
5a98d43681 Take TextToSpeechSettings out of endless loop
Launching an Activity using startActivityForResult() every time
you are in onResume() is a recipe for endless looping. I.e. every
time the launched Activity finishes it will be relaunched because
the launching Activity reenters onResume().

This change keeps the GetSampleText activity from being launched
from onResume if we already have the sample text and the Locale
hasn't changed since the last onResume.

Fixes bug 15951054.

Change-Id: I65d9070df93396d8d3a45a6673ae56826f418122
2014-06-28 14:32:08 -07:00
Lifu Tang
560a39df2a Merge "Disable the switch bar instead of switch itself" 2014-06-28 00:04:48 +00:00
Lifu Tang
387ecc6931 Disable the switch bar instead of switch itself
- Fix b/15754817

Change-Id: I20c5bc85d35057a340ddcac691912863a4477804
2014-06-27 18:18:59 -07:00
Fabrice Di Meglio
331af125db Merge "Fix bug #15897505 Talk back state shows "off" while the talk back is still enabled." 2014-06-28 00:04:48 +00:00
Fabrice Di Meglio
006b2cca13 Fix bug #15897505 Talk back state shows "off" while the talk back is still enabled.
- we were missing the update of the TextView from the SwitchBar so provide a new
setCheckedInternal() method that is doing the TextView and Switch update at the
same time

Change-Id: I6dd9c472a386bb534a58fbf5cf82d9d01fa74f6c
2014-06-27 19:13:19 -07:00
Fabrice Di Meglio
d2b1e441b7 Fix bug #15939648 "Use TalkBack ?" is shown after orientation change even if it was OFF before
- prevent onSaveInstanceState() on the ToggleSwitch
- fix missing setOnCheckedChangeListener() when restoring the SwitchBar state

Change-Id: I818577004f142be46fa378389f264c7f37cfd7b8
2014-06-27 19:01:38 -07:00
Fabrice Di Meglio
eb31d41cc7 Merge "Fix bug #15939648 "Use TalkBack ?" is shown after orientation change even if it was OFF before" 2014-06-28 00:04:48 +00:00
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