Commit Graph

6462 Commits

Author SHA1 Message Date
Fabrice Di Meglio
1e0e0ed6df Fix UsageBar for Storage Settings
- make padding consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Id333493cc4e88355a1211834081cd22e61aabf77
2014-06-17 16:43:00 -07:00
Fabrice Di Meglio
726ee07aba Code cleaning
- remove unused class AccessPointCategoryForSetupWizardXL
- also remove its usused layout

Change-Id: I2f8e7b41b112137b7b98678127ae7215932e7a25
2014-06-17 14:34:50 -07:00
Fabrice Di Meglio
ab9d6985fa Fix ProgressCategory theming and layout
- add missing constructors for correct theming
- fix layout by adding missing paddingStart / paddingEnd

Change-Id: I52a511d326b760a47339b2b9dad349c9f825dbd2
2014-06-17 14:20:09 -07:00
Fabrice Di Meglio
89ea32d584 Merge "Fix UsageBar for Storage Settings" 2014-06-17 20:49:29 +00:00
Fabrice Di Meglio
b84693e7a6 Merge "Code cleaning" 2014-06-17 20:49:29 +00:00
Fabrice Di Meglio
5d5e11bd5d Merge "Fix ProgressCategory theming and layout" 2014-06-17 20:49:29 +00:00
Fabrice Di Meglio
c9711beb3c Add Search / Indexing to Data Usage / Mobile Hotspots
- implement a BaseSearchIndexProvider and pass all the needed
strings to index (including the Wi-Fi SSIDs)

Change-Id: Ic7a640c76cd7c2af77585e87e216b283af61a29e
2014-06-17 12:30:18 -07:00
Fabrice Di Meglio
dbaf080f44 Fix VolumeSeekBarPreference
- was not able to do theming and all progress was blocked to "0"
- add missing constructors

Change-Id: Iee0d14b7f6e6708290e5d7838768f7a8da934c93
2014-06-17 11:37:55 -07:00
Fabrice Di Meglio
0f59467044 Merge "Fix bug #15687210 Settings crashing when turning ON<>OFF developer option." 2014-06-17 05:00:50 +00:00
Fabrice Di Meglio
6f5e790ac9 Fix bug #15687210 Settings crashing when turning ON<>OFF developer option.
- prevent NPE
- define default value (to 256K)
- add more logs for showing value which has been set or any exception

Change-Id: I8f067f14d81ee56631d1ad74b91b5ede26cae125
2014-06-17 09:33:03 -07:00
Maurice Lam
c91d4d9341 Merge "[WifiSetup] Use setup navigation bar" 2014-06-17 04:56:28 +00:00
Fabrice Di Meglio
c06bcc9242 Merge "Add Search / Indexing to Data Usage / Mobile Hotspots" 2014-06-17 04:56:28 +00:00
Selim Gurun
2c2a995193 Merge "Gray out the selection while the key is not available." 2014-06-17 04:56:28 +00:00
Selim Gurun
41745a430d Gray out the selection while the key is not available.
Bug: 15607413

The old logic was simply making it not selectable. This will disable
it and gray it out providing better feedback.

Change-Id: Iaeaae43f28100ba1a1550db0a919172a249054e8
2014-06-17 10:24:44 -07:00
Fabrice Di Meglio
d1c0a474c4 Merge "Fix VolumeSeekBarPreference" 2014-06-17 04:56:28 +00:00
Paul Lawrence
5a70f05e0d Fix assorted problems on Crypto screen
Show keyboard on retry with PIN or password
Show correct message on cooldown
On return from emergency call, don't override cooldown
Don't show keyboard on return from emergency call if in cooldown
Show back functionality on emergency call

Change-Id: I5cc93cb09ad758b72521bd43cfad1040be2e5f8d
2014-06-17 18:33:28 +00:00
Paul Lawrence
f6cda3b176 Remove crypto pattern after two seconds
Currently pattern is left on after a failed attempt. This change removes
it after a timeout.

Change-Id: I77830510b17396f6e64a482816f6041af0fdc166
2014-06-17 18:32:55 +00:00
Fabrice Di Meglio
5049d1caed Merge "Fix Up and Search affordances" 2014-06-17 04:50:03 +00:00
Fabrice Di Meglio
0d643fd182 Fix Up and Search affordances
- UP is also shown for a SubSettings of a Shortcut
- Search is never shown for a Shortcut (SubSettings or not)

