OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoFix issues in BT detail header
jackqdyulei [Fri, 22 Feb 2019 20:42:07 +0000 (12:42 -0800)]
Fix issues in BT detail header

1. Update isAvailable() in controller
2. Update method to get fast pair icon

Bug: 124455912
Test: RunSettingsRoboTests
Change-Id: I24a04c8c91d74e9b8b7e8746ad6279fafa37f0a9

5 years agoUpdate advanced bt header
jackqdyulei [Thu, 14 Feb 2019 23:56:52 +0000 (15:56 -0800)]
Update advanced bt header

1. Add callback to listen to device update
2. Add charging support for bt battery icon
3. When disconnected, only show main icon

Follow CL will update battery icon to show exclamation when it is
low.

Bug: 124455912
Test: RunSettingsRoboTests
Change-Id: I03fb3bf4c4b77711e14b1f2f53733771b525fe4b

5 years agoMerge "Migrate emegency default app to role manager."
Hongming Jin [Thu, 21 Feb 2019 20:37:53 +0000 (20:37 +0000)]
Merge "Migrate emegency default app to role manager."

5 years agoMerge "Fix test cases for Privacy package"
TreeHugger Robot [Thu, 21 Feb 2019 19:31:32 +0000 (19:31 +0000)]
Merge "Fix test cases for Privacy package"

5 years agoMerge "Dynamically return the uri of WifiSlice."
TreeHugger Robot [Thu, 21 Feb 2019 18:55:40 +0000 (18:55 +0000)]
Merge "Dynamically return the uri of WifiSlice."

5 years agoMerge "developer-options: avoid oem-unlock preference controller crash"
TreeHugger Robot [Thu, 21 Feb 2019 18:00:23 +0000 (18:00 +0000)]
Merge "developer-options: avoid oem-unlock preference controller crash"

5 years agoMerge "Enlarge the touch area of the avatar"
TreeHugger Robot [Thu, 21 Feb 2019 17:38:15 +0000 (17:38 +0000)]
Merge "Enlarge the touch area of the avatar"

5 years agoMerge "Fix Talkback issue"
TreeHugger Robot [Thu, 21 Feb 2019 17:23:35 +0000 (17:23 +0000)]
Merge "Fix Talkback issue"

5 years agodeveloper-options: avoid oem-unlock preference controller crash
bohu [Thu, 14 Feb 2019 16:23:25 +0000 (08:23 -0800)]
developer-options: avoid oem-unlock preference controller crash

If there is no FEATURE_TELEPHONY_CARRIERLOCK.

BUG: 123583878

Test: lunch sdk_phone_x86-eng
make -j
emulator
the Settings->System->Developer options should not crash

Test:
make RunSettingsRoboTests ROBOTEST_FILTER=OemUnlockPreferenceControllerTest
should all pass (12 tests: 11 existing and 1 new)

Change-Id: I18c08c1ff1a7860616b0081ede4eb19dcfa8814b

5 years agoMerge changes from topic "homepage_latency"
TreeHugger Robot [Thu, 21 Feb 2019 10:10:39 +0000 (10:10 +0000)]
Merge changes from topic "homepage_latency"

* changes:
  Make slices precheck executes in parallel.
  Use a better way to bind slice for slice precheck.

5 years agoFix Talkback issue
Raff Tsai [Thu, 21 Feb 2019 09:24:15 +0000 (17:24 +0800)]
Fix Talkback issue

It is a button without text. Talkback will focus on this item.
We hide this item from layout so that Talkback will not find it.

Fixes: 125065965
Test: Test it with Talkback
Change-Id: I143c02b13b9f888fa5837dd2c472cf69bd00edcf

5 years agoEnlarge the touch area of the avatar
Sunny Shao [Wed, 20 Feb 2019 10:06:37 +0000 (18:06 +0800)]
Enlarge the touch area of the avatar

Use the padding to enlarge touch area.

Fixes: 124797089
Test: manual
Change-Id: Ief2296f015f021ca4d7e4cba0ca14ac0eada972b

5 years agoDynamically return the uri of WifiSlice.
Yi-Ling Chuang [Mon, 18 Feb 2019 09:39:05 +0000 (17:39 +0800)]
Dynamically return the uri of WifiSlice.

WifiSlice is used by both ContextualWifiSlice and WifiSlice itself.
In contextual homepage, we provide contextual_wifi slice for the
homepage. So in our slice pre-check, contextual_wifi slice will gets
pinned and bound. But when it comes to the state where wifi is on but
not connected, it actually returns wifi slice instead of contextual_wifi
slice, which will hit slice not pinned exception as wifi slice never
gets pinned.

