There is no reason to expose NO_THROTTLE_EXPIRY_TIME since
the fact that the apn was not throttle can be explicitly checked
for by checking the throttle type.
Test: N/A
Bug: 175092152
Change-Id: I8888fae0037fd04e1668ab51eff91dd2bcb5e057
Added api to support generic authentication architecture.
Bug: 154865133
Test: atest cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
Test: manual by GbaTestApp
Merged-In: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2
Change-Id: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2
Putting initial code to detect unauthorized use of Intent.ACSD. For now
we only allow permission holders and apps instrumented via permission
holders (eg. CTS tests via shell).
The plan is to drop the broadcast when unauthorized for targetSdk < S
(to fix the security issue) and throw a SecurityException when apps
target SDK level S+. Because of this I'm using two separate @ChangeIds
for now.
Since there are still legit use-cases where apps use Intent.ACSD, I'm
checking this in disabled mode for now, only logging. Once I implement
the exemptions for these cases I'll turn on the feature. Once that
happens I can remove one of the @ChangeIds.
It's good to get this code now rather than all at once after all the
exemptions so we can see how things fit (plus have some tests).
I'll also protect IAM.closeSystemDialogs() in a future CL.
Bug: 159105552
Test: atest CtsAppTestCases:android.app.cts.CloseSystemDialogsTest
Change-Id: I055f42a34fecebcded55a5eb6ccb3cefa2031812
This removes the i18n source from the non-updatable stubs which removes
them from the frameworks/base/core/api files too. The API is still
protected by both the build and Gerrit review as the API is specified
in the external/icu/android_icu4j/api/public/ directory.
The i18n stubs source is used instead of the implementation source for
generating the JavaDoc. That revealed a minor issue with metalava which
is fixed in this topic.
The i18n stubs library was statically included alongside the conscrypt
stubs library so it will still appear in the monolothic android.jar.
Bug: 174344410
Test: m offline-sdk-docs
- check that i18n classes are present
m android_stubs_current android_system_stubs_current android_test_stubs_current
- check that i18n classes are present in each jar
m droid
Change-Id: I744c8bac54a8a5518ca0eca2a7700abbfa0997f4
SAW permission is added to the shell to allow it to create
TYPE_APPLICATION_OVERLAY windows during testing.
Test: atest CtsWindowManagerDeviceTestCases:HideOverlayWindowsTest
Bug: 159616727
Change-Id: I503cd8da24ff4d2b928f930ac61090e6782c1546
When "04fb2e7: MediaSession/Controller: Add playback speed related APIs"
was merged, the constant was not added.
This CL adds the new constant.
Bug: 174297519
Test: m update-api -j;
Change-Id: I698737bcfe641edd7b5ea07b4b385c81fe899994
Added PictureInPictureParams.Builder#setSeamlessResizeEnabled that app
can specify its resize capability. For backward compatibility, this is
default to true and when it's set to false, SystemUI can perform
transition to overcome the artifacts due to resize.
Also included in this change, the primitives like mAutoEnterEnabled and
mSeamlessResizeEnabled would be problematic with the following patterns
from an Activity
```
PicureInPictureParams.Builder builder = new PictureInPictureParams.Builder();
builder.setAutoEnterEnabled(true);
setPictureInPictureParams(builder.build());
enterPictureInPictureMode();
```
with the code snippet above, the PictureInPictureParams#copyOnlySet will
override the mAutoEnterEnabled to false. Fixed by switching the
primitive to Boolean object.
Bug: 175052991
Test: atest PinnedStackTests
Change-Id: I4d52f59b49dcbb8998ed74237bdba93c0ad139e4
Add an API for IMS application to notify the SipDelegate when
to close the dialog and release all routing resources associated
with it.
Bug: 173833985
Test: atest CtsTelephonyTestCases:SipDelegateManagerTest
Change-Id: I7638c1d3a8e117f604a83ea241c5ec158f33a186
Expose the fused provider publicly, and change API results to reflect
this.
Bug: 174580458
Test: none
Change-Id: I61956fbe2b15d1c0c19f6ca2b6ff435146625e9f
Deprecate setPasswordQuality and related methods, since:
* setRequiredPasswordComplexity is a suitable alternative for
most cases.
* Password quality may not be applied to the parent profile anymore,
to avoid personal data being tied to work-set lockscreen requirements.
Additionally, change the exception thrown when the profile owner calls
setPasswordQuality on the parent profile to be a SecurityException
rather than an IllegalArgumentException
Bug: 165573442
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest com.android.cts.devicepolicy.ManagedProfileTest#testDevicePolicyManagerParentSupport
Change-Id: Ifefca721feef67dbc2fc9f7f2b52f4d245d2bae1
Connectivity service is going to become a mainline module which
will not be able to access hidden APIs. TcpKeepaliveController
is a part of CS mainline module, it uses TcpRepairWindow to
store tcp repair window info. Thus, expose TcpRepairWindow as
module-lib API to support the usage.
Bug: 172183305
Test: atest FrameworksNetTests
Change-Id: I1b6f5ae698f4b6e030a0f776aeafc774fa9f1437
Add APIs for Telephony to store pictures for call composer in the call
log.
Test: atest android.provider.cts.contacts.CallLogTest#testCallComposerImageStorage
Bug: 174798736
Change-Id: I5baf6d3751f3ed6edc77515e5eeb97906dc66758
This is so that regular apps don't get to know when camera devices
are opened / closed (as oppsed to being available / unavailable), in addition to not knowing the
package names of the processes that open / close the devices.
Bug: 147710835
Bug: 170870941
Test: builds
Test: atest CameraManagerTest#testCameraManagerListenerCallbacks
Change-Id: I5cad3cb5dd70775d74c5be20d7adf434fd37bfa7
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>