Having a hidden abstract method for a class that can be extended
means that public implementors cannot implement these hidden methods
posing a risk that custom implementations will not have required
abstract methods resulting in an exception.
Bug: 151134792
Test: make update-api
Change-Id: I758d12465fabc671be19bedeeceb16885de23c87
Exempt-From-Owner-Approval: large scale suppression of existing issues,
no-op in terms of behavior
Since the introduction of a background mode for record audio permission
the app ops check the soundtrigger service does was broken. This is
because the existence of the background permission now allows for the
audio app op to be in the MODE_FOREGROUND state.
Before the background mode, the soundtrigger service checked the AppOp's
raw state because it knew that the client apps needed access to the app
even if it was in the background. Now that the background mode exists
the AppOpsService can use the app's permissions + proc state +
capabilities to correctly evaluate whether the app should have access.
Apps with the foreground-only permission are still going to work because
the service binds to them with the include_capabilities flag. Later on
we can remove this binding flag and mandate that soundtrigger clients
add the background permission to their manifest.
Bug: 172632101
Test: 1P app is able to work
Change-Id: Ic5134ea0bcabdb289315d87bbc5405a0f0128c61
In order to make getActiveSessionsForUser, we need to remove
@UnsupportedAppUsage first.
Following UnsupportedAppUsage removal policy by adding
publicAlternatives to be gathered by internal tool and published
on the Android Developers site.
Bug: 160666400
Test: build
Change-Id: I13d639489091087a5c00e81071f36740002ffd9a
Currently, onMediaKeyEventSessionChanged is not being called when
both the media button session and the media button receiver values
become null.
Bug: 171967523
Test: N/A
Change-Id: Id6154ff0dbae9b305eabb1fcd60f4e3316d98dda
1. Naming 'Ims' in all the related variables & functions has changed to 'Rtp'.
ex) setOnImsRxNoticeListener ----> setOnRtpRxNoticeListener
2. Change viewing of the parcel's data structure.
Before the parcel is parsed based on it is byte[] type.
From now it is analyzed as (int type, int[] data)
3. Add IMS permission checking when register the callback
Change-Id: I38ff84bc3c723ca07e36ece1d94344fc7b11125b
Merged-In: I38ff84bc3c723ca07e36ece1d94344fc7b11125b
Test: Manually built the tree.
Bug: 158546060
Signed-off-by: Kim Sungyeon <sy85.kim@samsung.com>
* changes:
Remove manual parceling from Interpolator and VolumeShaper
Add av-types-aidl to libandroid_runtime, libmedia_jni
Add dependencies to libandroid_runtime, libmedia_jni
Add dependency to libandroid_runtime
MediaSessionManager#registerRemoteVolumeController allows apps to
attach a binder to media service in order to be notified when
the session or volume of the remote volume controller is changed.
Since binders cannot be exposed, this CL instead adds and exposes
as system API a Callback interface that apps can implement.
Bug: 161332642
Test: Manual test by changing volume when remote casting
Change-Id: Ibb009559e818711ca40f7bc1b3694a49484960b3
1. Naming 'Ims' in all the related variables & functions has changed to 'Rtp'.
ex) setOnImsRxNoticeListener ----> setOnRtpRxNoticeListener
2. Change viewing of the parcel's data structure.
Before the parcel is parsed based on it is byte[] type.
From now it is analyzed as (int type, int[] data)
3. Add IMS permission checking when register the callback
Test: Manually built the tree.
Bug: 158546060
Signed-off-by: Kim Sungyeon <sy85.kim@samsung.com>
Change-Id: I8c78b7ee498d84e9fcdd3a865fd963a63adb6263
Instead of querying it from package manager native.
bug: 159172726
test: dumpsys and see the package names still displayed correctly.
Change-Id: If171d08d1e44f1aee82e32f428b7d26051e7db1c