Signal icon on the add wifi network feature is constant, didn't change with real signal level.
Bug: 146842198
Test: Add following unit test cases:
1. withOneSuggestion_uiElementShouldHaveInitLevel() to test init level.
2. withOneSuggestion_whenScanResultChanged_uiListShouldHaveNewLevel() to test level should updated according to scan result.
Change-Id: I212a825da9455a09a5c7777f87c0a74ec030c890
am skip reason: Change-Id I8c50678bdfd6de89fb8d56122bfa38bdd5ac5c9d with SHA-1 0ab3283ccf is in history
Change-Id: Ib53b0ef7146211f38013618fa7e6dd71c31770f5
- add atLeastOnce() because method would be called when init()
Bug: 147856265
Test: make -j42 RunSettingsRoboTests
Change-Id: I0bfe524caa674f7fe5895e3e30c8621b3c610bfc
am skip reason: Change-Id I1e98b95e81dea355c66e8c0f30664db21632d05c with SHA-1 150e2921d9 is in history
Change-Id: Ib45a94a7d218f7c9e2e3d08920641de130e0be1d
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history
Change-Id: Ib78d755490c32e3bc4e776cbba059b26136becef
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history
Change-Id: Iaf3f0148702058eb1451e6295f145fd2a6246ff2
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 68da89b6d8 is in history
Change-Id: I07e1612bd2f92960e4b8871f9cb04ad62d51c988
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 13aaa6ab4e is in history
Change-Id: Id6961509a549a849f473c6169d92f4497db8e117
am skip reason: Change-Id Icd2f7fc7021e84fad9980d58688dc640ca4245f8 with SHA-1 13aaa6ab4e is in history
Change-Id: I74bedb53e41a950202d6f27980717e35930765e2
CDCA no longer needs to cancel authentication in onPause. Since it
internally invokes BiometricPrompt, and BiometricPrompt's components e.g.
BiometricService and AuthController are aware of the "top-ness" of its
client, this code is redundant.
Fixes: 145991060
Test: Follow comment#3 in the bug above, repeat 10+ times
Test: Set up work profile, set up work profile password. Open work profile
app, but before entering password, swipe up to go to home screen.
Authentication is cancelled as expected.
Change-Id: I0b4d7d89cb9801ddbb6e3bd07f71191035cc75ec
In AllInOneTetherSettings, we use TetherEnabler to hanle all behavior
related to tethering switch on/off.
In TetherEnbler, add WifiManager.WIFI_AP_STATE_CHANGED_ACTION to cover
all possible tethering state change.
TetherEnablerTest is modified accordingly.
Bug: 147322704
Test: make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=TetherEnablerTest
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=AllInOneTetherSettingsTest
Change-Id: I505b3825f79260983fff9d3935ba834ad8f9f690
Since ag/10056493 changed the interface, robotest is broken.
Bug: 147865441
Test: run all robotest
Change-Id: I88dce302068dbce3443c1909c092ff926260ad9b
We will soon have javadoc generated from the doc comments on all
@ChangeId annotated constants. Since the link target referred to
here is a @hide constant, it cannot be resolved as part of DAC doc
generation. Replace it with {@code} specifying the constants value
instead.
Bug: 144927670
Test: In follow up CLs
Change-Id: I9947e722dca228705190e8f2c49e47104c04dea6
Added radio button preference and control to handle user update value.
Bug: 146019277
Test: Manual
Change-Id: Ie9136f942eec43fc378e7f39d8c2eb7534c531c9
Bug: 147858203
Test: make RunSettingsRoboTests
Add the new override of putStringForUser after it was introduced in
ag/10056493
Change-Id: I38894758268ab0025e01537cafe5cb078391a497