Commit Graph

15340 Commits

Author SHA1 Message Date
Julia Reynolds
cb64a683fb Merge "Noti importance from certain Roles cannot be modified" 2019-03-29 15:25:58 +00:00
Julia Reynolds
0c24500a2f Noti importance from certain Roles cannot be modified
by the notification assistant or user, like the default
phone app.

Fixes: 129358763
Test: atest
Change-Id: I40ef7ff403e2b0d81abe09f15c8804c2d3d2fb8a
2019-03-29 08:35:47 -04:00
Tiger Huang
c2bd56a30a Merge "Reduce the window tap exclude region for child above it" 2019-03-29 09:53:06 +00:00
Mady Mellor
d146a074db Merge "Introduce FLAG_BUBBLE & mark notifs allowed to bubble with it" 2019-03-28 22:04:22 +00:00
Mady Mellor
7eb18efce4 Introduce FLAG_BUBBLE & mark notifs allowed to bubble with it
- It's a hidden flag
- This just marks the notifs but doesn't actually do anything else
- Tests that the flag is added appropriately

Bug: 128459529
Test: atest NotificationManagerServiceTest
Change-Id: I291911ead540a9c6e7f99716d0730b1faaf5533b
2019-03-28 13:07:17 -07:00
Jeff Hamilton
38d503fe46 Merge "Add an API to read experiment IDs." 2019-03-28 11:44:52 +00:00
Nicolas Geoffray
b44f61e98f Merge "Revert "Preload non-bootclasspath Java lib ClassLoaders."" am: d08c3b655b am: 7561d4667c
am: f2c49988c3

Change-Id: If2f2b20b1269f9750d3f56c392fa7ae7f29c86ff
2019-03-28 03:09:39 -07:00
Nicolas Geoffray
7561d4667c Merge "Revert "Preload non-bootclasspath Java lib ClassLoaders.""
am: d08c3b655b

Change-Id: Id04898d99862cc1fff248fc9ba466faf55e30eb7
2019-03-28 02:39:21 -07:00
Nicolas Geoffray
d3c2bc5a4e Revert "Preload non-bootclasspath Java lib ClassLoaders."
This reverts commit 1b11aaaf9b.

Bug: 128529256
Bug: 127406460

Reason for revert: Breaks FSI

Change-Id: Ie9775779cda7b376c36493f3ce3246eafc672c59
2019-03-28 09:25:11 +00:00
Tiger Huang
2b210c234c Reduce the window tap exclude region for child above it
For letting touches directly go to the embedded display, we've opened a
tap exclude region for the ActivityView. However, if there is a view on
top of the region, the view cannot be touched within the region.

In this CL, we reduce the tap exclude region if there is a can-receive-
pointer-event view on top of the region.

Bug: 128517544
Test: atest CtsActivityManagerDeviceTestCases:ActivityViewTest
Test: atest FrameworksCoreTests:ViewGroupTest
Test: Menual test with ActivityViewTest and Bubbles
Change-Id: I68e2a9fe9d0891801b533ab8d25074f64bef5a79
2019-03-28 16:53:20 +08:00
TreeHugger Robot
3c4d3948e9 Merge "API Feedback on setActiveConfigsChangedOperation" 2019-03-28 00:22:06 +00:00
Steven Moreland
03da80555c Merge "Preload non-bootclasspath Java lib ClassLoaders." am: 213812ba28 am: 625d63ed64
am: 62814d83bd

Change-Id: Id36423644efdfdda452d08fc9824320c7c4dee31
2019-03-27 16:49:42 -07:00
Steven Moreland
625d63ed64 Merge "Preload non-bootclasspath Java lib ClassLoaders."
am: 213812ba28

Change-Id: Ie16e82383bab53b5f92258289bf50ba9d7a897cd
2019-03-27 16:18:22 -07:00
TreeHugger Robot
005984015c Merge "Minor fixes to IntervalStats" 2019-03-27 19:41:11 +00:00
Jeff Hamilton
fa2f91c2fe Add an API to read experiment IDs.
Change the file format to store the
experiment IDs direclty so we don't
need to parse the proto when reading
the values out.

