am: 3de14ebfa2 -s ours
am skip reason: change_id I3cdad9b6ceeba0df3e0e9db4607daffcc5cbdc8b with SHA1 a3a24be224 is in history
Change-Id: I2fe793b11c5a2e41c7c02dd1b5afadf0fafdf31d
Due to API changes, uses Executor instead of Handler for Easy Connect
API.
Test: manual test
Bug: 122331217
Change-Id: Iddda3e6c9079e2bba814be6a0097d60ee349a504
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
- Revert "Allow OEM customizing max screen timeout value."
- Use separate timeout list for screen timeout and lock timeout.
This reverts commit f57f490aa6.
Fixes: 113346164
Test: manual
Change-Id: Ifbb054c232c47455ae82e3ed817f9c1e96f694cf
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
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
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
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
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
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
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
2513851ace
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
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
Uses connected access point to start DPP in Configurator-Initiator role directly.
Bug: 118794978
Test: RunSettingsRoboTests
Change-Id: Ie2d5661fdef3588bb597d4a7e4dfe5f981737c84
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