OSDN Git Service

android-x86/frameworks-base.git
6 years agoImport translations. DO NOT MERGE am: 2604d97ab6 -s ours
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

6 years agoImport translations. DO NOT MERGE
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

6 years agoMerge "Leave NetworkStatsService around during shutdown."
Jeff Sharkey [Sat, 17 Feb 2018 18:16:02 +0000 (18:16 +0000)]
Merge "Leave NetworkStatsService around during shutdown."

6 years agoMerge "Add tests for ActiveRestoreSession"
Bernardo Rufino [Sat, 17 Feb 2018 17:15:57 +0000 (17:15 +0000)]
Merge "Add tests for ActiveRestoreSession"

6 years agoMerge "[RTT] Replace Handler with Executor in public APIs"
Etan Cohen [Sat, 17 Feb 2018 15:37:24 +0000 (15:37 +0000)]
Merge "[RTT] Replace Handler with Executor in public APIs"

6 years agoMerge "Add Executor to the TestLooper"
Etan Cohen [Sat, 17 Feb 2018 15:36:59 +0000 (15:36 +0000)]
Merge "Add Executor to the TestLooper"

6 years agoMerge "Add OWNERS for AccountManager."
TreeHugger Robot [Sat, 17 Feb 2018 13:55:37 +0000 (13:55 +0000)]
Merge "Add OWNERS for AccountManager."