Bug: 129099771
Test: bit statsd_test:* && adb shell cmd stats pull-source 10051
Change-Id: I0dc1fd118f4d9ba597c2f0959648136bbafb5aab
2019-03-27 14:24:49 -04:00
TreeHugger Robot
8f9239810d Merge "Update desired heights docs based on feedback from CL after it was submitted" 2019-03-27 14:02:41 +00:00
TreeHugger Robot
b494421edb Merge "Add ability to take on demand system heap dumps." 2019-03-27 12:05:16 +00:00
Steven Moreland
1b11aaaf9b Preload non-bootclasspath Java lib ClassLoaders.
This is specifically for HIDL but is applicable to other libs.

Classes on the bootclasspath are implicitly used by apps. For this
reason, many classes should not go there. However, there are some
libraries which are used by many apps/processes which are still
nice to preload the ClassLoaders of.

Now, cacheNonBootclasspathSystemLibs in ApplciationLoaders keeps
a map of jar -> ClassLoader in zygote to be retrieved by child
processes.

Bug: 128529256
Bug: 127406460
Test: boot Pixel 2, verify libs are preloaded and used, try apps that
    use these libraries.
Test: grep for ClassLoaderContext errors, for instance:
 - ClassLoaderContext shared library size mismatch
 - ClassLoaderContext classpath element mismatch
Test: showmap on various processes which use the preloaded libs.

Change-Id: I351bf1679e9a928c10dca860b6cd6cb414c3bb8e
2019-03-27 01:40:05 -07:00
TreeHugger Robot
0c49254583 Merge "Fixing wrong target check" 2019-03-27 04:18:35 +00:00
Sunny Goyal
08738184ee Fixing wrong target check
Test: compiled framework
Change-Id: Ia6fb1d8920fc0df066509c4c15a123e4459d2285
2019-03-26 18:18:00 -07:00
Kweku Adams
a3513f0598 Add ability to take on demand system heap dumps.
With this, users with userdebug/eng builds will be able to initiate a
system heap dump from developer options.

Bug: 77490269
Test: manual
Change-Id: I0f4efec621e0d63b87c2d655a5f0434572cb92ac
2019-03-26 17:12:23 -07:00
TreeHugger Robot
1f8d933b32 Merge "Add NonNull/Nullable annotations" 2019-03-26 20:26:35 +00:00
TreeHugger Robot
a967066a1e Merge "Modify AbstractRemoteService#mBindInstantServiceAllowed to #mBindingFlags in order to support multiple binding flags" 2019-03-26 17:16:05 +00:00
Todd Kennedy
63ff464661 Add NonNull/Nullable annotations
Change-Id: Id2a343765b29226a13ba41102df4bca739112192
Fix: 126701786
Test: Manual
2019-03-26 13:27:03 +00:00
Alex Kershaw
2384444f75 Merge "Add @NonNull to parameter." 2019-03-26 11:14:25 +00:00
Michal Karpinski
322df0bb74 Modify AbstractRemoteService#mBindInstantServiceAllowed to #mBindingFlags
in order to support multiple binding flags

And supply BIND_ALLOW_BACKGROUND_ACTIVITY_STARTS for RemoteFillService.

Test: atest CtsAutoFillServiceTestCases
Test: atest AutofillManagerServiceTest
Bug: 126267782
Change-Id: Id5262d6a4e0fde0ad874020f783cfbf72fe201f4
2019-03-26 11:07:33 +00:00
Mady Mellor
8a529e2288 Update desired heights docs based on feedback from CL after it was submitted
Test: atest BubbleControllerTest
Bug: 127713900
Change-Id: I7187f597d2079cf62f1c3875f9fc1a9665a1bd0d
2019-03-25 17:44:28 -07:00
Antoan Angelov
4d7990f458 Merge "Remove PROVISIONING_MODE_MANAGED_PROFILE_ON_FULLY_MANAGED_DEVICE" 2019-03-25 12:53:43 +00:00
Varun Shah
06c5aacde7 Merge "Remove deprecated USM#registerAppUsageLimitObserver." 2019-03-23 22:14:40 +00:00
TreeHugger Robot
0369790fac Merge "Add Shell permission for CTS test." 2019-03-22 22:31:32 +00:00
Mady Mellor
d3304bfd0a Merge "Update BubbleMetadata#setDesiredHeight to be in DPs" 2019-03-22 17:31:16 +00:00
arangelov
1b146c2306 Remove PROVISIONING_MODE_MANAGED_PROFILE_ON_FULLY_MANAGED_DEVICE
This constant is no longer part of the admin integrated flow.

