393832 Commits

Author SHA1 Message Date
David Brazdil
984d991e3b Merge "Create AppComponentFactory.instantiateClassLoader API" 2018-11-19 17:35:26 +00:00
Arthur Ishiguro
793d3d1801 Reorders arguments in Context Hub Service methods
No functional change, just reordering things in internal methods to be
consistent with the API definition. Also fixes stale javadoc.

Bug: 117612105
Test: Compile only
Change-Id: I455d3d5c8f1d5077dbacfa96ad1c71da27559b8e
2018-11-19 09:31:14 -08:00
TreeHugger Robot
271339ffdf Merge "API: Make implicit APIs from type usage explicit" 2018-11-19 17:21:27 +00:00
TreeHugger Robot
fb76d050fd Merge "Add test case for different text direction." 2018-11-19 17:20:27 +00:00
TreeHugger Robot
fd21b518a2 Merge "Report crash source(sys app, user app, sys serve) in AppCrashOccurred atom." 2018-11-19 16:31:44 +00:00
Roshan Pius
b8054120f8 Merge "AndroidManifest.xml: Add new network permission for managed provisioning" 2018-11-19 16:08:12 +00:00
Jeff Sharkey
8233860046 Define roles for Gallery and Music apps.
The new storage work in Q will extend capabilities to the default
Gallery and default Music apps, and we'll be implementing the
management of those default apps using the new roles feature.

This change starts by defining these roles using a relaxed definition
that only uses the existing CATEGORY_APP_* intent filters.

Bug: 119713234
Test: manual
Change-Id: I9bd32b57313cf712ce7441bcadef702dac866a3f
2018-11-19 09:05:03 -07:00
Rafal Slawik
3bea895a62 Add ProcessMemoryHighWaterMark atom
Collection of the RSS high-water mark is moved to a separate atom to
improve performance, increase flexibility and overcome security
constrainsts.
Performance: avoid reading /proc/pid/status in ProcessMemoryState;
flexibility: allow pulling RSS high-water mark on a different schedule;
security: add single point where we can trigger the high-water mark
reset.
The RSS high-water mark will be removed from ProcessMemoryState and
NativeProcessMemoryState atoms in a followup-up CL to ensure that the
collected data is continuous.

Bug: 119598534
Test: atest UidAtomTests#testProcessMemoryHighWaterMark
Change-Id: I52da7b5e695f771f1551e1f6a6a773bded4504d1
2018-11-19 15:44:06 +00:00
Olivier Gaillard
a50fdae610 Update documentation for ThreadLocalWorkSource.
Test: unit test
Change-Id: I446af267dafd069b1bf5f64a84347b69fc6fec60
2018-11-19 15:28:49 +00:00
TreeHugger Robot
8ef672a1b9 Merge "Fix application got cropped after reparented to other displays" 2018-11-19 15:05:35 +00:00
Aaron Heuckroth
7cf932d0af Merge "Switch NotificationSwipeHelperTest to use RunWithLooper." 2018-11-19 15:03:28 +00:00
TreeHugger Robot
0709ab4ada Merge "More robust persisting of screenshots." 2018-11-19 14:55:22 +00:00
Misha Wagner
4f8bb6665c Merge "Add frequency bucketing to per-thread CPU usage reading" 2018-11-19 14:45:18 +00:00
Sungsoo Lim
049a32c1ff Remove unused MediaBrowser2 and relevant classes
Bug: 119591238
Test: build
Change-Id: Ib657b2e74666b957a4c3667e60a7c1ef02e0bc62
2018-11-19 23:19:25 +09:00
Alan Stokes
2252fcc415 Merge "Remove unused imports." am: e1a7e50790 am: 1c4a2b36a0
am: aa61c5cabe

Change-Id: If923a82c2e76556438eff796e69000ee0f62dd56
2018-11-19 05:44:26 -08:00
Alan Stokes
aa61c5cabe Merge "Remove unused imports." am: e1a7e50790
am: 1c4a2b36a0

Change-Id: I88991d777adc7143cc99068fc0742f4294bf134b
2018-11-19 05:31:48 -08:00
Alan Stokes
1c4a2b36a0 Merge "Remove unused imports."
am: e1a7e50790

