Commit Graph

14431 Commits

Author SHA1 Message Date
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
Fabrice Di Meglio
66445565ee Disable auto-backup for Settings App
- we dont want Settings data to be backed-up so add
android:allowBackup="false" to the AndroidManifest

Change-Id: I1165a37ecdd18c6a6526ce8b9a9576d9bbfd415b
2014-06-30 13:22:48 -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
Fabrice Di Meglio
a5792eb9a4 Merge "Make edge effect goes border to border on xlarge tablets" 2014-06-27 16:52:20 +00:00
Fabrice Di Meglio
1575ee7d02 Make edge effect goes border to border on xlarge tablets
- it is all where you apply the padding ...

Change-Id: Ia8b75662a387bee278b4ea1bca83153724db5bfa
2014-06-29 14:54:07 -07:00
Baligh Uddin
ebdd13fa7a am 5e34f2b6: (-s ours) Import translations. DO NOT MERGE
* commit '5e34f2b6ce70b574fc4c258d70fd841e6f86a8e5':
  Import translations. DO NOT MERGE
2014-06-28 03:04:58 +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
Craig Mautner
746078fb71 Merge "Take TextToSpeechSettings out of endless loop" 2014-06-26 23:50:27 +00:00
Baligh Uddin
8d020f6c08 Import translations. DO NOT MERGE
Change-Id: Iab0c8c9538100600bf2c0d47a9eb9cb26ffb49e4
Auto-generated-cl: translation import
2014-06-30 14:44:29 +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
Baligh Uddin
5b6a9ae793 Merge "Import translations. DO NOT MERGE" 2014-06-26 23:50:27 +00: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
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
54a28d167c Fix new Wi-Fi strings from Developer Options
- issue introduced by that CL: 5e7b3ad09f
- use Wi\u2011Fi

Change-Id: I1e00a3c435cebcecfda2f8d91787587c56fd3bc1
2014-06-26 14:17:45 -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
Baligh Uddin
7bcd0b87d6 Import translations. DO NOT MERGE
Change-Id: Ib11c205c5d938b147c6db5cd86c104018193c827
Auto-generated-cl: translation import
2014-06-26 13:55:58 -07:00
Baligh Uddin
5e34f2b6ce Import translations. DO NOT MERGE
Change-Id: Ic74a7c7565290f1b9dff3865ad66ae8f3b100b2a
Auto-generated-cl: translation import
2014-06-26 13:50:58 -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
1b38d75d97 Merge "Fix new Wi-Fi strings from Developer Options" 2014-06-26 18:07:29 +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
Baligh Uddin
294506808d am eab9192a: (-s ours) Import translations. DO NOT MERGE
* commit 'eab9192aca9091d2b72d6697220d192536b9201e':
  Import translations. DO NOT MERGE
2014-06-26 16:54:22 +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
Alexandra Gherghina
3939cd70b1 Add work account settings.
Bug: 15467756
Change-Id: I13b5a0bb3967611d0d24b575bfc15d9bfaad4cfa
2014-06-26 10:01:29 +01:00
Jeff Davidson
33212394e9 Merge "Update change scorer dialog to use new label field." 2014-06-26 08:19:24 +00:00
Baligh Uddin
9882971beb am 29450680: (-s ours) am eab9192a: (-s ours) Import translations. DO NOT MERGE
* commit '294506808d140eb0cb14bec0a48704a23f63da90':
  Import translations. DO NOT MERGE
2014-06-26 16:59:49 +00: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
Baligh Uddin
eab9192aca Import translations. DO NOT MERGE
Change-Id: I3b2d1434d76982612d7aa754464a4abf1210daef
Auto-generated-cl: translation import
2014-06-25 10:39:48 -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
Fabrice Di Meglio
f65f0e7575 Merge "Update Dashboard layout - part 2" 2014-06-25 21:16:45 +00:00
Fabrice Di Meglio
676e9c1167 Update Dashboard layout - part 2
- follow UX spec
- tablet UI support
- tuning for phone UI

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I26fc6a51a4bb608399f319206c27f58c21b4aa64
2014-06-25 13:59:18 -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
Baligh Uddin
3c5b19fa3c am 10b56ed3: (-s ours) Import translations. DO NOT MERGE
* commit '10b56ed36e2592e18cc2e17aceb6737972cce2c8':
  Import translations. DO NOT MERGE
2014-06-25 02:53:53 +00:00
Baligh Uddin
fa56b58891 Merge "Import translations. DO NOT MERGE" 2014-06-25 01:36:21 +00:00
Kenny Guy
ac1e20ebfc Fix bug with building args then ignoring it.
Change-Id: Ie3b19b44386812e68e1593c5d257399ac043fd9f
2014-06-24 14:34:14 +01:00