If a data profile only contains traffic descriptor, and has no
APN setting, it should be considered enabled.
Fix: 233557423
Test: Manual + atest DataProfileTest
Merged-In: Ied26cbba3bde8491bfd6299a2724fc2c5b26c026
Change-Id: Ied26cbba3bde8491bfd6299a2724fc2c5b26c026
JobStatus.createFromJobInfo() uses the
NetworkRequest.Builder(NetworkRequest) API, which previously failed to
create a copy of the passed NetworkRequest. This means, that up until
now, SOME_UID was not only set on the second job status, but also on the
first, as the NetworkRequest used came from first.getRequiredNetwork().
Since JobStatus changes the JobInfo object, the second JobInfo object
should be compared a a JobInfo object that has also been changed by
JobStatus in the same way.
Test: atest JobStoreTest
Bug: 233580437
Change-Id: Ic4584575e2bc092c49b7b9ecb9b115da189bdfed
In case of a too long property value in
SettingsToPropertiesMapper, only the value is printed, not
the key.
It makes sense also to print the key making it easier
to find what is causing the problem.
Change-Id: I3cef0d404037d3c515fae116752c4e73c6699b62
Because if we lose the changes, an updated app won't be reconsidered for
new install permissions.
Fixes: 221899913
Test: presubmit
Change-Id: Ib82189b07cf4dfd132be37fb19843d770e871f8c
Merged-In: Ib82189b07cf4dfd132be37fb19843d770e871f8c
Re-land http://ag/2443141 because the over-translation issue should be
resolved now.
Use ICU's MeasureFormat to the degree possible for formatting file
sizes.
Bug: 36994779
Bug: 71580745
Bug: 217592956
Test: atest FrameworksCoreTests:android.text
Test: atest CtsTextTestCases
Change-Id: If3416ec38cf18c0441576643bfab850148e18c8e
In split-screen when a task is the IME target, the other one is dimmed.
Add a config to enable/disable this functionality.
Test: Manual
Bug: 229090560
Change-Id: Id0935f1badec4620a97b8ea9826d32b94c186b98
Merged-In: If41d89744acd6dcba27085755b6cd3947ee3ad62
This commit enables MOBIKE on the VPN's IKE Session. In this way if
the VPN server also supports MOBIKE, IKEv2 VPN can migrate to a
different network by migrating the active IKE session, instead of
setting up a new IKE Session.
This commit also adds a grace period so that when the underlying network
is lost, the IKEv2 VPN will wait for some time before terminating the
IKE Session in case a new network will be available.
Bug: 192077544
Test: atest IkeV2VpnTest (new tests added)
Test: atest com.android.server.connectivity.VpnTest
Change-Id: Ie6ef3103200fef3b7e5f00918fee9e791cad9445
Previously, the key pair generation would error out even if we
successfully provisioned attestation keys. Instead, we should retry
key generation after the GenerateRkpKeyService reports an OK status.
Bug: 231495834
Test: RemoteProvisionerUnitTests
Change-Id: I049294cbc7119de55b5de02499bf4609d4c6de5d
Merged-In: I049294cbc7119de55b5de02499bf4609d4c6de5d
For one of the many variants of Blend, a cut&paste error made
that the options were not passed.
This was not caught because no test exercised this.
I've added the test (in a related CL) and fixed the bug.
Bug: 178718752
Test: Ran the RS Java tests
Change-Id: Ide2fef96137ffd89e4431cf15be5df398036d909
Merged-In: Ide2fef96137ffd89e4431cf15be5df398036d909
(cherry picked from commit a2c6eb2f1a)
The value is saved in SharedPreferences. However, it will return ACCESS_UNKNOWN in several cases. We shouldn't set it as rejected automatically. We should ask user when PBAP connect.
Bug: 230712201
Test: manual
Change-Id: Ia3f373b9799cf02c47dc782688430fb234491f61
All codepaths in socket_read_all that return a negative value have
already thrown an exception. socket_read should not throw again.
This causes debuggagle apps to crash with a JNI failure if
LocalSocket#read gets an error.
Test: atest CtsNetTestCases
Bug: 229813087
Change-Id: I2a04a799d3748c221f8555fa7afc40d73f0f392c