OSDN Git Service
Wei Liu [Thu, 31 Mar 2016 16:47:50 +0000 (16:47 +0000)]
Merge "Start the Wear bluetooth service in SystemServer." into nyc-dev
Dongwon Kang [Thu, 31 Mar 2016 16:46:33 +0000 (16:46 +0000)]
Merge "TIF: Add more class documentation on TvInputManager" into nyc-dev
Wei Liu [Tue, 29 Mar 2016 22:26:48 +0000 (15:26 -0700)]
Start the Wear bluetooth service in SystemServer.
Change-Id: I4ca420d7adbb0edd6539fe4bf6ada05650164866
Fyodor Kupolov [Thu, 31 Mar 2016 16:16:47 +0000 (16:16 +0000)]
Merge "[FBE] Split accounts.db into two DE/CE databases" into nyc-dev
Yi Kong [Thu, 31 Mar 2016 15:47:08 +0000 (16:47 +0100)]
Track libcore change
9b7cfceb7b825835730f7977d4935dec3ff1a3be
Bug:
27762555
Change-Id: I03984f4319ba21976078b2b3dff1a857eb5ebd0a
(cherry picked from commit
a7af7593fb41b7f67de8f3206233b576ebaaef48)
(cherry picked from commit
c0f67813c31bd25ec40c98a4f1e77f98bdabbb48)
Jason Monk [Thu, 31 Mar 2016 15:43:45 +0000 (15:43 +0000)]
Merge "Remove panel paddings/margins when QS is customizing" into nyc-dev
Jason Monk [Thu, 31 Mar 2016 15:32:17 +0000 (15:32 +0000)]
Merge "Fix QS battery tile state" into nyc-dev
Jason Monk [Thu, 31 Mar 2016 15:30:41 +0000 (11:30 -0400)]
Fix QS battery tile state
Don't share drawables across multiple imageviews. Instead generate
a new drawable for each one.
Change-Id: I70259f978af73525d9f6ec772ecd94f2ca9c75bf
Fixes:
27786862
Gustav Sennton [Thu, 31 Mar 2016 15:28:52 +0000 (15:28 +0000)]
Merge "Simplify WebViewProviderInfo - move its logic into WebViewUpdateService." into nyc-dev
Jason Monk [Thu, 31 Mar 2016 14:00:52 +0000 (14:00 +0000)]
Merge "Fix build" into nyc-dev
Jason Monk [Thu, 31 Mar 2016 14:00:09 +0000 (10:00 -0400)]
Fix build
Change-Id: I75e49ea144d47819c0fb7b4cd2e19a6c42b28ff1
Andrew Johnson [Thu, 31 Mar 2016 13:52:09 +0000 (13:52 +0000)]
Merge "Removing assignments to localeScriptWasComputed in aapt." into nyc-dev
Jason Monk [Thu, 31 Mar 2016 13:47:32 +0000 (13:47 +0000)]
Merge changes from topic 'SettingsMetrics' into nyc-dev
* changes:
Add constants for settings suggestions metrics
Add some constants for settings conditionals
Jason Monk [Wed, 30 Mar 2016 20:03:15 +0000 (16:03 -0400)]
Add constants for settings suggestions metrics
Bug:
27851236
Change-Id: Ia5962a5430246c7fa1221a638447c8c86b011223
Jason Monk [Wed, 30 Mar 2016 19:46:03 +0000 (15:46 -0400)]
Add some constants for settings conditionals
Bug:
27851236
Change-Id: I3725be01e0d5de13b81f82ec594bed5f95b5bb18
Bill Yi [Thu, 31 Mar 2016 13:23:20 +0000 (13:23 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Gustav Sennton [Wed, 30 Mar 2016 13:53:03 +0000 (14:53 +0100)]
Simplify WebViewProviderInfo - move its logic into WebViewUpdateService.
The WebViewProviderInfo should now be ready to be added as an API to be
fetched from XTS tests (to avoid using reflection).
Move the logic for validation, signature checking and package info
fetching out of WebViewProviderInfo so that we can mock the coupling
between that logic and the system (e.g. the package manager).
Note: with this patch we stop caching valid webview packages in the
update service (we would still refetch them anyway when anything
important happened).
Bug:
27635535
Bug:
27736084
Change-Id: Ia455202d2fd5bc4e03dce0fd917d262bf942d1a3
Paul Duffin [Tue, 22 Mar 2016 16:53:41 +0000 (16:53 +0000)]
Remove RawCollationKey/ByteArrayWrapper from the public API
Bug:
22023363
Change-Id: I03b89260a9af9a2f6d4e25799c3942ca2579e26e
Paul Duffin [Thu, 31 Mar 2016 12:15:03 +0000 (13:15 +0100)]
ICU4J: Hide constants that can change between releases
Bug:
27830659
Change-Id: Ia8274c3b9b26762de5ef3317261ef0c2a45246c3
Andrei Stingaceanu [Thu, 31 Mar 2016 10:57:57 +0000 (10:57 +0000)]
Merge "AfW - suspend apps - API polish" into nyc-dev
Michal Karpinski [Thu, 31 Mar 2016 09:56:22 +0000 (09:56 +0000)]
Merge "Adjusting javadocs for process logging" into nyc-dev
Diego Perez [Thu, 31 Mar 2016 08:14:25 +0000 (08:14 +0000)]
Merge "Implement VirtualRefBasePtr native methods" into nyc-dev
Jeff Sharkey [Thu, 31 Mar 2016 06:48:54 +0000 (06:48 +0000)]
Merge changes Ifecff4f1,Ia302de46 into nyc-dev
* changes:
Make preferred activities direct-boot aware.
Make Parcelable classes final, API cleanup.
Yohei Yukawa [Thu, 31 Mar 2016 06:12:30 +0000 (06:12 +0000)]
Merge "Remove "Other keyboards" from IME switcher dialog." into nyc-dev
Yohei Yukawa [Wed, 30 Mar 2016 20:21:47 +0000 (13:21 -0700)]
Remove "Other keyboards" from IME switcher dialog.
Per comment from UX team, we remove "Other keyboards" button from the
IME switcher dialog because it now points to a stale location, and is
not really needed.
Bug:
27924222
Change-Id: I23b20de3ee0efbb67b7ccac2f9e458b6689dd4ed
Jeff Sharkey [Thu, 31 Mar 2016 05:41:10 +0000 (23:41 -0600)]
Make preferred activities direct-boot aware.
When matching a list of ResolveInfo against the preferred activity
list, we shouldn't mutate the preferred set based on activities that
might be hidden due to the user being locked.
Bug:
25578136
Change-Id: Ifecff4f11c7fddef3eed04325d396f7c43d6703a
Jeff Sharkey [Thu, 31 Mar 2016 03:47:16 +0000 (21:47 -0600)]
Make Parcelable classes final, API cleanup.
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
Bill Yi [Thu, 31 Mar 2016 05:18:13 +0000 (22:18 -0700)]
Import translations. DO NOT MERGE
Change-Id: I59f563780cebed31c23117028a5025e16f37b8ea
Auto-generated-cl: translation import
Jeff Sharkey [Thu, 31 Mar 2016 05:01:48 +0000 (05:01 +0000)]
Merge "Make DreamManagerService FBE aware." into nyc-dev
Bill Yi [Thu, 31 Mar 2016 04:18:39 +0000 (04:18 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Thu, 31 Mar 2016 04:18:12 +0000 (04:18 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Thu, 31 Mar 2016 04:17:52 +0000 (04:17 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Thu, 31 Mar 2016 04:17:32 +0000 (04:17 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Philip P. Moltmann [Thu, 31 Mar 2016 03:52:48 +0000 (03:52 +0000)]
Merge "Parse and validate txt records." into nyc-dev
Tomasz Mikolajewski [Thu, 31 Mar 2016 03:50:17 +0000 (03:50 +0000)]
Merge "Unhide DocumentsContract.EXTRA_ORIENTATION." into nyc-dev
Tomasz Mikolajewski [Thu, 31 Mar 2016 03:47:40 +0000 (03:47 +0000)]
Merge "Unhide ExifThumbnail.getThumbnailRange() and make it match the comment." into nyc-dev
Jeff Sharkey [Thu, 31 Mar 2016 03:46:12 +0000 (03:46 +0000)]
Merge "Keep COLUMN_LOCAL_URI working for now." into nyc-dev
Philip P. Moltmann [Wed, 16 Mar 2016 17:15:39 +0000 (10:15 -0700)]
Parse and validate txt records.
Bug:
27696905
Change-Id: I9affcf02a51c92a2be1c2bfc5efbd09065e100bc
Bill Yi [Thu, 31 Mar 2016 03:25:05 +0000 (20:25 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia554f35ef10e80690cfe3cf5fdf0c004a7687fe1
Auto-generated-cl: translation import
Bill Yi [Thu, 31 Mar 2016 03:09:56 +0000 (20:09 -0700)]
Import translations. DO NOT MERGE
Change-Id: Icc3eb7aed5c4991a4628cd3978a0d8339ec785a9
Auto-generated-cl: translation import
Bill Yi [Thu, 31 Mar 2016 03:03:30 +0000 (20:03 -0700)]
Import translations. DO NOT MERGE
Change-Id: If1d2bc9f9f2e22b73c1b093f680f55dbdd67ca42
Auto-generated-cl: translation import
Bill Yi [Thu, 31 Mar 2016 02:58:55 +0000 (19:58 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iec6c28e663a94027fb9bc1f73ba400a28266491b
Auto-generated-cl: translation import
Adam Lesinski [Thu, 31 Mar 2016 02:58:25 +0000 (02:58 +0000)]
Merge "BatteryStats: Add ble scans to checkin data and start global ble scan timer" into nyc-dev
Jeff Sharkey [Thu, 31 Mar 2016 02:43:20 +0000 (02:43 +0000)]
Merge "Fix DownloadManager tests." into nyc-dev
Jeff Sharkey [Thu, 31 Mar 2016 02:42:46 +0000 (20:42 -0600)]
Make DreamManagerService FBE aware.
It doesn't clobber state based on missing dreams, so we just need
the "triaged" flag to stop logging warnings.
Bug:
26476012
Change-Id: I29d6d4cce18d3e659590e7191681176bf19d0ad7
Jeff Sharkey [Thu, 31 Mar 2016 02:18:52 +0000 (02:18 +0000)]
Merge "Fix a deadlock due to wtf in BaseBundle" into nyc-dev
Adam Lesinski [Wed, 30 Mar 2016 23:58:51 +0000 (16:58 -0700)]
BatteryStats: Add ble scans to checkin data and start global ble scan timer
Bug:
27930206
Change-Id: Ieb81eddeb0ac54ad93615f3abdc18cbcab19a729
Siyamed Sinir [Thu, 31 Mar 2016 01:50:29 +0000 (01:50 +0000)]
Merge "Reset FontMetrics at each new measurement in BoringLayout" into nyc-dev
Jeff Sharkey [Thu, 31 Mar 2016 01:46:42 +0000 (19:46 -0600)]
Keep COLUMN_LOCAL_URI working for now.
Bug:
26515039
Change-Id: I48f3ef90443b01fb75a3852e5cfdd83a9bbcac0f
Vladislav Kaznacheev [Thu, 31 Mar 2016 01:43:09 +0000 (01:43 +0000)]
Merge "Revert "Add wallpaper input consumer to WindowManagerService"" into nyc-dev
Vladislav Kaznacheev [Thu, 31 Mar 2016 01:42:02 +0000 (01:42 +0000)]
Revert "Add wallpaper input consumer to WindowManagerService"
This reverts commit
6013a558262d149023b32ab175c9b885b6c5b81d.
Change-Id: I2711afe2e97a8b9a4bd94193202cb83113b3bd7e
Aga Wronska [Thu, 31 Mar 2016 01:39:11 +0000 (01:39 +0000)]
Merge "Add menu option to show/hide internal storage." into nyc-dev
Tomasz Mikolajewski [Thu, 10 Mar 2016 06:58:32 +0000 (15:58 +0900)]
Unhide ExifThumbnail.getThumbnailRange() and make it match the comment.
Bug:
27579803
Change-Id: If9fe16976cfbc0760a6afb3043d35e0ee387945c
Philip P. Moltmann [Thu, 31 Mar 2016 01:33:15 +0000 (01:33 +0000)]
Merge "Add the print service recommendation service" into nyc-dev
Tomasz Mikolajewski [Thu, 31 Mar 2016 00:34:51 +0000 (09:34 +0900)]
Unhide DocumentsContract.EXTRA_ORIENTATION.
Bug:
27351468
Change-Id: Ib205dfe5fab995880407792cc15178aaf1ac15e6
Aga Wronska [Thu, 31 Mar 2016 01:07:59 +0000 (18:07 -0700)]
Add menu option to show/hide internal storage.
This reverts commit
7c4395804e450533afb553ab992c47f737da8a9b.
Bug:
27683276
Change-Id: Id1a310b57ab7fa3c8c14b464786473f211eaf41f
Sudheer Shanka [Thu, 31 Mar 2016 01:22:36 +0000 (01:22 +0000)]
Merge "Revert "Temporary changes to fix crashes during tests."" into nyc-dev
Sudheer Shanka [Thu, 31 Mar 2016 01:14:20 +0000 (01:14 +0000)]
Merge "Return null value if getActiveAdminUncheckedLocked returns null." into nyc-dev
Andrii Kulian [Thu, 31 Mar 2016 00:57:40 +0000 (00:57 +0000)]
Merge "Refactor usages of Picture In Picture and Multi Window (1/4)" into nyc-dev
Ruchi Kandoi [Thu, 31 Mar 2016 00:54:24 +0000 (00:54 +0000)]
Merge "Revert "PowerManager: Hide the SUSTAINED_PERFORMANCE API."" into nyc-dev
Mihai Niță [Thu, 31 Mar 2016 00:53:41 +0000 (00:53 +0000)]
Merge "Ignore stopwords in the Arabic locale sort" into nyc-dev
Felipe Leme [Thu, 31 Mar 2016 00:49:16 +0000 (00:49 +0000)]
Merge "Minor tweaks on Scoped Directory Access:" into nyc-dev
Vladislav Kaznacheev [Tue, 29 Mar 2016 22:43:28 +0000 (15:43 -0700)]
Add wallpaper input consumer to WindowManagerService
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
Amith Yamasani [Wed, 30 Mar 2016 23:51:26 +0000 (16:51 -0700)]
Fix a deadlock due to wtf in BaseBundle
Use Slog.wtf instead of Log.wtf, so that it is
asynchronously reported.
Mark incoming application restrictions as defusable
since they are being unparceled.
Bug:
27811728
Change-Id: I166de69a74417e439ec5ef9159fbbfbfe711dde6
Jeff Sharkey [Thu, 31 Mar 2016 00:27:20 +0000 (00:27 +0000)]
Merge "Fix RootsCache invalidation bugs." into nyc-dev
Andrew Johnson [Wed, 30 Mar 2016 21:16:45 +0000 (17:16 -0400)]
Removing assignments to localeScriptWasComputed in aapt.
On certain devices running Android M with unknown vendor
modifications. Setting the localeScriptWasComputed bit in
the resource parameters struct causes the translations
for many languages to fail to load. The app then
defaults to English.
This has been reported on the following devices:
Motorola XT1086, XT1096, and XT1586, HTC One, and Huawei
MediaPad 10 LINK.
This change works around the issue by never setting
localeScriptWasComputed in aapt and instead always
writing the default value of false.
Bug:
27872476
Change-Id: Id638d1d0e5f9dcb1c02e65d67667d76174c69b9e
Sudheer Shanka [Thu, 31 Mar 2016 00:24:05 +0000 (00:24 +0000)]
Revert "Temporary changes to fix crashes during tests."
This reverts commit
1c15e01f6dc57cbd8dbfb45f60c625703309c4a5.
Change-Id: I9ea2f26c9d95b5429c98a0785b1797bea2e3f945
Jeff Sharkey [Thu, 31 Mar 2016 00:22:22 +0000 (18:22 -0600)]
Fix DownloadManager tests.
ERROR_CANNOT_RESUME is the correct code for one, and relative paths
are supported by the RFC, so change the test to check for success.
Bug:
27580939
Change-Id: Ife99c22a44dd71232466e35d38a2441c16a558f7
Philip P. Moltmann [Mon, 14 Mar 2016 21:31:12 +0000 (14:31 -0700)]
Add the print service recommendation service
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
Siyamed Sinir [Tue, 29 Mar 2016 18:56:53 +0000 (11:56 -0700)]
Reset FontMetrics at each new measurement in BoringLayout
Reset FontMetrics object used in BoringLayout.isBoring to get updated
and correct FontMetrics as a result of measurement.
Bug:
26704088
Change-Id: If77b0edba8dc4b5b1738a802c5f49e112e47b4f2
Sudheer Shanka [Thu, 31 Mar 2016 00:12:07 +0000 (17:12 -0700)]
Return null value if getActiveAdminUncheckedLocked returns null.
- 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
Jean-Michel Trivi [Thu, 31 Mar 2016 00:10:24 +0000 (00:10 +0000)]
Merge "Fix audio focus logging" into nyc-dev
Sergei Vasilinetc [Wed, 30 Mar 2016 23:42:33 +0000 (23:42 +0000)]
Merge "Hide children in ViewGroup.createSnaphost via internal flag and add test for it." into nyc-dev
Felipe Leme [Wed, 30 Mar 2016 02:06:02 +0000 (19:06 -0700)]
Minor tweaks on Scoped Directory Access:
- 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
Adam Lesinski [Wed, 30 Mar 2016 23:29:56 +0000 (23:29 +0000)]
Merge "AAPT2: Suppress warnings from libandroidfw when built for host" into nyc-dev
Adam Lesinski [Wed, 30 Mar 2016 23:22:33 +0000 (16:22 -0700)]
AAPT2: Suppress warnings from libandroidfw when built for host
Certain error cases are expected (like not finding a package) when
using libandroidfw on the host side for AAPT2. Suppress those warnings
and let AAPT2 handle error cases.
Change-Id: I3de97128686c03c89c5b99559bf46d4f2f1dfe4d
Jeff Sharkey [Wed, 30 Mar 2016 23:14:23 +0000 (17:14 -0600)]
Fix RootsCache invalidation bugs.
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
Dianne Hackborn [Wed, 30 Mar 2016 23:13:10 +0000 (23:13 +0000)]
Merge "Fix issue #
27920133: Need to ensure activity starts in idle maintenance" into nyc-dev
Evan Rosky [Wed, 30 Mar 2016 23:13:04 +0000 (23:13 +0000)]
Merge "Make part of KeyguardSecurityContainer protected" into nyc-dev
Dongwon Kang [Mon, 21 Mar 2016 05:40:12 +0000 (22:40 -0700)]
TIF: Add more class documentation on TvInputManager
Bug:
25726241
Change-Id: Ib3ff49f2d9f7a3bdcee4b97f89da193fe05d663c
Lorenzo Colitti [Wed, 30 Mar 2016 23:03:17 +0000 (23:03 +0000)]
Merge "Avoid null app context in StaticApplicationContextServiceFetcher." into nyc-dev
Julia Reynolds [Wed, 30 Mar 2016 22:58:50 +0000 (22:58 +0000)]
Merge "Check permission of package, not caller." into nyc-dev
Mihai Nita [Wed, 30 Mar 2016 21:57:58 +0000 (14:57 -0700)]
Ignore stopwords in the Arabic locale sort
Bug:
26277596
Change-Id: I7cf36d67313de8ee89d12b0289a15bccb9dd9ecc
George Mount [Wed, 30 Mar 2016 22:55:28 +0000 (22:55 +0000)]
Merge "Revert "Run cleanup before end actions of ViewPropertyAnimator."" into nyc-dev
Philip P. Moltmann [Wed, 30 Mar 2016 22:42:48 +0000 (22:42 +0000)]
Merge "Rewrite workflow on how the destination printer is selected." into nyc-dev
Felipe Leme [Wed, 30 Mar 2016 22:39:52 +0000 (22:39 +0000)]
Merge "Data Saver Mode should automatically allow foreground services." into nyc-dev
Fyodor Kupolov [Wed, 30 Mar 2016 22:34:47 +0000 (22:34 +0000)]
Merge "Fixed arguments order for addSharedAccountsFromParentUser" into nyc-dev
Adam Lesinski [Wed, 30 Mar 2016 22:33:29 +0000 (22:33 +0000)]
Merge "Allow multiple Resources associated with an Activity" into nyc-dev
Rob Carr [Wed, 30 Mar 2016 22:32:37 +0000 (22:32 +0000)]
Merge "Update surface size even when preserving geometry." into nyc-dev
Felipe Leme [Wed, 30 Mar 2016 22:11:31 +0000 (15:11 -0700)]
Data Saver Mode should automatically allow foreground services.
BUG:
27324964
Change-Id: I8f09b9c9673f3ed697daca14902123a81ce41085
Felipe Leme [Wed, 30 Mar 2016 22:28:05 +0000 (22:28 +0000)]
Merge "Uses bw_happy_box and bw_penalty_box for Data Saver." into nyc-dev
Aga Wronska [Wed, 30 Mar 2016 22:04:23 +0000 (22:04 +0000)]
Merge "Add metrics for create directory and rename file operations" into nyc-dev
Dianne Hackborn [Wed, 30 Mar 2016 21:55:00 +0000 (14:55 -0700)]
Fix issue #
27920133: Need to ensure activity starts in idle maintenance
We now hold a wake lock while going in to idle maintenance, since
we really want to make sure everyone has a chance to respond. And
since we are doing that, we can move to just using a delayed message
to make sure we don't leave maintenance until the time expires, getting
rid of the separate timeout alarm.
Also improve the initial transition to light idle mode so that if
we currently have work going on, we will wait for up to 15 minutes
more before actually going idle and forcing it to stop.
Change-Id: I6045da57ab4165f80a651126e99371c029ced23d
Mitchell Wills [Wed, 30 Mar 2016 21:58:42 +0000 (21:58 +0000)]
Merge "Send WorkSource for scan requests so the origin can be overridden" into nyc-dev
Yohei Yukawa [Wed, 30 Mar 2016 21:55:30 +0000 (21:55 +0000)]
Merge "Add IC#closeConnection()." into nyc-dev
Felipe Leme [Tue, 29 Mar 2016 17:45:13 +0000 (10:45 -0700)]
Uses bw_happy_box and bw_penalty_box for Data Saver.
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
Philip P. Moltmann [Wed, 30 Mar 2016 21:44:18 +0000 (21:44 +0000)]
Merge "Update print preview when option is changed and clear ranges when they layout changes" into nyc-dev
Julia Reynolds [Wed, 30 Mar 2016 21:29:54 +0000 (17:29 -0400)]
Check permission of package, not caller.
Bug:
27923662
Change-Id: I86fd9ed2e8971bde216f53b6d1a5933e8188a425
George Mount [Wed, 30 Mar 2016 21:33:18 +0000 (21:33 +0000)]
Revert "Run cleanup before end actions of ViewPropertyAnimator."
This reverts commit
e9a4f878528976efb4ec6f3d7797bef44732b00e.
This revert is to test to see if the gralloc lock problems are caused by this CL.
Change-Id: I395fd3675dd430c44a5d29b050ba248f3f2bf4cd
Amith Yamasani [Wed, 30 Mar 2016 21:28:57 +0000 (21:28 +0000)]
Merge "Fix deadlock during user state transitions" into nyc-dev