Move the call forwarding result constants into
CallForwardingInfoCallback and rename them to RESULT_*
Fixes: 169153246
Test: atest TelephonyManagerTest
Change-Id: I14b4d527807e92fe977b8304f8dd95e7cd93e819
* changes:
Do not show rationale when permission is restricted
Add role allowlist for restricted permissions
Add documentation to APIs using non-inclusive lanuage
Treat background mic/camera normally
Introduce new permissionFlag
Split camera and microphone for background modes
Add background microphone and camera permission
TextShaper API provides a primitive text layout result, e.g. what glyph is used etc.
Here is the new APIs and its description
- PositionedGlyphs
This is a native instance backed object that gives layout information to developers.
- GlyphStyle
The glyph style is an object that holds the parameters that will be used for drawing.
This object is a subset of the Paint object for avoiding creating lots of Paint copy.
- TextShaper#shapeText
This does a text shaping and gives TextShaper.Result. This is a native backed primitive
shaping API.
- StyledTextShaper
This is a text shaper for a styled text. This will be the top-level developer facing
API for shaping text.
Bug: 168048923
Test: atest FontTest TextShaperTest StyledTextShaperTest
Change-Id: I2e91d1ef8503b25b28efc94da7de7cad49c4c1a9
These extras stopped being populated in R, but it was
too late to make API changes. Officially deprecate
them for S.
Bug: 158874479
Test: compiles
Change-Id: I3b5b898aab04371b8dd5e98f392e983f7809191d
TAC was updated to 3 bytes, so the limit is now 0xffffff instead of the
previous 0xffff. Update to meet 3GPP requirements in 24.501 9.11.3.8.
Test: build
Bug: 144433329
Change-Id: Ie007c29671da709f23684ff27d30ef1c377aadc6
Merged-In: Ie007c29671da709f23684ff27d30ef1c377aadc6
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.e() 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.e 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: I18b21903c7cd0946dce5d7ca7860258612d9f98f
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
No diffs vs monoliths.
Bug: 169034951
Test: for p in "" "system-" "module-lib-"; do
for t in "current" "removed"; do
echo "${p}${t}:"
echo "$(diff -u0 \
<($CANON frameworks/base/api/${p}${t}.txt | sort) \
<($CANON out/soong/.intermediates/frameworks/base/api/frameworks-base-api-${p}${t}-merged.txt/gen/${p}${t}.txt | sort))"
done
done
Change-Id: Id97b88b7d8e4c0b0e372e30658c48436427dbe7c
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