Commit Graph

6680 Commits

Author SHA1 Message Date
Tadashi G. Takaoka
74e7c3e360 Reorganize language & input settings
Bug: 14860252
Bug: 16115751
Change-Id: I198aabebc08421764b78e137e7f26d2a7772d452
2014-07-10 18:58:06 +09:00
Maurice Lam
c8f0e7cf47 Merge "[WifiSetup] L layout update" 2014-07-10 00:35:26 +00:00
Maurice Lam
588e61aa05 [WifiSetup] L layout update
Changed the layout based on the new design mocks. Copied over
StickyHeaderListView and SetupWizardHeader. Currently using the
generic illustration but will update to Wifi setup specific version
once we get them.

Change-Id: I22bdef8c9860d419be55938e1e4a6a682db5b7e8
2014-07-09 19:33:28 -07:00
Alexandra Gherghina
a5df250698 Merge "Retrieve resources from the corresponding profile" 2014-07-09 20:06:40 +00:00
Jim Miller
45ece1cf60 Merge "Add new "pin complex" type to supported keyguard PINs" 2014-07-09 14:43:38 +00:00
Andres Morales
ce249fe38d Enable OEM unlock checkbox in Developer Settings
For Volantis+ devices, we will give users
the ability to enable OEM unlock through
Developer Settings. To do so, we must write
the value to the last byte of a special partition
that does not get erased even after factory reset.

This feature will only be available on devices
with the persistent data partition, thus the checkbox
is only visible for devices that meet this requirement.

This depends on
https://googleplex-android-review.git.corp.google.com/#/c/495350/

DD: go/factory-reset

Bug: 14288780
Change-Id: I8f80b950bc101a1067912faf221391bf0dd826b7
2014-07-09 18:16:04 -07:00
Nicolas Prevot
8fd852e7c2 Add new "pin complex" type to supported keyguard PINs
This adds a feature to allow DevicePolicyAdmins to prevent using
simple PINs, which are defined as those containing more than 3
repeated values. Examples include '1234', '2468', '1111', '9876', etc.

Bug 12081139

Change-Id: I68d8fe2459837cb5e083724e1740e65f0519f7e1
2014-07-09 17:38:49 -07:00
Amith Yamasani
e2403822ec Merge "Multiuser settings revamp - followup to address comments" 2014-07-09 14:38:35 +00:00
Amith Yamasani
51c6dac50e Multiuser settings revamp - followup to address comments
Bug: 15761405
Change-Id: I9c03432a2f2651a931486ce65fb3b5af37608be0
2014-07-10 00:39:10 +05:30
Santos Cordon
35230e9ed7 Update CryptKeeper to use PhoneManager APIS.
Change-Id: Ie0ba36ef55869f2d7cfd3e460541c6f3bd08da55
2014-07-09 18:53:29 +00:00
Ido Ofir
e6d52157fa Merge "b/16154604 removing the settings link from the trust agent menu." 2014-07-09 14:50:26 +00:00
Ido Ofir
286558bab0 b/16154604 removing the settings link from the trust agent menu.
Change-Id: If5050a16ffd776a5ca2eec6f1dad4eef47f2f0e4
2014-07-08 15:17:30 -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
Tadashi G. Takaoka
0244ae05cc Merge "Add TODO comments to Language & input settings" 2014-07-02 19:52:36 +00:00
Tadashi G. Takaoka
d2dd7d33c9 Add TODO comments to Language & input settings
Bug: 16115751
Change-Id: I7bc426b95af214374db98c35314f4893dabfb2d4
2014-07-09 15:29:33 +09:00
vandwalle
cfe94540d8 Merge "add BSSID blacklist indicator" 2014-07-08 21:53:37 +00: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
vandwalle
e750677712 add BSSID blacklist indicator
Change-Id: I476d9fd48ca5786642721ff78f9a4a603179ad81
2014-07-08 12:36:22 -07: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
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