Change-Id: I5b87cf773ea0266a0f5dd090613bbbba905be330
2014-06-16 20:18:05 -07:00
Selim Gurun
48afff27a2 Do not enable bandwidth reduction settings if key is not available
Bug: 15607413

If bandwidth reduction settings are enabled when a key is not ready
yet, webview network connections stall due to a bug in M36 of chrome.
Do not let it enabled via settings app.

Change-Id: I7dc80c33f72ab59de68f919ef227d5227e6b923d
2014-06-16 17:23:19 -07:00
Maurice Lam
6776c67ac1 [WifiSetup] Use setup navigation bar
Use the setup navigation bar in wifi setup activity.

1. Include frameworks/opt/setupwizard/navigationbar/common.mk in the
make file.
2. Make WifiSetupActivity implement NavigationBarListener
3. Added the fragment in setup_preference.xml, wrapping the whole
screen in a LinearLayout
4. Moved skip and next screen logic to WifiSetupActivity, refactored
the skip dialogs into a fragment

Change-Id: Ia973c0a61faa3ead201bd10d5aa8de4bc6e091c1
2014-06-16 17:19:14 -07:00
Yorke Lee
d4720d9872 Add default Dialer preference to Settings
Add a Default phone app setting under wireless settings, and also
a dialog activity that allows a user to confirm the selection of an
application as a default phone app.

Bug: 6948882
Bug: 15021725
Change-Id: I2c1473feba20da01b14fbd30dbecc01be560479d
2014-06-16 15:51:44 -07:00
Selim Gurun
190b6ca8f4 Merge "Do not enable bandwidth reduction settings if key is not available" 2014-06-16 22:12:26 +00:00
Julia Reynolds
2c53933e8d Use user restriction instead of pin to guard factory reset in Settings.
Bug: 14081992
Change-Id: I60f132312368c5097b46ab97e881eec3700ef586
2014-06-13 13:10:44 -04:00
Paul Lawrence
0990d744e5 Merge "Show time to go while encrypting drive" 2014-06-12 03:30:50 +00:00
Colin Cross
102fea22e0 Revert "logd: Add Developer settings for size, merge conflict issue"
This reverts commit c6d03a828e.

Change-Id: Ic41bf8609a1e16a10bfdce021e0536370800b81e
2014-06-13 23:26:15 +00:00
Mark Salyzyn
c6d03a828e logd: Add Developer settings for size, merge conflict issue
- mLogdSize dropped by merge conflict resolution

Bug: 14563261
Change-Id: I11e3aa97a0ba40c3f55041d98c02d7e73629e985
2014-06-13 15:09:20 -07:00
Mark Salyzyn
6b5bcd2138 resolved conflicts for merge of c2c64a31 to master
Change-Id: Ica0f138d4bf2cf66b8ba485bf286e062be433d0a
2014-06-13 14:57:13 -07:00
Fabrice Di Meglio
a8b4dcc827 Fix bug #15611108 Stability: CursorIndexOutOfBoundsException in Settings: Index -1 requested, with a size of 1
- do not allow to have position < 0

A use case was generated by the Monkeys where they were capable to click on the Header.

Change-Id: I3a8ded4c1471a1589134826539c9db1b551f49dd
2014-06-13 21:04:59 +00:00
Mark Salyzyn
c2c64a312a am 5a9a18c1: Merge "logd: Add Developer settings for size"
* commit '5a9a18c15b16be282ed48df0fa38045ae9016524':
  logd: Add Developer settings for size
2014-06-13 20:27:25 +00:00
Julia Reynolds
cbfda98816 Merge "Remove pin and add restrictions for Security settings." 2014-06-12 17:09:07 +00:00
Julia Reynolds
565653cef1 Remove pin and add restrictions for Security settings.
Bug: 14081992
Change-Id: Iec5667202b6f5ae5b5a2a0cfded1a832d98adaf9
2014-06-13 13:15:39 -04:00
Mark Salyzyn
408c89bfb5 logd: Add Developer settings for size
- Dependent on some logd/init/selinux security changes.

