OSDN Git Service
Bill Yi [Sun, 18 Feb 2018 17:22:36 +0000 (17:22 +0000)]
Import translations. DO NOT MERGE am:
2604d97ab6 -s ours
am:
48ca445aaf -s ours
Change-Id: Ic45d04f4c809125e24e1c896cc55d34b3a509bad
Bill Yi [Sun, 18 Feb 2018 17:12:57 +0000 (17:12 +0000)]
Import translations. DO NOT MERGE
am:
2604d97ab6 -s ours
Change-Id: I0b5e8523e8e43ce3fd58c14e9be9423b1e58c2a6
Jeff Sharkey [Sat, 17 Feb 2018 18:16:02 +0000 (18:16 +0000)]
Merge "Leave NetworkStatsService around during shutdown."
Bernardo Rufino [Sat, 17 Feb 2018 17:15:57 +0000 (17:15 +0000)]
Merge "Add tests for ActiveRestoreSession"
Etan Cohen [Sat, 17 Feb 2018 15:37:24 +0000 (15:37 +0000)]
Merge "[RTT] Replace Handler with Executor in public APIs"
Etan Cohen [Sat, 17 Feb 2018 15:36:59 +0000 (15:36 +0000)]
Merge "Add Executor to the TestLooper"
TreeHugger Robot [Sat, 17 Feb 2018 13:55:37 +0000 (13:55 +0000)]
Merge "Add OWNERS for AccountManager."
TreeHugger Robot [Sat, 17 Feb 2018 11:17:05 +0000 (11:17 +0000)]
Merge "Minor autofill changes to support compat mode CTS tests."
TreeHugger Robot [Sat, 17 Feb 2018 11:12:42 +0000 (11:12 +0000)]
Merge "Import translations. DO NOT MERGE"
Scott Kennedy [Sat, 17 Feb 2018 08:08:30 +0000 (08:08 +0000)]
Merge "Add @Nullable to return values in Uri" am:
cfc6897a39 am:
a03c35d74a
am:
68636f2e8a
Change-Id: Iac3c67b843418ca3529be782667c02f4a35fee9c
Scott Kennedy [Sat, 17 Feb 2018 07:58:31 +0000 (07:58 +0000)]
Merge "Add @Nullable to return values in Uri" am:
cfc6897a39
am:
a03c35d74a
Change-Id: Ia145a065eabe75e72051287005cd5ab341fe2824
Scott Kennedy [Sat, 17 Feb 2018 07:45:37 +0000 (07:45 +0000)]
Merge "Add @Nullable to return values in Uri"
am:
cfc6897a39
Change-Id: I109bd5952643598c5306ab27debb4dd2b30fffed
Etan Cohen [Sat, 17 Feb 2018 05:27:30 +0000 (05:27 +0000)]
Merge "[RTT] Ranging timestamp is in millis"
Etan Cohen [Sat, 17 Feb 2018 05:26:57 +0000 (05:26 +0000)]
Merge "[RTT] RangeResult RSSI now in units of dB"
Treehugger Robot [Sat, 17 Feb 2018 04:49:23 +0000 (04:49 +0000)]
Merge "Add @Nullable to return values in Uri"
Robert Sesek [Sat, 17 Feb 2018 04:08:15 +0000 (04:08 +0000)]
Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote." am:
554cfd1f1d am:
5b9410c74b
am:
4523bf284a
Change-Id: Ib714e447f06323d38c98de683f5547e66749856e
Bill Yi [Sat, 17 Feb 2018 04:01:02 +0000 (20:01 -0800)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I54b1c06d488c0fdae78a4aec9629b6bcc9db9f07
Robert Sesek [Sat, 17 Feb 2018 03:51:28 +0000 (03:51 +0000)]
Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote." am:
554cfd1f1d
am:
5b9410c74b
Change-Id: I5e9d5c960b9f78cfa7ca7ab88e9d2075f97daca8
TreeHugger Robot [Sat, 17 Feb 2018 03:48:02 +0000 (03:48 +0000)]
Merge "Link to app info from inline settings"
Bill Yi [Sat, 17 Feb 2018 03:46:29 +0000 (19:46 -0800)]
Import translations. DO NOT MERGE
Change-Id: I80f2e2e951de2ce78282b792a328b8595402b0b3
Auto-generated-cl: translation import
Robert Sesek [Sat, 17 Feb 2018 03:41:55 +0000 (03:41 +0000)]
Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote."
am:
554cfd1f1d
Change-Id: I723f75be6488390932a60b411ac04660c16d93d1
TreeHugger Robot [Sat, 17 Feb 2018 03:25:06 +0000 (03:25 +0000)]
Merge "Increase size of app info tap target"
TreeHugger Robot [Sat, 17 Feb 2018 03:21:04 +0000 (03:21 +0000)]
Merge "Address comments for ag/
3587350"
TreeHugger Robot [Sat, 17 Feb 2018 03:11:27 +0000 (03:11 +0000)]
Merge "fix ModemActivityInfo should be delta"
TreeHugger Robot [Sat, 17 Feb 2018 03:10:29 +0000 (03:10 +0000)]
Merge "Hide previous toast from pkg before updating"
TreeHugger Robot [Sat, 17 Feb 2018 02:57:02 +0000 (02:57 +0000)]
Merge "StatsCompanionService logcat message updates"
TreeHugger Robot [Sat, 17 Feb 2018 02:55:01 +0000 (02:55 +0000)]
Merge "Another Autofill counter metric fix (plus some minor doc touches)."
TreeHugger Robot [Sat, 17 Feb 2018 02:45:46 +0000 (02:45 +0000)]
Merge "Log slow UID observer in dumpsys"
Calin Juravle [Sat, 17 Feb 2018 02:42:32 +0000 (02:42 +0000)]
Merge "Prepare app profiles only for upgrades and first boot"
Jorim Jaggi [Sat, 17 Feb 2018 02:34:21 +0000 (02:34 +0000)]
Merge "Fix memory leak"
Svet Ganov [Fri, 16 Feb 2018 08:11:39 +0000 (00:11 -0800)]
Minor autofill changes to support compat mode CTS tests.
Bug:
72811561
Test: atest CtsAutoFillServiceTestCases:VirtualContainerActivityCompatModeTest
Change-Id: I6ec2563cea75afc77a1598805988d8e6c433c574
TreeHugger Robot [Sat, 17 Feb 2018 01:58:18 +0000 (01:58 +0000)]
Merge "AAPT2: Ensure output formats of files are correctly set"
TreeHugger Robot [Sat, 17 Feb 2018 01:56:06 +0000 (01:56 +0000)]
Merge "Add feature annotation to UsbManager"
TreeHugger Robot [Sat, 17 Feb 2018 01:56:00 +0000 (01:56 +0000)]
Merge "Fixes quickstep gestures when screen in pinned."
TreeHugger Robot [Sat, 17 Feb 2018 01:48:23 +0000 (01:48 +0000)]
Merge "Yet more alpha tweaks for Ripples"
TreeHugger Robot [Sat, 17 Feb 2018 01:43:26 +0000 (01:43 +0000)]
Merge "Grant default permissions to TextClassifier app."
Treehugger Robot [Sat, 17 Feb 2018 01:39:54 +0000 (01:39 +0000)]
Merge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote."
Hans Boehm [Sat, 17 Feb 2018 01:28:49 +0000 (01:28 +0000)]
Merge "Avoid BinderProxy duplicate native registration"
TreeHugger Robot [Sat, 17 Feb 2018 01:16:22 +0000 (01:16 +0000)]
Merge "Owners file for StatsCompanionService"
TreeHugger Robot [Sat, 17 Feb 2018 01:10:07 +0000 (01:10 +0000)]
Merge "Implement requestLocationCb"
TreeHugger Robot [Sat, 17 Feb 2018 01:03:35 +0000 (01:03 +0000)]
Merge "Safeguard against NPE race condition."
Etan Cohen [Sat, 17 Feb 2018 00:17:55 +0000 (00:17 +0000)]
Merge "[RTT] LCI/LCR to System API - unparsed"
Bookatz [Fri, 16 Feb 2018 23:54:05 +0000 (15:54 -0800)]
StatsCompanionService logcat message updates
StatsCompanionService logs that it cannot find statsd, but
since it never says when it succeeds, it looks worrisome.
It's useful to know, so both outcomes are now logged.
Other minor logging changes are done too.
Bug:
73495509
Test: none
Change-Id: I67236b8d323751d0c5e3fa2454eccceb8c4250a0
Sandra Kwan [Thu, 15 Feb 2018 23:22:36 +0000 (15:22 -0800)]
Add OWNERS for AccountManager.
Test: no code change.
Change-Id: I6dabe8ff503a68d0ac2082a9149c23e0d4fd46ea
Android Build Merger (Role) [Fri, 16 Feb 2018 23:40:05 +0000 (23:40 +0000)]
Merge "Merge "MSIM support for hidden IMS capability and registration query APIs." am:
b8d25ed3a4 am:
5cb9aa55e8 -s ours am:
f63b3dcb89 -s ours"
Brad Ebinger [Fri, 16 Feb 2018 23:38:44 +0000 (23:38 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs." am:
b8d25ed3a4 am:
5cb9aa55e8 -s ours
am:
f63b3dcb89 -s ours
Change-Id: Ib994c656b6cc4f702ccf2d1149b806f51501fb84
Sudheer Shanka [Fri, 16 Feb 2018 23:37:45 +0000 (23:37 +0000)]
Merge "Read per-uid cpu times less often."
Jeff Sharkey [Fri, 16 Feb 2018 23:28:25 +0000 (16:28 -0700)]
Leave NetworkStatsService around during shutdown.
We've seen system code continue to ask about network statistics
during a shutdown, so keep our objects around to avoid crashing
with NPEs.
Test: builds, boots
Bug:
73323432
Change-Id: I2654d37a59eb830ff32a2151ae6ad6a999a41677
Brad Ebinger [Fri, 16 Feb 2018 23:21:41 +0000 (23:21 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs." am:
b8d25ed3a4
am:
5cb9aa55e8 -s ours
Change-Id: I9da5571baf210378fd2f0bbd59f3cca04be849af
TreeHugger Robot [Fri, 16 Feb 2018 23:21:27 +0000 (23:21 +0000)]
Merge "Tweak QQS <-> QS animation."
Brad Ebinger [Fri, 16 Feb 2018 23:09:39 +0000 (23:09 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs."
am:
b8d25ed3a4
Change-Id: I1636e80c2f09e8949ba44f7225aed16448ed5692
Matthew Ng [Thu, 15 Feb 2018 20:21:18 +0000 (12:21 -0800)]
Fixes quickstep gestures when screen in pinned.
Intercept the gesture calls when screen is currently being pinned.
Screen pinning dialog will take the current icons from nav bar.
Change-Id: I49a79a857311253ecc4eb103bc1dd5a618d71bc0
Fixes:
73361404
Test: pin an app and try to swipe up or use quick scrub
TreeHugger Robot [Fri, 16 Feb 2018 22:53:42 +0000 (22:53 +0000)]
Merge "Always remeasure weighted children, even if there's no excess space"
Adrian Roos [Fri, 16 Feb 2018 22:47:11 +0000 (22:47 +0000)]
Merge "OverlayManager: Add categories"
Todd Kennedy [Fri, 16 Feb 2018 22:29:59 +0000 (22:29 +0000)]
Merge "Remove non-existent command from usage text"
TreeHugger Robot [Fri, 16 Feb 2018 22:29:02 +0000 (22:29 +0000)]
Merge "Remove Support Library from frameworks/base pathmap.mk"
TreeHugger Robot [Fri, 16 Feb 2018 22:24:35 +0000 (22:24 +0000)]
Merge "Recommend ICU replacements, no clone, no Impl."
TreeHugger Robot [Fri, 16 Feb 2018 22:21:41 +0000 (22:21 +0000)]
Merge "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs"
Aurimas Liutikas [Fri, 16 Feb 2018 22:19:42 +0000 (22:19 +0000)]
Merge "Remove uses of private Platform class in truth library."
Makoto Onuki [Fri, 16 Feb 2018 02:06:46 +0000 (18:06 -0800)]
Log slow UID observer in dumpsys
Sample output:
mUidChangeDispatchCount=322
Slow UID dispatches:
com.android.server.usage.UsageStatsService$2: 0 / Max 0ms
android.app.IUidObserver$Stub$Proxy: 0 / Max 0ms
android.app.ActivityManager$UidObserver: 0 / Max 0ms
com.android.server.pm.ShortcutService$3: 0 / Max 0ms
android.app.IUidObserver$Stub$Proxy: 0 / Max 0ms
android.app.IUidObserver$Stub$Proxy: 0 / Max 0ms
com.android.server.net.NetworkPolicyManagerService$3: 0 / Max 0ms
com.android.server.AlarmManagerService$UidObserver: 0 / Max 0ms
com.android.server.job.JobSchedulerService$2: 1 / Max 826ms
android.app.IUidObserver$Stub$Proxy: 1 / Max 44ms
android.app.IUidObserver$Stub$Proxy: 0 / Max 0ms
com.android.server.AppStateTracker$UidObserver: 0 / Max 0ms
Bug:
73505782
Test: Boot and observe dumpsys activity.
Change-Id: I17c971a9690a708c253a5e98e21b8c81166d3ed0
Jeff Sharkey [Fri, 16 Feb 2018 22:13:01 +0000 (22:13 +0000)]
Merge "Better handling of NTP-based clocks."
Jeff Sharkey [Thu, 15 Feb 2018 05:29:11 +0000 (22:29 -0700)]
Better handling of NTP-based clocks.
Now that we have a nice Clock abstraction, we can use it to represent
a clock backed by an NTP fix. (This makes testing logic much easier
to write.)
We now rely completely on NetworkTimeUpdateService to keep our NTP
fix up to date, instead of trying to refresh in the middle of
critical paths which could trigger random ANRs.
Add internal FallbackClock to make it easier to handle missing NTP
fixes. Add internal SimpleClock to let implementers focus on single
millis() method.
Test: bit FrameworksNetTests:com.android.server.net.NetworkStatsServiceTest
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug:
69714690,
72320957
Change-Id: Ic32cdcbe093d08b73b0e4b23d6910b23ea8e1968
Exempt-From-Owner-Approval: approved in previous PS
Makoto Onuki [Fri, 16 Feb 2018 22:04:26 +0000 (22:04 +0000)]
Merge "Change sync manager init timing back to PHASE_ACTIVITY_MANAGER_READY"
Jorim Jaggi [Fri, 16 Feb 2018 22:03:37 +0000 (22:03 +0000)]
Merge "Cutout: Fix issues with PopupWindows"
Rajeev Kumar [Fri, 16 Feb 2018 21:52:22 +0000 (21:52 +0000)]
Merge "Implement atom puller for ProcessMemoryState."
Evan Rosky [Fri, 16 Feb 2018 21:51:24 +0000 (21:51 +0000)]
Merge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues" am:
8b764a0dab -s ours am:
d418ecfc66 -s ours
am:
0df5ca72d6 -s ours
Change-Id: Id7a9148a0b1d9298a51388a4d505e18860384915
TreeHugger Robot [Fri, 16 Feb 2018 21:43:37 +0000 (21:43 +0000)]
Merge "Custom SmartReplyView layout"
Evan Rosky [Fri, 16 Feb 2018 21:36:56 +0000 (21:36 +0000)]
Merge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues" am:
8b764a0dab -s ours
am:
d418ecfc66 -s ours
Change-Id: I7d45de823c87f346b25ad0194dc538b560d67bad
Evan Rosky [Fri, 16 Feb 2018 21:25:26 +0000 (21:25 +0000)]
Merge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues"
am:
8b764a0dab -s ours
Change-Id: Iffb3e3c70d9d135f15f66f3bf7968dfef9f1d4f5
John Reck [Fri, 16 Feb 2018 21:18:30 +0000 (13:18 -0800)]
Yet more alpha tweaks for Ripples
Change-Id: If714a90d847882e04863723e1849e12a8f987fac
Fixes:
72173993
Test: API demos controls tests, clicked stuff, mouse & kbd used.
Calin Juravle [Wed, 14 Feb 2018 00:27:59 +0000 (16:27 -0800)]
Prepare app profiles only for upgrades and first boot
Test: manual, flash and check profiles for system apps
Bug:
72713758
Change-Id: I81327093e16b4fca3fbdbb2e0846c82eee4c7a68
Philip P. Moltmann [Fri, 16 Feb 2018 19:14:54 +0000 (11:14 -0800)]
Add feature annotation to UsbManager
Test: Built
Change-Id: Ib81f8a8deb38c7b7397b4119c98b92de1fe5f17f
Vladislav Kaznacheev [Fri, 16 Feb 2018 20:54:48 +0000 (20:54 +0000)]
Merge "[DO NOT MERGE] Fix context menu position for RTL" am:
80ae7124f5 -s ours am:
e715e2162e -s ours
am:
9059147479 -s ours
Change-Id: I3e3914690d8e8c42d247712a041954f6eafe2387
Benedict Wong [Fri, 16 Feb 2018 20:51:37 +0000 (20:51 +0000)]
Merge "Correct bug in IpSecTransformTest" am:
999d1fc172 am:
c9f558d46d
am:
12cb5aae57
Change-Id: Ic29f13053365f3de8d01f9c38f8460d92748a41d
Vladislav Kaznacheev [Fri, 16 Feb 2018 20:46:04 +0000 (20:46 +0000)]
Merge "[DO NOT MERGE] Fix context menu position for RTL" am:
80ae7124f5 -s ours
am:
e715e2162e -s ours
Change-Id: I6edeac6d72d6f3471bbfc8f39fec282567441e82
Jeff Sharkey [Fri, 16 Feb 2018 20:45:41 +0000 (20:45 +0000)]
Merge "Add RequiresFeature annotation."
Jeff Sharkey [Fri, 16 Feb 2018 17:14:57 +0000 (10:14 -0700)]
Add RequiresFeature annotation.
Certain APIs require that a device have a specific feature to operate
correctly, so start annotating them.
Test: builds, boots
Bug:
72284763
Change-Id: Ie2f30284bdfdb6acc4067f434eba3b5433837606
Exempt-From-Owner-Approval: simple annotations
Benedict Wong [Fri, 16 Feb 2018 20:43:12 +0000 (20:43 +0000)]
Merge "Correct bug in IpSecTransformTest" am:
999d1fc172
am:
c9f558d46d
Change-Id: I990729e8592e70898867fe72a3d628fd7f9fdaf0
Brad Ebinger [Fri, 16 Feb 2018 20:35:45 +0000 (20:35 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs."
Vladislav Kaznacheev [Fri, 16 Feb 2018 20:31:06 +0000 (20:31 +0000)]
Merge "[DO NOT MERGE] Fix context menu position for RTL"
am:
80ae7124f5 -s ours
Change-Id: If52d9831857624890785c31689d69dd6c0f28e09
Jeff Sharkey [Fri, 16 Feb 2018 20:29:29 +0000 (13:29 -0700)]
Recommend ICU replacements, no clone, no Impl.
When ICU has a better replacement class, recommend that APIs use
that instead.
Yell if someone implements clone(), and point them towards a copy
constructor instead.
Yell if someone exposes "Impl" classes.
Test: manual
Bug:
73392214,
71906588,
62627348
Change-Id: I75dcba2c4ab7ca426057eefb0335c935c3ced79a
Benedict Wong [Fri, 16 Feb 2018 20:28:18 +0000 (20:28 +0000)]
Merge "Correct bug in IpSecTransformTest"
am:
999d1fc172
Change-Id: If99a991052a821f43b8238a47d0d2c7e00362bc3
Amin Shaikh [Fri, 16 Feb 2018 20:08:16 +0000 (15:08 -0500)]
Tweak QQS <-> QS animation.
Add a start delay so users do not see the footer divider intersecting
the animating second row of QS tiles.
Test: visual
Change-Id: Iea0a0ec7a3a4e849dc774bc5c1bd452ff56c3854
TreeHugger Robot [Fri, 16 Feb 2018 20:06:54 +0000 (20:06 +0000)]
Merge "Fix javadoc in SettingsSliceContract"
Treehugger Robot [Fri, 16 Feb 2018 20:02:26 +0000 (20:02 +0000)]
Merge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues"
Treehugger Robot [Fri, 16 Feb 2018 19:54:26 +0000 (19:54 +0000)]
Merge "[DO NOT MERGE] Fix context menu position for RTL"
Alan Viverette [Fri, 2 Feb 2018 21:33:37 +0000 (16:33 -0500)]
Always remeasure weighted children, even if there's no excess space
Bug:
72630654
Test: atest LinearLayoutTest
Change-Id: Ie9637950aef32f080b8284a63003eb61c0a88841
Abodunrinwa Toki [Tue, 13 Feb 2018 17:47:48 +0000 (17:47 +0000)]
Grant default permissions to TextClassifier app.
Bug:
72746494
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Change-Id: I92ab3a7d3041c7db521c49c0090e6813691341bd
Robert Sesek [Mon, 12 Feb 2018 23:46:01 +0000 (18:46 -0500)]
Add Zygote.startChildZygote() to fork a new process that itself is a zygote.
This adds a new --start-child-zygote argument that instructs the main
zygote to create a new child process that will also be a zygote. The
system_server generates a random name in the abstract socket namespace
for it and the child-zygote to communicate over, and that is passed as
an argument to the new process.
A child-zygote bypasses the normal post-fork-child of the zygote process
in order to preserve itself as a zygote. This means not starting the
Binder threadpool nor launching into ActivityThread. Instead, a
child-zygote calls into its own main function. The main function runs a
ZygoteServer select loop, listening on the socket name specified by the
system_server when it was forked.
Unlike the system zygotes, a child-zygote can be killed without bringing
down the system. Killing a child-zygote will not terminate its child
processes, which will be reparented to init for reaping when they
eventually exit.
Bug:
63749735
Test: m (with multi-project commits landed)
Change-Id: I3e7ebbdba498f8fec1d84cdf927dc43a92be4b68
TreeHugger Robot [Fri, 16 Feb 2018 19:06:53 +0000 (19:06 +0000)]
Merge "Allowing Typeface as a param in TypefaceSpan."
Julia Reynolds [Thu, 15 Feb 2018 14:49:27 +0000 (09:49 -0500)]
Increase size of app info tap target
Test: manual
Change-Id: Ic9e12684362fc53695843d991bed2c5327b02d1c
Fixes:
73055563
TreeHugger Robot [Fri, 16 Feb 2018 18:46:50 +0000 (18:46 +0000)]
Merge "Adding maximum input size checks"
Jeff Sharkey [Fri, 16 Feb 2018 18:46:29 +0000 (18:46 +0000)]
Merge "Grant DCS storage access; better OBB errors."
Jerry Zhang [Fri, 16 Feb 2018 18:44:23 +0000 (18:44 +0000)]
Merge "Remove urb request size maximum for P api"
Adrian Roos [Fri, 16 Feb 2018 18:35:27 +0000 (19:35 +0100)]
Cutout: Fix issues with PopupWindows
Fixes a problem where popup windows were treated as fullscreen to avoid
the cutout, messing up the positioning relative to their parent. Fixed
by treating popups that lay out within the frame of their parent as already
avoiding the cutout.
Change-Id: Ia7365c7836c28ea956b6236a005e426b634df8ca
Fixes:
72965959
Test: Open Gmail, compose new message, autocomplete dialog is properly aligned
Test: Select text, selection handles are properly aligned
Test: Select text, copy/past popup is properly aligned
Jorim Jaggi [Wed, 14 Feb 2018 18:58:26 +0000 (10:58 -0800)]
Fix memory leak
Client was holding onto the finished callback in the
RemoteAnimationRunner, and the server was holding on to the runner
via the finish callback. Cycle! There is no GC for cross-process
binder, so we have to make sure to properly free it.
Test: go/wm-smoke
Test: Open/close apps, take hprof, make sure no leaks
Change-Id: I680953212bee8841c04c2909a4cb82dfac3c2754
Fixes:
72834182
Benedict Wong [Fri, 16 Feb 2018 18:32:05 +0000 (18:32 +0000)]
Merge "Correct bug in IpSecTransformTest"
Yu-Han Yang [Fri, 9 Feb 2018 21:58:17 +0000 (13:58 -0800)]
Implement requestLocationCb
- For network location, send a single request and inject it.
- For fused location, send a 'streaming' request for 30 sec duration and
1 Hz updates.
Bug:
72405645
Test: locally added a cts in LocationManager to trigger the flow.
Change-Id: I8ce73976e4e62836037bf3563f239719c9a89305
TreeHugger Robot [Fri, 16 Feb 2018 18:24:18 +0000 (18:24 +0000)]
Merge "Optimization: don't call AFM.notifyValueChanged() when value didn't change."
Hans Boehm [Fri, 16 Feb 2018 00:12:51 +0000 (16:12 -0800)]
Avoid BinderProxy duplicate native registration
In case of an OOME, we would recycle the nativeData we just allocated,
even if the BinderProxy.getInstance() call got far enough to register
the allocation for automatic freeing. This could cause a duplicate
deallocation.
This changes the code to be much more careful about handling native
deallocation correctly in the exception case.
Bug:
72707270
Test: Build and boot master.
Change-Id: I2cffdd1d59af95f089714893e819c2d02302a6d4