Commit Graph

6303 Commits

Author SHA1 Message Date
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
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
ce0b22cf90 Retrieve resources from the corresponding profile
This handles the case where the authenticator does not exist in the primary profile.

Bug: 15466880
Change-Id: I9f6311397456b8bf210f50df82b6be605c1140f0
2014-06-30 18:10:56 +01: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
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