Change-Id: Ib0809fd2738a1301ac90abfdeaaba5e80c857d04
2018-11-19 05:17:28 -08:00
yuanjiahsu
2c69b0b487 Modify feature flag of Personal Safety
1.Remove feature flag and let Emergency Dialer Shortcut feature always
enabled.
2.Add feature flag for Safety Hub (the bug ID to clean up this feature flag is b/118848485).

Test: Manually
Bug: 117128459
Bug: 118809382
Change-Id: I0a3819629bc579d93c682451abdf271d0b36bf59
2018-11-19 13:12:28 +00:00
Treehugger Robot
e1a7e50790 Merge "Remove unused imports." 2018-11-19 12:57:47 +00:00
Neil Fuller
f436f5fd73 Merge "Track changes in system/timezone / libcore" am: 80a2e6e628 am: 1015ddf86b
am: ee231b550e

Change-Id: I5cbd74fbee218b5846c813e9657cc7981719c46d
2018-11-19 04:28:27 -08:00
Annie Meng
f7ee5ae51e Merge "[Multi-user] Fix BackupManagerServiceTest checkstyle" 2018-11-19 12:19:04 +00:00
Neil Fuller
ee231b550e Merge "Track changes in system/timezone / libcore" am: 80a2e6e628
am: 1015ddf86b

Change-Id: Ic738edf8465d4b8c0ad428aa1e693454db1bb445
2018-11-19 04:14:05 -08:00
Neil Fuller
1015ddf86b Merge "Track changes in system/timezone / libcore"
am: 80a2e6e628

Change-Id: I2ce03e03fe3dd22b6755a6725f5bf01ef3662961
2018-11-19 03:58:20 -08:00
Neil Fuller
80a2e6e628 Merge "Track changes in system/timezone / libcore" 2018-11-19 11:38:14 +00:00
Alan Stokes
b451d0b46a Remove unused imports.
Test: Builds.
Change-Id: Ifd361ec1cbb1e5240cf63ca9d6439cfc572a96d7
2018-11-19 11:35:57 +00:00
TreeHugger Robot
10818b3e3d Merge "[Multi-user] Fix BMS checkstyle" 2018-11-19 11:05:27 +00:00
Olivier Gaillard
e7ce49d152 Merge "Rename WorkSource methods on Binder and IPCThreadState." 2018-11-19 11:01:23 +00:00
Riddle Hsu
85bd04b13d Clear last focus of previous display when reparenting
Assume 2 displays:
 D0 contains activities A, X
 D1 contains an activity B

The update order of focus is from top to bottom. When reparenting
X from D0 to D1, and D1 becomes the top display:
 1) D1: X gains focus, B loses focus
 2) D0: A gains focus, X loses focus
That results the top activity X on top display 0 does not have focus
(the state in client side view root).

Bug: 119664976
Test: atest DisplayContentTests#testClearLastFocusWhenReparentingFocusedWindow
Test: atest WindowFocusTests
Change-Id: I5bf3546cde3ac6d4be45d1a971cda033663cc919
2018-11-19 18:27:15 +08:00
Misha Wagner
0c5edc3647 Add frequency bucketing to per-thread CPU usage reading
This means that instead of returning all frequencies, we return
KernelCpuReader#NUM_BUCKETS frequencies.

Test: Unit tests for bucket creation and usage in KernelCpuThreadReaderTest

Change-Id: Iea0996f642deecae8ce66e5122045a0694fac03b
2018-11-19 10:24:38 +00:00
Misha Wagner
dfa548c047 Change all uses of uint to int in CpuTimePerThreadFreq
Test: upload WW config with uint change and inspect dump-report
Change-Id: Iee0505b3ddb09eb620631277a05ade88799697ab
2018-11-19 10:19:02 +00:00
TreeHugger Robot
7e0404f1d3 Merge "Stop throwing exception when re-starting MediaProjection" 2018-11-19 09:38:17 +00:00
Remi NGUYEN VAN
15f1994b09 Merge "(Really) fix LingerMonitor rate limiting" am: 26213ed916 am: f506b778a9
am: 4a66f9c79f

Change-Id: I880d7d28b4c13fd05d1f1541af58d7db60c5c9c3
2018-11-18 23:49:52 -08:00
Remi NGUYEN VAN
4a66f9c79f Merge "(Really) fix LingerMonitor rate limiting" am: 26213ed916
am: f506b778a9

