OSDN Git Service
TreeHugger Robot [Thu, 29 Mar 2018 16:55:30 +0000 (16:55 +0000)]
Merge "Check time-spent-in-app intent must come from system app." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 16:45:43 +0000 (16:45 +0000)]
Merge "Disallow_airplane_mode should not disable mobile network." into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 15:41:21 +0000 (15:41 +0000)]
Merge "Settings should use Oxford comma" into pi-dev
yuemingw [Tue, 27 Mar 2018 15:56:24 +0000 (16:56 +0100)]
Disallow_airplane_mode should not disable mobile network.
Found mobile_network_settings preference is dependent on toggle_airplane
preference so once Disallow_airplane_mode is turned on, toggle_airplane
preference will be set disabled, and mobile_network_settings preference
is also set disabled because of the dependence. Can fix this bug moving
the dependance and let MobileNetworkPreferenceController listen to
Settings.Global.AIRPLANE_MODE_ON.
Bug:
76468718
Test: manually but TestDpc
Change-Id: I137938766557d7bc5ae0795bc3359a6bfbae17e3
Beverly [Wed, 28 Mar 2018 20:53:52 +0000 (16:53 -0400)]
Settings should use Oxford comma
Test: manual
Change-Id: Ie4edd64d423ce96ce097e91f9f5a31bb4339774c
Fixes:
77230158
Rubin Xu [Thu, 29 Mar 2018 08:35:46 +0000 (08:35 +0000)]
Merge "Confirm parent user's credential when setting lock for profile" into pi-dev
Jane Chiang [Thu, 29 Mar 2018 03:20:35 +0000 (03:20 +0000)]
Merge "Reduce size of 'GB' and '%' in storage settings." into pi-dev
Jane Chiang [Fri, 23 Mar 2018 06:27:28 +0000 (14:27 +0800)]
Reduce size of 'GB' and '%' in storage settings.
Test: Manual
Fixes:
62548317
Change-Id: I5ff8ff8c463c2718e48bf04731924922bc0ecc9c
TreeHugger Robot [Thu, 29 Mar 2018 02:48:21 +0000 (02:48 +0000)]
Merge changes I236b1124,Iad16b06e into pi-dev
* changes:
Add conformance test for preference controller constructor
Remove duplicate framework classes/robotest compile stub
Andrew Chiang [Thu, 29 Mar 2018 02:44:04 +0000 (02:44 +0000)]
Merge "Update toggle text for Data Saver" into pi-dev
TreeHugger Robot [Thu, 29 Mar 2018 01:23:41 +0000 (01:23 +0000)]
Merge "Fix a NPE when getting ZenMode in RingerMutedCondition." into pi-dev
Fan Zhang [Thu, 29 Mar 2018 01:02:40 +0000 (18:02 -0700)]
Check time-spent-in-app intent must come from system app.
Change-Id: Ie73aacdaf919b336d99a296328c2fbb4f75036b0
Fixes:
74580195
Test: robotests
Scott Nien [Thu, 29 Mar 2018 01:07:46 +0000 (01:07 +0000)]
Merge "Apply entity header effect to storage summary screen" into pi-dev
Fan Zhang [Thu, 29 Mar 2018 00:29:26 +0000 (17:29 -0700)]
Add conformance test for preference controller constructor
BasePreferenceController's constructor must be in a certain format in
order to work with search and slice. This test enforces that.
Change-Id: I236b11248b09ce71f052c449d39e994c84981a06
Fixes:
77216595
Test: robotests
Fan Zhang [Wed, 28 Mar 2018 23:07:55 +0000 (16:07 -0700)]
Remove duplicate framework classes/robotest compile stub
Bug:
76167422
Test: robotests
Change-Id: Iad16b06e54bd7290fd363c3abebdb8c66434c0e2
Dieter Hsu [Thu, 29 Mar 2018 00:13:56 +0000 (00:13 +0000)]
Merge "Support AOD in the Universal Settings API" into pi-dev
Fan Zhang [Wed, 28 Mar 2018 23:26:21 +0000 (16:26 -0700)]
Fix a NPE when getting ZenMode in RingerMutedCondition.
Change-Id: If9a8b6f4a2d5e9b45402240d8e1401cef7dd001c
Fixes:
77217038
Test: robotest
TreeHugger Robot [Wed, 28 Mar 2018 23:02:04 +0000 (23:02 +0000)]
Merge "A18y: Don't double announce 'searching for printers.'" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 22:40:45 +0000 (22:40 +0000)]
Merge "Remove duplicate classes from test/robotests" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 22:24:30 +0000 (22:24 +0000)]
Merge "Move IMS registration state to SIM status screen" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 21:05:15 +0000 (21:05 +0000)]
Merge "Fix incorrect GMT offset in display" into pi-dev
Philip P. Moltmann [Wed, 28 Mar 2018 18:03:30 +0000 (11:03 -0700)]
A18y: Don't double announce 'searching for printers.'
Change-Id: I0c0f904aae8345e725a34d38ecf1eb45c3c11670
Fixes:
67323891
Test: Navigated to screen with talkback
TreeHugger Robot [Wed, 28 Mar 2018 20:12:46 +0000 (20:12 +0000)]
Merge "Entity header: When screen scrolls, there should be shadow under the header." into pi-dev
Doris Ling [Tue, 27 Mar 2018 22:22:42 +0000 (15:22 -0700)]
Move IMS registration state to SIM status screen
Manually merge change I3aff03ebdc9dc165db66c5007a2fa987ab8cd822 due
to merge conflicts.
To show IMS registration state for each SIM, move the preference of
IMS registration state from Status screen to SIM Status screen.
Fixes:
66063299
Test: manual - Checked that the IMS registration state is displayed on
the SIM Status screen.
Test: make RunSettingsRoboTests
Change-Id: Ic0713c357085d94b59605c1b924e7b56a362e256
TreeHugger Robot [Wed, 28 Mar 2018 19:41:24 +0000 (19:41 +0000)]
Merge "Revert "Ignore broken test to unblock TreeHugger"" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 19:31:51 +0000 (19:31 +0000)]
Merge "Fix battery saver setting default state" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 18:58:00 +0000 (18:58 +0000)]
Merge "Get anomaly info from StringArrayList" into pi-dev
Victor Chang [Wed, 28 Mar 2018 18:50:06 +0000 (19:50 +0100)]
Fix incorrect GMT offset in display
- android.icu.impl.TimeZoneAdapter doesn't fully implement
java.util.TimeZone, e.g. does not override getOffset(long date).
TimeZoneAdapter isn't a public API in ICU/Android. It shouldn't be
used in the first place
Bug:
77223510
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Change-Id: Ic0d7794326948796dcc5cc0b268ef634a74803c4
Jan Nordqvist [Fri, 23 Mar 2018 22:45:17 +0000 (15:45 -0700)]
Entity header: When screen scrolls, there should be shadow under the header.
Bug:
70950124
Test: manual
Test: make RunSettingsRoboTests
Change-Id: I5c1d9f463a57d48e258d67602fc4d1fbbdfaad60
TreeHugger Robot [Wed, 28 Mar 2018 17:49:36 +0000 (17:49 +0000)]
Merge "Add a header view to show the country in RegionZonePicker" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 17:38:34 +0000 (17:38 +0000)]
Merge "Move BT, NFC out of Conntection pref" into pi-dev
Makoto Onuki [Tue, 27 Mar 2018 20:14:40 +0000 (13:14 -0700)]
Fix battery saver setting default state
- Battery saver is off by default.
Test: manual test with: settings delete global low_power && settings delete global low_power_trigger_level
Test: b ROBOTEST_FILTER=BatterySaver RunSettingsRoboTests
Bug:
76460719
Change-Id: I749bba9a5e36fe8ccee6e4ed843596bc94d96fcc
Fix:
76460719
TreeHugger Robot [Wed, 28 Mar 2018 17:22:25 +0000 (17:22 +0000)]
Merge "Subtext of "Add device" should only show when BT is off" into pi-dev
Bill Yi [Wed, 28 Mar 2018 17:11:01 +0000 (17:11 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 16:45:45 +0000 (16:45 +0000)]
Merge "Fix tests for time format in settings" into pi-dev
TreeHugger Robot [Wed, 28 Mar 2018 16:36:16 +0000 (16:36 +0000)]
Merge "Fix data usage under Wi-Fi has title "Mobile data usage"" into pi-dev
Fan Zhang [Wed, 28 Mar 2018 15:10:10 +0000 (15:10 +0000)]
Revert "Ignore broken test to unblock TreeHugger"
This reverts commit
54f467f9adea4c1320ceab205194ef659c1ca1f5.
Bug:
77161730
Change-Id: Ib93d0cd75a10a8be94dec4f822359c6c492297ea
Fan Zhang [Wed, 28 Mar 2018 15:06:50 +0000 (15:06 +0000)]
Merge "Fix robotest failure" into pi-dev
Rubin Xu [Wed, 28 Mar 2018 14:14:35 +0000 (15:14 +0100)]
Confirm parent user's credential when setting lock for profile
When a DPC fires ACTION_SET_NEW_PASSWORD to set a work challenge
for an existing work profile with unified challenge, require the
user to confirm exisiting device lock first. This is not only for
increased security, but also a functionality requirement: the
system can only re-derive the current work profile password needed
by the password change after a fresh confirm credential operation.
Test: Add device lock, create work profile, then execute:
adb shell su
1010000 am start --user 10 -a android.app.action.SET_NEW_PASSWORD
Verify the device is prompting for current password.
Bug:
65910682
Change-Id: Ib4b4c88c1551cfff626f707d5f3182160a1ec46c
Artem Iglikov [Wed, 28 Mar 2018 14:52:39 +0000 (15:52 +0100)]
Ignore broken test to unblock TreeHugger
Bug:
77161730
Test: make RunSettingsRoboTests -j
Change-Id: If16368d7cbf899dfacf376f33712f68daf2aebf7
Victor Chang [Tue, 27 Mar 2018 16:34:53 +0000 (17:34 +0100)]
Add a header view to show the country in RegionZonePicker
Extra fixes in this CL
- Minor string update in time zone picker.
Use date_time_search_region string in search bar,
and date_time_set_timezone_title string for lower case "zone".
- Fixed b/
76893139. Remove the unnecessary top padding in RecyclerView.
Create a new layout file time_zone_items_list.xml without the padding.
- Add missing return statement when region ISO code
is invalid in RegionZonePicker#getAllTimeZoneInfos
Bug:
76209571
Bug:
76893139
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Test: Verified that the strings are updated in the UI
Change-Id: I1fb3e2abf80da3cb53cfbc3363bbe46e40a6ac22
Julia Reynolds [Wed, 28 Mar 2018 11:21:51 +0000 (11:21 +0000)]
Merge "Allow app lists to have a toggle" into pi-dev
Jyun LuoLai [Tue, 27 Mar 2018 03:05:56 +0000 (11:05 +0800)]
Subtext of "Add device" should only show when BT is off
Bug:
73960246
Test: Manual test & make RunSettingsRoboTests
Change-Id: I6eb5fbed20a4ffc923faf992bbf0b30a817444a0
Fan Zhang [Wed, 28 Mar 2018 04:40:46 +0000 (21:40 -0700)]
Fix robotest failure
Change-Id: Ic584aab213fa7af8f6f79e10743710be6840c2ee
Fixes:
77161730
Test: robotest
Dieter Hsu [Wed, 21 Mar 2018 10:47:43 +0000 (18:47 +0800)]
Support AOD in the Universal Settings API
Bug:
67997452
Test: make -j RunSettingsRoboTests
Change-Id: I161bc5746573444b284a03de8f5d4d8e510153dc
Fan Zhang [Tue, 27 Mar 2018 22:50:52 +0000 (15:50 -0700)]
Remove duplicate classes from test/robotests
Robolectric now compiles against framework source, the duplicate classes
are no longer necessary
Bug:
76167422
Test: rerun robotest
Change-Id: Iceea1b53c2bd2feef19b5be344db3e4e3e893459
HJ ChangLiao [Wed, 21 Mar 2018 08:01:31 +0000 (16:01 +0800)]
Move BT, NFC out of Conntection pref
Move BT, NFC preference out of Connection Preference,
To Connected devices page.
Because NFC and Android Beam are controlled by the same controller,
Create each controller for those preference and leave the sharing part.
Change-Id: I8bc303a5f487de9c667487119b49e1e4130aa80c
Fixes:
72458929
Test: manually test, make RunSettingsRoboTests
Scott Nien [Tue, 27 Mar 2018 07:19:44 +0000 (15:19 +0800)]
Apply entity header effect to storage summary screen
use EntityHeaderController.styleActionBar to apply the entity header
effect which will not show shadow under the app bar unless it starts to
scroll.
Bug:
71767969
Test: manual test
Change-Id: Iffd94db956d50b8985cfa5df3886acd3b766fd0c
TreeHugger Robot [Wed, 28 Mar 2018 00:05:32 +0000 (00:05 +0000)]
Merge "Add "device is muted/vibrate, click to turn on" conditions" into pi-dev
Shawn Ding [Mon, 26 Mar 2018 08:59:43 +0000 (16:59 +0800)]
Fix data usage under Wi-Fi has title "Mobile data usage"
Fix "Wi-Fi data usage" in Wi-Fi section. (Settings -> Network & internet -> Data usage)
Change-Id: I6c4117db321af252a2c3061f554ffbe2f87a714e
Fixes:
76165354
Test: Manual test
Lei Yu [Tue, 27 Mar 2018 23:10:54 +0000 (16:10 -0700)]
Get anomaly info from StringArrayList
Statsd populates the anomaly info in StringArrayList, not StringArray. So
in settings we should use the correct API to get the data.
Bug:
77141809
Test: RunSettingsRoboTests
Change-Id: I56fc096106b5c040422fd7f5bb8cb4be7fe71d9d
Julia Reynolds [Mon, 26 Mar 2018 21:02:58 +0000 (17:02 -0400)]
Allow app lists to have a toggle
And make the notifications app list toggle block/unblock
notifications.
Test: make -j RunSettingsRoboTests
Change-Id: I7417b98fb1c66504897df515c4c84afad591764e
Fixes:
74318867
Bill Yi [Tue, 27 Mar 2018 22:26:27 +0000 (15:26 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ie0351c94a04bdafdc0517be7c96dd89a366cfdf6
Vishwath Mohan [Tue, 27 Mar 2018 22:00:06 +0000 (22:00 +0000)]
Merge "Disable pattern fading during the setup flow." into pi-dev
Lei Yu [Thu, 22 Mar 2018 22:01:20 +0000 (15:01 -0700)]
Fix tests for time format in settings
Because now we use different time format across the settings app.
We need to update all the tests.
Bug:
76113036
Test: RunSettingsRoboTests
Change-Id: Id4f7d55775adfdeb1aa0ae234f35d515ced4f450
TreeHugger Robot [Tue, 27 Mar 2018 20:41:16 +0000 (20:41 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev
Fan Zhang [Tue, 27 Mar 2018 00:37:47 +0000 (17:37 -0700)]
Add "device is muted/vibrate, click to turn on" conditions
Bug:
76022431
Test: robotests
Change-Id: I89b71f99fa5ef866028912183ad04b053213bb0d
TreeHugger Robot [Tue, 27 Mar 2018 20:23:23 +0000 (20:23 +0000)]
Merge "Remove the old battery page" into pi-dev
Vishwath Mohan [Fri, 16 Feb 2018 20:22:57 +0000 (12:22 -0800)]
Disable pattern fading during the setup flow.
This CL disables fading the pattern during the pattern setup flow.
Test: The pattern fades everywhere but during the pattern setup flow.
Bug:
72798512
Change-Id: I959270cf39bc35080cce21777f0e168373406a17
Bill Yi [Tue, 27 Mar 2018 18:43:44 +0000 (11:43 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ife3ef6257d8ade3bcc9689171e4365f639c36440
TreeHugger Robot [Tue, 27 Mar 2018 16:01:24 +0000 (16:01 +0000)]
Merge "Add string linter preupload check" into pi-dev
TreeHugger Robot [Tue, 27 Mar 2018 13:10:24 +0000 (13:10 +0000)]
Merge "Show wifi status label in preference summary." into pi-dev
TreeHugger Robot [Tue, 27 Mar 2018 13:04:03 +0000 (13:04 +0000)]
Merge "Add title to What to block page" into pi-dev
HJ ChangLiao [Tue, 27 Mar 2018 09:47:07 +0000 (17:47 +0800)]
Add title to What to block page
Add title to page Sound> Do Not Disturb> What to block
Fixes:
76103812
Test: make RunSettingsRoboTests -j
Change-Id: Iee2679cb94e1447769402d27895b276b8853d97a
Victor Chang [Sat, 24 Mar 2018 18:07:50 +0000 (18:07 +0000)]
Fix crash in time zone picker due to race condition on view updates
- Can't reproduce the race condition with manual test, probably the view
updates are fast enough that only monkey test can reproduce the issue.
- Reproduced a similar stacktrace and IndexOutOfBoundsException with
Robolectric test by assuming that the race condition happens after
text filtering and view updates. Try to fix the bug with this assumption
- The fix is to bind the data (data position in adapter) with ViewHolder.
Bug:
75322108
Test: m RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.datetime.timezone
Change-Id: Ie5d932bce30590b8067e042c3380911c9608872f
TreeHugger Robot [Tue, 27 Mar 2018 08:30:20 +0000 (08:30 +0000)]
Merge "Auto time should show dynamic subtext when restricted." into pi-dev
Wenhung Teng [Tue, 27 Mar 2018 06:13:53 +0000 (06:13 +0000)]
Merge "Fix issue "open battery settings, switch locale, apps are still in old locale" into pi-dev" into pi-dev
Adam Newman [Tue, 27 Mar 2018 05:23:21 +0000 (05:23 +0000)]
Merge "Observe NetworkCallback instead of polling" into pi-dev
Fan Zhang [Tue, 27 Mar 2018 04:34:07 +0000 (21:34 -0700)]
Add string linter preupload check
Bug:
76097999
Test: repo upload
Change-Id: Ieb31c931d73a4325f605963b374ca7a2d568e08c
Fan Zhang [Tue, 27 Mar 2018 04:25:15 +0000 (04:25 +0000)]
Merge "Use custom drawable for Battery saver condition icon." into pi-dev
TreeHugger Robot [Tue, 27 Mar 2018 03:53:27 +0000 (03:53 +0000)]
Merge "Update Bluetooth related string" into pi-dev
TreeHugger Robot [Tue, 27 Mar 2018 03:28:27 +0000 (03:28 +0000)]
Merge "Don't show FP error canceled message" into pi-dev
Jyun LuoLai [Tue, 27 Mar 2018 01:21:05 +0000 (09:21 +0800)]
Update Bluetooth related string
Bug:
73960246
Test: Manual test
Change-Id: Ied2a45648e52a78abe3dc84647694dd68874ba5f
Felka Chang [Tue, 27 Mar 2018 02:08:21 +0000 (02:08 +0000)]
Merge "To update from "Data saver" to "Data Saver"" into pi-dev
Fan Zhang [Mon, 26 Mar 2018 22:31:10 +0000 (15:31 -0700)]
Use custom drawable for Battery saver condition icon.
- Updated condition interface to use Drawable instead of Icon for icons.
- Converted all conditions to return drawable instead of Icon.
- Created a BatterySaverDrawable to draw a static battery saver icon.
Change-Id: Ie964f3439009c7658603a8ff352a05e964a0a795
Fixes:
76168403
Test: robotests
Lei Yu [Mon, 26 Mar 2018 21:31:57 +0000 (14:31 -0700)]
Remove the old battery page
This CL removes PowerUsageSummaryLegacy and PowerUsageAdvancedLegacy
and their related layouts and strigns.
Also remove the isBatteryV2Enabled method in feature provider.
Change-Id: I1ec30f713d733ed24335a3e698fb515751232948
Fixes:
76027338
Test: robo test still pass
Fan Zhang [Mon, 26 Mar 2018 23:55:07 +0000 (23:55 +0000)]
Merge "Add more string for device muted condition" into pi-dev
Fan Zhang [Mon, 26 Mar 2018 22:52:22 +0000 (15:52 -0700)]
Add more string for device muted condition
Bug:
76022431
Test: build
Change-Id: Ib3801b2ecd18d094e4431aeb89d711a6c9e62689
TreeHugger Robot [Mon, 26 Mar 2018 21:50:14 +0000 (21:50 +0000)]
Merge "Fix text overlap issue when flinging in ManageApplication" into pi-dev
Lei Yu [Mon, 26 Mar 2018 21:41:11 +0000 (21:41 +0000)]
Merge "Use FIELD_ANOMALY_TYPE for anomalyType" into pi-dev
yuemingw [Mon, 26 Mar 2018 13:18:10 +0000 (14:18 +0100)]
Auto time should show dynamic subtext when restricted.
Auto time preference should show dynamic subtext corresponding to
the current status of auto time when it's restricted, instead of
hard code "enabled by admin", as it could either be enabled or disabled
when disallow_config_date_time is set.
Bug:
73811933
Test: manually by TestDPC
Change-Id: Ia7181e8a67ccfe72117f95133e9081375c121fe3
Kevin Chyn [Mon, 26 Mar 2018 19:38:21 +0000 (12:38 -0700)]
Don't show FP error canceled message
Test: manual test of SUW, error message doesn't show up when
confirm credentials is complete
Change-Id: Ie0750629dcd5bb5d84df08c75e9c83384c299073
Fixes:
76400618
Amin Shaikh [Wed, 21 Mar 2018 19:08:54 +0000 (15:08 -0400)]
Show wifi status label in preference summary.
Bug:
74075761
Test: m RunSettingsRoboTests && manual
Change-Id: I286fac5d9390634facc0f04b845ef668c55d1331
TreeHugger Robot [Mon, 26 Mar 2018 18:34:31 +0000 (18:34 +0000)]
Merge "Remove account should show policy transparency dialog when DISALLOW_MODIFY_ACCOUNTS is set." into pi-dev
Fan Zhang [Sat, 24 Mar 2018 00:03:38 +0000 (17:03 -0700)]
Fix text overlap issue when flinging in ManageApplication
The issue is we have a background handler to find app size and set to
summary asynchronously. When flinging quickly, the view being request to
update by the background handler could be scrolled off screen already.
This change forces onPackageSizeChanged update to only happen when it's
not scrolling.
Change-Id: Ia7ccab776c3c789c8d4c0b55104b48e257b9cebf
Fixes:
76176014
Test: manually fling
Lei Yu [Mon, 26 Mar 2018 18:26:43 +0000 (11:26 -0700)]
Use FIELD_ANOMALY_TYPE for anomalyType
Change-Id: I36d5d806f45df4153cdba3e398fa72ab89e5e082
Fixes:
76424026
Test: RunSettingsRoboTests
TreeHugger Robot [Mon, 26 Mar 2018 18:06:04 +0000 (18:06 +0000)]
Merge "Block simple numeric passwords in ChooseLockPassword" into pi-dev
yuemingw [Mon, 12 Mar 2018 16:38:50 +0000 (16:38 +0000)]
Remove account should show policy transparency dialog when DISALLOW_MODIFY_ACCOUNTS
is set.
createAdminIntentSupport always checks user restrictions on user 0(
if called from system uid) so can't be used here when account could
be work profile account.
Bug:
70674230
Test: m -j RunSettingsRobotests
Change-Id: Ibd2df8891d9fa7b4c85c42a305c5db2acd4c829b
Julia Reynolds [Wed, 21 Mar 2018 20:10:20 +0000 (16:10 -0400)]
Update recently sent preferences
Test: make -j RunSettingsRoboTests
Bug:
74318867
Fixes:
73004227
Change-Id: Icecf1d4f0e3dd38c96919874a7f614ed93a001ab
Rubin Xu [Thu, 25 Jan 2018 21:12:57 +0000 (21:12 +0000)]
Block simple numeric passwords in ChooseLockPassword
Fix the previously-missing case where the user elects to set
a password (instead of PIN), but still sets a numeric password
that contains repeated sequence which should be blocked by admin
policy.
Bug:
72039850
Test: Set NUMERIC_COMPLEX password quality, then attempt to
enroll a repeating numeric PIN as lockscreen *password*
Change-Id: I7c7525716b37a5330147b899b80026ca71c3ce0c
Adam Newman [Tue, 20 Mar 2018 04:09:52 +0000 (21:09 -0700)]
Observe NetworkCallback instead of polling
Switch from polling for the first connected WiFi network to observing
the currently connected WiFi network and associating that with the
preference at the time the preference is created or updated.
Whenever the ConnectedAccessPointPreference is removed or UI is stopped
unregister the callback.
Bug:
68031656
Test: make RunSettingsRoboTests
Change-Id: I5d1ed83b6a13e8a83fae04bfdce8d0f13c2ba0ac
Benjamin Franz [Mon, 26 Mar 2018 09:15:41 +0000 (09:15 +0000)]
Merge "Do not allow force stopping protected packages" into pi-dev
Andrew Chiang [Thu, 22 Mar 2018 06:33:17 +0000 (14:33 +0800)]
Update toggle text for Data Saver
Update Data Saver toggle to say "Use Data Saver" instead of "On"/"Off"
Bug:
75983536
Test: Robotest, manual test and atest DataSaverSummaryUITest
Change-Id: Icf690638570278fb869515931943ac486adbfc7c
WenHung_Teng [Thu, 22 Mar 2018 08:23:21 +0000 (16:23 +0800)]
Fix issue "open battery settings, switch locale, apps are still in old locale" into pi-dev
Clear uid to package detail cache by checking locale before use.
Fixes:
62422871
Test: RunSettingsRoboTest pass,
manual test
(1) open advance battery settings page,
(2) switch locale,
(3) back to advance battery settings page => pass
manual test
(1) open advance battery settings page, and then back to settings main page
(2) switch locale,
(3) go to advance battery settings page => pass
Change-Id: Ifac830706539022cd9bf51d3f33e728aadc163f4
felkachang [Thu, 22 Mar 2018 06:42:55 +0000 (14:42 +0800)]
To update from "Data saver" to "Data Saver"
To change data_saver_title res string from "Data saver" to "Data Saver".
There are 2 places to change and most of them are belong to en locale
charactors.
res/values/strings.xml
To change XML To "Help URL, Data saver" to "Help URL, Data Saver"
because there is already one XML comment "Data Saver mode is on".
To change data_saver_title to be "Data Saver" because
condition_bg_data_title use "Data Saver".
Bug:
75983079
Test: make -j SettingsRoboTests RunSettingsRoboTests
Change-Id: I4ef88c962d6388c38841d47e4dc9674e8a4bb793
Jeff Sharkey [Sun, 25 Mar 2018 08:49:58 +0000 (08:49 +0000)]
Merge "Add UX string tweaks before string freeze." into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 07:04:47 +0000 (07:04 +0000)]
Merge "Return back-up slices for unavailable settings" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 05:46:35 +0000 (05:46 +0000)]
Merge "Separate skip and clear button in pattern screen" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 05:30:28 +0000 (05:30 +0000)]
Merge "Add toggle title for Data Saver" into pi-dev
TreeHugger Robot [Sat, 24 Mar 2018 05:24:09 +0000 (05:24 +0000)]
Merge "Add callback when tethering fails" into pi-dev