Currently if a work profile with a separate lock is turned off
(a.k.a. in quiet mode), and the user has forgotten the password,
profile owner app cannot use DPM.resetPasswordWithToken because
the profile user is not running.
In BYOD case the user can remove and re-provision the profile but
in the new COPE mode (a.k.a. on an organization owned device with
work profile) it is not possible to remove the profile. So full
factory reset is required.
This CL allows the user to start the profile in locked state
(a.k.a direct boot mode) so that the admin can reset the password.
This CL adds "Forgot my password" button to work profile credential prompt
if all of the following conditions are true:
* Work profile is turned off
* Profile owner app is capable of running in direct boot mode.
* Profile owner app has an active password reset token.
* The device is an FBE device (otherwise profile will be unlocked).
Clicking this button starts the profile in locked state and shows an
activity to the user that instruct them to go to their IT admin.
Bug: 143516540
Test: manual
Change-Id: I832f7121b43e39161c5afa816f44ce89584b66e2
Integrate with Talkback enabled and change the behavior as below:
1. Show 3-finger swipe up from bottom summary
2. Show 3-finger icons for edit shortcut dialog
3. Dismiss the running the edit shortcut dialog
Bug: 142530063
Bug: 142531156
Bug: 147989432
Test: make RunSettingsRoboTests2
Change-Id: I2f34b8eebfdc5a385d72402e95a8b1d0bde4a428
It should be 2020 not 2018.
Original code is merged in ag/10000397.
Bug: 143995814
Test: Build pass.
Change-Id: I9a1a3872825f325b785ed55653e64f388ea6bcee
* Updated FrameLayout of work profile lock in Settings to use GlifLayout
* Removed old background image of work profile lock
* Updated text for PIN, password and pattern
* Added enterprise logo to work profile lock
Bug: 141290838
Test: Manual testing
atest com.android.settings.password
Change-Id: Ie09974857b6c76a182a8075b9e1964a2e0af0de9
Manual network selection need to have 5G icon when 5G signal is
available.
Bug: 143995814
Test: 1. Build pass.
2. check UI:
3-1. Open APN settings page: Settings > Network & Internet > Mobile Network > Advanced > Access Point Names
3-2. Turn off Automatically select network
Change-Id: I3664105d3bf52e3694a2274c6aa76a755de4e1dd
Connect button becomes Disconnect button if the Wi-Fi AP
is connected.
Bug: 135891885
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=WifiDetailPreferenceController2Test
Change-Id: I0e0d485385294658170da3d37bc1cc1f8748468f
Provide a setting for new color inversion design.
Bug: 146019226
Test: make RunSettingsRoboTests ROBOTEST_FILTER=ColorInversionPreferenceControllerTest
Test: make RunSettingsRoboTests2
Change-Id: I1d081c6321ee96d48e8f52304893e4a5fb59333a
Provide a setting for new Magnify area feature and joystick controller
Bug: 146019459
Bug: 146473544
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationModePreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=MagnificationWindowControlPreferenceControllerTest
Test: make RunSettingsRoboTests2
Change-Id: Ia32fa073c59ad304e9ef9eb530ba37dd24c2f2f6
Combine the UI with both shortcut preference and edit dialog.
This CL only contains UI and related connections.
Related logic implementation will be added in next CL.
Since the drawable resources are not ready, put the mock
drawables as temporary. Once the drawbles are provided by UX,
create a CL to replace the related resources.
Bug: 142530063
Bug: 142531156
Test: Maunal
Change-Id: I21e4c6e99c2d1731c15d7c9553594160b8809eb5
Create a dialog that could let users choose their preferred accessibility
shortcut.
This CL only contains dialog layout and its utility methods.
Related logic implementation will be added in next CL.
Bug: 142531156
Test: Maunal
Change-Id: I7bfccea96cc47dd213b4d828499c10b290e24330
Create a new preference that could let users enable accessibility
shortcut and choose which shortcut type they prefer to use.
This CL only contains preference layout and functions interfaces.
Functions implementation will be added in next CL.
Bug: 142530063
Test: Maunal, make RunSettingsRoboTests
Change-Id: I69e832638547cd3f38da2192f22c7e219bbcc018
Add the license announcement in the drawable files to make it consistent to other
files.
Bug: 143917082
Test: Maunal
Change-Id: I892a4194b2b4b46dd64165a08da97cc41b3bd4f8
Original icon is also a material design Wi-Fi signal icon but
it's for notification. This one is for devices.
Bug: 134408491
Bug: 139336138
Test: visual
Change-Id: Id14ddbbcede458e2a9f8645d94ecf80d22fe9ab2
- Those icons are black, they are invisible in black background.
Removed the png files and used vector drawable instead.
- Remove a duplicated string
Fixes: 139101780
Test: visual
Change-Id: Id77aba716a304d38af6346bcdf436a4a9aebfd8c
- Use tint instead of custom fillColor to be consistent with overlays.
- Standardize on using @android:color/white as fill color
- Update list of overlayed icons.
Bug: 131346125
Test: make
Change-Id: I4bc88e5842ba2f149356929a77b81459ce5042c5
- Use tint instead of custom fillColor to be consistent with overlays.
- Update list of overlayed icons.
Bug: 131346125
Test: make
Change-Id: Ib548c0b47db0064bcb1536c9b7a650912f28273f
Merged-In: Ib548c0b47db0064bcb1536c9b7a650912f28273f
Fixes: 134965754
Test: Verified slice appears when not enrolled.
Test: Verified slice does not appear when enrolled.
Test: Verified slice disappears after clicking on icon and going back
to settings page.
Change-Id: Id1c4458742ab622df8d5881e926fe54684b36843