OSDN Git Service
Doris Ling [Thu, 24 Jan 2019 23:05:55 +0000 (15:05 -0800)]
Set correct network type when launching wifi usage data.
- when launching wifi data usage, need to explicitly set the network
type to wifi. Otherwise, the data usage list will try to show data for
the default mobile data usage.
Change-Id: I819538d2c53664635bc1c2a721d6d7f6799c6123
Fixes:
123205630
Test: make RunSettingsRoboTests
Pasty Chang [Wed, 23 Jan 2019 07:37:23 +0000 (07:37 +0000)]
Merge "Migrating to new footer button for ChooseLockPassword page"
Cosmo Hsieh [Wed, 23 Jan 2019 02:17:21 +0000 (02:17 +0000)]
Merge "[Network Connection] Implement toasting after wifi is connected"
Cosmo Hsieh [Wed, 23 Jan 2019 02:16:36 +0000 (02:16 +0000)]
Merge "[Network Connection] Correct title padding"
Naina Nalluri [Wed, 23 Jan 2019 00:04:47 +0000 (00:04 +0000)]
Merge "Add switch to enable/disable cbrs"
TreeHugger Robot [Tue, 22 Jan 2019 18:23:15 +0000 (18:23 +0000)]
Merge "Clean up updateState()"
TreeHugger Robot [Tue, 22 Jan 2019 11:11:30 +0000 (11:11 +0000)]
Merge "Add icons of WifiDppAddDeviceFragment."
cosmohsieh [Tue, 22 Jan 2019 07:13:10 +0000 (15:13 +0800)]
[Network Connection] Correct title padding
Padding of dialog title needs to align design doc.
Bug:
123161302
Test: manual
Change-Id: I4b8a3d12dd309b0c1812694c42c7e0d283c619f2
Arc Wang [Tue, 22 Jan 2019 07:23:21 +0000 (15:23 +0800)]
Add icons of WifiDppAddDeviceFragment.
Bug:
118797202
Test: manual test
Change-Id: Ia2ef9db3526f98b1c697a864cec34e1d4dcfc400
pastychang [Fri, 18 Jan 2019 06:28:27 +0000 (14:28 +0800)]
Migrating to new footer button for ChooseLockPassword page
Bug:
120805516
Test: RunSettingsRoboTests
Change-Id: I1fb4588d0c2cf04bca88ec470d59945c2fcab01c
cosmohsieh [Tue, 22 Jan 2019 02:24:20 +0000 (10:24 +0800)]
[Network Connection] Implement toasting after wifi is connected
When wifi is connected (onUserSelectionConnectSuccess), making a toast
infos user and closed the dialog.
Bug:
123160958
Test: atest NetworkRequestDialogFragmentTest
Change-Id: I85ab648188018773e1f76541d18903c733bc3e69
Arc Wang [Thu, 17 Jan 2019 23:59:28 +0000 (07:59 +0800)]
Control UI behavior according to different Wi-Fi DPP intents.
When it's a configurator from Settings, the cancel button of WifiDppChooseSavedWifiNetworkFragment
should pop back stack. When it's a configurator from a camera app, the cancel button of
WifiDppChooseSavedWifiNetworkFragment should finish host activity.
Bug:
120517242
Test: manual test
Change-Id: Ia0fb0daf16c94ecd62aa6d357405fcd529935d2f
Weilun Du [Fri, 18 Jan 2019 16:59:51 +0000 (08:59 -0800)]
Fixed Settings crash caused by null bluetooth adpater.
Emulator doesn't support bluetooth.
BUG:
123026204
Change-Id: I5fddfaff03dfd882688a73542278d8ef1e509ca2
Signed-off-by: Weilun Du <wdu@google.com>
Ajay Panicker [Tue, 22 Jan 2019 00:00:12 +0000 (00:00 +0000)]
Merge "Add Filtering for snoop logs based on L2CAP and RFCOMM Channels (3/4)"
Johnson Lu [Mon, 21 Jan 2019 13:08:28 +0000 (13:08 +0000)]
Merge "Fix crash issue when click 'Share' button"
Johnson Lu [Mon, 21 Jan 2019 09:30:25 +0000 (17:30 +0800)]
Fix crash issue when click 'Share' button
Hide 'Share' button if access point return null wifi config.
Change-Id: I554ce8c3214c94892d57c213d0588c70aad97439
Fixes:
123172888
Test: robotests
TreeHugger Robot [Mon, 21 Jan 2019 04:58:35 +0000 (04:58 +0000)]
Merge "Add a picture for Wi-Fi DPP add device fragment."
TreeHugger Robot [Mon, 21 Jan 2019 04:33:27 +0000 (04:33 +0000)]
Merge "[Mac Randomization] Change order of Privacy setting"
Pasty Chang [Mon, 21 Jan 2019 03:35:23 +0000 (03:35 +0000)]
Merge "Migrating to new footer button for ChooseLockPattern page"
TreeHugger Robot [Mon, 21 Jan 2019 03:06:12 +0000 (03:06 +0000)]
Merge "Check whether the device support DPP for public intent"
cosmohsieh [Fri, 18 Jan 2019 01:22:21 +0000 (09:22 +0800)]
[Mac Randomization] Change order of Privacy setting
For better UX, making the default option 'Use randomized MAC (default)' as the
first option item.
Bug:
123160090
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details
Change-Id: I264756778dd8cafea620a0fcb5f57df91c049259
TreeHugger Robot [Mon, 21 Jan 2019 00:16:48 +0000 (00:16 +0000)]
Merge "Night mode wording"
Lucas Dupin [Fri, 18 Jan 2019 00:27:43 +0000 (16:27 -0800)]
Night mode wording
Renaming to 'theme' per UX recomendation
Change-Id: I80817ea3778715c3514205ede738f70d92fa15e9
Fixes:
123042258
Test: manual
TreeHugger Robot [Sat, 19 Jan 2019 23:24:19 +0000 (23:24 +0000)]
Merge "Import translations. DO NOT MERGE"
Bill Yi [Sat, 19 Jan 2019 22:50:07 +0000 (14:50 -0800)]
[automerger skipped] Import translations. DO NOT MERGE am:
e60e0d2291 -s ours
am:
6aa71b3aef -s ours
am skip reason: subject contains skip directive
Change-Id: I581abc912bee99a4bbf9e93b5c024b1002205537
Bill Yi [Sat, 19 Jan 2019 22:46:03 +0000 (14:46 -0800)]
[automerger skipped] Import translations. DO NOT MERGE
am:
e60e0d2291 -s ours
am skip reason: subject contains skip directive
Change-Id: I27259294f2360a745415605afaf325e37fe8c565
Bill Yi [Sat, 19 Jan 2019 19:34:19 +0000 (11:34 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: Ie074fc1d702ed2775866c82a126bd8efa8b2865b
Bill Yi [Sat, 19 Jan 2019 18:21:20 +0000 (10:21 -0800)]
Import translations. DO NOT MERGE
Change-Id: I44864a09d806de9ee21ecaa304d4f448d48a6bdf
Auto-generated-cl: translation import
Yanting Yang [Sat, 19 Jan 2019 11:36:42 +0000 (11:36 +0000)]
Merge "Add Notification Channel slice to Contextual Settings Homepage"
wengsu [Sat, 19 Jan 2019 10:01:20 +0000 (18:01 +0800)]
Clean up updateState()
1. It's to set preference always even no available Bluetooth device.
2. Remove redundant code in if (numDevices == 0) {...} condition.
Bug:
123000252
Test: make -j56 RunSettingsRoboTests ROBOTEST_FILTER=MediaOutputPreferenceControllerTest
Change-Id: I9061428375f6097fde60498bf19eae2edafa5959
Yanting Yang [Fri, 11 Jan 2019 10:35:21 +0000 (18:35 +0800)]
Add Notification Channel slice to Contextual Settings Homepage
Bug:
119831690
Test: visual, robotests
Change-Id: Ia8d020dcdab181497d4ae4bf968ea641b6908622
TreeHugger Robot [Sat, 19 Jan 2019 08:29:56 +0000 (08:29 +0000)]
Merge "Add feature provider for aware info."
TreeHugger Robot [Sat, 19 Jan 2019 08:12:55 +0000 (08:12 +0000)]
Merge "Gives unvailable slice of Night Light a customized subtitle"
TreeHugger Robot [Sat, 19 Jan 2019 07:17:33 +0000 (07:17 +0000)]
Merge "Add data usage header to mobile network details page"
TreeHugger Robot [Sat, 19 Jan 2019 07:08:25 +0000 (07:08 +0000)]
Merge "Use correct metrics value in MobileNetworkListFragment"
TreeHugger Robot [Sat, 19 Jan 2019 07:04:18 +0000 (07:04 +0000)]
Merge "Use the accent color for search icon in homepage"
TreeHugger Robot [Sat, 19 Jan 2019 06:48:33 +0000 (06:48 +0000)]
Merge "Syncs the lock and unlock icons with new AOD's"
TreeHugger Robot [Sat, 19 Jan 2019 05:57:25 +0000 (05:57 +0000)]
Merge "Use new interface for setAppEntity"
Console Chen [Fri, 11 Jan 2019 06:50:51 +0000 (14:50 +0800)]
Gives unvailable slice of Night Light a customized subtitle
When a slice depends on some setting and the setting is off,
it shows "depends on another setting".
Base on the new introduced attribute on ag/
5843828 , assigns
customized subtitle for showing the unavailabe slice when the
Night Light is off.
Change-Id: I5c3530281fac4ef63caf2d3ac8e2be872d704bcb
Fixes:
118399193
Test: Manual
TreeHugger Robot [Sat, 19 Jan 2019 04:33:21 +0000 (04:33 +0000)]
Merge "Update parameter for Easy Connect API in WiFi DPP flow"
TreeHugger Robot [Sat, 19 Jan 2019 04:28:22 +0000 (04:28 +0000)]
Merge "Create a permission bar chart in Privacy page"
TreeHugger Robot [Sat, 19 Jan 2019 04:09:50 +0000 (04:09 +0000)]
Merge changes from topic "settings_westworld"
* changes:
Reset allow background activity to default on
Migrate all MetricsProto enums to SettingsEnums
Fan Zhang [Sat, 19 Jan 2019 00:10:20 +0000 (16:10 -0800)]
Reset allow background activity to default on
Change-Id: Ifeda9bb431b8f0c3bbefb41fb13fa70e15952cce
Fixes:
123029532
Test: robotests
Christine Franks [Fri, 18 Jan 2019 23:08:37 +0000 (23:08 +0000)]
Merge "Move color transform check to ColorDisplayManager"
Edgar Wang [Wed, 9 Jan 2019 11:56:42 +0000 (19:56 +0800)]
Add feature provider for aware info.
The feature provider contains API that query aware info.
By default it's false.
Test: make -j RunSettingsRoboTests
Bug:
122574999
Change-Id: I7148258768a4dad1967fd0e0b23b79654e5a3d41
Antony Sargent [Fri, 18 Jan 2019 17:36:32 +0000 (09:36 -0800)]
Use correct metrics value in MobileNetworkListFragment
Bug:
116349402
Test: n/a
Change-Id: I01a81be496c296538e3395931a0fed8098f4da99
pastychang [Thu, 17 Jan 2019 07:44:08 +0000 (15:44 +0800)]
Migrating to new footer button for ChooseLockPattern page
Bug:
120805516
Test: RunSettingsRoboTests
Change-Id: Ifeaf402548146fca9f5fd5dfe0d976d38246b7e9
Antony Sargent [Thu, 17 Jan 2019 20:59:30 +0000 (12:59 -0800)]
Add data usage header to mobile network details page
As a part of the work for subscriptions UI improvements, we want to show
data usage information at the top of the mobile network details page,
and those details need to be specific to the particular subscription
we're showing details for, even if that SIM isn't the current default
one. This is useful for seeing data usage across your SIMs in dual-SIM
devices.
This CL adapts our already existing DataUsageSummaryPreferenceController
class so that if can be used on any fragment instead of just the
DataUsageSummary one, and changes it to take an explicit subscription
id instead of assuming it should use the default one.
Bug:
122670283
Test: make RunSettingsRoboTests
Change-Id: I41e307b0f32580c73b08adec7cabf01c96d7e835
Fan Zhang [Fri, 18 Jan 2019 01:40:17 +0000 (17:40 -0800)]
[automerger skipped] Merge "Add Dynamic tiles" am:
15bf05f6fd am:
0d8ea3bfce
am:
3de14ebfa2 -s ours
am skip reason: change_id I3cdad9b6ceeba0df3e0e9db4607daffcc5cbdc8b with SHA1
a3a24be224 is in history
Change-Id: I2fe793b11c5a2e41c7c02dd1b5afadf0fafdf31d
Fan Zhang [Fri, 18 Jan 2019 01:26:39 +0000 (17:26 -0800)]
Merge "Add Dynamic tiles" am:
15bf05f6fd
am:
0d8ea3bfce
Change-Id: I081d9ce4018e6fb7d899655ddeb96c5a9c3eb649
Fan Zhang [Fri, 18 Jan 2019 01:08:14 +0000 (17:08 -0800)]
Merge "Add Dynamic tiles"
am:
15bf05f6fd
Change-Id: I0998725bc59e1d4f9b8afff388c2a9a3c680423c
Fan Zhang [Fri, 18 Jan 2019 00:47:52 +0000 (00:47 +0000)]
Merge "Add Dynamic tiles"
Sunny Shao [Thu, 17 Jan 2019 09:41:05 +0000 (17:41 +0800)]
Use the accent color for search icon in homepage
Add the ic_homepage_search.xml and use the accent color
Bug:
122924929
Test: manual view
Change-Id: I0ed9d2261da776f7c04bd576fd1af612c47d85db
Johnson Lu [Thu, 17 Jan 2019 01:41:15 +0000 (09:41 +0800)]
Check whether the device support DPP for public intent
Check PROCESS_WIFI_EASY_CONNECT_QR_CODE intent.
Bug:
122331217
Test: manual test
Change-Id: I9bc4007f8c01d11a186640e8ef59be6329350dc9
Johnson Lu [Thu, 17 Jan 2019 23:17:55 +0000 (07:17 +0800)]
Update parameter for Easy Connect API in WiFi DPP flow
Due to API changes, uses Executor instead of Handler for Easy Connect
API.
Test: manual test
Bug:
122331217
Change-Id: Iddda3e6c9079e2bba814be6a0097d60ee349a504
Arc Wang [Thu, 17 Jan 2019 23:01:48 +0000 (07:01 +0800)]
Add a picture for Wi-Fi DPP add device fragment.
Bug:
122429170
Test: manual
Change-Id: I8a2e9feab238aa2636be25959988145ac8633c24
Fan Zhang [Wed, 16 Jan 2019 21:49:47 +0000 (13:49 -0800)]
Migrate all MetricsProto enums to SettingsEnums
Bug:
122855168
Test: rebuild
Change-Id: I962d9a71179f86b7cae9dc5e9a00e0aa1557dc76
tmfang [Sun, 9 Dec 2018 16:23:48 +0000 (00:23 +0800)]
Create a permission bar chart in Privacy page
Using PermissionControllerManager to get the apps
usage of different permission groups.
And then we visualize the result with bar chart.
Test: visual, robotest
Fixes:
116628158
Change-Id: I0442a04c35d74f715418fac0279bb8f36f6d64df
Lucas Dupin [Thu, 17 Jan 2019 02:38:09 +0000 (02:38 +0000)]
Merge "Tap gesture settings"
Yiwei Zhang [Thu, 17 Jan 2019 02:02:44 +0000 (02:02 +0000)]
Merge "GUP: Add global switch for all apps"
Yiwei Zhang [Fri, 11 Jan 2019 00:50:25 +0000 (08:50 +0800)]
GUP: Add global switch for all apps
Bug:
119221883
Test: make RunSettingsRoboTests
Change-Id: Iebf6c5eceb323d03332169eeb0a4a0d1f9c2c493
TreeHugger Robot [Thu, 17 Jan 2019 01:35:30 +0000 (01:35 +0000)]
Merge "Settings for skip and silence gestures"
Cosmo Hsieh [Thu, 17 Jan 2019 00:47:00 +0000 (00:47 +0000)]
Merge "[Mac Randomization] Fix perference changing not work and wrong default value"
TreeHugger Robot [Wed, 16 Jan 2019 23:58:47 +0000 (23:58 +0000)]
Merge "New approach to override timeout max value"
TreeHugger Robot [Wed, 16 Jan 2019 23:52:42 +0000 (23:52 +0000)]
Merge "Add the Data Saver preference to the Network & internet page"
Xiangyu/Malcolm Chen [Wed, 16 Jan 2019 22:00:50 +0000 (22:00 +0000)]
Merge "Don't show hidden Cellular subscription in Settings."
Fan Zhang [Tue, 15 Jan 2019 18:52:25 +0000 (18:52 +0000)]
New approach to override timeout max value
- Revert "Allow OEM customizing max screen timeout value."
- Use separate timeout list for screen timeout and lock timeout.
This reverts commit
f57f490aa6eb62700078bef5d16d55e6176c9448.
Fixes:
113346164
Test: manual
Change-Id: Ifbb054c232c47455ae82e3ed817f9c1e96f694cf
Beverly [Mon, 14 Jan 2019 23:12:47 +0000 (18:12 -0500)]
Settings for skip and silence gestures
Test: make RunSettingsRoboTests
Bug:
118388808
Change-Id: Ic906b42476283d245b423ef8842b6818cf7893a5
cosmohsieh [Wed, 16 Jan 2019 01:08:34 +0000 (09:08 +0800)]
[Mac Randomization] Fix perference changing not work and wrong default
value
1. Mac randomization setting would not effect, until reconnecting the network.
Disconnect it and WiFi will soonly connect back.
2. Mac randomization setting of adding network page is default to
"device MAC", correcting to "Randomization"
Bug:
123123123
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: I91f8670ddf81aea89354c4cc9c9a7901b8f3409c
Lucas Dupin [Wed, 16 Jan 2019 01:45:26 +0000 (17:45 -0800)]
Tap gesture settings
Tap setting is similar to double tap, it will wake-up the phone
when invoked. This setting page allows for configuration since both
gestures aren't mutually exclusive.
Change-Id: Ia62a1fafcc108e3c0b14613cb30224eae7b35f6a
Fixes:
121198822
Test: make RunSettingsRoboTests
Quang Luong [Wed, 16 Jan 2019 19:10:14 +0000 (19:10 +0000)]
Merge changes from topics "osu-at-the-top", "osu-provisioning-support"
* changes:
Added autoscroll to top when clicking on OSU entry
Added support for OSU Provider provisioning action on click
Fan Zhang [Wed, 16 Jan 2019 17:40:08 +0000 (17:40 +0000)]
Merge "Add Dynamic tiles"
TreeHugger Robot [Wed, 16 Jan 2019 17:28:57 +0000 (17:28 +0000)]
Merge "Schematize Display system properties"
TreeHugger Robot [Wed, 16 Jan 2019 09:11:17 +0000 (09:11 +0000)]
Merge changes I9cae479a,Ie642d780
* changes:
Remove the multi-SIM bottom nav in network and internet v2 mode
Add page listing multiple mobile networks
Malcolm Chen [Mon, 14 Jan 2019 23:13:10 +0000 (15:13 -0800)]
Don't show hidden Cellular subscription in Settings.
Replace getActiveSubscriptionInfoList() with
getActiveSubscriptionInfoList(true) so that settings will not show
hidden subscriptions to the user in various pages.
Bug:
121396526
Test: manual
Change-Id: I717999fed7d3a5a037914239694bef52df7c6207
tmfang [Sun, 13 Jan 2019 09:23:08 +0000 (17:23 +0800)]
Use new interface for setAppEntity
The interface was changed in SettingsLib,
so we also need to update the usage for setAppEntity.
Test: visual, robotest
Change-Id: I89644c4a7d6aac9cb9a8784b1f91656c8d7d6d26
Bug:
121271387
TreeHugger Robot [Wed, 16 Jan 2019 07:56:33 +0000 (07:56 +0000)]
Merge "Visual update: adjust button padding in conditional card"
TreeHugger Robot [Wed, 16 Jan 2019 07:34:49 +0000 (07:34 +0000)]
Merge "Update the layout of contextual card dismissal view"
Mill Chen [Wed, 16 Jan 2019 06:39:20 +0000 (14:39 +0800)]
Visual update: adjust button padding in conditional card
Decrease the padding of the button in the conditional full card.
Bug:
113451905
Test: visual
Change-Id: Ic625504e06b8764b9b737a8d5b613423e4d8d27e
Antony Sargent [Tue, 15 Jan 2019 01:38:25 +0000 (17:38 -0800)]
Remove the multi-SIM bottom nav in network and internet v2 mode
When a device has multiple SIMs, at the bottom of the SIM details page
we show a chooser with an icon for each SIM card. This UX design is
being supplanted by the new network and internet v2 design where there
is a list of networks you can get to from the Network & internet
homepage. So when the v2 mode is turned on, we don't want that bottom
navigation to appear.
Bug:
116349402
Test: visual (will remove existing tests for this feature eventually)
Change-Id: I9cae479a1f4e689adcc4f4262661b10edbbbf2d3
Antony Sargent [Fri, 11 Jan 2019 21:11:57 +0000 (13:11 -0800)]
Add page listing multiple mobile networks
When a device supports simultaneous connection to multiple mobile
networks, we want the "Mobile network" entry on the Network & internet
page to list the number of active SIMs and when clicked, go to a page
that lists them all.
Bug:
116349402
Test: make RunSettingsRoboTests
Change-Id: Ie642d7801cda07dcbbe74d42c234db6605566be4
Console Chen [Thu, 10 Jan 2019 10:12:02 +0000 (18:12 +0800)]
Syncs the lock and unlock icons with new AOD's
To be consistent with new unlock icon in new AOD, the unlock icon
and lock icon have been updated.
Settings is requested to sync with new AOD.
Fixes:
122058240
Test: Manual
Change-Id: I36e19a927f500f53e91a033ce3d7b749280e2134
Mill Chen [Wed, 9 Jan 2019 10:54:31 +0000 (18:54 +0800)]
Remove mIsHalfWidth field from ContextualCard
mIsHalfWidth in ContextualCard is too generic to identify its
responsibility, it is used to hold the value of is_support_half from
database and used to decide the card width. Also, it limits the
relationship of CardType-to-Renderer not to be extended to one-to-many.
To deal with this, we replaced mIsHalfWidth with mViewType to implement
one-to-many relationship of CardType-to-Renderer, and removed all
related logic of mIsHalfWidth.
Bug:
121303357
Test: robotests, visual
Change-Id: I03e14392272194424f317d11bf9d0d794a6133f4
Yohei Yukawa [Wed, 16 Jan 2019 03:16:50 +0000 (19:16 -0800)]
Allow IME-related Settings Activity to run for managed profiles
The following Activity classes in the Settings have been marked with
PRIMARY_PROFILE_CONTROLLED = true since work profile was originally
implemented [1].
* Settings$AvailableVirtualKeyboardActivity
* .inputmethod.InputMethodAndSubtypeEnablerActivity
* UserDictionarySettingsActivity
* .inputmethod.UserDictionaryAddWordActivity
This means that even if they are explicitly launched for a managed
profile user, they are always re-launched for the profile owner user
For instance, the following command just ends up launching the system
IME settings for the user 0, not user 10.
adb shell am start --user 10 \
-a "android.settings.INPUT_METHOD_SETTINGS"
In order to enable per-profile IME mode, we need to remove
PRIMARY_PROFILE_CONTROLLED from those classes.
Unfortunately, the settings is baked into ApplicationManifest.xml
hence we canot simply hook it up with the runtime flag
InputMethodSystemProperty.PER_PROFILE_IME_ENABLED. Thus this CL
simply remove PRIMARY_PROFILE_CONTROLLED from those classes, with an
assumption that users basically will not see those Activity classes
running under managed profile users unless per-profile IME flag is
enabled. This is because both LanguageAndInputSettingsActivity and
SettingsActivity are still marked PRIMARY_PROFILE_CONTROLLED=true.
This means that almost all user-visible entry points are still be
running with profile owner's user ID.
Note also that because of Settings redirection implemented with
Settings#CLONE_TO_MANAGED_PROFILE, what are shown on those Activity
classes are basically correct. What they cannot do without enabling
per-profile IME is updating actual secure settings.
[1]: If3ec3866778282219267481b8f419774f7f2c9de
2513851ace8d353f99146316b81a430add6d837f
Bug:
120748696
Test: Manually done as follows.
1. adb root
2. adb shell setprop persist.debug.per_profile_ime 1
3. adb reboot
4. Install Test DPC.
5. Enable managed profile with Test DPC.
6. Open "Files" app for the main profile.
7. Tap the search box to show AOSP Keyboard.
8. Long tap the comma key, then "Lauguage" on the "Input options"
dialog.
9. Uncheck "Use system languages" then check "English (UK)".
10. Open "Files" app for the work profile.
11. Long tap the comma key, then "Lauguage" on the "Input options"
dialog.
12. Make sure that "Use system languages" is checked.
13. adb shell am start --user 10 \
-a android.settings.INPUT_METHOD_SETTINGS
14. Make sure there is no Toast message
"You're using this app outside of your work profile".
15. adb shell am start --user 10 \
-a android.settings.INPUT_METHOD_SUBTYPE_SETTINGS
16. Make sure there is no Toast message.
17. adb shell am start --user 10 \
-a android.settings.USER_DICTIONARY_SETTINGS
14. Make sure there is no Toast message.
Change-Id: I6ee1f226a616bb5f802f8e1d3b6f1dbbe492c6e5
jin.dong [Thu, 20 Dec 2018 03:48:20 +0000 (11:48 +0800)]
Add Dynamic tiles
Add new CategoryKey for screens below:
about_legal.xml
my_device_info.xml
battery_saver_settings.xml
Bug:
113249409
Change-Id: I3cdad9b6ceeba0df3e0e9db4607daffcc5cbdc8b
Merged-In: I3cdad9b6ceeba0df3e0e9db4607daffcc5cbdc8b
jin.dong [Thu, 20 Dec 2018 03:48:20 +0000 (11:48 +0800)]
Add Dynamic tiles
Add new CategoryKey for screens below:
about_legal.xml
my_device_info.xml
battery_saver_settings.xml
Bug:
113249409
Test: manual
Change-Id: I3cdad9b6ceeba0df3e0e9db4607daffcc5cbdc8b
Lei Yu [Tue, 15 Jan 2019 21:45:42 +0000 (21:45 +0000)]
Merge changes I3ee2313c,Ibbf9eb2a
* changes:
Remove divider line for battery card preference
Add CardPreference in battery settings page
Ruchi Kandoi [Tue, 15 Jan 2019 21:23:11 +0000 (21:23 +0000)]
Merge "Don't start Android Beam Activity if feature is not supported"
Hai Shalom [Tue, 15 Jan 2019 20:46:44 +0000 (20:46 +0000)]
Merge "[DPP] Fix usage of "DPP" public API to "Easy Connect""
Antony Sargent [Tue, 15 Jan 2019 20:44:36 +0000 (12:44 -0800)]
Add the Data Saver preference to the Network & internet page
We're promoting this to be in the top-level Network & internet page
(from being somewhat buried down in the Data usage page).
Bug:
116349402
Test: visual
Change-Id: If6e18ebb678e9a01c22ccdf58751801a887a3f62
Kevin Chyn [Tue, 15 Jan 2019 19:50:44 +0000 (19:50 +0000)]
Merge "Add face settings video"
Daniel Solomon [Tue, 15 Jan 2019 19:29:16 +0000 (19:29 +0000)]
Merge "Hide display white balance setting depending on color mode"
Sunil Ravi [Tue, 15 Jan 2019 18:43:58 +0000 (18:43 +0000)]
Merge "WiFi: Add Tx and rx link speed in network details"
Johnson Lu [Tue, 15 Jan 2019 15:41:09 +0000 (15:41 +0000)]
Merge "Implement WifiNetworkListFragment - Part 2"
Johnson Lu [Tue, 15 Jan 2019 15:40:54 +0000 (15:40 +0000)]
Merge "Implement WifiNetworkListFragment"
Johnson Lu [Mon, 14 Jan 2019 21:15:29 +0000 (05:15 +0800)]
Implement WifiNetworkListFragment - Part 2
Uses connected access point to start DPP in Configurator-Initiator role directly.
Bug:
118794978
Test: RunSettingsRoboTests
Change-Id: Ie2d5661fdef3588bb597d4a7e4dfe5f981737c84
Johnson Lu [Thu, 10 Jan 2019 06:08:06 +0000 (14:08 +0800)]
Implement WifiNetworkListFragment
1.Scan valid access points for DPP configurator by using WifiTracker.
2.Allow user to add a new network for DPP configurator.
Bug:
118794978
Test: RunSettingsRoboTests
Change-Id: I36504d28dec7d2c9091aa6c35ebe2495045681f7
Raff Tsai [Tue, 15 Jan 2019 04:01:38 +0000 (04:01 +0000)]
Merge "Fix crash for UiBlockerController"
jackqdyulei [Mon, 14 Jan 2019 18:55:39 +0000 (10:55 -0800)]
Fix crash for UiBlockerController
1. Don't create UiBlockerController if there is no related controller
2. Don't update visibility if UiBlockerController is null
3. Use findPreference() from DashboardFragment, which already has null
check.
Change-Id: Iee24c64317fb9d5a1cf2076d25728af485d390c5
Fixes:
122807414
Fixes:
122805831
Test: RunSettingsRoboTests
Santiago Etchebehere [Tue, 15 Jan 2019 03:24:17 +0000 (03:24 +0000)]
Merge "Add developer settings for theme overlays."