Seigo Nonaka
5b6347a6af
Introduce setFallbackTypeface
...
setFallbackTypeface is returned by Builder.build() method when the
provided font is not loaded due to some reasons.
The fallback family is resolved with width/italic passed to Builder.
Bug: 36794225
Test: android.graphics.cts.TypefaceTest passes
Change-Id: I65e220aca823fd815a52437b11c8e6dc952de8e2
2017-04-13 10:12:27 -07:00
Martijn Coenen
e90bf46a78
Merge "Add persistentFeature application attribute." into oc-dev
...
am: e4960cf495
Change-Id: Idf9355d092efa1ffb7eacd9299e3a8471396d3d6
2017-04-13 17:12:12 +00:00
Hyunyoung Song
76c13a5fce
Merge "Update API, add more documentation on AdaptiveIconDrawable" into oc-dev
2017-04-13 16:53:43 +00:00
Martijn Coenen
e4960cf495
Merge "Add persistentFeature application attribute." into oc-dev
2017-04-13 16:53:22 +00:00
Orion Hodson
e5983e5270
Merge "Unhide MethodHandles.explicitCastArguments()" am: 891cab55d3 am: 0f7294af11 am: 2d5f14e578
...
am: c05219d7b3
Change-Id: I5f34ed353c0892d4afadd4869ba7950dc9bd10ca
2017-04-13 13:58:18 +00:00
Seigo Nonaka
0b73a4287e
Introduce FontsContract.requestFont and deprecate Typeface.create
...
Since background fetch should be synchronized with life cycle of
Activities, so should not create new background thread inside this
method. Not to break existing apps, mark as deprecated and will be
removed from public API untile next release.
New API accepts Handler so that the developer can pass their own thread
.
Test: TBD
Bug: 37253785
Change-Id: I87fdc6a354a829db679253824f42489f25698fa0
2017-04-13 06:48:07 -07:00
Orion Hodson
c05219d7b3
Merge "Unhide MethodHandles.explicitCastArguments()" am: 891cab55d3 am: 0f7294af11
...
am: 2d5f14e578
Change-Id: I9b7a384143ec2dfe3ee55d3949843797f1325d7f
2017-04-13 13:46:57 +00:00
Seigo Nonaka
193743ad1c
Merge "Introduce FontsContract.fetchFonts and expose URI for watching." into oc-dev am: 061db23b79
...
am: c0c5763793
Change-Id: Ibe1167effdbe6ae39f10793691e2722900cd7af7
2017-04-13 13:33:28 +00:00
Seigo Nonaka
c0c5763793
Merge "Introduce FontsContract.fetchFonts and expose URI for watching." into oc-dev
...
am: 061db23b79
Change-Id: I7a7d47db8dedd6f75d4884d635cbfcf15949ac43
2017-04-13 13:27:57 +00:00
Treehugger Robot
891cab55d3
Merge "Unhide MethodHandles.explicitCastArguments()"
2017-04-13 13:25:12 +00:00
TreeHugger Robot
061db23b79
Merge "Introduce FontsContract.fetchFonts and expose URI for watching." into oc-dev
2017-04-13 13:22:10 +00:00
Tadashi G. Takaoka
53042fc5b2
Merge "Remove supportsDismissingSelfWindow attribute of IME" into oc-dev am: d280bfea23
...
am: 6c8c498b5b
Change-Id: I2da5392ab850cdf9053cfd16d216feffe9afada5
2017-04-13 08:03:37 +00:00
Tadashi G. Takaoka
6c8c498b5b
Merge "Remove supportsDismissingSelfWindow attribute of IME" into oc-dev
...
am: d280bfea23
Change-Id: I08a985e79f695ed43f4b873698424263689bd57d
2017-04-13 07:53:39 +00:00
Tadashi G. Takaoka
d280bfea23
Merge "Remove supportsDismissingSelfWindow attribute of IME" into oc-dev
2017-04-13 07:41:34 +00:00
Chong Zhang
5ad4b40999
Merge changes from topic 'api-review' into oc-dev am: fd89a95f35
...
am: 847beba350
Change-Id: I7abb72fe43b565e3fb4b31418192418b686100f9
2017-04-13 06:45:04 +00:00
Chong Zhang
35af7a8948
MediaCas: address comments for API reviews am: addc39ec27
...
am: e0c465fefa
Change-Id: If87e2cd96df1a14b7b0c9d753af35fb779c2fbae
2017-04-13 06:43:36 +00:00
Chong Zhang
847beba350
Merge changes from topic 'api-review' into oc-dev
...
am: fd89a95f35
Change-Id: I297fcfecc54346ee885916eb2e671497c522001f
2017-04-13 06:34:25 +00:00
Chong Zhang
e0c465fefa
MediaCas: address comments for API reviews
...
am: addc39ec27
Change-Id: Ib4bb32cc09d9352bdbc4913dfdfdf1e92c11487f
2017-04-13 06:32:28 +00:00
TreeHugger Robot
fd89a95f35
Merge changes from topic 'api-review' into oc-dev
...
* changes:
MediaCas: combine openSession methods
MediaCas: address comments for API reviews
2017-04-13 06:23:51 +00:00
Dongwon Kang
2e7f5ce709
TIF: add helper methods for making a channel browsable.
...
Test: build and manually tested with a local app.
Bug: 36395259, Bug: 36097352
Change-Id: I512ed6f4da21af01445fdbcd2f200a681c5dde19
2017-04-12 20:55:22 -07:00
Jeff Tinker
112b98b578
Deprecate MediaDrm's EVENT_KEY_EXPIRED method
...
It has been replaced by onKeyStatusChange
Test: make offline-sdk-docs
bug: 21661111
Change-Id: I18e6604e9d3db7fb05209ad053b07546e7dd2bbd
2017-04-12 17:26:57 -07:00
Martijn Coenen
441d61bf16
Add persistentFeature application attribute.
...
This allows us to only mark processes as persistent
when a feature it actually depends on is present on
the device.
Also adds a "android.hardware.nfc.any" feature, to
indicate the device supports any of the NFC features
that require the NFC process to run persistently.
Bug: 36873979
Bug: 37269025
Test: NFC is still started on devices with NFC
Change-Id: I5792d75d8714f39718fa957177a632efcbbd37d3
2017-04-12 17:09:37 -07:00
Lorenzo Colitti
23cbbe1c73
Merge "Merge changes from topic 'network_specifier' am: d0f476bdae am: 362bef45d1 am: cfd729093f" into oc-dev-plus-aosp
...
am: a7e30062c9
Change-Id: I6500639ae839ee9ad5af34d1292d1539c943e2ad
2017-04-12 23:45:57 +00:00
Christopher Tate
ee3b42af3f
Introduce PACKAGE_FIRST_ADDED broadcast
...
When an app first appears on a device, this new broadcast is issued
including to manifest receivers. The more general PACKAGE_ADDED
broadcast continues to be issued for both first install and updates,
but is not delivered to manifest receivers of apps that target O+.
Bug 37219124
Test: manual
Change-Id: I59b0a0b0dce96a909076b41280771f63e59584be
2017-04-12 16:14:17 -07:00
Hyunyoung Song
92e3da2354
Update API, add more documentation on AdaptiveIconDrawable
...
and fix multiple miscellaneous bugs.
Bug: 37079814
Bug: 37100106
Bug: 34829216
Test: $ runtest --path=frameworks/base/core/tests/coretests/src/android/graphics/drawable/IconTest.java
Test: $ runtest --path=frameworks/base/services/tests/servicestests/src/com/android/server/pm/ShortcutManagerTest1.java
Test: $ runtest --path=frameworks/base/core/tests/coretests/src/android/grpahics/drawable/AdaptiveIconDrawableTest.java
Change-Id: I0f5b2232853031bf3860ebea2736e894d17e4d2e
2017-04-12 16:06:45 -07:00
Yu Liu
0e342e1fdb
Fix some issues came up from the reviews of the newly added APIs
...
Test: Existing unit tests still pass.
BUG: 36554361
Change-Id: I6c2dab2e0df7f8578f92c70907f45aa69909892c
2017-04-12 23:02:35 +00:00
Android Build Merger (Role)
a7e30062c9
Merge "Merge changes from topic 'network_specifier' am: d0f476bdae am: 362bef45d1 am: cfd729093f" into oc-dev-plus-aosp
2017-04-12 23:00:13 +00:00
Lorenzo Colitti
c34f0f7520
Merge changes from topic 'network_specifier' am: d0f476bdae am: 362bef45d1
...
am: cfd729093f
Change-Id: I7535495681da8f168c46d6d95e13925cffecc99b
2017-04-12 22:58:42 +00:00
Jiaquan He
557922d37a
Add a public API defaultFocusHighlightEnabled.
...
am: b7daaf8b5f
Change-Id: I189aea9c495255fe68f5af98a6d33bd87dc79e3e
2017-04-12 22:53:09 +00:00
TreeHugger Robot
18d993bb72
Merge changes from topics 'KeyboardFocusHighlight-oc-dev', 'KeyboardFocusHighlight_ mDefaultFocusHighlightEnabled-oc-dev', 'KeyboardFocusHighlight_ hasFocusStateSpecified-oc-dev' into oc-dev
...
* changes:
Fix broken CTS tests.
Draw a default focus highlight if needed.
Add a public API defaultFocusHighlightEnabled.
Detect unhandled keyboard focused state.
2017-04-12 22:40:15 +00:00
Jakub Pawlowski
19d6662777
Merge "Bluetooth 5 PHY simplification" am: a9acf9db97 am: d43127865b am: ce8de6c3f7
...
am: 2ef7bb7b06
Change-Id: Id53332e5bfbd22690992b0d010a24d3601c03092
2017-04-12 22:29:26 +00:00
Lorenzo Colitti
d0f476bdae
Merge changes from topic 'network_specifier'
...
* changes:
[CM] Unhide the NetworkSpecifier as object API
Make the NetworkSpecifier a class instead of a string.
2017-04-12 22:27:37 +00:00
Svet Ganov
cb98d9d6f3
Merge "Add autofill feature API" into oc-dev am: a402d6dd2f
...
am: bbef731c2d
Change-Id: I3d1429fe4d101072200aae522a2bdf00596273de
2017-04-12 22:22:39 +00:00
Dianne Hackborn
7ee8c9a485
Merge "Add API to get a uid's current importance." into oc-dev am: ad6ab44e15
...
am: ef95ec85ea
Change-Id: I1c9dce1a5e6e049de65a5f68231a195b9e5d4510
2017-04-12 22:21:30 +00:00
Selim Gurun
d07efb9ce3
Merge "Deprecate findAddress() method" into oc-dev am: c68b1a8aef
...
am: 24d68dc3d8
Change-Id: I3cacbe34c084eb6f98a141535293d5c783a9243b
2017-04-12 22:12:57 +00:00
Amit Mahajan
682ce66309
Merge "Add p2 option in openLogicalChannel." into oc-dev
2017-04-12 22:02:39 +00:00
Jakub Pawlowski
2ef7bb7b06
Merge "Bluetooth 5 PHY simplification" am: a9acf9db97 am: d43127865b
...
am: ce8de6c3f7
Change-Id: I74da41983775b03ee2e642a07b5a8bdcf3be45cf
2017-04-12 21:56:26 +00:00
nharold
5f676fa7b6
Merge changes from topic 'am-e2002a7381854865a514803d2de26232' into oc-dev-plus-aosp
...
am: 9a5d047750
Change-Id: I986d031a47a578fda9f61b58e401e7ff53e24bc3
2017-04-12 21:43:27 +00:00
Seigo Nonaka
ecc3afd49a
Merge "Update Typeface.Builder API to reflect API feedback." into oc-dev am: 1e924df63e
...
am: fa4b862518
Change-Id: I0aa32f46d20a5d46454f2a6057db2ca0e70f1d84
2017-04-12 21:37:09 +00:00
Jesse Evans
93b7acddf8
Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev am: 684b5381e9
...
am: 3d1676cfc4
Change-Id: I0cc0d165ad5bceb1d93cbe48030e347b53e3caf4
2017-04-12 21:35:09 +00:00
Svet Ganov
bbef731c2d
Merge "Add autofill feature API" into oc-dev
...
am: a402d6dd2f
Change-Id: I5cfa36adbf31c49dffc519963545f388cae4b96d
2017-04-12 21:28:45 +00:00
Dianne Hackborn
ef95ec85ea
Merge "Add API to get a uid's current importance." into oc-dev
...
am: ad6ab44e15
Change-Id: I845cb5fd01ccedd4a95093c56a320ee1f6497dac
2017-04-12 21:27:27 +00:00
Jakub Pawlowski
a9acf9db97
Merge "Bluetooth 5 PHY simplification"
2017-04-12 21:22:29 +00:00
Selim Gurun
24d68dc3d8
Merge "Deprecate findAddress() method" into oc-dev
...
am: c68b1a8aef
Change-Id: I667ebcf6a9a18ae5a07a7e0f737abb6162568f83
2017-04-12 21:19:16 +00:00
TreeHugger Robot
a402d6dd2f
Merge "Add autofill feature API" into oc-dev
2017-04-12 21:17:33 +00:00
Dianne Hackborn
ad6ab44e15
Merge "Add API to get a uid's current importance." into oc-dev
2017-04-12 21:11:46 +00:00
Selim Gurun
c68b1a8aef
Merge "Deprecate findAddress() method" into oc-dev
2017-04-12 21:05:07 +00:00
nharold
37f48f4596
Merge changes from topic 'ipsec-api-tweaks' am: fddf677b8b am: 176bfb58c6
...
am: a237a34085
Change-Id: Ie868985d20535f35b869730a4ddaa00dc88a352d
2017-04-12 20:53:17 +00:00
Seigo Nonaka
69754bf66d
Introduce FontsContract.fetchFonts and expose URI for watching.
...
FontsContract.fetchFonts provides a low level font access with fonts
provider.
This CL also includes:
- Introduce new class FontFamilyResult/Font as the inner static class
of FontsContract which are used to for result value of fetchFont..
- Introduce a functionality to FontsContract to be able to create
Typeface from an array of FontResult.
- Expose URI of each file entries to be able to register ContentObserver
Bug: 36494487
Bug: 36085028
Test: android.provider.FontsContract passes
Test: android.graphics.cts.TypefaceTest passes
Test: android.graphics.fonts.cts.FontResultTest passes
Change-Id: Id6f85039d0e86be063ef099d7ec6bfd97e4424c5
2017-04-12 13:52:37 -07:00
Nathan Harold
3fa4a92b8c
IpSecManager and IpSecAlgorithm API Tweaks am: 6045429b35 am: 9c2428ad4d
...
am: 99c50add4f
Change-Id: I49641308cd0f2ce3e8a7545c8b03108d69287c64
2017-04-12 20:51:41 +00:00