ApiLint tries to only lint "new" APIs, i.e. those introduced since the
last frozen API. Using android-non-updatable's last frozen txt does not
work well for this, as it is incomplete API surface on its own, so
metalava cannot see all APIs that were present in the previous API
(such as methods inherited from ART), and so makes the wrong decisions
for which APIs are new.
Bug: 171506470
Test: m checkapi
Change-Id: I00d25f2ae0ba8f0ee6fa8564d86642efd74e0d44
Merged-In: I00d25f2ae0ba8f0ee6fa8564d86642efd74e0d44
(cherry picked from commit 4f90aa5148)
Higher priority goes first in mPrioritySortedApnContexts, so change
default priority to be higher than enterprise.
Test: atest DcTrackerTest
Bug: 183738520
Change-Id: Ib2f9594933d00307276f4538714a5354d36baf09
Merged-In: Ib2f9594933d00307276f4538714a5354d36baf09
NoOp instead of return ISE when the device is not CDMA capable.
Test: atest TelephonyManagerTest
Fix: 175665470
Change-Id: I36d69f4bf337ef9c102327bfe87752c56847af87
Merged-In: I36d69f4bf337ef9c102327bfe87752c56847af87
dist_group replaces owner and the default is going to change, set it
to the current default "android" for frameworks/base java_sdk_libraries.
Bug: 186723288
Test: m checkbuild
Change-Id: I1526853951bcffbe5c5aec6fbc6ba8e0dbea95ad
Merged-In: I1526853951bcffbe5c5aec6fbc6ba8e0dbea95ad
FileCleanupReceiver was not unregister when switch NotificationHistory
Testing Steps:
1. Settings -> Apps and notifications -> Notifications -> Notification history
2. Repeat switch 1000 times and system crash.
Change-Id: I40493fe7726883a449e54888247c5bffcc1554e3
1. Use final for Binder.clearCallingIdentity() to protect not being overwritten.
2. Protect it in the finally block of the try statement to avoid missing restore the CallingIdentity as exception.
Bug: 189819183
Test: Manual test
Change-Id: I2dd4cfc1aacecb0b77fa4c82b48b24b284271779
Merged-In: I2dd4cfc1aacecb0b77fa4c82b48b24b284271779
Some devices may not have certain partitions available and the
OverlayConfigTests use hardcoded paths to test OverlayConfig
functionality. This change ensures that the temporary directory
created to test OverlayConfig has all of the partitions defined in
PackagePartitions#SYSTEM_PARTITIONS within it.
Bug: 187020117
Bug: 187020675
Test: atest OverlayConfigTest
Change-Id: I511e24b7ccfe82e6e89ceea7107457439793ef77
This patch makes LocksettingsService clear the WIFI namspace when
Keystore is reset for the primary user.
Test: Using Settings, install a WIFI certificate, tap clear credentials,
and check that the certificate was removed from the stored
credentials.
Bug: 189601008
Merged-In: I9364c860250653e50fa8c92c11c510c864f3c3d8
Change-Id: I9364c860250653e50fa8c92c11c510c864f3c3d8
As all dependencies on hidden API have been removed, build
service-connectivity against system_server_current.
Bug: 171540887
Test: device boots, has connectivity
Merged-In: I454e8a0a8d0e0f9e6d21a8e8faf5a9e299962ad4
Change-Id: I87ef0968c96272c99c787fdbc21db261acdea6aa
The API allows callers to control the default network that is used for
DNS hostname resolution.
Test: atest CtsNetTestCases
Tests in change I00143cafcd3eb1d71e8d5c7ea9c839a99dc6f4ce
Bug: 171540887
Merged-In: I42f0d9b17b3058f6e10fd2e651278b290f26667f
Change-Id: Id6c40145b8886a7ec6f2bd3a25ad85e8df32f4bb
Add 1922 as a free short code for Taiwan.
1922 sms is a new service announced in 05/19/2021 to streamline the mandatory contact tracing policy during pandemic in Taiwan.
BUG: 189442874
Test: ShortCodes are already in operation as tested.
Signed-off-by: Shawn Lien <shawnlien@google.com>
Change-Id: Ia62f8f9b4c2725109254153af5fdfc108f599dcb
The API is the getter couterpart for setprocnetwork.
Use it in NetworkUtils so that the NDK API can be the source of truth
for the process network.
Bug: 171540887
Test: atest CtsNetTestCases
Tests in change I311b58585033c2ca50ce5477ea9cd94b6f127507
Merged-In: Ie8f68cf1fa57deddb63324c1abf3d6fd5b0ef500
Change-Id: If37c1480e8a6fe22ce0340858fcde052e8770923
* changes:
setCurrentState(DESTROYED) called from main thread
Enforce setCurrentState calls are on main thread
Refactor QSTileImpl and remove Dependency.get
QSTileImpl is set to DESTROYED when handleDestroy