This CL replaces the copy constructor
MediaMetadata(MediaMetadata source, int maxBitmapSize)
with the new public method Builder#setBitmapDimensionLimit().
Also added a getter getBitmapDimensionLimit().
Bug: 168215839
Test: m update-api -j; Ran MediaMetdataTest
Change-Id: I6844fcf01c4ee98c99bd0dc880b96f73989dbd3c
The data service now can control whether retry
handover or not.
Fix: 160105644
Test: FrameworksTelephonyTests
Merged-In: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5
Change-Id: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5
(cherry picked from commit df75e3082e)
Expose this method for module libraries. It's needed to support a public
method in TelephonyProvider that doesn't require any permissions.
Test: atest RoleManagerTest#smsRoleHolderAvailableWithoutObserveRoleHolders
Fixes: 169350676
Change-Id: Ia2725dc5aa0de74b2cf67ecd0666917ae27adda9
Added the transport type in precise data connection state. This
would be useful for IWLAN, MAPCON, and 5G development work. Also
added id for listener to keep tracking the same data connection
state.
Bug: 161572838
Test: FrameworksTelephonyTests
Merged-In: I5a14610bf072a64b534227fb715ebec58716bce0
Change-Id: I5a14610bf072a64b534227fb715ebec58716bce0
(cherry picked from commit ec5093d4d7)
Two APIs were added as @SystemApi and then @Deprecated within
the same API level (RVC). These methods were never exposed
publicly, and instead were replaced with more-appropriate
named methods that were added to the public API. As such they
were not fully deleted in RVC but were never exposed and expected
to be deleted following SDK finalization. This CL does precisely
that - removes all traces of these methods, as per the will of
the API Council.
-Remove #getDataConnectionLinkProperties()
-Remove #getDataConnectionNetworkType()
Bug: 152787887
Test: make update-api && make
Merged-In: I89463b0bd641e9316f90fe4f535d326f6e74a061
Change-Id: I89463b0bd641e9316f90fe4f535d326f6e74a061
(cherry picked from commit 3a47293cb4)
We are making warnings behave as errors (i.e. break the build).
Rather than fixing all the current warnings, just baseline them.
This CL is the result of
$ m
$ cp \
out/soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/api_lint_baseline.txt \
frameworks/base/api/system-lint-baseline.txt
$ cp \
out/soong/.intermediates/frameworks/base/test-api-stubs-docs/android_common/api_lint_baseline.txt \
frameworks/base/api/test-lint-baseline.txt"
Bug: 154317059
Test: m
Change-Id: Idf8f7dbcaa1c136781175fd5e66eed3525d21722
Merged-In: Idf8f7dbcaa1c136781175fd5e66eed3525d21722
We are also lacking appsearch, but it doesn't yet have api txt files.
Bug: 169034951
Bug: 169304493
Test: diff current.txt with generated txts
Change-Id: I0866605f0b4ba450ae824af00d24502fda060a5f
Revert "Add a check for FLAG_MUTABLE and FLAG_IMMUTABLE being se..."
Revert submission 12627798-define-flag-mutable
Reason for revert: Makes wembley device unusable by killing UI, also kills Bluetooth repeatedly
Bug: 169241864, 169239341
Test: Locally reverted and wembley now has UI and no Bluetooth crashing messages
Reverted Changes:
I2ffbc6859:Add a check for FLAG_MUTABLE and FLAG_IMMUTABLE be...
I1f1f72c6c:Define FLAG_MUTABLE and add a compat change for ex...
Change-Id: I0b1f0eadce97a1f7bbd17768f5ee491b3871b10f
Tests sometimes fail due to a shell command failing, bet we don't get the
appropriate result from the command run itself, which leads to confusing
states and challenging troubleshooting.
E.g. jobscheduler reports its failure only via stderr.
This introduces a utility that fails with the relevant command output,
should something be printed to stderr.
Test: atest AutoRevokeTest
Bug: 168843991
Change-Id: I5e354c1b88ca3ceeeda2d5500b62c421174fd57c
Update documentation on PhoneAccount#EXTRA_SORT_ORDER to make it more
clear what the sorting order is in edge cases.
Make DisconnectCause#REASON_EMULATING_SINGLE_CALL public, since it might
get propogated up to dialer apps.
Fixes: 169153499
Test: docs only
Change-Id: I7f810f909a8a61b422283c3bafcc97307e4d863b
This CL adds following APIs
Font#cloneWithSettings
This API provides a faster Font instance creation for different
variation settings.
Font#getBounds
This API provides glyph advance and bounding box information.
Font#getMetrics
This API provides font metrics that will be used for deciding line
height and/or baseline.
Bug: 168136332
Test: atest FontTest
Test: TreeHugger
Change-Id: I335557ce47ea0ca8e012c2a48b804c00bb348392
This extra is unused, and potentially exposes sensitive information
that can be accessed without any permissions.
Bug: 162246414
Test: atest FrameworksWifiTests
Change-Id: I57c3db765283d8bbb410a0b790e27054c5ab561a
This is used to let MediaProvider could specify the request is
on behalf of which client.
CTS-Coverage-Bug: 168990206
Bug: 154733526
Test: Unit test.
Change-Id: Id1a2c4cccff12dd1d979fa9350120e2ddad9ff5b
For future releases, we will require that either FLAG_IMMUTABLE or
FLAG_MUTABLE is defined when a PendingIntent is created.
The check only results in a log.wtf for now while we notify, identify,
and update major PendingIntents. We will add a stricter
IllegalArgumentException soon.
- Define FLAG_MUTABLE
- Add a check and log.wtf that either FLAG_IMMUTABLE or FLAG_MUTABLE is
specified on creation for future releases
- Update api/current.txt and non-updatable-api/current.txt to include
FLAG_MUTABLE
Test: atest PendingIntentTest
Bug: 160794467
Change-Id: I1f1f72c6ce22358e98e9f38be2fb98b27e60898c