Bug: 129135684
Test: compiled code
Change-Id: I81f3d4dc2bfb0ee456bd902ca6de212b4e9b5c10
2019-03-22 17:30:59 +00:00
Mady Mellor
36e132b02a Merge "Remove the title API bc we don't use it" 2019-03-22 17:30:41 +00:00
TreeHugger Robot
c396d6738c Merge "API review followup: DynamicAndroidClient" 2019-03-22 17:21:39 +00:00
Sunny Goyal
006ab03fb7 Merge "Updating the AppTarget API to use a builder for constuction" 2019-03-22 15:55:17 +00:00
TreeHugger Robot
4656a9e37f Merge "API council feedback for dnd" 2019-03-22 15:53:32 +00:00
TreeHugger Robot
6d623e495b Merge "Updating onLocation related APIs to onLaunchLocation as per API review" 2019-03-22 15:24:29 +00:00
Rubin Xu
e120a42c25 Merge "Improve javadoc" 2019-03-22 11:12:21 +00:00
Hai Zhang
be1fe6f31a Merge "Add getDeclaredShareLibraries() for role qualification checking." 2019-03-22 09:43:48 +00:00
TreeHugger Robot
6798ab9e95 Merge "Remove unnecessary called from system process warning." 2019-03-22 03:51:16 +00:00
TreeHugger Robot
f621dfc7d5 Merge "Make LSS report honest password quality to DPMS" 2019-03-22 03:02:04 +00:00
Hai Zhang
1ad238f935 Add getDeclaredShareLibraries() for role qualification checking.
Bug: 124452117
Test: build
Change-Id: I13e4313c4ab5305335fc9490dfc58b03a24a86dd
2019-03-21 18:37:08 -07:00
wilsonshih
5db7b39dd8 Add Shell permission for CTS test.
Add Shell permission for new CTS tests to test the multi-display
functionality in WallpaperService/WallpaperManagerService.

Bug: 123707989
Test: atest WallpaperManagerMultiDisplayTests
Test: atest ActivityManagerMultiDisplayTests

Change-Id: Id97db050a0b9d1940c2dfaa793fbe526df578105
2019-03-22 09:13:10 +08:00
Mady Mellor
2c70987cce Remove the title API bc we don't use it
Fixes: 124909846
Test: atest BubbleControllerTest / atest NotificationTest
Change-Id: I087b1107e1a9a44ecadc3b4489bba1fe6db36ae6
2019-03-21 16:18:38 -07:00
Julia Reynolds
395bf70548 API council feedback for dnd
Test: cts
Fixes: 126726239
Change-Id: I864f8ea0c109e81c941cc3e2feb135e4c216a3f5
2019-03-21 14:53:12 -04:00
Sunny Goyal
c2baa4d724 Updating onLocation related APIs to onLaunchLocation as per API review
Bug: 126179809
Bug: 126180256
Test: everything compiles

Change-Id: I583f96bd5f5b5042131488a9ad5950cbad298071
2019-03-21 18:03:48 +00:00
Mady Mellor
989d897933 Merge "Documentation & refinements around BubbleMetadata#setIcon API" 2019-03-21 17:18:38 +00:00
Joe Onorato
324cb51012 Remove unnecessary called from system process warning.
This method takes the UserHandle, so we don't need to warn that the
system process is calling the method without UserHandle.

Test: treehugger
Change-Id: I68b0ffc75e11ee2d45faec510ea63e446830a378
2019-03-21 10:13:02 -07:00
Julia Reynolds
b4a9e9c8c6 Allow delegates to read target app notification channels
Test: cts, atest
Fixes: 128852206
Change-Id: I12ddfbdf6f520d29a8ea5fe8e0581bc425c1638b
2019-03-21 09:29:06 -04:00
Julia Reynolds
a5516ba016 Merge "Add the ability to turn off NAS capabilities individually" 2019-03-21 13:09:00 +00:00