am: c53df04
* commit 'c53df04d5bf63ff2f3ea2de5a8d0cc8cf5bae0f3':
Remove RawCollationKey/ByteArrayWrapper from the public API
Change-Id: Ifc5ed43e8cd6085cf4a0f89ac9cd402d7a69e33c
am: a120a63
* commit 'a120a630a27626cd6ce34e99a80b4230fd3fdd9b':
ICU4J: Hide constants that can change between releases
Change-Id: I79f9664692c5a459a38bf7574ddc4f9dd16479f5
Remove some Context methods that leaked through. Add lint rule to
recommend using List<? extends Parcelable> instead of Parcelable[].
Bug: 27932224, 27930145, 27932911
Change-Id: Ia302de46cdb0c5101fa175a09316df91aeefcf0d
am: f2c62df
* commit 'f2c62df0365c23357bed8178e7651908a730c782':
Unhide ExifThumbnail.getThumbnailRange() and make it match the comment.
Change-Id: I59b4cb74bacbafc22a7e0305813a039d132f65bd
am: fa04bc7
* commit 'fa04bc7a5d49415bc7cd397bb9678316d3824f85':
Add the print service recommendation service
Change-Id: I3da289dfe99e1caa3ed2ab3368902d597f16f738
am: b6ba05f
* commit 'b6ba05ffb07f5785c24de21152405ee0bd92bf3c':
Refactor usages of Picture In Picture and Multi Window (1/4)
Change-Id: I24d558529fa14f780c714d26a834306057cf7b2b
This service connects through the print manager to the print spooler:
PrintSpooler.AddPrintersActivity <-> PrintManager <-> PrintManagerService <-> UserState <-> RemotePrintServiceRecommendationService <-> PrintRecommendationService <-> PrintRecommendationServiceImpl
Hence there is a lot of mindless plumming.
The actual changes are only in the AddPrintersActivity which is extended
to show another list of services: The recommended services.
The PrintServiceRecommendationService is based on the experimenal print
service stubs provider. This provider was contributed the Android by
Mopria. As this services uses Android own network discovery service most
code from the experimental provider goes away. In fact the only logic
left over is the selections of mdns-txt fields to look at and the
printer vendor configuration.
This relies on the Android MDNS to get fixed (Bug: 27696905). This also
does not deal with how to update the recommendation service.
Bug: 24533249
Change-Id: I6edc6e25fc08a50d478b61c71bb8ea158b08624c
am: bb8ab1c
* commit 'bb8ab1ce70e1dcfad3ac40cc6285b30e2dbae302':
Add WifiScanner API that accepts a WorkSource for scans
Change-Id: I74220a4ae8f6cc407809461dcf83254512e60ded
It turns out that BaseInputConnection has still depended on a private
API named BaseInputConnection#reportFinish(), which was introduced
4 years ago to work around a UI freeze due to an unbalanced batch edit
count [1]. Note that such an unbalanced batch edit count cannot always
be avoidable. It can easily occur in the following situations.
- The current IME crashed during batch edit.
- The user changed the View focus during batch edit.
- The current IME called IMM#switchToNextInputMethod() during batch
edit.
The remaining problem is that #reportFinish() is still an internal API
and only subclasses of BaseInputConnection can implement it, and IMM
calls it when and only when the current InputConnection is
BaseInputConnection or its subclass. InputConnectionWrapper and any
other InputConnection implementations will never receive such a callback
to clean up InputConnection#{begin, end}BatchEdit(), which is considered
to be a major contributor to UI freeze.
To address the above issue, we unhide BaseInputConnection#reportFinish()
as InputConnection#closeConnection() so that application developers can
receive an appropriate callback to clean up internal state including
unfinished batch edit.
[1] I5525d776916f0c42d5e6d4a4282aed590d7f0e9a
9d69ecbf61a4a142c3f4cbb9d5659faa6f85e832
Bug: 24688781
Bug: 25332806
Change-Id: I234309c5880c9fe0b299b8bd0f8862796d4dda0d
When installing a keypair the caller will have the option to specify a
certificate chain which will later be returned to whoever requests access
to the keypair via KeyChain.
Bug: 18239590
Change-Id: Id21ef026e31537db38d891cb9b712dd4fe7159c7
Allow developers to set different content insets on toolbars and
action bars to be used when navigation buttons or menu actions are
present. Set the default values for these according to the material
spec.
Bug 19317855
Change-Id: I13e04e1f19f0982bf551a3027eb70904d6b4674c