Extracts large parts of the GNSS HAL into a central GnssNative class,
which can be faked for testing. This is a large step towards making all
GNSS code unit testable, and allows for more modular HAL configurations.
Begins to break up the GnssLocationProvider god object and pull
functionality out into other classes. Changes include:
-Making GnssCapabilities parcelable so it can be part of the API
-Splitting out the NMEA listener from status listeners, which
substantially reduces the burden of supported NMEA listeners as well as
the amount of GNSS<->AP communication.
-All GNSS listeners now respond properly to HAL restarts.
-Partially extract out emergency call detection.
Bug: 153129152
Test: manual
Change-Id: Idee0d548f38c6adf921cd6c28b5d815bbd366f8a
Modify ther permissions system around TimeZoneProviderService discovery.
Bug: 175718639
Test: Confirmed witholding the INSTALL_ permission led to a boot failure
Test: build / boot / treehugger
Change-Id: Id91fa7716e3ccc53cd2801aa4d7a469c01c990b6
1. Renamed "RemoteVolumeController" to "RemoteSession" since it
better encapsulates the callback methods.
2. Added Javadoc for new parameters in
registerRemoteSessionCallback.
3. Renamed onSessionChanged to onDefaultRemoteSessionChanged and
revised documentation,
4. Added documentation for what the flags in
RemoteSessionCallback#onVolumeChanged are for.
Bug: 173657280
Test: N/A
Change-Id: I8f0d58f732df8117888bc66a58f47fc33db2339e
It is the same as setTaskWindowingMode(SPLIT_SCREEN_PRIMARY).
Still keep ActivityTaskManager#setTaskWindowingModeSplitScreenPrimary
that redirects to setTaskWindowingMode for simple usages.
Remove SPLIT_SCREEN_CREATE_MODE_TOP_OR_LEFT and
SPLIT_SCREEN_CREATE_MODE_BOTTOM_OR_RIGHT because they are no longer
used since commits bed2d1b, 4067a2d and 51beb14. Now if there needs
the similar functionality, it should be done by organizer in shell.
Remove the usage getNavBarPosition from StatusBar because it was
used to determine the split side.
The history about the removed fields: 59a73ca, f59a413.
Bug: 174040691
Test: SplitScreenTests
Change-Id: Ie5770d72cc5fb2f6ba1beceec418f1ea39f9c604
Revert "Add API to query role privileges"
Revert submission 13185780-role_query_perms
Reason for revert: Revert to reduce API surface for moving into module.
Reverted Changes:
Ib69fe2749:Add API to query role privileges
If99619e53:Add API to query role privileges
Bug: 165951651
Test: presubmit
Change-Id: I714377bdb2840a96732e9ab6d1dcdaaf3bfe50eb
LocationProvider cannot represent unknown properties, which is currently
causing problems with getProvider() which may return null even when a
particular provider exists. Instead provide isProvider() to query
whether a provider exists, and getProviderProperties() to query a
provider's properties.
Bug: 176232308
Test: atest CtsLocationNoneTestCases
Change-Id: Ic42cc953624be116616b0b997e18356247fdf288
* Add callSessionIntiating which occurs in between the session
starting and the call session progressing.
Bug: 161218980
Test: FrameworksTelephonyTests
Change-Id: I745af44f83915b92e0cfa57b4edf4f11ca575f5d
Stop tracking the ART APIs in the non-updatable current.txt, and
instead add in the txt/srcjar/jar files produced by the art module's
java_sdk_library.
Bug: 173606718
Test: manual last_released check of merged api txt (b/174847574 to
automate)
Change-Id: I446a381f2b364a114ce391b99a13742d6769f14d
Add new APIs to manage the audio device used for communication
use cases (Cellular calls, VoIP and Video calls).
These APIs are meant to replace specific APIs like setSpeakerPhoneOn()
and provide a single generic way of configuring the audio device selected
for calls.
They will be used for newly added device types (e.g. BLE audio) instead
of adding new specific APIs.
They will also offer more options like for instance allowing to select the
earpiece (handset) device when a wired headset is connected.
The new APIs are:
- boolean setDeviceForCommunication(AudioDeviceInfo)
- void clearDeviceForCommunication()
- AudioDeviceInfo getDeviceForCommunication()
A listener is also added for applications to monitor current communication
device selection:
- OnCommunicationDeviceChangedListener
As well as listener registration and unregistration APIs:
- addOnCommunicationDeviceChangedListener()
- removeOnCommunicationDeviceChangedListener()
Bug: 161358428
Test: make && atest AudioCommunicationDeviceTest
Change-Id: I8028d842e4a8ca1abe0f87d03e3c5d57c46b9362
Merged-In: I8028d842e4a8ca1abe0f87d03e3c5d57c46b9362
This allows for better error reporting in tests and services.
Bug: 159651900
Test: atest GestureManifoldTest TouchExplorerTest AccessibilityGestureDetectorTest FrameworksServicesTests:TouchExplorerTest
Change-Id: Ic65ff7100ade77bbf26d538a033e9e000e6b9bcc
Support set/clear/get preferrd device for capture preset. The preferred
device will be used for audio routing when it is availabled. The
preferred device doesn't need to be present when setting.
Bug: 160352965
Test: atest AudioServiceTest
Test: atest AudioServiceHostTest
Test: atest CarAudioZonesHelperTest
Change-Id: Ib7aa142ad4c56a8138c7b440e8efbbf7a7ee38a6
Merged-In: Ib7aa142ad4c56a8138c7b440e8efbbf7a7ee38a6
This reverts commit f7dc3f6788.
Reason for revert: b/176163590, continual fatal exceptions in telephony on reboot
Bug: 176163590
Test: Local revert and the fatal exceptions go away
Change-Id: If7cbe3e5b8764f0ee72985830880157f64d71101
These constants need to be public in order for AndroidX ExifInterface
to be able to access it.
Bug: 159373092
Test: update-api
Change-Id: Ibfe4bb95287e8f6d432e17e1b96cbb7a3237c540