For experiment flag testing, adding lmkd flag in DeviceConfig.
Bug: 194316048
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
The constants will be used by phonesky and CTS
to replace hardcoded values.
Bug: 194981157
Test: m
Change-Id: I4567334be554055ef2a5c20ef7160d991674cb9e
The MediaSessionManager has two system APIs
- getMediaKeyEventSession
- getMediaKeyEventSessionPackageName
which get the current the media key session and its package name.
Since the APIs require MEDIA_CONTENT_CONTROL permission,
non-system apps could not use the APIs.
This CL adds an overloaded version of those APIs so that apps with
enabled notification listener can use the functionality.
Bug: 187483932
Test: Passed MediaSessionManager(Host)Test
Change-Id: I18904fb68ad175a668f79deb77ced507b7fc800b
Since its beginning [1] the system has been using
InputConnection#getHandler()
only for retrieving Looper associated with it. Although it has been
intentional, it'd be probably helpful for app developers if we can
clarify a bit more on this, because most likely the current behavior
is not going to change.
This CL also annotates the API with @Nullable as it should have been.
[1]: Id9e579bb3e2966986cdcb1c34bc8cacfeca2e1a9
612cce92ad
Bug: 26945674
Fix: 195434171
Test: presubmit
Change-Id: I14910c6f0cc43feec505b2951625d0c00203ac92
Add columns in ContactsContract.Settings to indicate
the default account for new contacts.
Test: ran m update-api to generate current.txt change.
Bug: 188347310
Change-Id: I4333455e36079561b6bfcdd07375aa56659bb4db
This CL also updates the values of some tuner System API constants.
Those values generated by the HIDL HAL were duplicated, and should be
fixed.
Bug: 191825295
Bug: 194426536
Fix: 194426536
Test: atest android.media.tv.tuner.cts
Change-Id: Ife35bd0000b3aa864d6d0a7842536cad07f5ab9c
The MediaSessionManager has two system APIs
- addOnMediaKeyEventSessionChangedListener
- removeOnMediaKeyEventSessionChangedListener
which listen the media key session updates.
Since the APIs require MEDIA_CONTENT_CONTROL permission,
non-system apps could not use the APIs.
This CL adds an overloaded version of those APIs so that apps with
enabled notification listener can use the functionality.
Bug: 187483932
Test: Passed MediaSessionManager(Host)Test
Change-Id: Ic13353983e23f557afaa13eb11a48e48d24d4358
... to verify their behaviors in CTS
Also wraps ITaskFragmentOrganizer to TaskFragmentOrganizerToken
because we cannot make .aidl a TestApi.
Test: presubmit
Bug: 192442647
Change-Id: I848a33340449189af7d9d66a6468a9e397a0f53a
In some cases, the OTA update want to flip the slot to source
without cancelling the entire update. The functionality was
achieved by ResetStatus(). However ResetStatus() will clean up
the update progress and free up space to support virtual A/B.
Details in http://go/no-virtual-ab-switch-off
Test: build
Bug: 187321613
Change-Id: I2abcf8289f5fd573d2b55fa7004ab4dcd175252f
Deprecating ACTION_STATE_USER_SETUP_COMPLETE that was previously used in the NFC provisioning flow, now the NFC provisioning flow uses the admin integrated flow and no longer launches an intent with this action when user provisioning completes.
Test: No tests needed
Bug: 192228539
Change-Id: I6849b9de72f13735995156e1a02a778cf66cf208
Fixes: 191483162
Test: Run PTS tests on existing CHRE devices
Test: Flash on device, verify no security exception is observed
Change-Id: I405423c0981ae2618faa35fd2df9c068d6ead94a
TaskFragmentOrganizer will be used by regular apps without the
permission to manage Task. We are allow it to apply transactions if it
is operating on TaskFragment that is organized by itself.
Bug: 193191599
Test: atest WmTests:TaskFragmentOrganizerControllerTest
Change-Id: I82e5d49260680bd496ff184c6795ec817c65d858
This parameter has been nullable since when the API was introduced, but
it was not properly annotated like everywher else.
Fixes: 193225087
Test: m -j
Change-Id: I49e3d840f0cc7b5974059189a1e3eac201e8a5df