6 years agoMerge "Minor autofill changes to support compat mode CTS tests."
TreeHugger Robot [Sat, 17 Feb 2018 11:17:05 +0000 (11:17 +0000)]
Merge "Minor autofill changes to support compat mode CTS tests."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 17 Feb 2018 11:12:42 +0000 (11:12 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Add @Nullable to return values in Uri" am: cfc6897a39 am: a03c35d74a
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

6 years agoMerge "Add @Nullable to return values in Uri" am: cfc6897a39
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

6 years agoMerge "Add @Nullable to return values in Uri"
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

6 years agoMerge "[RTT] Ranging timestamp is in millis"
Etan Cohen [Sat, 17 Feb 2018 05:27:30 +0000 (05:27 +0000)]
Merge "[RTT] Ranging timestamp is in millis"

6 years agoMerge "[RTT] RangeResult RSSI now in units of dB"
Etan Cohen [Sat, 17 Feb 2018 05:26:57 +0000 (05:26 +0000)]
Merge "[RTT] RangeResult RSSI now in units of dB"

6 years agoMerge "Add @Nullable to return values in Uri"
Treehugger Robot [Sat, 17 Feb 2018 04:49:23 +0000 (04:49 +0000)]
Merge "Add @Nullable to return values in Uri"

6 years agoMerge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote...
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

6 years agoImport translations. DO NOT MERGE
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

6 years agoMerge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote...
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

6 years agoMerge "Link to app info from inline settings"
TreeHugger Robot [Sat, 17 Feb 2018 03:48:02 +0000 (03:48 +0000)]
Merge "Link to app info from inline settings"

6 years agoImport translations. DO NOT MERGE
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

6 years agoMerge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote."
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

6 years agoMerge "Increase size of app info tap target"
TreeHugger Robot [Sat, 17 Feb 2018 03:25:06 +0000 (03:25 +0000)]
Merge "Increase size of app info tap target"

6 years agoMerge "Address comments for ag/3587350"
TreeHugger Robot [Sat, 17 Feb 2018 03:21:04 +0000 (03:21 +0000)]
Merge "Address comments for ag/3587350"

6 years agoMerge "fix ModemActivityInfo should be delta"
TreeHugger Robot [Sat, 17 Feb 2018 03:11:27 +0000 (03:11 +0000)]
Merge "fix ModemActivityInfo should be delta"

6 years agoMerge "Hide previous toast from pkg before updating"
TreeHugger Robot [Sat, 17 Feb 2018 03:10:29 +0000 (03:10 +0000)]
Merge "Hide previous toast from pkg before updating"

6 years agoMerge "StatsCompanionService logcat message updates"
TreeHugger Robot [Sat, 17 Feb 2018 02:57:02 +0000 (02:57 +0000)]
Merge "StatsCompanionService logcat message updates"

6 years agoMerge "Another Autofill counter metric fix (plus some minor doc touches)."
TreeHugger Robot [Sat, 17 Feb 2018 02:55:01 +0000 (02:55 +0000)]
Merge "Another Autofill counter metric fix (plus some minor doc touches)."

6 years agoMerge "Log slow UID observer in dumpsys"
TreeHugger Robot [Sat, 17 Feb 2018 02:45:46 +0000 (02:45 +0000)]
Merge "Log slow UID observer in dumpsys"

6 years agoMerge "Prepare app profiles only for upgrades and first boot"
Calin Juravle [Sat, 17 Feb 2018 02:42:32 +0000 (02:42 +0000)]
Merge "Prepare app profiles only for upgrades and first boot"

6 years agoMerge "Fix memory leak"
Jorim Jaggi [Sat, 17 Feb 2018 02:34:21 +0000 (02:34 +0000)]
Merge "Fix memory leak"

6 years agoMinor autofill changes to support compat mode CTS tests.
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

6 years agoMerge "AAPT2: Ensure output formats of files are correctly set"
TreeHugger Robot [Sat, 17 Feb 2018 01:58:18 +0000 (01:58 +0000)]
Merge "AAPT2: Ensure output formats of files are correctly set"

6 years agoMerge "Add feature annotation to UsbManager"
TreeHugger Robot [Sat, 17 Feb 2018 01:56:06 +0000 (01:56 +0000)]
Merge "Add feature annotation to UsbManager"

6 years agoMerge "Fixes quickstep gestures when screen in pinned."
TreeHugger Robot [Sat, 17 Feb 2018 01:56:00 +0000 (01:56 +0000)]
Merge "Fixes quickstep gestures when screen in pinned."

6 years agoMerge "Yet more alpha tweaks for Ripples"
TreeHugger Robot [Sat, 17 Feb 2018 01:48:23 +0000 (01:48 +0000)]
Merge "Yet more alpha tweaks for Ripples"

6 years agoMerge "Grant default permissions to TextClassifier app."
TreeHugger Robot [Sat, 17 Feb 2018 01:43:26 +0000 (01:43 +0000)]
Merge "Grant default permissions to TextClassifier app."

6 years agoMerge "Add Zygote.startChildZygote() to fork a new process that itself is a zygote."
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."

6 years agoMerge "Avoid BinderProxy duplicate native registration"
Hans Boehm [Sat, 17 Feb 2018 01:28:49 +0000 (01:28 +0000)]
Merge "Avoid BinderProxy duplicate native registration"

6 years agoMerge "Owners file for StatsCompanionService"
TreeHugger Robot [Sat, 17 Feb 2018 01:16:22 +0000 (01:16 +0000)]
Merge "Owners file for StatsCompanionService"

6 years agoMerge "Implement requestLocationCb"
TreeHugger Robot [Sat, 17 Feb 2018 01:10:07 +0000 (01:10 +0000)]
Merge "Implement requestLocationCb"

6 years agoMerge "Safeguard against NPE race condition."
TreeHugger Robot [Sat, 17 Feb 2018 01:03:35 +0000 (01:03 +0000)]
Merge "Safeguard against NPE race condition."

6 years agoMerge "[RTT] LCI/LCR to System API - unparsed"
Etan Cohen [Sat, 17 Feb 2018 00:17:55 +0000 (00:17 +0000)]
Merge "[RTT] LCI/LCR to System API - unparsed"

6 years agoStatsCompanionService logcat message updates
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

6 years agoAdd OWNERS for AccountManager.
Sandra Kwan [Thu, 15 Feb 2018 23:22:36 +0000 (15:22 -0800)]
Add OWNERS for AccountManager.

Test: no code change.

Change-Id: I6dabe8ff503a68d0ac2082a9149c23e0d4fd46ea

6 years agoMerge "Merge "MSIM support for hidden IMS capability and registration query APIs...
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"

6 years agoMerge "MSIM support for hidden IMS capability and registration query APIs." am: b8d25...
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

6 years agoMerge "Read per-uid cpu times less often."
Sudheer Shanka [Fri, 16 Feb 2018 23:37:45 +0000 (23:37 +0000)]
Merge "Read per-uid cpu times less often."

6 years agoLeave NetworkStatsService around during shutdown.
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

6 years agoMerge "MSIM support for hidden IMS capability and registration query APIs." am: b8d25...
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

6 years agoMerge "Tweak QQS <-> QS animation."
TreeHugger Robot [Fri, 16 Feb 2018 23:21:27 +0000 (23:21 +0000)]
Merge "Tweak QQS <-> QS animation."

6 years agoMerge "MSIM support for hidden IMS capability and registration query APIs."
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

6 years agoFixes quickstep gestures when screen in pinned.
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

6 years agoMerge "Always remeasure weighted children, even if there's no excess space"
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"

6 years agoMerge "OverlayManager: Add categories"
Adrian Roos [Fri, 16 Feb 2018 22:47:11 +0000 (22:47 +0000)]
Merge "OverlayManager: Add categories"

6 years agoMerge "Remove non-existent command from usage text"
Todd Kennedy [Fri, 16 Feb 2018 22:29:59 +0000 (22:29 +0000)]
Merge "Remove non-existent command from usage text"

6 years agoMerge "Remove Support Library from frameworks/base pathmap.mk"
TreeHugger Robot [Fri, 16 Feb 2018 22:29:02 +0000 (22:29 +0000)]
Merge "Remove Support Library from frameworks/base pathmap.mk"

6 years agoMerge "Recommend ICU replacements, no clone, no Impl."
TreeHugger Robot [Fri, 16 Feb 2018 22:24:35 +0000 (22:24 +0000)]
Merge "Recommend ICU replacements, no clone, no Impl."

6 years agoMerge "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs"
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"

6 years agoMerge "Remove uses of private Platform class in truth library."
Aurimas Liutikas [Fri, 16 Feb 2018 22:19:42 +0000 (22:19 +0000)]
Merge "Remove uses of private Platform class in truth library."

6 years agoLog slow UID observer in dumpsys
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

6 years agoMerge "Better handling of NTP-based clocks."
Jeff Sharkey [Fri, 16 Feb 2018 22:13:01 +0000 (22:13 +0000)]
Merge "Better handling of NTP-based clocks."

6 years agoBetter 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: 6971469072320957
Change-Id: Ic32cdcbe093d08b73b0e4b23d6910b23ea8e1968
Exempt-From-Owner-Approval: approved in previous PS

6 years agoMerge "Change sync manager init timing back to PHASE_ACTIVITY_MANAGER_READY"
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"

6 years agoMerge "Cutout: Fix issues with PopupWindows"
Jorim Jaggi [Fri, 16 Feb 2018 22:03:37 +0000 (22:03 +0000)]
Merge "Cutout: Fix issues with PopupWindows"

6 years agoMerge "Implement atom puller for ProcessMemoryState."
Rajeev Kumar [Fri, 16 Feb 2018 21:52:22 +0000 (21:52 +0000)]
Merge "Implement atom puller for ProcessMemoryState."

6 years agoMerge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues" am:...
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

6 years agoMerge "Custom SmartReplyView layout"
TreeHugger Robot [Fri, 16 Feb 2018 21:43:37 +0000 (21:43 +0000)]
Merge "Custom SmartReplyView layout"

6 years agoMerge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues" am:...
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

6 years agoMerge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues"
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

6 years agoYet more alpha tweaks for Ripples
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.

6 years agoPrepare app profiles only for upgrades and first boot
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

6 years agoAdd feature annotation to UsbManager
Philip P. Moltmann [Fri, 16 Feb 2018 19:14:54 +0000 (11:14 -0800)]
Add feature annotation to UsbManager

Test: Built
Change-Id: Ib81f8a8deb38c7b7397b4119c98b92de1fe5f17f

6 years agoMerge "[DO NOT MERGE] Fix context menu position for RTL" am: 80ae7124f5 -s ours...
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

6 years agoMerge "Correct bug in IpSecTransformTest" am: 999d1fc172 am: c9f558d46d
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

6 years agoMerge "[DO NOT MERGE] Fix context menu position for RTL" am: 80ae7124f5 -s ours
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

6 years agoMerge "Add RequiresFeature annotation."
Jeff Sharkey [Fri, 16 Feb 2018 20:45:41 +0000 (20:45 +0000)]
Merge "Add RequiresFeature annotation."

6 years agoAdd 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

6 years agoMerge "Correct bug in IpSecTransformTest" am: 999d1fc172
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

6 years agoMerge "MSIM support for hidden IMS capability and registration query APIs."
Brad Ebinger [Fri, 16 Feb 2018 20:35:45 +0000 (20:35 +0000)]
Merge "MSIM support for hidden IMS capability and registration query APIs."

6 years agoMerge "[DO NOT MERGE] Fix context menu position for RTL"
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

6 years agoRecommend ICU replacements, no clone, no Impl.
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: 733922147190658862627348
Change-Id: I75dcba2c4ab7ca426057eefb0335c935c3ced79a

6 years agoMerge "Correct bug in IpSecTransformTest"
Benedict Wong [Fri, 16 Feb 2018 20:28:18 +0000 (20:28 +0000)]
Merge "Correct bug in IpSecTransformTest"
am: 999d1fc172

Change-Id: If99a991052a821f43b8238a47d0d2c7e00362bc3

6 years agoTweak QQS <-> QS animation.
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

6 years agoMerge "Fix javadoc in SettingsSliceContract"
TreeHugger Robot [Fri, 16 Feb 2018 20:06:54 +0000 (20:06 +0000)]
Merge "Fix javadoc in SettingsSliceContract"

6 years agoMerge "[DO NOT MERGE] Fix some mouse + list-item selection/scrolling issues"
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"

6 years agoMerge "[DO NOT MERGE] Fix context menu position for RTL"
Treehugger Robot [Fri, 16 Feb 2018 19:54:26 +0000 (19:54 +0000)]
Merge "[DO NOT MERGE] Fix context menu position for RTL"

6 years agoAlways remeasure weighted children, even if there's no excess space
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

6 years agoGrant default permissions to TextClassifier app.
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

6 years agoAdd Zygote.startChildZygote() to fork a new process that itself is a zygote.
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

6 years agoMerge "Allowing Typeface as a param in TypefaceSpan."
TreeHugger Robot [Fri, 16 Feb 2018 19:06:53 +0000 (19:06 +0000)]
Merge "Allowing Typeface as a param in TypefaceSpan."

6 years agoIncrease size of app info tap target
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

6 years agoMerge "Adding maximum input size checks"
TreeHugger Robot [Fri, 16 Feb 2018 18:46:50 +0000 (18:46 +0000)]
Merge "Adding maximum input size checks"

6 years agoMerge "Grant DCS storage access; better OBB errors."
Jeff Sharkey [Fri, 16 Feb 2018 18:46:29 +0000 (18:46 +0000)]
Merge "Grant DCS storage access; better OBB errors."

6 years agoMerge "Remove urb request size maximum for P api"
Jerry Zhang [Fri, 16 Feb 2018 18:44:23 +0000 (18:44 +0000)]
Merge "Remove urb request size maximum for P api"

6 years agoCutout: Fix issues with PopupWindows
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

6 years agoFix memory leak
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

6 years agoMerge "Correct bug in IpSecTransformTest"
Benedict Wong [Fri, 16 Feb 2018 18:32:05 +0000 (18:32 +0000)]
Merge "Correct bug in IpSecTransformTest"

6 years agoImplement requestLocationCb
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

6 years agoMerge "Optimization: don't call AFM.notifyValueChanged() when value didn't change."
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."

6 years agoAvoid BinderProxy duplicate native registration
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