Bug: 14563261
Change-Id: I11e3aa97a0ba40c3f55041d98c02d7e73629e984
2014-06-13 20:20:08 +00:00
Julia Reynolds
253b111a3d Merge "Remove PIN from users page - use disallow_add/remove_user restrictions." 2014-06-10 21:38:43 +00:00
Dianne Hackborn
ff0a8a2f43 am 2f2cbbc7: Merge "Small fixes to power save UI." into lmp-preview-dev
* commit '2f2cbbc760c23d89c5b0255378bbf5cb074a6988':
  Small fixes to power save UI.
2014-06-12 00:03:50 +00:00
Fabrice Di Meglio
e306098cab am 782d0f68: Merge "Fix bug #15545573 Battery use chart is incorrect for date labels and time axis labels" into lmp-preview-dev
* commit '782d0f689106aed05de80e93948f9e7b30701601':
  Fix bug #15545573 Battery use chart is incorrect for date labels and time axis labels
2014-06-12 00:03:34 +00:00
vandwalle
4e278c7c62 Merge "remove disbaled for unknown reason status" 2014-06-11 21:23:31 +00:00
Julia Reynolds
b9195d25ee Remove PIN from users page - use disallow_add/remove_user restrictions.
Bug: 14081992
Change-Id: If4973d64ae54da602a2682dee5b868ff66273856
2014-06-11 17:14:14 -04:00
vandwalle
d42ec37dbf remove disbaled for unknown reason status
Change-Id: Id9fda1b6aeec8e7122a5c00996e5afbec20ac1cb
2014-06-10 20:47:19 -07:00
Dianne Hackborn
2f2cbbc760 Merge "Small fixes to power save UI." into lmp-preview-dev 2014-06-10 22:18:15 +00:00
Dianne Hackborn
de159c8d16 Small fixes to power save UI.
Use the correct default setting, and don't crash.

Change-Id: I33fd612aba404e13c8bbe9110535dff1cfba12a4
2014-06-10 23:17:01 -07:00
Fabrice Di Meglio
782d0f6891 Merge "Fix bug #15545573 Battery use chart is incorrect for date labels and time axis labels" into lmp-preview-dev 2014-06-10 22:18:15 +00:00
Fabrice Di Meglio
a7a62c5b66 Fix bug #15545573 Battery use chart is incorrect for date labels and time axis labels
- use DateFormat.getBestDateTimePattern(...) to get the best Date and Time format
depending on the Locale
- format the label according to the best format
- remove non needed formatting strings

Change-Id: I78b62b9a7c9401e47e62c7161214636bb43324fc
2014-06-10 20:26:42 -07:00
Fabrice Di Meglio
da8babaedf Update Settings redlines per UX request
See bug: #15384992 Setting Dashboard - padding updates

Change-Id: Ie95b6cee701847d7f76f2e2a72aaf8fc64bc4dd9
2014-06-10 19:36:26 -07:00
Fabrice Di Meglio
1c3203e83e Merge "Update Settings redlines per UX request" into lmp-preview-dev 2014-06-10 22:18:15 +00:00
Jay Civelli
8662a22c99 Merge "Temporary removing the Trust Agent permission change." 2014-06-10 21:49:59 +00:00
Fabrice Di Meglio
87f06fa594 am 1c3203e8: Merge "Update Settings redlines per UX request" into lmp-preview-dev
* commit '1c3203e83efed2d5c257da8e4f5fba4844b6fa47':
  Update Settings redlines per UX request
2014-06-11 17:43:44 +00:00
John Spurlock
69323ad96a am e9ee5e2c: Merge "Settings: Battery saver settings sub-page." into lmp-preview-dev
* commit 'e9ee5e2cede8d7e8fd7791113903df7eff1ec75a':
  Settings: Battery saver settings sub-page.
2014-06-11 17:02:20 +00:00
Jay Civelli
382a9b9780 Temporary removing the Trust Agent permission change.
Removing the permission check for Trust Agents, until the GMS core prebuilt
has that permission.

BUG: 15546358

Change-Id: Ie0a68fcc313b835a8f5e87570fd248612c837bd3
2014-06-11 09:17:46 -07:00
Alan Viverette
2c461006b8 am 6bfec2d6: Remove all dialog icons in Settings
* commit '6bfec2d6b197068dd355bd1742179fe3da07136f':
  Remove all dialog icons in Settings
2014-06-11 13:07:58 +00:00