Implement the following features to support carrier network connection.
This commit is to define the carrier config for each features.
1. Sets default preferred APN
2. Uses dun APN when using Preset APN in roaming network
Also, fixed that to use only APNs with the same set id as preferred
APN.
Test: Manual
Bug: 147969062
Merged-in: If1e6d2bf58de39c22caa901fcd90fb11f104d900
Change-Id: If1e6d2bf58de39c22caa901fcd90fb11f104d900
(cherry picked from commit b9beb0d1afda6327b1c7645ac20a016f08e5744e)
Bug: 167706409
Test: manual - Cast from Google Play Books and check that media controls
are available in QS.
Change-Id: Ifc404be2de6f5f87a1d43e3b51d3ca00c73c6e06
(cherry picked from commit 8cc72bdf3a)
Merged-In: Ifc404be2de6f5f87a1d43e3b51d3ca00c73c6e06
When an app is casting there can be two active media sessions, one local
and one remote. In this situation, there should only be a media object
for the remote session in QS. To achieve this, filter out updates for
the local session.
Bug: 158604810
Bug: 158813341
Bug: 158652134
Test: manual - cast from iHeartRadio. Toggle play/pause from media
object and check that device shown in output switcher isn't rapidly
changing.
Test: manual - cast from LivePhish. Check that only a single media
object appears in QS.
Change-Id: Ia7b8d2f3df3e68f63049e3443315fc26811efec4
(cherry picked from commit 0e098127db)
Merged-In: Ia7b8d2f3df3e68f63049e3443315fc26811efec4
Bug: 163830899
Test: Verified feature is stored to secure setting.
1. Flashed device to QDA release build
2. Verified require_attention was being reported as 1
3. Flashed to most recent change, verified require_attention setting
was upated to 0.
Change-Id: Ibb1fe6ee3d2e6674b4e335341a3278d2cf0f61b0
Merged-In: I0187e27b641edf0836fa187530cb2a193082fe5d
Add a new carrier config that changes the service class is used for Call
barring settings.
CP from aosp/1404668
Test: manual
Bug: 161772958
Merged-In: Ibce22d0d340ce648c0b6df411266d1c4fe537013
Change-Id: Ibce22d0d340ce648c0b6df411266d1c4fe537013
VoIP apps sometimes send conflicting requests to route call audio
to both speaker phone and BT SCO. This can happen if the app does not
reset the speakerphone request properly before requesting BT SCO.
In this case we must make sure to cancel the oldest request so that the
correct routing is restored when the audio mode owner is updated.
Bug: 162527933
Bug: 161564483
Test: repro steps in bug
Test: regression tests with speakerphone and BT routes with major
VoIP apps.
Change-Id: I2d390a283822732474583ad655dbc760b0ba8c66
Merged-In: I2d390a283822732474583ad655dbc760b0ba8c66
(cherry picked from commit 7647273fe6)
telecom plays dialer's ringtone, so we allow them to play sounds when
DND is on in priority mode. We trust that telecom will abide by the DND
rules and exceptions (ie: checking for starred contacts)
Test: manual
Bug: 163525045
Change-Id: I798f1d968821e7d1b0a97b9b034c1ef0726f8242
Merged-In: I798f1d968821e7d1b0a97b9b034c1ef0726f8242
This change attempts to update the apps filter cache in the background
and without holding the package manager lock. It makes a local copy of
the package settings and gets the hashcode of each setting's package
object. After building the cache, it checks that all of the packages are
the same as before the cache was built. If there was a change, the cache
is discarded and rebuilt while holding the package lock.
Before change:
MakePackageManagerServiceReady took to complete: ~30ms
MakeDisplayManagerServiceReady took to complete: ~180ms
After change:
MakePackageManagerServiceReady took to complete: ~110ms
MakeDisplayManagerServiceReady took to complete: ~1ms
Test: atest AppEnumerationTests
Fixes: 167169644
Fixes: 161214066
Bug: 161250592
Bug: 162347084
This reverts commit 6d90fa3d50.
Merged-In: I910d73f4d3b4cb1fe54d667752d40445b1c56906
Merged-In: Iafa85e838d7f753eaf74037c85f86ee1feeb17aa
Merged-In: Iac2948fb2ad66e45161627f637f039a5f4faf88c
Change-Id: I68a46b1a6463a6d76907d4b2c507d5de3d418891
Revert "Allow user to block individual apps from resuming."
Revert submission 12392268-cherrypick-mediaappsettings-5fxuo164a2
Bug: 161813143
Reason for revert: no longer want change in QPR
Reverted Changes:
Id3de52419:Allow user to block individual apps from resuming....
I8c85bc937:Allow user to block individual apps from resuming
Change-Id: I888079abc77f5bc22aefa19c2f7523bb9db05bf8
Add free memory / swap as well as the kill reason to better understand
and diagnose lmkd behaviour in the field
Test: build with corresponding lmkd change
Bug: 168117803
Merged-In: I190f70758daa442b8605e17960c74574676fa3ae
Change-Id: I190f70758daa442b8605e17960c74574676fa3ae
This makes it so we can have at least one entire control tile visible
when scrolling.
Test: manual
Bug: 166166119
Change-Id: I7514cf8af69b4ba1d6c0bf76cdc21cd3c0719bd2
(cherry picked from commit a3a7c45f36)
We weren't logging when the user swiped the carousel away, which makes
it hard to tell in bugreports whether players were set to inactive
because of that or something else.
Bug: 158721393
Bug: 160944177
Test: manual
Change-Id: Ie2205d6c369576f1f83996b2f96d040ddd328e83
(cherry picked from commit a0546c7912)
Merged-In: Ie2205d6c369576f1f83996b2f96d040ddd328e83
The call to MediaRouter2Manager#getRoutingSessionForMediaController was
implicated in an ANR. So, moving the call to a background thread to
prevent it from being caught blocking the main thread.
Fixes: 161690149
Test: atest tests/src/com/android/systemui/media/MediaDeviceManagerTest.kt
Change-Id: Icf3945a971be84397a335672134b1067decfe6da
(cherry picked from commit 290a624441)
Merged-In: Icf3945a971be84397a335672134b1067decfe6da