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
am: 740a5f0
* commit '740a5f023eea7b2fdb3e31efe8b8d5ac18aa8302':
Add the print service recommendation service
Change-Id: Ie58ade9356f591781496581259b6d8a876780ac9
am: ac94586
* commit 'ac945867145c571506a211ccb0a87a3402c4d745':
Refactor usages of Picture In Picture and Multi Window (1/4)
Change-Id: I34a274c3eca15546d7be85fbb30ac072ff03db7f
am: 761f59c
* commit '761f59c19f1a0e527bb533df16abee7fac166dbd':
Hide children in ViewGroup.createSnaphost via internal flag and add test for it.
Change-Id: Ia6abc695ad05362245d25aa6d8b36fc72c508c3a
am: 394d3df
* commit '394d3dfb2d9ccd2ca2fd7aad06ef2e9a8458a0c7':
Hide children in ViewGroup.createSnaphost via internal flag and add test for it.
Change-Id: Iab1265b6a4c4ff5291259f7e5d9b96c217ee3141
This is an input consumer similar to the one used when hiding the navbar,
but placed above wallpapers. It might be useful for processing touch
events over "desktop" in freeform MW mode.
Bug:26688904
Change-Id: I9d6d28a624f750ad48fc39f9b149dd1f989cceba
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
- Split per user version of getUserRestrictions into a separate method
in DPMS and make the per-user version return null if the admin
parameter is not a valid one.
- Update isAccessibilityServicePermittedByAdmin and
isInputMethodPermittedByAdmin to return false if the admin parameter
is not a valid one.
Bug: 27909087
Change-Id: I6f4cae6552cbfe02dc4a92b04eeeddf0314e0974
- Only allow entire directory access on non-primary volumes.
- Do not display primary storage label on scoped access.
BUG: 27743842
BUG: 27676858
Change-Id: I9884fb1e2df3534fceebc5d5bef44adfb758724c
When RootsCache is still running and it detects a provider/package
change, it needs to force reload roots. Also fix cache invalidation
bug in ContentService to allow for Uri prefix matches.
Mark internal storage broadcasts with flag to bypass new background
checks.
Bug: 27759529
Change-Id: I9d9c6fe15d8640ff56ae7214afb3bac673682c28
am: a140391
* commit 'a140391f3d9e83361fca23f53e8eda8294f08e66':
Revert "Run cleanup before end actions of ViewPropertyAnimator."
Change-Id: Iaf2b975c7c0f0bfd064b8bde54e812f83d0198a5
am: 6bb61e2
* commit '6bb61e25a2831dc14b604327a995c36309dfcbc9':
Revert "Run cleanup before end actions of ViewPropertyAnimator."
Change-Id: I2254f4f2dfa19711fac8ed90e72addb94f4e26b8
am: 1a10817
* commit '1a108171ae7d55684c8590cb78a1ef3cb27c0335':
Uses bw_happy_box and bw_penalty_box for Data Saver.
Change-Id: I5252e6280887e46f84ad1aaf42a4123cb133f9c7
am: a6f98af
* commit 'a6f98afbdeda4da14d07b0fed5b6586b08cc5e38':
Uses bw_happy_box and bw_penalty_box for Data Saver.
Change-Id: I9d6e593ee2b57902c8ca98cbeb6eed212d2c6d82
am: 308b84e
* commit '308b84e87afe92168d3c47c0fa884cbc67ddfe9b':
Update print preview when option is changed and clear ranges when they layout changes
Change-Id: I4ce1a5aa59dd24fb3d01eede821fc810b02dab7c
bw_penalty_box is a blacklist-based firewall chain used to determine
which UIDs do not have access to metered interfaces. It can be used
alone or with bw_happy_box, which is a whitelist-based chain: when
bw_happy_box is enabled, it's included in the bw_penalty_box chain.
Currently, NMPS and NMS uses just bw_penalty_box for both blacklist and
whitelist, so when Data Saver is turned on, it has to build a extensive
list of UIDs to be blacklisted, which can take seconds (since it makes
dozens of iptables, and which forks an iptables process)
This CL changes this behavior so it uses both chain (plus a new
bw_data_saver chain, which is added to the end of bw_happy_box), in
which case the Data Saver switch is much faster (around 120-160ms),
since it requires just 1 or 2 iptables calls (one to switch the
bw_data_saver rule, and another to whitelist the foreground app if it's
not whitelisted yet).
BUG: 27127112
BUG: 26685616
Change-Id: If10222aef9f49a924b07b978d4bdccdd92f9acdb
am: 456f1e3
* commit '456f1e33b808052377a79b91d34091a356652f2c':
Update print preview when option is changed and clear ranges when they layout changes
Change-Id: I3fcb5c9041ce0268751010e84fb2e94a0a723b29
This reverts commit e9a4f87852.
This revert is to test to see if the gralloc lock problems are caused by this CL.
Change-Id: I395fd3675dd430c44a5d29b050ba248f3f2bf4cd
Previously it was assumed that one Resources object per Activity would be fine.
This proved to be incorrect, as methods like Context#createConfigurationContext()
expect to create a new Resources object that gets updated whenever the Activity Resources
get updated.
To fix this issue, there exists a master override configuration for each Activity. Subsequent
Resources created for an Activity will be based off that master override configuration, and
will be updated accordingly.
Bug:27644297
Bug:27604953
Change-Id: Idb3d851f55ee7981eec4e3fe28e2ea8d55f1192d