Thus, we have to dynamically return the corresponding uri to  avoid this.

Fixes: 124627340
Test: robotests
Change-Id: I54ba255871628bb8eb814442f990a5d1149461e0

5 years agoMerge "Fix preferences ordering issue in AccountSyncSettings"
Yanting Yang [Thu, 21 Feb 2019 07:36:53 +0000 (07:36 +0000)]
Merge "Fix preferences ordering issue in AccountSyncSettings"

5 years agoMake slices precheck executes in parallel.
Yi-Ling Chuang [Thu, 14 Feb 2019 13:31:11 +0000 (21:31 +0800)]
Make slices precheck executes in parallel.

Slice binding takes up sometime which may cause latency.
Thus, making it run in parallel instead of sequentially to improve the
performance and avoid hitting the timeout problem.

Bug: 124366297
Fixes: 123668403
Test: robotests, unit tests
Change-Id: I5d9fa4605f59e2acef65aadf6fce85df36d8fff1

5 years agoFix test cases for Privacy package
tmfang [Thu, 21 Feb 2019 06:52:39 +0000 (14:52 +0800)]
Fix test cases for Privacy package

Test: robotest
Fixes: 124970652
Change-Id: I165a1658a4a40499e0b9ec6dd03ada86b9631b06

5 years agoUse a better way to bind slice for slice precheck.
Yi-Ling Chuang [Thu, 14 Feb 2019 12:36:20 +0000 (20:36 +0800)]
Use a better way to bind slice for slice precheck.

Calling Slice.bindSlice() directly will cause the exception stating that
slices are not pinned, which sometimes leads to crash. Hence, change the
way we bind slices which handles pinSlice() for us before onBindSlice().

Bug: 120552892
Test: robotests, unit tests
Change-Id: I3e65c6b79876dbee5db6f19387bc6b675f734161

5 years agoMerge "String change for Permissions Dashboard"
TreeHugger Robot [Thu, 21 Feb 2019 05:35:44 +0000 (05:35 +0000)]
Merge "String change for Permissions Dashboard"

5 years agoMerge "Replace deprecated KeyguardManager API with new BiometricPrompt one"
TreeHugger Robot [Thu, 21 Feb 2019 03:05:02 +0000 (03:05 +0000)]
Merge "Replace deprecated KeyguardManager API with new BiometricPrompt one"

5 years agoString change for Permissions Dashboard
tmfang [Thu, 21 Feb 2019 02:23:05 +0000 (10:23 +0800)]
String change for Permissions Dashboard

Test: visual
Bug: 125018087
Change-Id: I02bd34347eb78531e754295262a1a08b47c6402e

5 years ago[automerger skipped] Merge "Schematize Crypto system properties" am: b837a44716 am...
Kiyoung Kim [Thu, 21 Feb 2019 01:29:45 +0000 (17:29 -0800)]
[automerger skipped] Merge "Schematize Crypto system properties" am: b837a44716 am: a078a02c42
am: 9602f7eb0b -s ours
am skip reason: change_id I65a6ce1a682687702f4c8b5c2e054eaaf91c389b with SHA1 3737da3ae6 is in history

Change-Id: I1bfc2de7781bb2036c68daae22d45b3738c4b30e

5 years agoMerge "Schematize Crypto system properties" am: b837a44716
Kiyoung Kim [Thu, 21 Feb 2019 01:07:08 +0000 (17:07 -0800)]
Merge "Schematize Crypto system properties" am: b837a44716
am: a078a02c42

Change-Id: Ie498a453d85651904d98b0501d895e15cabfb317

5 years agoMerge "Schematize Crypto system properties"
Kiyoung Kim [Thu, 21 Feb 2019 00:34:01 +0000 (16:34 -0800)]
Merge "Schematize Crypto system properties"
am: b837a44716

Change-Id: I55c43d3d1273e2c79ab29c60a714a97d2ca0f264

5 years agoMerge "Schematize Crypto system properties"
Kiyoung Kim [Thu, 21 Feb 2019 00:16:45 +0000 (00:16 +0000)]
Merge "Schematize Crypto system properties"

5 years agoMerge "Update char limit"
Fan Zhang [Wed, 20 Feb 2019 23:10:17 +0000 (23:10 +0000)]
Merge "Update char  limit"

