OSDN Git Service
Doris Ling [Thu, 23 Mar 2017 19:07:16 +0000 (12:07 -0700)]
Update string for Connected devices page.
- update Bluetooth summary text "Connected to" and "Not connected"
- update USB summary text "Charging" and "Supplying"
- update Printing summary to "... on" or "off
Change-Id: I39a809b560a5c6cc6a0e217315dfabb2c4d1a129
Fix:
36234108
Test: builds
TreeHugger Robot [Thu, 23 Mar 2017 18:31:21 +0000 (18:31 +0000)]
Merge "Update final Wi-Fi strings."
Ajay Panicker [Thu, 23 Mar 2017 18:08:44 +0000 (18:08 +0000)]
Merge "AVRCP version interop pereference (2/3)" am:
db66a7b664 am:
da582fa40d
am:
0ae97550ee -s ours
Change-Id: Ibe4bc0f1bc067d2fb7560e2b03e09e1dea8c70ee
Ajay Panicker [Thu, 23 Mar 2017 18:03:57 +0000 (18:03 +0000)]
Merge "AVRCP version interop pereference (2/3)" am:
db66a7b664
am:
da582fa40d
Change-Id: I79cb69494d6d3860494f4fa36f44095e1d2c6c6f
Ajay Panicker [Thu, 23 Mar 2017 17:56:28 +0000 (17:56 +0000)]
Merge "AVRCP version interop pereference (2/3)"
am:
db66a7b664
Change-Id: Ia70a81c027d2e81b01f279c2816de41ef915c0f8
Treehugger Robot [Thu, 23 Mar 2017 17:49:56 +0000 (17:49 +0000)]
Merge "AVRCP version interop pereference (2/3)"
TreeHugger Robot [Thu, 23 Mar 2017 17:16:19 +0000 (17:16 +0000)]
Merge "Update print setting summary to show number of services"
TreeHugger Robot [Thu, 23 Mar 2017 16:51:06 +0000 (16:51 +0000)]
Merge "Update string for Do not disturb preference."
TreeHugger Robot [Thu, 23 Mar 2017 16:02:01 +0000 (16:02 +0000)]
Merge "Move "scanning" from location setting actionbar to pref xml"
TreeHugger Robot [Thu, 23 Mar 2017 15:31:44 +0000 (15:31 +0000)]
Merge "Import translations. DO NOT MERGE"
Rubin Xu [Thu, 23 Mar 2017 14:04:08 +0000 (14:04 +0000)]
Merge "Adjust text during work challenge unification"
TreeHugger Robot [Thu, 23 Mar 2017 13:55:59 +0000 (13:55 +0000)]
Merge "New iteration of the Text-to-Speech settings."
Bill Yi [Thu, 23 Mar 2017 13:27:40 +0000 (06:27 -0700)]
Import translations. DO NOT MERGE
Change-Id: Id7690c22731b76968d733207154ce3554ce73527
Auto-generated-cl: translation import
Rubin Xu [Thu, 23 Mar 2017 09:44:58 +0000 (09:44 +0000)]
Adjust text during work challenge unification
Bug:
32205706
Test: Create work profile; untick "use one lock"; retick "use one lock"; observe new string
Change-Id: I3933ac8067e95e434478da9ecc1a419d24661e26
Charles He [Thu, 23 Mar 2017 08:49:46 +0000 (08:49 +0000)]
Merge "VPN settings: gray out always-on checkbox dynamically"
TreeHugger Robot [Thu, 23 Mar 2017 05:09:49 +0000 (05:09 +0000)]
Merge "Add double-tap & lift gestures to display settings"
TreeHugger Robot [Thu, 23 Mar 2017 03:03:48 +0000 (03:03 +0000)]
Merge "Add default value to Bluetooth AVRCP version property get"
Amin Shaikh [Thu, 23 Mar 2017 02:46:09 +0000 (19:46 -0700)]
Update final Wi-Fi strings.
Note that this is simply a string checkin. Additional work is needed to
use some of these strings.
Bug:
36449837
Bug:
36532777
Bug:
35993748
Test: make RunSettingsRoboTests
Change-Id: Ica24c2e9a58cc7b190bec8b7c6a0c5463849aaa1
Fan Zhang [Thu, 23 Mar 2017 00:43:20 +0000 (17:43 -0700)]
Update print setting summary to show number of services
-Also some minor cleanup in print setting fragment (create pref using
correct context)
Change-Id: Ic05027ee53fd318da6ccd38c9ed98ce10ca49ba8
Fix:
36234108
Test: make RunSettingsRoboTests
TreeHugger Robot [Thu, 23 Mar 2017 01:26:47 +0000 (01:26 +0000)]
Merge changes from topic 'two_target_preference'
* changes:
Update string character limit
Convert BT preference to use TwoTargetPreference
Refactor the layout for MasterSwitch to a 2 target pref
Andrew Sapperstein [Thu, 23 Mar 2017 01:00:47 +0000 (18:00 -0700)]
Add double-tap & lift gestures to display settings
Now they're in both languages & input and display.
Change-Id: Ib0d9fa1aa39656662307e2fc8fda70443f1ae8ed
Fixes:
36415612
Test: robotests
Ajay Panicker [Thu, 23 Mar 2017 00:43:51 +0000 (17:43 -0700)]
Add default value to Bluetooth AVRCP version property get
When the property isn't set a crash can occur since we try to look up an
empty property value.
Bug:
36531010
Test: Open Developer options after a factory reset
Change-Id: I82c0fde00774ab1a4f3e4c44a715c74d4a7804e9
Sanket Padawe [Thu, 23 Mar 2017 01:07:13 +0000 (01:07 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." am:
bd9ce2e4b1 am:
f54df6ccfb
am:
5642aa4ae8 -s ours
Change-Id: Ida22695c5e2d9e7db21a71821d6b7efb4ceeb4e3
Sanket Padawe [Thu, 23 Mar 2017 00:58:29 +0000 (00:58 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'." am:
bd9ce2e4b1
am:
f54df6ccfb
Change-Id: I317f715ee814ee1511e67cc57e11ea43af9a2a4c
Sanket Padawe [Thu, 23 Mar 2017 00:45:56 +0000 (00:45 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
am:
bd9ce2e4b1
Change-Id: I361f7c1747ab1f16cce149d78cc219f83a16948c
TreeHugger Robot [Thu, 23 Mar 2017 00:21:05 +0000 (00:21 +0000)]
Merge "Add summary text for wallpaper settings."
Fan Zhang [Wed, 22 Mar 2017 23:38:57 +0000 (16:38 -0700)]
Move "scanning" from location setting actionbar to pref xml
This fixes the breadcrumb for scanning settings when you search "scan".
- Also did some minor cleanup in LocationSettings (creating preference
using the correct context)
Change-Id: I8efc62246f2e18b2bd4b5eb411b40f24e36b0f2a
Fix:
36529569
Test: manual
Doris Ling [Wed, 22 Mar 2017 21:45:43 +0000 (14:45 -0700)]
Update string for Do not disturb preference.
Bug:
34975939
Test: builds
Change-Id: I4567b9133deae1c52741d6f0d48d95be642bf2d2
TreeHugger Robot [Wed, 22 Mar 2017 23:34:23 +0000 (23:34 +0000)]
Merge "Update summary text for Wi-Fi hotspot"
TreeHugger Robot [Wed, 22 Mar 2017 23:16:05 +0000 (23:16 +0000)]
Merge "Add test config to SettingsUnitTests"
Fan Zhang [Wed, 22 Mar 2017 23:11:59 +0000 (16:11 -0700)]
Update string character limit
Change-Id: I6e31a7ca637c37d9bd3a99a078b62cba3d5a7b54
Fix:
36400209
Test: manual
Fan Zhang [Wed, 22 Mar 2017 22:14:47 +0000 (15:14 -0700)]
Convert BT preference to use TwoTargetPreference
Change-Id: I0b49af4afb4b782a6057060b2666f6528bc003b2
Fix:
36511169
Test: make RunSettingsRoboTests
Fan Zhang [Wed, 22 Mar 2017 18:43:22 +0000 (11:43 -0700)]
Refactor the layout for MasterSwitch to a 2 target pref
And move the layout to settingslib.
The new TwoTargetPreference is a preference object that has a vertical
divider between main panel and widget (if it exists).
Converted master switch, restricted preference, gear preference to use
the new style
Change-Id: Ia3848cebb06b8edc4e60abf9b0caf13cdb29c22c
Fix:
36511169
Test: make RunSettingsRoboTests
Doris Ling [Wed, 22 Mar 2017 22:04:07 +0000 (15:04 -0700)]
Add summary text for wallpaper settings.
Bug:
34975969
Test: builds
Change-Id: If6e24aa45590b70aab16effec322cf7100cffb09
Doris Ling [Wed, 22 Mar 2017 21:56:41 +0000 (14:56 -0700)]
Update summary text for Wi-Fi hotspot
Bug:
36296257
Test: builds
Change-Id: Ib8d363ec23528bd2520509f6cefc5f49848cd3d5
Lei Yu [Wed, 22 Mar 2017 21:48:01 +0000 (21:48 +0000)]
Merge "Remove the hardcoded color in main page"
Sanket Padawe [Wed, 22 Mar 2017 21:27:21 +0000 (21:27 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
TreeHugger Robot [Wed, 22 Mar 2017 20:59:23 +0000 (20:59 +0000)]
Merge "Use fragment context in AppHeaderController"
TreeHugger Robot [Wed, 22 Mar 2017 20:37:44 +0000 (20:37 +0000)]
Merge "AVRCP version interop pereference (2/3)"
Charles He [Mon, 20 Mar 2017 14:00:06 +0000 (14:00 +0000)]
VPN settings: gray out always-on checkbox dynamically
In the ConfigDialog for legacy VPNs, many configurations do not support
Always-on VPN. Previously, when a user entered an unsupported set of
settings, the Always-on VPN checkbox could still be ticked, and the
Save or Connect action buttons would be disabled. This was not intuitive
as the user could not easily figure out which part of the settings was
incompatible that grayed out the action buttons.
With this change, we disable the Always-on VPN checkbox immediately as
the user enters any incompatible setting. We also display the reason why
Always-on VPN is disabled. This will make it more straightforward for
the users to understand which setting is conflicting with the Always-on
feature.
This change is also the first step towards refactoring the ConfigDialog
for legacy VPNs with PreferenceFragment.
Test: manual
Bug:
29208008
Bug:
28072644
Change-Id: I1e6d32a1069ca0b936513f4985ffb9a9412b249c
Daniel Nishi [Wed, 22 Mar 2017 20:26:12 +0000 (20:26 +0000)]
Merge "Standardize MasterSwitchPreference attr order."
jackqdyulei [Wed, 22 Mar 2017 01:30:21 +0000 (18:30 -0700)]
Use fragment context in AppHeaderController
The application context doesn't have the correct theme, use
fragment context instead
Fix:
36489386
Fix:
36516826
Test: RunSettingsRoboTests & Screenshot
Change-Id: I8285584220796264d85ea570df5b1df6ebeb275f
Dan Shi [Wed, 22 Mar 2017 19:07:08 +0000 (12:07 -0700)]
Add test config to SettingsUnitTests
Details about test configs changes are tracked in doc
https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit#
Bug:
35882476
Test: local test
Change-Id: Ie9fdc4717a71cb0f472b004b704acf3c4f770267
Ajay Panicker [Mon, 20 Mar 2017 18:34:54 +0000 (11:34 -0700)]
AVRCP version interop pereference (2/3)
Add a mechanism to allow the user to select the AVRCP version broadcasted
through SDP in the developer options. This helps solve some interoperability
issues such as with Honda Carkits where broadcasting AVRCP version 1.6 causes
media metadata to fail.
Bug:
35956792
Test: Select AVRCP version through developer option
Merged-In: I7d4b1bd23342d1a96ffdf08bb7d6d3c5e5fedca6
Change-Id: I7d4b1bd23342d1a96ffdf08bb7d6d3c5e5fedca6
jackqdyulei [Wed, 22 Mar 2017 17:52:29 +0000 (10:52 -0700)]
Remove the hardcoded color in main page
Since we don't have grey background in settings page, we could
delete selectable_card and use default selectableItemBackground
instead.
Fix:
28129641
Fix:
36508801
Test: Screenshot
Change-Id: I2b61d8f2214df681a0db7f697fcc6a87dc7d78cb
TreeHugger Robot [Wed, 22 Mar 2017 18:34:55 +0000 (18:34 +0000)]
Merge "Fix a monkey crash when it dismisses suggestion."
Ajay Panicker [Mon, 20 Mar 2017 18:34:54 +0000 (11:34 -0700)]
AVRCP version interop pereference (2/3)
Add a mechanism to allow the user to select the AVRCP version broadcasted
through SDP in the developer options. This helps solve some interoperability
issues such as with Honda Carkits where broadcasting AVRCP version 1.6 causes
media metadata to fail.
Bug:
35956792
Test: Select AVRCP version through developer option
Change-Id: I7d4b1bd23342d1a96ffdf08bb7d6d3c5e5fedca6
Matthew Fritze [Wed, 22 Mar 2017 17:32:18 +0000 (17:32 +0000)]
Merge "Rename remaining layouts to original search names"
Doris Ling [Wed, 22 Mar 2017 17:22:27 +0000 (17:22 +0000)]
Merge "Update preference text for Network & internet screen."
Fan Zhang [Wed, 22 Mar 2017 16:40:06 +0000 (09:40 -0700)]
Fix a monkey crash when it dismisses suggestion.
Change-Id: I300a49ed75381795b6532388f770847ed39a4c8c
Fix:
36509330
Test: make RunSettingsRoboTests
Lei Yu [Wed, 22 Mar 2017 16:49:20 +0000 (16:49 +0000)]
Merge "Make percentage add up to dischargeAmount."
Lei Yu [Wed, 22 Mar 2017 16:48:31 +0000 (16:48 +0000)]
Merge "Use the same icon for battery"
Matthew Fritze [Wed, 22 Mar 2017 16:02:01 +0000 (09:02 -0700)]
Rename remaining layouts to original search names
Change-Id: Ibb0aa087e797c3e7ae93556cf4a00d9746694532
Fixes:
32590887
Test: make RunSettingsGoogleRoboTests
TreeHugger Robot [Wed, 22 Mar 2017 14:03:56 +0000 (14:03 +0000)]
Merge "Show channel description."
Doris Ling [Tue, 21 Mar 2017 21:40:43 +0000 (14:40 -0700)]
Update preference text for Network & internet screen.
- Add footer info to Hotspot & tethering
- Add summary text for Data usage -> Network restrictions
- Update summary for Hotspot & tethering -> Portable Wi-Fi hotspot
- Remove quotes from Wi-Fi summary
Bug:
36296257
Test: make RunSettingsRoboTests
Change-Id: Ibab61b089521a3339e660e9df0db0cd1b316712b
Fan Zhang [Wed, 22 Mar 2017 00:26:59 +0000 (17:26 -0700)]
Move autofill app picker from advanced app to language page
Change-Id: I38979e17e51bda92179ca5b7ba4293677aa18a96
Fix:
36130404
Test: make RunSettingsRoboTests
Fan Zhang [Tue, 21 Mar 2017 22:15:27 +0000 (15:15 -0700)]
Update system setting page subtext
- Move android version from about phone subtext to system update
- Updates strings for autofill, keyboard & input, factory reset, swipe
for notification
- Add a new pref category for spell checker and personal dictionary
- Display "None" if any default app is not selected
- Display current keyboard type as language subtext
Bug:
36395109
Test: make RunSettingsRoboTests
Change-Id: Id6ca94ea31e55f1c1ec04e47dcf657a25c35c7fe
jackqdyulei [Tue, 21 Mar 2017 23:56:41 +0000 (16:56 -0700)]
Use the same icon for battery
Before this cl, we use different battery icon in the following place:
1. half battery icon in settings page 1
2. full battery icon in settings shortcut(Long press app settings)
This cl refines them to use the same battery icon: full battery icon.
Bug:
36467034
Test: Screenshot
Change-Id: Ibec92ad057a47e6cc7763a4bc6e1e1c16c6288c0
TreeHugger Robot [Tue, 21 Mar 2017 23:47:30 +0000 (23:47 +0000)]
Merge "Misc search summary text updates."
TreeHugger Robot [Tue, 21 Mar 2017 23:44:31 +0000 (23:44 +0000)]
Merge "Update string char limit"
TreeHugger Robot [Tue, 21 Mar 2017 23:04:07 +0000 (23:04 +0000)]
Merge changes I54360698,Ic8a3db21
* changes:
Finish removing N/A DO disclosures from search index
DO Disclosures: Combine personal and work CA cert
Sanket Padawe [Mon, 20 Mar 2017 22:08:07 +0000 (15:08 -0700)]
Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'.
Bug:
35767068
Test: No build failure on update.
Change-Id: Ib7211a9d0c10a717bfd5a7b22b8bea2b3973d12f
Merged-in: Ib7211a9d0c10a717bfd5a7b22b8bea2b3973d12f
TreeHugger Robot [Tue, 21 Mar 2017 22:24:55 +0000 (22:24 +0000)]
Merge "Delete the estimated time in battery usage graph"
jackqdyulei [Tue, 21 Mar 2017 22:18:44 +0000 (15:18 -0700)]
Make percentage add up to dischargeAmount.
Refine it in PowerUsageAdvanced.
Bug:
35960502
Test: RunSettingsRoboTests
Change-Id: I46b06409102334e5e9eed4e540a27315a503f8b0
TreeHugger Robot [Tue, 21 Mar 2017 22:14:42 +0000 (22:14 +0000)]
Merge "Create a way to inject a WifiTracker into WifiSettings."
Fan Zhang [Tue, 21 Mar 2017 22:12:37 +0000 (15:12 -0700)]
Update string char limit
Test: builds
Change-Id: I77f6a9da33380e24c50255848e35bfe56b757ec7
Fix:
36410839
Sanket Padawe [Tue, 21 Mar 2017 22:12:55 +0000 (22:12 +0000)]
Merge "Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'."
TreeHugger Robot [Tue, 21 Mar 2017 22:03:34 +0000 (22:03 +0000)]
Merge "Update activity alias for developer settings activity"
TreeHugger Robot [Tue, 21 Mar 2017 21:57:01 +0000 (21:57 +0000)]
Merge "Fix some animation janks during code start."
Fan Zhang [Tue, 21 Mar 2017 21:13:18 +0000 (14:13 -0700)]
Misc search summary text updates.
- Remove static text from default app summaries.They will be filled
dynamically at runtime, so we don't need the static ones here.
- Remove summaryOn/summaryOff strings from a few fragments. Search
framework does not need them.
Change-Id: I165766073ba70aceead88c3df02d62f3700e4592
Fix:
36474747
Fix:
34573952
Test: run existing tests
Daniel Nishi [Tue, 21 Mar 2017 20:51:00 +0000 (13:51 -0700)]
Standardize MasterSwitchPreference attr order.
Test: Manual
Change-Id: Ib1072af6246696ed9f67922b2114a83ddea7015e
jackqdyulei [Thu, 16 Mar 2017 02:27:31 +0000 (19:27 -0700)]
Delete the estimated time in battery usage graph
Bug:
31012673
Test: RunSettingsRoboTests
Change-Id: Icac85a5fc523b70904e048d17eace30c91fe54ee
Fan Zhang [Tue, 21 Mar 2017 00:32:32 +0000 (17:32 -0700)]
Fix some animation janks during code start.
- Create a summary placeholder for preferences with summary.
- Create a totally empty summary for prefernces without summary.
- For all dynamic prefs that has *no* SummaryLoader, add meta to set
their summary to empty.
- Other dynamic perfs has as initial summary.
By doing this, all dynamic pref's height is fixed and will not change as
we update summaries, thus eliminating jank during cold start in each
page.
Also removed DashboardAlias for notification preference and default apps as a side fix.
Change-Id: Iec98b7ffef4e920bf573b2244ad04124c1c5d154
Fix:
36414481
Test: make RunSettingsRoboTests
TreeHugger Robot [Tue, 21 Mar 2017 19:37:53 +0000 (19:37 +0000)]
Merge "Update strings"
Fan Zhang [Tue, 21 Mar 2017 19:31:31 +0000 (12:31 -0700)]
Update activity alias for developer settings activity
Fix:
36432817
Test: rerun abvt test adb shell am instrument -w -e class
com.android.androidbvt.SysBugReportTests
com.android.androidbvt/android.support.test.runner.AndroidJUnitRunner
Change-Id: I6d45448e83fc25ad9cc77aa0edd979add56e28cf
Sanket Padawe [Mon, 20 Mar 2017 22:08:07 +0000 (15:08 -0700)]
Update SubscriptionManager API by replacing 'id' & 'idx' with 'index'.
Bug:
35767068
Test: No build failure on update.
Change-Id: Ib7211a9d0c10a717bfd5a7b22b8bea2b3973d12f
Fan Zhang [Tue, 21 Mar 2017 16:43:15 +0000 (09:43 -0700)]
Update strings
Fix:
36421690
Fix:
36432505
Fix:
36430514
Fix:
36431329
Fix:
36373539
Test: manual
Change-Id: Ia11d5ae340a7d8eef695ebe93d9e7fb50ecc91c0
Bartosz Fabianowski [Mon, 20 Mar 2017 14:27:28 +0000 (15:27 +0100)]
Finish removing N/A DO disclosures from search index
DO disclosures referring to actions that the admin did not actually
take are hidden in the UI, but still show up in the search index. This
CL switches the remaining PreferenceControllers from setting visibility
to implementing isAvailable() instead.
Bug:
32692748
Test: m RunSettingsRoboTests
Change-Id: I54360698f28b549b18cdc230e3b9087cf4e9ff4a
Bartosz Fabianowski [Tue, 21 Mar 2017 12:57:27 +0000 (13:57 +0100)]
DO Disclosures: Combine personal and work CA cert
It was decided that rather than having two separate items for CA certs
in the personal and work spaces, we should have just one item that
lists the sum of installed certs.
Bug:
32692748
Test: m RunSettingsRoboTests
Change-Id: Ic8a3db214a07992e3970262c2ce91f3df8a87773
Bartosz Fabianowski [Mon, 20 Mar 2017 18:10:02 +0000 (19:10 +0100)]
Remove "Device administration" heading
This heading was meant to go away in the new IA.
Bug:
32692748
Test: m RunSettingsRoboTests
Change-Id: I842673b01f62c2eb5eb51837d2c3d92829ac0ca0
Niels Egberts [Mon, 20 Mar 2017 19:57:17 +0000 (19:57 +0000)]
New iteration of the Text-to-Speech settings.
- Moves speech rate and pitch back to first page.
- Voice selection is now expected to happen in Engine settings
- Play/reset buttons are now actual buttons.
Test: mmma packages/apps/Settings
Change-Id: I917298473ec473e11eccededee1cb948b0afe911
Bartosz Fabianowski [Tue, 21 Mar 2017 10:19:38 +0000 (11:19 +0100)]
Finalize strings for enterprise privacy
A few more final string tweaks for the enterprise privacy page.
Bug:
32692748
Test: m RunSettingsRoboTests
Change-Id: Icf91a1188febb303fb1a9e9a5259a06c3b2324da
TreeHugger Robot [Tue, 21 Mar 2017 04:28:16 +0000 (04:28 +0000)]
Merge "Updating strings for unknown sources settings"
TreeHugger Robot [Tue, 21 Mar 2017 03:27:08 +0000 (03:27 +0000)]
Merge "Add progress bar and delay to WifiSettings refresh."
Suprabh Shukla [Tue, 21 Mar 2017 01:47:30 +0000 (18:47 -0700)]
Updating strings for unknown sources settings
Updated strings and removed some obsolete strings that were no longer
used. Removed unusued instance variable in AppStateInstallAppsBridge
Test: Manual
Bug:
36454399
Change-Id: I858bb388f311fd012527500cf35255d191b4dfb7
Sundeep Ghuman [Tue, 21 Mar 2017 00:11:21 +0000 (17:11 -0700)]
Create a way to inject a WifiTracker into WifiSettings.
Bug: b/
36403696
Test: Preliminary step to enable creation of Espresso tests b/
36403696
Change-Id: I63c49cca0905a9d05964c11b3307ccf1859db7ec
Sundeep Ghuman [Thu, 16 Mar 2017 03:38:02 +0000 (20:38 -0700)]
Add progress bar and delay to WifiSettings refresh.
This change shows the progress bar for 0.3 seconds before AccessPoints are
about to be refreshed and 1.7 afterwards for a total duration of roughly
2 seconds. This indirectly fixes issues with no longer having a refresh button,
indicates ongoing scanning to the user, and should help avoid user errors where
the user clicks on the wrong access point while the list is being updated.
In order to avoid excess UI movement, the progress bar off state is now set
to invisible rather than gone.
Bug: b/
34774783
Test: Currently blocked on refactor, tracked in b/
36403635 and will
start next week.
Change-Id: I2bb6b5b3d4611cdbfd7138c758785601896d05b9
Winson Chung [Tue, 21 Mar 2017 00:28:57 +0000 (00:28 +0000)]
Merge "Update picture-in-picture settings to match mocks."
TreeHugger Robot [Tue, 21 Mar 2017 00:16:37 +0000 (00:16 +0000)]
Merge "Disable development settings when the switch bar turns off."
Daniel Nishi [Mon, 20 Mar 2017 22:54:02 +0000 (22:54 +0000)]
Merge "Re-add the progress bar for storage preferences."
Fan Zhang [Mon, 20 Mar 2017 21:56:09 +0000 (14:56 -0700)]
Disable development settings when the switch bar turns off.
Change-Id: Icc9953c95ed4d131231bb6ba95d60b43092a3833
Fix:
29274149
Test: make RunSettingsRoboTests
Marie Janssen [Mon, 20 Mar 2017 21:56:37 +0000 (21:56 +0000)]
Merge "Bluetooth: stop pairing service correctly" am:
4e32e87e57 am:
b7c50119e5
am:
912c74e02e
Change-Id: Ib822796906d81baad9a4b731a057b7ae14d7a355
Marie Janssen [Mon, 20 Mar 2017 21:49:43 +0000 (21:49 +0000)]
Merge "Bluetooth: stop pairing service correctly" am:
4e32e87e57
am:
b7c50119e5
Change-Id: I353995584681bd075491c09ae8db25f4223deda7
Marie Janssen [Mon, 20 Mar 2017 21:45:41 +0000 (21:45 +0000)]
Merge "Bluetooth: stop pairing service correctly"
am:
4e32e87e57
Change-Id: Ied66e2bf14771853be46c09b0720c9978d53e3c9
Treehugger Robot [Mon, 20 Mar 2017 21:37:37 +0000 (21:37 +0000)]
Merge "Bluetooth: stop pairing service correctly"
TreeHugger Robot [Mon, 20 Mar 2017 21:02:24 +0000 (21:02 +0000)]
Merge "Revert "Use color accent as background color for app info pages.""
TreeHugger Robot [Mon, 20 Mar 2017 20:44:41 +0000 (20:44 +0000)]
Merge "Update strings"
TreeHugger Robot [Mon, 20 Mar 2017 19:36:43 +0000 (19:36 +0000)]
Merge "Finalize strings for enterprise privacy"
Marie Janssen [Mon, 20 Mar 2017 18:01:19 +0000 (11:01 -0700)]
Bluetooth: stop pairing service correctly
If BluetoothPairingService was stopped and restarted, it would receive
a null intent, and it also would not signal correctly when it needed to
be stopped.
Since restarts can happen, check that we are still bonding when starting.
Also prevent crashes when we might be called with a null intent.
Test: initiate pairing remotely, adb am kill service, notice no crash
Bug:
36130262
Change-Id: I408811935fdb36591826f4481d103cf4799db27e
Fan Zhang [Mon, 20 Mar 2017 19:06:39 +0000 (12:06 -0700)]
Update strings
Change-Id: Ic497a0a8511e375541da3b2d38e2f2d2b1b94c49
Fix:
27748242
Test: make RunSettingsRoboTests