As this has already evolved from just presenting data. In the future any
permission related calls to the permission controller will be added here.
As the calls are protected by different permissions the binding will not
require a permission anymore, but each individual call checks the
permission.
Bug: 120221960
Test: Looked at settings UI showing data from this interface
Change-Id: I6b4a5c3b7ee17b145e11e2c1b6e11a8a232bffed
Unit test needs access to the constructor. Moreover, it doesn't make any
harm to open up access to this constructor.
Bug: 120910747
Test: run unit test
Change-Id: I063552b5a082cf01b3ae3eb708659b2700fc4962
When we receive ACL state change and can't find corresponding
CachedBluetoothDevice, we will trigger onAclConnectStateChanged with
null activeDevice and cause NullPointerException.
Add a null check in AclStateChangedHandler to prevent it.
Bug: 122049350
Test: RunSettingsLibRoboTests
Change-Id: Iaabccc8c4ad60dbae14bbb0f6af655be06bc18ea
Ensure systemui can boot when WifiManager is null. This patch merges
go/aog/804695 into internal master.
Change-Id: I7861f9c30f109852bb200bfa17207e74c4b8ac1c
Fixes: 109588864
Test: manual
- Add ConnectionRecordManager for device usage record operation
- Add test cases to verify naive rules
Bug: 119065243
Test: make -j50 RunSettingsLibRoboTests
Change-Id: Idf1c0ed575d1feeb3f1eb93b41cd209c3a510bfa
Public isConnected() method to know which MediaDevice is connected
to play media.
Bug: 121083246
Test: build pass
Change-Id: Ibf877bb6c9eaedc6a839f5108a5ae8b47219f2f6
Currently, the about phone page is displaying whatever the current MAC
address is, and with MAC randomization enabled by default, this MAC could
change arbitrarily and depending on the currently connect network's
settings.
Instead of showing the current MAC, we should be displaying the factory
MAC address, which is more relevant in the about phone page.
Bug: 111634904
Test: atest WifiMacAddressPreferenceControllerTest
Test: enable mac randomizations and verify that in the about phone page
the factory MAC is displayed instead of the randomized MAC.
Change-Id: Ia658ae86ee7807e226aa6f560b935af27774fcf1
This is needed for keeping people in a good state in case they
uninstall the app that provides the signal for routine automatic
battery saver mode
Test: in sibling CL
Bug: 111450127
Change-Id: I0ecc59cc8b8275be1f1211207ad523f45b86175e
When a 3rd party IME is enabled for the first time, a warning dialog is
shown.
The dialog has a cancel button, and it triggers
onSaveInputMethodPreference(). However, when it's cancelled by the back
button, it did not trigger onSaveInputMethodPreference().
It still works as intended on stock Android, but on ARC++ we need the
callback to be always fired every time it's cancelled.
Test: manual
Bug: 112442972
Change-Id: Ibdbaa020957ccd5a77a7fe5c67937edd19b8455f
Existing APIs that accept a ContentResolver are too restrictive when
the caller has their own ContentProviderClient already bound and
configured, so we're in the market for a solution to open those
existing APIs to accept a wider range of inputs.
The solution we've come up with is to introduce a super-interface
which contains the common ContentProvider APIs, and then make
ContentProvider, ContentResolver, and ContentProviderClient all
implement that interface for consistency.
After this change lands, we can then safely relax existing APIs to
accept this new ContentInterface, offering a clean path to solving
the problem outlined above.
Bug: 117635768
Test: atest android.content.cts
Test: atest android.provider.cts
Change-Id: Ic5ae08107f7dd3dd23dcaec2df40c16543e0d86e
Exempted-From-Owner-Approval: keep tests working
Message permission choice will always be saved, mMessageRejectionCount
and related code are no longer need.
Bug: 120291728
Test: build pass
Change-Id: I2d8ee57b5a8e5e4fb96f762f2b8d68e6d2f97722
Consolidate all permission related code in a single java package.
Test: atest SettingsLibRoboTests
Looked at Settings AppInfo UI (uses RuntimePermissionPresenter)
Bug: 120221960
Change-Id: If135e984a8273e9bed80cab9fbf2d70f40a05c7f
When the current device is a hearing aids, display the name under the
tile.
Bug: 117423826
Test: Manual testing on phone with hearing aids connected
Change-Id: I98cfda7905763a3da3dbc1fbed13fee881da7bb2
Some time zone related libcore classes are moving from
libcore.util to libcore.timezone.
Bug: 119026403
Test: build only
Exempt-From-Owner-Approval: Trivial import change
Change-Id: Ie90c219799cbf9601a22a2d972c09e3d94fc0c43
Add SECURITY_MAX_VAL to support dynamic Add network spinner, needed to
convert spinner position to security type.
Bug: 112195778
Test: atest AccessPoint
Change-Id: I2f64dc433a36366dee2841de90558259434a8589
Filter unsupported networks from scan results. New WPA3 networks and OWE
networks may not be compatible with the device HW/SW, and such networks
will not appear in the scan results view.
Bug: 112195778
Test: Functional test with WPA3/OWE AP and confirming filtered correctly
Change-Id: Ic79e533a0e99aa38366b178feafb28bd286202d1
There are no resources in array.xml that references the security or
PSK field, so updating the comments to match.
There is also no need to keep the list sorted -- new values should be
added to the end and any string-array resource values can be added to
the end accordingly.
Test: None
Change-Id: I85e7de9c9f08468f6aaeaa9af1482e304a501a76