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
Sudheer Shanka
c59a2a7649
Merge "Fix the issue of voice interactor getting reset after reboot." into oc-dev
2017-04-13 17:10:00 +00:00
TreeHugger Robot
56fcd408e6
Merge "Listen to RSSI_CHANGED_ACTION broadcasts in WifiTracker." into oc-dev
2017-04-13 17:08:04 +00:00
Julia Reynolds
d178ec489f
Merge "Allow notification channels to be silent." into oc-dev
2017-04-13 17:07:46 +00:00
Dave Friedman
2d642f9e2d
Docs: Fixes broken link in Javadoc. am: df0fd34d50 am: 506a8b39fb
...
am: 4eff74f8cb
Change-Id: Id237b5c6ead732111feb29e1dc0dcd8a444366ee
2017-04-13 17:06:11 +00:00
Dave Friedman
4eff74f8cb
Docs: Fixes broken link in Javadoc. am: df0fd34d50
...
am: 506a8b39fb
Change-Id: If60b7db71fe92508daaec1255c637927432d7b55
2017-04-13 17:00:44 +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
Lucas Dupin
498a44f33a
Merge "Add transfer mode support to ShapeDrawable" into oc-dev
2017-04-13 16:52:01 +00:00
TreeHugger Robot
3d6225b4e2
Merge "Companion device mgr doesn't always exist" into oc-dev
2017-04-13 16:50:50 +00:00
Dave Friedman
506a8b39fb
Docs: Fixes broken link in Javadoc.
...
am: df0fd34d50
Change-Id: I76ed5361426065d5e532c5a11c2d11f28ba8c2d7
2017-04-13 16:48:41 +00:00
Adrian Roos
4023217984
Sysui Leaks: Leak check destroyed fragments
...
Bug: 37220220
Test: mmm SystemUI
Change-Id: I2a9e9941b5f5687d90f7af3eb7f9cd0a79ba2b98
2017-04-13 09:21:21 -07:00
Winson Chung
68cf1b8848
Merge "Fix issue with non-focusable PiP activities being resumed." into oc-dev
2017-04-13 16:01:51 +00:00
TreeHugger Robot
05c71b3bbe
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-04-13 15:55:03 +00:00
TreeHugger Robot
2f522fc904
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-04-13 15:42:31 +00:00
TreeHugger Robot
023c36f89f
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-04-13 15:27:27 +00:00
TreeHugger Robot
9e8fa5ec61
Merge "Import translations. DO NOT MERGE" into oc-dev
2017-04-13 15:26:29 +00:00
TreeHugger Robot
7270534ac4
Merge changes I33ac2b52,I5ab8bb11 into oc-dev
...
* changes:
Captive portal: fix probe urls at network creation
NetworkMonitor: improve captive portal validation logs
2017-04-13 15:26:05 +00:00
Matt Sarett
44dc270830
Add SkiaCanvas::captureCanvasState()
...
Test: Verified bug is fixed. Wrote unit test.
Bug: 37268771
Change-Id: I9deb7db353cd2129ad245e7f65419670463bb717
2017-04-13 11:11:11 -04:00
Julia Reynolds
727a728836
Companion device mgr doesn't always exist
...
E.g. on tvs.
Test: runtest systemui-notification
Change-Id: I1f1fd3cc5d361d3854eef5e5726816b50f5d7eb6
Fixes: 37276184
2017-04-13 15:05:45 +00:00
Julia Reynolds
184b86da38
Allow notification channels to be silent.
...
This better accomodates those apps that play their own sounds.
Since most apps don't play their own sounds, update the documentation
on notificationchannel to add guidance about when they should add a
sound.
Fixes: 37237013
Test: runtest systemui-notification
Change-Id: If00b15b1b44da66d24dacb2895e9a6c0a06d1890
2017-04-13 11:03:57 -04:00
Julia Reynolds
889280c4c3
Only foreground notis should be sorted higher
...
Having the ongoing flag is not enough.
Test: runtest systemui-notification
Change-Id: I8a6c15af819f2bb4ad3937ae45d33361663fbe13
2017-04-13 11:03:57 -04:00
TreeHugger Robot
3a543a1bd2
Merge "Document examples where a developer might use the APIs." into oc-dev
2017-04-13 14:41:59 +00:00
TreeHugger Robot
809f4cf121
Merge "Debugging issue #37272284 : ActivityManager: SELinux tag not defined" into oc-dev
2017-04-13 14:32:41 +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
TreeHugger Robot
061db23b79
Merge "Introduce FontsContract.fetchFonts and expose URI for watching." into oc-dev
2017-04-13 13:22:10 +00:00
Jim Van Verth
5745a0a37f
Add uncached and perspective shadows to Skia renderer
...
Test: manual - looked at FrameworkShadow app
Bug: 37300468
Change-Id: I72d820479141db2d83363747d9f76abbaca70d98
2017-04-13 13:15:12 +00:00
Niels Egberts
04637f3d4d
Document examples where a developer might use the APIs.
...
Test: mmma frameworks/base/
Bug: 35767714
Change-Id: I845db36869b84a18e79d7fe28f10031cfe836617
2017-04-13 13:52:07 +01:00
TreeHugger Robot
bb14fb9acb
Merge "Add hidden API startActivityForResultAsUser" into oc-dev
2017-04-13 12:13:03 +00:00
Bill Yi
ca0db87f3e
Import translations. DO NOT MERGE
...
Change-Id: Iaf188ae0fe780b83f7caa70e8221126d1ffed110
Auto-generated-cl: translation import
2017-04-13 04:43:14 -07:00
TreeHugger Robot
22762b2283
Merge "ViewRoot: More surgically fix child-life time." into oc-dev
2017-04-13 08:25:10 +00:00
Narayan Kamath
6780828985
Merge "Binder: Be forceful about a forceful exit." into oc-dev
2017-04-13 08:16:49 +00:00
Tadashi G. Takaoka
d280bfea23
Merge "Remove supportsDismissingSelfWindow attribute of IME" into oc-dev
2017-04-13 07:41:34 +00:00
TreeHugger Robot
9d5ac93cc3
Merge "Stack APPLICATION_MEDIA_OVERLAY windows with relative layering." into oc-dev
2017-04-13 07:12:55 +00:00
TreeHugger Robot
818c408e5d
Merge "Minor text fixes." into oc-dev
2017-04-13 07:00:57 +00:00
TreeHugger Robot
d1a6e6740f
Merge "AAPT2: Generate R.txt" into oc-dev
2017-04-13 06:54:21 +00:00
Bill Yi
f54f0ea174
Import translations. DO NOT MERGE
...
Change-Id: I3bf092ebb3c99f4708f20d2d303e201c1da1ae9a
Auto-generated-cl: translation import
2017-04-12 23:53:10 -07:00
TreeHugger Robot
07d60cce02
Merge "Catch exceptions in Vibrator to maintain compatibility" into oc-dev
2017-04-13 06:48:29 +00:00
TreeHugger Robot
4ad2ebcc90
Merge "OMS: Fix bug where overlay settings wouldn't persist" into oc-dev
2017-04-13 06:42:52 +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
Bill Yi
3b1e4d3e86
Import translations. DO NOT MERGE
...
Change-Id: I4d7599fdee360cf86ce1980b9759a692a493d21b
Auto-generated-cl: translation import
2017-04-12 22:38:20 -07:00
Svet Ganov
c3d1c85bda
Allow custom buttons in autofill UI
...
Test: added CTS test in topic
bug:36871561
Change-Id: I78ffd8ba33fb982183677fffc587bbf1a077e132
2017-04-12 22:34:32 -07:00
Winson Chung
3f103eb430
Fix issue with non-focusable PiP activities being resumed.
...
- When the change to finish activities was made in ag/2067154, it exposed
an issue in pinned stacks where we would resume the next top activity
once the top activity finished pausing. Normally, the pinned stack is
not focusable, but since it has an alwaysFocusable menu activity it
becomes the focused stack and falls into this case.
Instead of finding the next top activity, we need to find the next top
focusable activity to resume, and fall through to focusing the top
activity in the next focusable stack if there is none.
Bug: 37199067
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testNoResumeAfterTaskOverlayFinishes
Change-Id: Ib79826ff38bb3beb38a40183ddc6819e5040bb27
2017-04-12 22:31:12 -07:00
Robert Carr
af422a8c5b
Stack APPLICATION_MEDIA_OVERLAY windows with relative layering.
...
See accompanying frameworks/native commit
"SurfaceFlinger: Add parent-less relative layering" for a full explanation.
Test: Manual of bug repro steps. Plus tests for new SurfaceControl functionality included in frameworks/native.
Bug: 36693738
Change-Id: Ic54598117c1f44a206d33f03d0cc463fbef43fcc
2017-04-12 21:40:30 -07:00
TreeHugger Robot
96907e6553
Merge "Use Context#startForegroundService in MTP provider" into oc-dev
2017-04-13 04:36:50 +00:00
Bill Yi
7dc403b158
Import translations. DO NOT MERGE
...
Change-Id: I140e40e34c4ee3482c87f180d292bdba8594961b
Auto-generated-cl: translation import
2017-04-12 21:31:16 -07:00
TreeHugger Robot
1423ea3a45
Merge "Report app data fixup and prepare timings" into oc-dev
2017-04-13 04:08:21 +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
Daichi Hirono
e200ae8157
Address API review for ProxyFileDescriptorCallback
...
The CL revise the documentation for ProxyFileDescriptorCallback.
* Added explanation to onFsync.
* Added explanation about offset.
* Mentioned ErrnoException should contain E constants in OsConstants.
Bug: 35813046
Test: Build succeed
Change-Id: Ied2490b1913445ea8240eb3aaf7c12170ae4e42d
(cherry picked from commit 9555e30288fe984dcb788c496e7582c14faa66da)
2017-04-13 03:40:08 +00:00
TreeHugger Robot
0964a2d9fc
Merge "Revert "Make scrollbarSize in Material Design theme configurable"" into oc-dev
2017-04-13 03:36:30 +00:00