Change-Id: I55d69d0bf1102b4159db5ffb4a37684f7a676008
2018-11-18 23:40:38 -08:00
Remi NGUYEN VAN
f506b778a9 Merge "(Really) fix LingerMonitor rate limiting"
am: 26213ed916

Change-Id: I3b03f5985137a57e7c3ed3b2e0030078a4ea676d
2018-11-18 23:26:25 -08:00
Treehugger Robot
26213ed916 Merge "(Really) fix LingerMonitor rate limiting" 2018-11-19 07:14:11 +00:00
Tiger Huang
87e440dd5b Merge "Fix ScreenDecorWindowTests on devices without nav bar" 2018-11-19 06:34:44 +00:00
SongFerng Wang
bf44aa1371 Merge "Add 3 carrier cofigs for Supplementary Service over USSD project" 2018-11-19 06:11:55 +00:00
Sudheer Shanka
627ffa9037 Merge "Move TranslatingCursor to frameworks/base." 2018-11-19 05:36:32 +00:00
TreeHugger Robot
ee135b64ef Merge "Only use ALLOCATOR_DEFAULT when apps target Q." 2018-11-19 05:23:53 +00:00
Robert Shih
915d363e63 Merge "MediaPlayer2: introduce per-source DRM APIs" 2018-11-19 03:31:56 +00:00
Rhed Jao
6c7522aecc Fix uiautomator failed to get active window.
A11y clients do not get correct RelevantEventTypes value
immediately, after a11y state turn on. This impact a11y clients
sending a11y events.

Bug: 112870790
Test: Manual - adb shell uiautomator dump
Test: atest CtsAccessibilityServiceTestCases
Change-Id: I6c55e4cd8e8823c2741628c38f94ab627ba74295
2018-11-19 11:19:38 +08:00
Dan Willemsen
f25ac31a60 Convert libwebviewchromium_plat_support to Android.bp
See build/soong/README.md for more information.

Test: m libwebviewchromium_plat_support
Change-Id: Ia999010453d428ddc12d2316436520d866498d78
2018-11-18 19:16:55 -08:00
chen xu
f4c5c6ee96 Telephony light grey list clean up for Q
Bug: 112477300
Test: Telehony unit test
Change-Id: I9485abba093a96c91816d77c7273e1a38cb5182a
2018-11-18 18:56:00 -08:00
TreeHugger Robot
ba1c017456 Merge "Support set/get carrier id from ApnSetting" 2018-11-19 02:35:28 +00:00
Sungsoo Lim
371d34ae9b Merge "Remove unused media2 widgets" 2018-11-19 01:20:07 +00:00
Robert Shih
2884b0234a MediaPlayer2: introduce per-source DRM APIs
Bug: 112555913
Test: MediaPlayer2DrmTest
Change-Id: I93e1c2ab2ae6071637e56d56df4e2a8a5cf93e6d
2018-11-18 16:33:51 -08:00
Jeff Sharkey
b4f51b5d81 Only use ALLOCATOR_DEFAULT when apps target Q.
Bug: 119510493
Test: manual
Change-Id: Icd7acfd9f899dce46b24db2156acbb3a98b409c8
2018-11-18 16:10:17 -07:00
Jeff Sharkey
7bba5072d4 More robust persisting of screenshots.
Start using the newly added APIs for contributing new media.  This
gives us strong lifecycle around the "pending" state of the
screenshot while it's being written, before we eventually publish or
abandon it.

All the previous ImageColumns fields are now filled in
automatically by MediaProvider once the image is persisted.

Bug: 115377970, 118167155
Test: atest android.provider.cts.MediaStorePendingTest
Change-Id: I0bd05336f3a309007c6d0f4fb711c5b467bc18ea
2018-11-18 15:59:26 -07:00
Neil Fuller
0ac8df0e9a Track changes in system/timezone / libcore
The version information about time zone formats is moving
to a new libcore class TzDataSetVersion.

Bug: 119026403
Test: build
Change-Id: I6f80f16f9cd7e37fc04d75c89483497f4f00a6a5
2018-11-18 15:52:02 +00:00
TreeHugger Robot
8c33a54824 Merge "Consider LaunchParams when creating new stack." 2018-11-17 23:47:46 +00:00