5 years agoUpdate char limit
Fan Zhang [Wed, 20 Feb 2019 23:07:28 +0000 (15:07 -0800)]
Update char  limit

Fixes: 124535061
Test: manual
Change-Id: I17a3c7b93b09f6f6d02ab36df3dd9a16bebd7294

5 years agoMerge "Add event logging for changing SmsDefaultDialog window attr"
TreeHugger Robot [Wed, 20 Feb 2019 22:56:29 +0000 (22:56 +0000)]
Merge "Add event logging for changing SmsDefaultDialog window attr"

5 years agoMerge "Use MATCH_ALL to query available browsers."
TreeHugger Robot [Wed, 20 Feb 2019 21:31:21 +0000 (21:31 +0000)]
Merge "Use MATCH_ALL to query available browsers."

5 years agoAdd event logging for changing SmsDefaultDialog window attr
Fan Zhang [Wed, 20 Feb 2019 21:13:41 +0000 (13:13 -0800)]
Add event logging for changing SmsDefaultDialog window attr

Bug: 120484087
Test: manual
Change-Id: Ia5b00f79f2e54cb40377abb18c1ac07891020ae2

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am...
Xin Li [Wed, 20 Feb 2019 20:16:32 +0000 (12:16 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am: d4716c1a62 -s ours am: 92fc138524 -s ours
am: b637de1cb8 -s ours
am skip reason: subject contains skip directive

Change-Id: I23b85158470a5d10ddb6a559c8f2d2fcd0154de6

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am...
Xin Li [Wed, 20 Feb 2019 19:47:29 +0000 (11:47 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am: d4716c1a62 -s ours
am: 92fc138524 -s ours
am skip reason: subject contains skip directive

Change-Id: I1e1a98a476c0fcda84f8d5c1d245e296b0354708

5 years agoMigrate emegency default app to role manager.
Hongming Jin [Wed, 23 Jan 2019 19:56:18 +0000 (11:56 -0800)]
Migrate emegency default app to role manager.

Bug: 123293861
Test: atest DefaultEmergencyPickerTest
Change-Id: I7bd9e2655b22a35fc3268091d38c6770911d4046

5 years agoUse MATCH_ALL to query available browsers.
Hai Zhang [Wed, 20 Feb 2019 19:23:15 +0000 (11:23 -0800)]
Use MATCH_ALL to query available browsers.

Browser intent resolution has been special for a long time, and we
need to pass MATCH_ALL to get all the candidates, then do manual
filtering later.

Bug: 116216651
Test: manual
Change-Id: I5e9b7b907005f73b7c54c3253c872d85ef7c4863

5 years agoMerge "Add pref for notification swipe direction"
TreeHugger Robot [Wed, 20 Feb 2019 19:06:42 +0000 (19:06 +0000)]
Merge "Add pref for notification swipe direction"

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master"
Xin Li [Wed, 20 Feb 2019 19:06:41 +0000 (11:06 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master"
am: d4716c1a62 -s ours
am skip reason: subject contains skip directive

Change-Id: If29e30a1516d869c647bb9634eb8c1d3b4b9b3f9

5 years ago[automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 9d8c2cc2c6...
Xin Li [Wed, 20 Feb 2019 18:16:18 +0000 (10:16 -0800)]
[automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 9d8c2cc2c6 -s ours am: a99376f647 -s ours
am: 3003b4b39c -s ours
am skip reason: subject contains skip directive

Change-Id: I3d5eeea407f925dbc342ff8c059555c76c05fa86

5 years ago[automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 9d8c2cc2c6...
Xin Li [Wed, 20 Feb 2019 17:29:00 +0000 (09:29 -0800)]
[automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master am: 9d8c2cc2c6 -s ours
am: a99376f647 -s ours
am skip reason: subject contains skip directive

Change-Id: I70f7a0afed0ff3124670ac7da3a5a4d643b07970

5 years ago[automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master
Xin Li [Wed, 20 Feb 2019 16:52:26 +0000 (08:52 -0800)]
[automerger skipped] DO NOT MERGE - Merge PPRL.190205.001 into master
am: 9d8c2cc2c6 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic2e84fd1810cf9eb661c2c4b4b32755821cf17e3

5 years agoMerge "DO NOT MERGE - Merge PPRL.190205.001 into master"
Xin Li [Wed, 20 Feb 2019 16:25:59 +0000 (16:25 +0000)]
Merge "DO NOT MERGE - Merge PPRL.190205.001 into master"

5 years agoAdd pref for notification swipe direction
Julia Reynolds [Wed, 20 Feb 2019 15:33:15 +0000 (10:33 -0500)]
Add pref for notification swipe direction

And move that and other settings under an 'advanced' category

Test: robotests
Fixes: 124099692
Change-Id: I89df276a8bc1cd56ce8530239ca02b2c4b43fa65

5 years agoFix preferences ordering issue in AccountSyncSettings
Yanting Yang [Wed, 20 Feb 2019 12:26:51 +0000 (20:26 +0800)]
Fix preferences ordering issue in AccountSyncSettings

In Pie, it's alphabetical ordering in Accounts > Account sync detail page.
But Q doesn't follow it, intend to keep the same behavior.

Fixes:124382857
Test: visual, robotests
Change-Id: I593a4cc919daa0018d3874d84978e876198aae23

5 years agoMerge changes from topic "Wi-Fi DPP error code handling"
TreeHugger Robot [Wed, 20 Feb 2019 12:45:26 +0000 (12:45 +0000)]
Merge changes from topic "Wi-Fi DPP error code handling"

* changes:
  Fix camera stop forever after error occurs while sharing or adding network
  Handle different error codes in DPP

5 years agoMerge "Update char limit for DND conditional"
TreeHugger Robot [Wed, 20 Feb 2019 10:48:35 +0000 (10:48 +0000)]
Merge "Update char limit for DND conditional"

5 years agoUpdate char limit for DND conditional
Mill Chen [Wed, 20 Feb 2019 08:16:35 +0000 (16:16 +0800)]
Update char limit for DND conditional

Increasing the character limit for the "Phone muted" to 38 in the DND
condition.

Bug: 124784648
Test: rebuild
Change-Id: I46496ee60f6757f477b0d0bbd021c43234f83222

5 years agoFix camera stop forever after error occurs while sharing or adding network
Arc Wang [Fri, 15 Feb 2019 06:21:26 +0000 (14:21 +0800)]
Fix camera stop forever after error occurs while sharing or adding network

Restart QrCamera decoding task after Wi-Fi DPP handshake fail or
Wi-Fi connection fail.

Bug: 124128539
Test: manual test
Change-Id: I6d916ed1378f50038089e2c1e2870915ca083d68

5 years agoHandle different error codes in DPP
Arc Wang [Wed, 13 Feb 2019 12:11:25 +0000 (20:11 +0800)]
Handle different error codes in DPP

Show error message for corresponding Wi-Fi DPP error code. And

1. To update error message only from each fragment,
   remove some callbacks which calls from fragment to activity.
2. After clicking 'Share Wi-Fi' button, hide it before Wi-Fi DPP handshake completes.
3. Show 'Done' button for some error codes.
4. Use ViewModel to call startEasyConnectAsConfiguratorInitiator and
   startEasyConnectAsEnrolleeInitiator because a lifecycle object
   does not receive an Executor callback after configurator change.
5. In WifiDppQrCodeScannerFragment, show an error message for 10s instead of 2s
   since new added error messages may carry more information.
6. Show a different error message for enrollee handshake success but Wi-Fi
   connection fail case.
7. stop camera when scanned a Wi-Fi DPP QR code for enrollee.
8. In QR code scanner fragment, support to show error message after
    configuration change.

Bug: 124247872
Bug: 124491247
Test: manual test
      atest WifiQrCodeTest
      atest WifiDppConfiguratorActivityTest
      atest WifiDppEnrolleeActivityTest
      atest WifiDppQrCodeGeneratorFragmentTest
      atest WifiDppQrCodeScannerFragmentTest
      atest WifiNetworkListFragmentTest
      atest WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: Id130215e9ddafac8bc4c68238deda48ce99b4255

5 years agoReplace deprecated KeyguardManager API with new BiometricPrompt one
Arc Wang [Wed, 20 Feb 2019 05:45:51 +0000 (13:45 +0800)]
Replace deprecated KeyguardManager API with new BiometricPrompt one

Use BiometricPrompt to replace KeyguardManager#createConfirmDeviceCredentialIntent

Bug: 124249685
Test: manual test
Change-Id: I7a05b8f1b08471cf9f09b3d4ce1bedc7cd529e72

5 years agoMerge "Add developer menu to enable/disable ART verifier."
TreeHugger Robot [Wed, 20 Feb 2019 03:55:40 +0000 (03:55 +0000)]
Merge "Add developer menu to enable/disable ART verifier."

5 years agoMerge "Correct behavior of "Mobile data" button on opportunistic subscriptions."
Xiangyu/Malcolm Chen [Tue, 19 Feb 2019 21:04:01 +0000 (21:04 +0000)]
Merge "Correct behavior of "Mobile data" button on opportunistic subscriptions."

5 years agoCorrect behavior of "Mobile data" button on opportunistic subscriptions.
Malcolm Chen [Tue, 12 Feb 2019 23:55:12 +0000 (15:55 -0800)]
Correct behavior of "Mobile data" button on opportunistic subscriptions.

A check was added earlier to make sure in DSDS mode only one sub
shows data on, which is not true for opportunistic subscriptions. For
them, it should always be on (enforced by Telephony) and be disabled
as it shouldn't be turned off.

Bug: 124331860
Bug: 124683219
Test: manual, robolectric
Change-Id: I53c8d881ff71ad25c418085d3eee63e55c786b8f

5 years agoMerge "Add a util method of creating Icon with Drawable"
TreeHugger Robot [Tue, 19 Feb 2019 12:25:17 +0000 (12:25 +0000)]
Merge "Add a util method of creating Icon with Drawable"

5 years agoAdd a util method of creating Icon with Drawable
Jason Chiu [Wed, 13 Feb 2019 08:07:57 +0000 (16:07 +0800)]
Add a util method of creating Icon with Drawable

- Add a util method to help create Icon with Drawable so that
users don't need to handle bitmaps
- Add support for creating with ColorDrawable

Test: robotest
Fixes: 124407373
Change-Id: I1897256821cc804a5e599d967feb84a3bcd689a9

5 years agoMerge "Visual update: update the icons for suggestions"
TreeHugger Robot [Tue, 19 Feb 2019 05:53:44 +0000 (05:53 +0000)]
Merge "Visual update: update the icons for suggestions"

5 years agoMerge "Fix janky in App info screen"
TreeHugger Robot [Tue, 19 Feb 2019 03:48:53 +0000 (03:48 +0000)]
Merge "Fix janky in App info screen"

5 years agoDO NOT MERGE - Merge PPRL.190205.001 into master
Xin Li [Mon, 18 Feb 2019 23:58:44 +0000 (15:58 -0800)]
DO NOT MERGE - Merge PPRL.190205.001 into master

Bug: 124234733
Change-Id: I3db6a7deadc7a88e071105be9ddb911da7e9bacd

5 years agoAdd developer menu to enable/disable ART verifier.
Alex Buynytskyy [Sat, 26 Jan 2019 00:22:00 +0000 (16:22 -0800)]
Add developer menu to enable/disable ART verifier.

The new developer option modifies the global setting "art_verifier_verify_debuggable"; it allows to check if the bytecode of the Debuggable Apps is correct, e.g. if it's using the correct APIs.

Test: make RunSettingsRoboTests ROBOTEST_FILTER=development
Bug: 124403695
Change-Id: I8e721d62c5ca6fb5f26d9b989a8242eece8f55ab

5 years agoVisual update: update the icons for suggestions
Mill Chen [Wed, 23 Jan 2019 02:44:39 +0000 (10:44 +0800)]
Visual update: update the icons for suggestions

- remove blue tint
- add the icons of suggestions for contextual homepage

Bug: 122310542
Test: visual, rebuild
Change-Id: I2bac139669a4218455195aebeba83d1649184895

5 years agoFix janky in App info screen
tmfang [Mon, 18 Feb 2019 03:08:24 +0000 (11:08 +0800)]
Fix janky in App info screen

If a Recycle view inside in a NestedScrollView,
The times of calling recyclerView#onCreateViewHolder()
is requal to its data set.

When there are large set of apps need to be shown,
RecyclerView will need to take many time to call
onCreateViewHolder for each item.

So, it causes the screen is janky or freeze UI when page
is loading large data set.

For now, we get rid of NestedScrollView, just use RecycleView
and AppBarLayout to have same bahavior for spinner.

Fixes: 124384314
Fixes: 123036231
Fixes: 122964660
Fixes: 123088178

Test: 1. Select show system in App info screen. Observe whether there
is any janky.
2. Select show system in App info screen, and then change device
orientation. Observer whether there is any janky.
3. Go to Settings > Apps & notifications> Advanced > Special app access >
Select "battery optimization", and then Tap drop down and select "all
apps". Observe whether ther is any janky.

Change-Id: Icd65e91eec3b32476d80cc12e9c4baa71151306a

5 years agoRemove deprecated EXCLUSIVE field from proto
Yanting Yang [Mon, 18 Feb 2019 08:25:23 +0000 (16:25 +0800)]
Remove deprecated EXCLUSIVE field from proto

Fixes: 123560880
Test: robotests
Change-Id: I6ff184dc5998d1e8eadfbfa16c8c7a85ebd75d98

5 years agoMerge "[Network Connection] Implement "show all" button for NetworkRequestDialog"
TreeHugger Robot [Mon, 18 Feb 2019 06:19:41 +0000 (06:19 +0000)]
Merge "[Network Connection] Implement "show all" button for NetworkRequestDialog"

5 years agoMerge "[Mac Randomization] Fix MAC randomization option does not work when ephemeral...
TreeHugger Robot [Mon, 18 Feb 2019 04:29:26 +0000 (04:29 +0000)]
Merge "[Mac Randomization] Fix MAC randomization option does not work when ephemeral newtork"

5 years agoMerge "Fix [RTL] Wifi QR Scanner option overlaps wifi Password text"
TreeHugger Robot [Mon, 18 Feb 2019 04:13:39 +0000 (04:13 +0000)]
Merge "Fix [RTL] Wifi QR Scanner option overlaps wifi Password text"

5 years ago[Network Connection] Implement "show all" button for
cosmohsieh [Wed, 13 Feb 2019 09:11:16 +0000 (17:11 +0800)]
[Network Connection] Implement "show all" button for
NetworkRequestDialog

Add "show all" button to NetworkRequest dialog to let user be able to
show all AccessPoints of onMatch() callback.

Bug: 117985692
Test: atest NetworkRequestDialogFragmentTest
Change-Id: I604083fd0f3ea98208d860a327733699cd4664d7

5 years agoMerge "Add progress bar for Privacy screen"
TreeHugger Robot [Mon, 18 Feb 2019 03:04:05 +0000 (03:04 +0000)]
Merge "Add progress bar for Privacy screen"

5 years ago[Mac Randomization] Fix MAC randomization option does not work when
cosmohsieh [Tue, 29 Jan 2019 06:50:43 +0000 (14:50 +0800)]
[Mac Randomization] Fix MAC randomization option does not work when
ephemeral newtork

WifiConfiguration is only available when saved network. So ephemeral
newtork could not have wifi config to config wifi setting. In this
situation, making option be not selectable.

Bug: 122919564
Test: atest WifiPrivacyPreferenceControllerTest
Change-Id: I8a2a1c36ec6d41a6f912da29a8b17bc2e43d9a27

5 years agoMerge "Hide "Pair new device" from connected device slice"
Yanting Yang [Mon, 18 Feb 2019 02:46:04 +0000 (02:46 +0000)]
Merge "Hide "Pair new device" from connected device slice"

5 years agoMerge "Remove feature flags of WiFi Sharing feature"
TreeHugger Robot [Mon, 18 Feb 2019 02:42:33 +0000 (02:42 +0000)]
Merge "Remove feature flags of WiFi Sharing feature"

5 years agoMerge "Fix failing robotest"
TreeHugger Robot [Sat, 16 Feb 2019 02:30:16 +0000 (02:30 +0000)]
Merge "Fix failing robotest"

5 years agoMerge "Move some slice related api out of BasePreferenceController"
TreeHugger Robot [Sat, 16 Feb 2019 00:38:28 +0000 (00:38 +0000)]
Merge "Move some slice related api out of BasePreferenceController"

5 years agoFix failing robotest
Fan Zhang [Fri, 15 Feb 2019 23:46:58 +0000 (15:46 -0800)]
Fix failing robotest

Fixes: 124531152
Test: robotests
Change-Id: I4442ae543b062ef17b4bfd828134ede879d2b22d

5 years agoMerge "Remove side padding for settings items in bigger screen."
TreeHugger Robot [Fri, 15 Feb 2019 23:28:32 +0000 (23:28 +0000)]
Merge "Remove side padding for settings items in bigger screen."

5 years agoMerge "Fix doubling of channel listing"
TreeHugger Robot [Fri, 15 Feb 2019 22:46:15 +0000 (22:46 +0000)]
Merge "Fix doubling of channel listing"

5 years agoMerge "Fix legacy app notification pages"
TreeHugger Robot [Fri, 15 Feb 2019 22:36:12 +0000 (22:36 +0000)]
Merge "Fix legacy app notification pages"

5 years agoMove some slice related api out of BasePreferenceController
Fan Zhang [Thu, 14 Feb 2019 23:06:23 +0000 (15:06 -0800)]
Move some slice related api out of BasePreferenceController

And share with CustomSliceable.

Bug: 121150258
Test: rebuild
Change-Id: Ia5aed9c156fb168c1f001da6e37f7f12f191b385

5 years agoMerge "Move registered slice set from settings to settingslib."
Fan Zhang [Fri, 15 Feb 2019 22:14:22 +0000 (22:14 +0000)]
Merge "Move registered slice set from settings to settingslib."

5 years agoMerge "Update some string char limits"
TreeHugger Robot [Fri, 15 Feb 2019 21:49:23 +0000 (21:49 +0000)]
Merge "Update some string char limits"

5 years agoRemove side padding for settings items in bigger screen.
Doris Ling [Fri, 15 Feb 2019 21:33:00 +0000 (13:33 -0800)]
Remove side padding for settings items in bigger screen.

Fixes: 110804029
Test: visual in emulator with tablet skin
Change-Id: Ib569731d8cff088c6d110c4ae9d43a7609416238

5 years agoFix doubling of channel listing
Julia Reynolds [Fri, 15 Feb 2019 20:15:31 +0000 (15:15 -0500)]
Fix doubling of channel listing

Test: toggle a notification group on/off
Change-Id: Ia93cf8084aee0c886a591301cba764975e5e0147
Fixes: 124384280

5 years agoUpdate some string char limits
Antony Sargent [Fri, 15 Feb 2019 19:37:05 +0000 (11:37 -0800)]
Update some string char limits

We got a bug requesting slightly longer character limits for of the some
new strings used when displaying information in multi-SIM mode.

Bug: 124474015
Test: n/a
Change-Id: I706586b2fc97ae8e6f0e809d2b3b168c7a9353c1

5 years agoMerge "Check flag to see whether to show accessibility usage dialog."
TreeHugger Robot [Fri, 15 Feb 2019 19:09:08 +0000 (19:09 +0000)]
Merge "Check flag to see whether to show accessibility usage dialog."

5 years agoMerge "Revert "Revert "Remove TemplateLayout that is not for external use"""
Maurice Lam [Fri, 15 Feb 2019 18:55:34 +0000 (18:55 +0000)]
Merge "Revert "Revert "Remove TemplateLayout that is not for external use"""

5 years agoMerge "Update battery summary"
Lei Yu [Fri, 15 Feb 2019 18:26:56 +0000 (18:26 +0000)]
Merge "Update battery summary"

5 years agoFix legacy app notification pages
Julia Reynolds [Fri, 15 Feb 2019 18:15:50 +0000 (13:15 -0500)]
Fix legacy app notification pages

Test: view legacy app notification page
Change-Id: Id0d7ac53bc0d9e4d7084bea7ff44d4d8a082cb74
Fixes: 124453411

5 years agoCheck flag to see whether to show accessibility usage dialog.
Joel Galenson [Fri, 15 Feb 2019 16:12:08 +0000 (08:12 -0800)]
Check flag to see whether to show accessibility usage dialog.

Test: Manually set/unset flag, see/don't see dialog.
Test: atest AccessibilityUsagePreferenceControllerTest
Change-Id: I214cf0bf4c67889f48e43fdf774a943dd11e6c34

5 years agoMerge "Update the summary for DND conditional"
TreeHugger Robot [Fri, 15 Feb 2019 15:42:35 +0000 (15:42 +0000)]
Merge "Update the summary for DND conditional"

5 years agoHide "Pair new device" from connected device slice
Yanting Yang [Fri, 15 Feb 2019 13:03:54 +0000 (21:03 +0800)]
Hide "Pair new device" from connected device slice

Fixes:124460897
Test: visual, robotests
Change-Id: Id702bf77eacf29d831e00f56d0b1ab9c1f945fbb

5 years agoUpdate the summary for DND conditional
Mill Chen [Wed, 13 Feb 2019 10:48:48 +0000 (18:48 +0800)]
Update the summary for DND conditional

Since original string is too long for DND conditional subtext, separate
DND conditional to two different states, one is for "Phone muted" state,
the othe is for "With exceptions" state.

Also, clean up the strings of other product variants for the conditional.

Bug: 122929205
Test: visual
Change-Id: Icb156ff9a4858a26355d92e6d4fb82ad1927b278

5 years agoFix [RTL] Wifi QR Scanner option overlaps wifi Password text
Arc Wang [Fri, 15 Feb 2019 08:30:17 +0000 (16:30 +0800)]
Fix [RTL] Wifi QR Scanner option overlaps wifi Password text

Use android:layout_alignParentStart & android:layout_alignParentEnd
to fix the RTL issue. And refine code of the scanner button.

Bug: 123923904
Test: manual test
Change-Id: I85491b99d22ec303e370422a81a43fc203b695fa

5 years agoRemove feature flags of WiFi Sharing feature
Johnson Lu [Wed, 13 Feb 2019 03:50:11 +0000 (11:50 +0800)]
Remove feature flags of WiFi Sharing feature

Bug: 120744414
Test: Manual
Change-Id: I655ebb8d149d0976063845478bc667cc4d72d96d

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205...
Xin Li [Fri, 15 Feb 2019 05:49:04 +0000 (21:49 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master am: f6aad2aee8 -s ours
am: 82b262afbd -s ours
am skip reason: subject contains skip directive

Change-Id: Ic32a4ab23aa2bdf991881e12bcf99d73be042baa

5 years agoMerge "[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205...
Android Build Merger (Role) [Fri, 15 Feb 2019 05:28:05 +0000 (05:28 +0000)]
Merge "[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master am: d61c2adf09 -s ours am: 44ace71846 -s ours am skip reason: subject contains skip directive"

5 years agoMerge "Use BiometricPrompt description field for CC description instead"
TreeHugger Robot [Fri, 15 Feb 2019 05:14:46 +0000 (05:14 +0000)]
Merge "Use BiometricPrompt description field for CC description instead"

5 years ago[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into...
Xin Li [Fri, 15 Feb 2019 05:08:49 +0000 (21:08 -0800)]
[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master am: d61c2adf09 -s ours
am: 44ace71846 -s ours
am skip reason: subject contains skip directive

Change-Id: I2b9d869dd64767b498d75f3fe1c9a6746f943b56

5 years agoMerge "Add null check for CarrierConfig"
TreeHugger Robot [Fri, 15 Feb 2019 03:41:25 +0000 (03:41 +0000)]
Merge "Add null check for CarrierConfig"

5 years agoUpdate battery summary
jackqdyulei [Fri, 15 Feb 2019 03:11:10 +0000 (19:11 -0800)]
Update battery summary

When it is charging, show "5% - charging"(not only "5%")

Bug: 112013485
Test: RunSettingsRoboTests
Change-Id: If2299cc4929d8fc40d63669b74590fafe39122dc

5 years agoAdd progress bar for Privacy screen
tmfang [Tue, 12 Feb 2019 10:23:20 +0000 (18:23 +0800)]
Add progress bar for Privacy screen

We show up top linear progress bar
when Settings is querying permission usage data.

Test: visual, robotest
Fixes: 123539793
Change-Id: I350068856d1708eb054d2a205d9ca857214891ce

5 years agoSchematize Crypto system properties
Kiyoung Kim [Tue, 22 Jan 2019 01:19:29 +0000 (10:19 +0900)]
Schematize Crypto system properties

Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: m -j
Change-Id: I65a6ce1a682687702f4c8b5c2e054eaaf91c389b
Merged-In: I65a6ce1a682687702f4c8b5c2e054eaaf91c389b

5 years agoUse BiometricPrompt description field for CC description instead
Kevin Chyn [Fri, 15 Feb 2019 01:43:45 +0000 (17:43 -0800)]
Use BiometricPrompt description field for CC description instead

The description field handles longer strings more gracefully

Fixes: 124001277

Test: 1) Open Wi-Fi picker
      2) Select gear on the connected network
      3) Select share button
      4) On BiometricPrompt, text is not cropped

Change-Id: I945830a137a0dc203bba04728b507ceff020dfdc

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205...
Xin Li [Fri, 15 Feb 2019 01:18:04 +0000 (17:18 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
am: f6aad2aee8 -s ours
am skip reason: subject contains skip directive

Change-Id: I4bf7e0d090e49c1273ca1ad81bffe26825e34e47

5 years agoMerge "Do not allow draw on top for default sms picker."
Fan Zhang [Fri, 15 Feb 2019 00:51:12 +0000 (00:51 +0000)]
Merge "Do not allow draw on top for default sms picker."