OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Respond to taps and lifts when AOD is off"
TreeHugger Robot [Tue, 26 Mar 2019 17:34:21 +0000 (17:34 +0000)]
Merge "Respond to taps and lifts when AOD is off"

5 years agoMerge "Null AppWindowThumbnail SurfaceControl after releasing it."
Rob Carr [Tue, 26 Mar 2019 17:29:46 +0000 (17:29 +0000)]
Merge "Null AppWindowThumbnail SurfaceControl after releasing it."

5 years agoMerge "Modify AbstractRemoteService#mBindInstantServiceAllowed to #mBindingFlags...
TreeHugger Robot [Tue, 26 Mar 2019 17:16:05 +0000 (17:16 +0000)]
Merge "Modify AbstractRemoteService#mBindInstantServiceAllowed to #mBindingFlags in order to support multiple binding flags"

5 years agoMerge "Rename WM test filter to FrameworksTestsFilter"
Tadashi G. Takaoka [Tue, 26 Mar 2019 16:08:51 +0000 (16:08 +0000)]
Merge "Rename WM test filter to FrameworksTestsFilter"

5 years agoMerge "Fixed augmented autofill workflow so it's bound right away when main service...
Felipe Leme [Tue, 26 Mar 2019 16:02:05 +0000 (16:02 +0000)]
Merge "Fixed augmented autofill workflow so it's bound right away when main service is disabled."

5 years agoMerge "Defined new APIs to whitelist content capture for specific URLs."
Felipe Leme [Tue, 26 Mar 2019 16:01:10 +0000 (16:01 +0000)]
Merge "Defined new APIs to whitelist content capture for specific URLs."

5 years agoNull AppWindowThumbnail SurfaceControl after releasing it.
Robert Carr [Thu, 21 Mar 2019 20:28:48 +0000 (13:28 -0700)]
Null AppWindowThumbnail SurfaceControl after releasing it.

Otherwise SurfaceAnimator#reset may try and use it and throw an unhandled
exception. It looks like this should be safe because we always null the
SurfaceAnimator after releasing it's surface. The only other point holding
on to the surface should be the animator, and the animator properly checks
for null.

Bug: 124877830
Test: AppWindowThumbnailTest
Change-Id: I3841b27cc9e24ed24951df27b2b35a22bca70130

5 years agoMerge "Metrics constants for new settings screens"
Julia Reynolds [Tue, 26 Mar 2019 15:13:15 +0000 (15:13 +0000)]
Merge "Metrics constants for new settings screens"

5 years agoMerge "Move EmergencyInfo perm whitelist to /product" am: ae957afaa6 am: 300026a5e9
Anton Hansson [Tue, 26 Mar 2019 13:22:22 +0000 (06:22 -0700)]
Merge "Move EmergencyInfo perm whitelist to /product" am: ae957afaa6 am: 300026a5e9
am: e6039fbffe

Change-Id: Id4df504d0c5a4622605b4803e8b3f2cb49003156

5 years agoRename WM test filter to FrameworksTestsFilter
Tadashi G. Takaoka [Tue, 26 Mar 2019 09:22:01 +0000 (18:22 +0900)]
Rename WM test filter to FrameworksTestsFilter

This CL adds android.view.InsetsAnimationControllerImplTest to the
test filter, and adds a comment to each tests mentioning about
FrameworksTestsFilter.

Test: Pass all 91 non-flaky presubmit tests in FrameworksCoreTests
      using FrameworksTestsFilter
  $ tradefed.sh run commandAndExit FrameworksCoreTests \
      --instrumentation-arg selectTest=com.android.server.wm. \
      --instrumentation-arg filter=com.android.server.wm.test.filters.FrameworksTestsFilter
      --include-annotation android.platform.test.annotations.Presubmit \
      --exclude-annotation androidx.test.filters.FlakyTest
Bug: 122451194

Change-Id: I9592ff01158eec1b4ef4d0dd22be243e10bd198e

5 years agoMerge "Move EmergencyInfo perm whitelist to /product" am: ae957afaa6
Anton Hansson [Tue, 26 Mar 2019 13:08:25 +0000 (06:08 -0700)]
Merge "Move EmergencyInfo perm whitelist to /product" am: ae957afaa6
am: 300026a5e9

Change-Id: Ia932307a9b85366daa8e8ec09dd92a124ea1d8cf

5 years agoMerge "Move EmergencyInfo perm whitelist to /product"
Anton Hansson [Tue, 26 Mar 2019 12:59:02 +0000 (05:59 -0700)]
Merge "Move EmergencyInfo perm whitelist to /product"
am: ae957afaa6

Change-Id: I5fe7aefb42087ed577d67b9677915d1392d7ef9e

5 years agoMerge "Clean up references to @ColorLong"
Leon Scroggins [Tue, 26 Mar 2019 12:45:45 +0000 (12:45 +0000)]
Merge "Clean up references to @ColorLong"

5 years agoMerge "Move EmergencyInfo perm whitelist to /product"
Anton Hansson [Tue, 26 Mar 2019 12:39:09 +0000 (12:39 +0000)]
Merge "Move EmergencyInfo perm whitelist to /product"

5 years agoMetrics constants for new settings screens
Julia Reynolds [Mon, 25 Mar 2019 19:51:38 +0000 (15:51 -0400)]
Metrics constants for new settings screens

Test: make
Bug: 129068779
Change-Id: I7eb96c3e9369c2dd9a3686c0a6e793f5fa2c4104

5 years agoMerge "Add @NonNull to parameter."
Alex Kershaw [Tue, 26 Mar 2019 11:14:25 +0000 (11:14 +0000)]
Merge "Add @NonNull to parameter."

5 years agoModify AbstractRemoteService#mBindInstantServiceAllowed to #mBindingFlags
Michal Karpinski [Mon, 25 Mar 2019 20:37:57 +0000 (20:37 +0000)]
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

5 years agoMerge "Use AndroidManifest to fill PackageInfo from apex"
Mohammad Samiul Islam [Tue, 26 Mar 2019 10:16:58 +0000 (10:16 +0000)]
Merge "Use AndroidManifest to fill PackageInfo from apex"

5 years ago[automerger skipped] Merge "DO NOT MERGE Fix CtsActivityManagerDeviceTestCases fails...
Chuwei Xu [Tue, 26 Mar 2019 09:56:55 +0000 (02:56 -0700)]
[automerger skipped] Merge "DO NOT MERGE Fix CtsActivityManagerDeviceTestCases fails" am: dbe9e763fa -s ours am: cb9ba1011b -s ours
am: f066e6b784 -s ours
am skip reason: subject contains skip directive

Change-Id: Ieb1a80d8ca3cd5cf136e810633e2b7277504efd5

5 years ago[automerger skipped] Merge "DO NOT MERGE Fix CtsActivityManagerDeviceTestCases fails...
Chuwei Xu [Tue, 26 Mar 2019 09:48:21 +0000 (02:48 -0700)]
[automerger skipped] Merge "DO NOT MERGE Fix CtsActivityManagerDeviceTestCases fails" am: dbe9e763fa -s ours
am: cb9ba1011b -s ours
am skip reason: subject contains skip directive

Change-Id: I9e25d71fe76aa2412a290d0b40fd76ad9f9fa976

5 years ago[automerger skipped] Merge "DO NOT MERGE Fix CtsActivityManagerDeviceTestCases fails"
Chuwei Xu [Tue, 26 Mar 2019 09:39:58 +0000 (02:39 -0700)]
[automerger skipped] Merge "DO NOT MERGE Fix CtsActivityManagerDeviceTestCases fails"
am: dbe9e763fa -s ours
am skip reason: subject contains skip directive

Change-Id: I84206ddca4b6abbb0ca842b9056669ec16b832dd

5 years agoMerge "Clean up KernelCpuThreadReader"
Misha Wagner [Tue, 26 Mar 2019 09:31:58 +0000 (09:31 +0000)]
Merge "Clean up KernelCpuThreadReader"

5 years agoMerge "Grant PermissionController SUBSTITUTE_NOTIFICATION_APP_NAME"
Anton Hansson [Tue, 26 Mar 2019 09:29:29 +0000 (09:29 +0000)]
Merge "Grant PermissionController SUBSTITUTE_NOTIFICATION_APP_NAME"

5 years agoMerge "DO NOT MERGE Fix CtsActivityManagerDeviceTestCases fails"
Treehugger Robot [Tue, 26 Mar 2019 09:28:08 +0000 (09:28 +0000)]
Merge "DO NOT MERGE Fix CtsActivityManagerDeviceTestCases fails"

5 years agoMerge "Stop recycling in AccessibilityCache"
Jackal Guo [Tue, 26 Mar 2019 08:30:33 +0000 (08:30 +0000)]
Merge "Stop recycling in AccessibilityCache"

5 years agoMerge "Reveal the call trace of failed test cases which run in executors" am: bb8954d...
Junyu Lai [Tue, 26 Mar 2019 07:13:47 +0000 (00:13 -0700)]
Merge "Reveal the call trace of failed test cases which run in executors" am: bb8954df3b am: 1a48fc466d
am: 1eb060554d

Change-Id: I023c8140c94966479db7f12647838699324462af

5 years agoMerge "Reveal the call trace of failed test cases which run in executors" am: bb8954df3b
Junyu Lai [Tue, 26 Mar 2019 07:03:27 +0000 (00:03 -0700)]
Merge "Reveal the call trace of failed test cases which run in executors" am: bb8954df3b
am: 1a48fc466d

Change-Id: I1a2d312842f33a9b7b98da925b332becaece3cb2

5 years agoMerge "[BootAnimation] Modernize codebase by replacing NULL with nullptr"
Yi Kong [Tue, 26 Mar 2019 06:55:07 +0000 (06:55 +0000)]
Merge "[BootAnimation] Modernize codebase by replacing NULL with nullptr"

5 years agoMerge "Pass exception detail to API user"
Po-Chien Hsueh [Tue, 26 Mar 2019 06:54:19 +0000 (06:54 +0000)]
Merge "Pass exception detail to API user"

5 years agoMerge "Reveal the call trace of failed test cases which run in executors"
Junyu Lai [Tue, 26 Mar 2019 06:54:01 +0000 (23:54 -0700)]
Merge "Reveal the call trace of failed test cases which run in executors"
am: bb8954df3b

Change-Id: Ia0de9ac66ad2137c6d1147e2ad5c899ab7b33ece

5 years agoMerge "Reveal the call trace of failed test cases which run in executors"
Junyu Lai [Tue, 26 Mar 2019 06:38:39 +0000 (06:38 +0000)]
Merge "Reveal the call trace of failed test cases which run in executors"

5 years agoMerge "notifyCarrierNetworkChange with subId"
Chen Xu [Tue, 26 Mar 2019 04:20:52 +0000 (04:20 +0000)]
Merge "notifyCarrierNetworkChange with subId"

5 years agoMerge "Fix bit crash"
Joe Onorato [Tue, 26 Mar 2019 03:56:51 +0000 (03:56 +0000)]
Merge "Fix bit crash"

5 years agoMerge "Respond to API council feedback."
Jeff Sharkey [Tue, 26 Mar 2019 02:58:51 +0000 (02:58 +0000)]
Merge "Respond to API council feedback."

5 years agoMerge "Update active window when a11y client is removed"
Rhed Jao [Tue, 26 Mar 2019 02:51:47 +0000 (02:51 +0000)]
Merge "Update active window when a11y client is removed"

5 years agoMerge "Bubble view - remove updateView call from onAttachedToWindow; already called...
TreeHugger Robot [Tue, 26 Mar 2019 02:43:39 +0000 (02:43 +0000)]
Merge "Bubble view - remove updateView call from onAttachedToWindow; already called in setNotif"

5 years agoMerge "Clean up a few names of Telephony intent extra."
Xiangyu/Malcolm Chen [Tue, 26 Mar 2019 01:59:58 +0000 (01:59 +0000)]
Merge "Clean up a few names of Telephony intent extra."

5 years agoMerge "Changed edge back panels back to nav overview fixes various bugs"
TreeHugger Robot [Tue, 26 Mar 2019 01:18:28 +0000 (01:18 +0000)]
Merge "Changed edge back panels back to nav overview fixes various bugs"

5 years agoStop recycling in AccessibilityCache
Jackal Guo [Tue, 19 Mar 2019 08:35:41 +0000 (16:35 +0800)]
Stop recycling in AccessibilityCache

Explicitly allocate windows and nodes instead of obtain/recycle in
AccessibilityCache.

Bug: 117999988
Test: build and boot
Test: a11y CTS & unit tests
Change-Id: I269c6b9d8bc67568fd90f8690a7bfb7a782e7fe7

5 years agoRespond to API council feedback.
Jeff Sharkey [Mon, 25 Mar 2019 15:28:34 +0000 (09:28 -0600)]
Respond to API council feedback.

Naming tweaks and hide API that should move to androidx.

Bug: 128427993
Test: none
Change-Id: Ic54452fdedbe72e5fa71897cc2b22e9598664c02

5 years agoMerge "Can't use dagger to inject DockManager."
TreeHugger Robot [Mon, 25 Mar 2019 23:48:41 +0000 (23:48 +0000)]
Merge "Can't use dagger to inject DockManager."

5 years agoMerge "Media: Add MediaRouterManager to control media route of other apps"
Kyunglyul Hyun [Mon, 25 Mar 2019 23:39:34 +0000 (23:39 +0000)]
Merge "Media: Add MediaRouterManager to control media route of other apps"

5 years agoRespond to taps and lifts when AOD is off
Lucas Dupin [Mon, 25 Mar 2019 23:27:51 +0000 (16:27 -0700)]
Respond to taps and lifts when AOD is off

Gesture registration happens in the doze machine, meaning
that there's a dependency between slpi gestures and the
doze service.

Fixes: 118930173
Test: manual
Change-Id: Ic8fd0ed1d2192720a8f0313544d491a498a5cb05

5 years agonotifyCarrierNetworkChange with subId
chen xu [Fri, 22 Mar 2019 23:56:34 +0000 (16:56 -0700)]
notifyCarrierNetworkChange with subId

notifyCarrierNetworkChange should only be allowed
for carrier service which has the carrier priviledge.

to find carrierService is notifying which subId,
check which subId the caller has carrier privileges
under at the time of the call and use that to restrict.

Bug: 128989180
Test: Build
Change-Id: I061dd5773f8db87c702c5e60413b198330bee854

5 years agoClean up a few names of Telephony intent extra.
Malcolm Chen [Sat, 23 Mar 2019 01:01:45 +0000 (18:01 -0700)]
Clean up a few names of Telephony intent extra.

Bug: 128645056
Test: build
Change-Id: Iaf004d6881964bd19072e9ef623f2e89f2529639

5 years agoChanged edge back panels back to nav overview fixes various bugs
Matthew Ng [Sat, 23 Mar 2019 00:45:20 +0000 (17:45 -0700)]
Changed edge back panels back to nav overview fixes various bugs

- Fixes using back on keyguard to cancel from inputting password
- Fixes hitting dialog boxes like accessibility
- Readjust the height for ime

May fix other things

Test: manual
Fixes: 129088764
Fixes: 128480785
Change-Id: Iedec74e1d8de044270250c474a9af30194901ca4

5 years agoMerge "Added missing permission check to isPackageDeviceAdminOnAnyUser."
TreeHugger Robot [Mon, 25 Mar 2019 22:59:32 +0000 (22:59 +0000)]
Merge "Added missing permission check to isPackageDeviceAdminOnAnyUser."

5 years agoDefined new APIs to whitelist content capture for specific URLs.
Felipe Leme [Mon, 25 Mar 2019 16:52:19 +0000 (09:52 -0700)]
Defined new APIs to whitelist content capture for specific URLs.

Test: m update-api # not implemented yet
Fixes: 129267994

Change-Id: Ibd83368ce79e8dfe901164f921304091c41428fc

5 years agoMerge "Fix potential NPE in telephony registry dumpsys." am: 06bdf061f0 am: 0e1e725bb5
Tyler Gunn [Mon, 25 Mar 2019 22:11:34 +0000 (15:11 -0700)]
Merge "Fix potential NPE in telephony registry dumpsys." am: 06bdf061f0 am: 0e1e725bb5
am: 582cf391a5

Change-Id: I8b6a9366df331202cd4748e26051d653cd8dc339

5 years agoMerge "Add an api to get active staged session"
TreeHugger Robot [Mon, 25 Mar 2019 22:02:05 +0000 (22:02 +0000)]
Merge "Add an api to get active staged session"

5 years agoMerge "Fix potential NPE in telephony registry dumpsys." am: 06bdf061f0
Tyler Gunn [Mon, 25 Mar 2019 22:00:45 +0000 (15:00 -0700)]
Merge "Fix potential NPE in telephony registry dumpsys." am: 06bdf061f0
am: 0e1e725bb5

Change-Id: I1c5e56f0e18ce49addfaab5a3ffa146fad8b08b9

5 years agoMerge "Adding permission annotation as per API review"
TreeHugger Robot [Mon, 25 Mar 2019 22:00:45 +0000 (22:00 +0000)]
Merge "Adding permission annotation as per API review"

5 years agoMerge "Fix potential NPE in telephony registry dumpsys."
Tyler Gunn [Mon, 25 Mar 2019 21:38:45 +0000 (14:38 -0700)]
Merge "Fix potential NPE in telephony registry dumpsys."
am: 06bdf061f0

Change-Id: I2dc15f126fb34767cadaa02000bbf83f374193a8

5 years agoFix bit crash
Joe Onorato [Mon, 25 Mar 2019 21:30:34 +0000 (14:30 -0700)]
Fix bit crash

Change-Id: Ie9314b3d52b9262ac6f964ab833bb36eefb4278f

5 years agoMerge changes Iba026321,I31690e0b,If991c5b7
Daniel Rosenberg [Mon, 25 Mar 2019 21:17:09 +0000 (21:17 +0000)]
Merge changes Iba026321,I31690e0b,If991c5b7

* changes:
  Make RescueParty not wipe if checkpointing
  Add Checkpoint's abortChanges
  Add needsCheckpoint

5 years agoMake RescueParty not wipe if checkpointing
Daniel Rosenberg [Wed, 20 Mar 2019 02:24:22 +0000 (19:24 -0700)]
Make RescueParty not wipe if checkpointing

If we're checkpointing, we can roll back instead of wiping. If the
update was the problem, we will succeed. Otherwise, RescueParty will
catch the issue again and prompt the wipe later

Test: setprop persist.sys.enable_rescue 1
      Set device to not commit checkpoints
      vdc checkpoint StartCheckpoint 3
      reboot
      adb shell setprop debug.crash_system 1
      adb shell stop
      adb shell start
      Rescue Party causes reboot instead of wipe
      repeat without checkpointing to get wipe
Change-Id: Iba0263214baa7a0c3d5565b4393d03f975d8000a

5 years agoAdd Checkpoint's abortChanges
Daniel Rosenberg [Thu, 21 Mar 2019 00:42:50 +0000 (17:42 -0700)]
Add Checkpoint's abortChanges

Test: Call abortChanges from the java side
Change-Id: I31690e0baa11b28fddcb5dd454a77067a60d2590

5 years agoMerge "Fix potential NPE in telephony registry dumpsys."
Treehugger Robot [Mon, 25 Mar 2019 21:00:07 +0000 (21:00 +0000)]
Merge "Fix potential NPE in telephony registry dumpsys."

5 years agoMerge "Clean up scan calls used for testing."
Jeff Sharkey [Mon, 25 Mar 2019 20:57:22 +0000 (20:57 +0000)]
Merge "Clean up scan calls used for testing."

5 years agoMerge "Updates data network name"
Fabian Kozynski [Mon, 25 Mar 2019 20:49:49 +0000 (20:49 +0000)]
Merge "Updates data network name"

5 years agoMerge "Only show carrier name when multiple subs"
Fabian Kozynski [Mon, 25 Mar 2019 20:49:29 +0000 (20:49 +0000)]
Merge "Only show carrier name when multiple subs"

5 years agoMerge "Grant storage permission to default apps"
TreeHugger Robot [Mon, 25 Mar 2019 20:33:21 +0000 (20:33 +0000)]
Merge "Grant storage permission to default apps"

5 years agoMerge "Fix for b/129240060 - updating landsape volume dialog layout to use the newly...
TreeHugger Robot [Mon, 25 Mar 2019 20:30:21 +0000 (20:30 +0000)]
Merge "Fix for b/129240060 - updating landsape volume dialog layout to use the newly created CaptionsIcon view."

5 years agoBubble view - remove updateView call from onAttachedToWindow; already called in setNotif
Lyn Han [Mon, 25 Mar 2019 20:16:14 +0000 (13:16 -0700)]
Bubble view - remove updateView call from onAttachedToWindow; already called in setNotif

Test: manual
Change-Id: I444ecfa6a8ff4656b3dc87c45351da7a7a671276

5 years agoMove EmergencyInfo perm whitelist to /product
Anton Hansson [Mon, 25 Mar 2019 19:41:53 +0000 (19:41 +0000)]
Move EmergencyInfo perm whitelist to /product

The app is moving to /product, to separate out its permission
grants to a separate file and move that file to /product as well.

Bug: 122353713
Test: boot aosp_arm64 emulator
Change-Id: Ic165aae180a002c3566e3c1b1495a1d50dfd0e4a

5 years agoMerge "Add logs for power key in interceptKeyBeforeQueueing"
TreeHugger Robot [Mon, 25 Mar 2019 20:10:41 +0000 (20:10 +0000)]
Merge "Add logs for power key in interceptKeyBeforeQueueing"

5 years agoFixed augmented autofill workflow so it's bound right away when main service is disabled.
Felipe Leme [Sat, 23 Mar 2019 00:07:49 +0000 (17:07 -0700)]
Fixed augmented autofill workflow so it's bound right away when main service is disabled.

Test: manual verification
Test: atest AugmentedLoginActivityTest CtsAutoFillServiceTestCases:android.autofillservice.cts.augmented.DisableAutofillTest
Fixes: 123100813

Change-Id: Ibf95c83346c0df21afa6a6f9f6e10357a9b61478

5 years agoMerge "Handle Account Manager database downgrade."
Dmitry Dementyev [Mon, 25 Mar 2019 19:50:38 +0000 (19:50 +0000)]
Merge "Handle Account Manager database downgrade."

5 years agoMerge "Sysconfig takes precedence over update-time autoVerify"
TreeHugger Robot [Mon, 25 Mar 2019 19:49:28 +0000 (19:49 +0000)]
Merge "Sysconfig takes precedence over update-time autoVerify"

5 years agoMerge "Add ExplicitHealthCheckService API"
Zimuzo Ezeozue [Mon, 25 Mar 2019 19:46:10 +0000 (19:46 +0000)]
Merge "Add ExplicitHealthCheckService API"

5 years agoMerge "Allow allowed adjustments"
Julia Reynolds [Mon, 25 Mar 2019 19:37:27 +0000 (19:37 +0000)]
Merge "Allow allowed adjustments"

5 years agoMerge "More apps making assumptions about MediaStore."
Jeff Sharkey [Mon, 25 Mar 2019 19:06:33 +0000 (19:06 +0000)]
Merge "More apps making assumptions about MediaStore."

5 years agoCan't use dagger to inject DockManager.
Robert Snoeberger [Mon, 25 Mar 2019 18:41:42 +0000 (14:41 -0400)]
Can't use dagger to inject DockManager.

The DockManager hasn't been initialized yet.

Fixes: 129268296
Test: Placed on dock
Change-Id: I6c83b79b202de337e0ab408a6215d71662d89205

5 years agoAdding permission annotation as per API review
Sunny Goyal [Thu, 21 Mar 2019 19:45:43 +0000 (12:45 -0700)]
Adding permission annotation as per API review

Bug: 126180005
Test: N/A
Change-Id: Ie88dce300e5e12ca519c20e8e37060e6ebe4d1ad

5 years agoMerge "Fix no vibration when typing from time to time"
TreeHugger Robot [Mon, 25 Mar 2019 18:31:52 +0000 (18:31 +0000)]
Merge "Fix no vibration when typing from time to time"

5 years agoMerge "Add updated battery saver mode strings"
TreeHugger Robot [Mon, 25 Mar 2019 18:09:18 +0000 (18:09 +0000)]
Merge "Add updated battery saver mode strings"

5 years agoMerge "Do not reset per package appop modes for permissions"
TreeHugger Robot [Mon, 25 Mar 2019 17:59:36 +0000 (17:59 +0000)]
Merge "Do not reset per package appop modes for permissions"

5 years agoMerge "Fix testTokenBasedResetPassword."
TreeHugger Robot [Mon, 25 Mar 2019 17:59:28 +0000 (17:59 +0000)]
Merge "Fix testTokenBasedResetPassword."

5 years agoMerge "Fix camera stress tests directory"
TreeHugger Robot [Mon, 25 Mar 2019 17:52:10 +0000 (17:52 +0000)]
Merge "Fix camera stress tests directory"

5 years agoFix for b/129240060 - updating landsape volume dialog layout to use the
Anthony Tripaldi [Mon, 25 Mar 2019 17:46:38 +0000 (13:46 -0400)]
Fix for b/129240060 - updating landsape volume dialog layout to use the
newly created CaptionsIcon view.

Bug:129240060
Test: manual
Change-Id: I3936a0fe1b52f00f4196313158d0baee7798307f

5 years agoMerge changes from topic "128534822"
Badhri Jagan Sridharan [Mon, 25 Mar 2019 17:17:18 +0000 (17:17 +0000)]
Merge changes from topic "128534822"

* changes:
  UsbPortManager: Re-enable contaminant detection when port is unplugged
  Support contaminant detection disable workflow
  Refactor actions that are needed to be taken during port status changes.
  Add option to "Enable USB"

5 years agoAdd logs for power key in interceptKeyBeforeQueueing
Siarhei Vishniakou [Sat, 23 Mar 2019 03:32:30 +0000 (20:32 -0700)]
Add logs for power key in interceptKeyBeforeQueueing

We have a bug that power key is not being called. The issue is somewhere
before "powerPress". For a similar bug, we have added logs into
"powerPress" previously, but in the new bugreports, we are seeing that
even powerPress is not getting called.

To bisect this further, add log to interceptKeyBeforeQueueing for the
KEYCODE_POWER.

Bug: 128933363
Test: adb logcat, then press power key after display is ON. observe the
logs

Change-Id: Ib68e37aa403af965ea650a21373d3ffc7370b38c

5 years ago[automerger skipped] Merge "Make SelectTest append selectTest argument from extended...
Tadashi G. Takaoka [Mon, 25 Mar 2019 17:13:01 +0000 (10:13 -0700)]
[automerger skipped] Merge "Make SelectTest append selectTest argument from extended class" am: 96cf453355 am: bf2309beae
am: b7d958b944 -s ours
am skip reason: change_id I83d13d9ef82a92677bee67da5ee8a5faa0690f82 with SHA1 9648d4b04b is in history

Change-Id: I6d32e3b22535b84fa63e2536587d4d7667c5b99c

5 years agoMerge "Make SelectTest append selectTest argument from extended class" am: 96cf453355
Tadashi G. Takaoka [Mon, 25 Mar 2019 17:03:35 +0000 (10:03 -0700)]
Merge "Make SelectTest append selectTest argument from extended class" am: 96cf453355
am: bf2309beae

Change-Id: I068d7b920796ac90f756bfcba6cf51e046ebbff3

5 years agoMerge changes from topic "nav-bar-mode-fw-overlay"
Winson Chung [Mon, 25 Mar 2019 16:58:11 +0000 (16:58 +0000)]
Merge changes from topic "nav-bar-mode-fw-overlay"

* changes:
  Overlaying the nav bar frame dimens
  Check the overlay state for updating sysui
  Removing old resources
  Remove the swipe up setting from system

5 years agoMerge "Ensure that removing/removed views can't affect chained animations."
Josh Tsuji [Mon, 25 Mar 2019 16:56:27 +0000 (16:56 +0000)]
Merge "Ensure that removing/removed views can't affect chained animations."

5 years agoClean up scan calls used for testing.
Jeff Sharkey [Mon, 25 Mar 2019 16:29:29 +0000 (10:29 -0600)]
Clean up scan calls used for testing.

We've converged on explicit scanVolume() and scanFile() methods
which tests should be calling.  These are more robust than the
previous broadcast-based events, which could hang for a long time.

Bug: 127323913
Test: atest --test-mapping packages/apps/MediaProvider
Change-Id: I4f7918c70a67bcafab69ae2a71ee8e4bdaff01eb

5 years agoMerge "Make SelectTest append selectTest argument from extended class"
Tadashi G. Takaoka [Mon, 25 Mar 2019 16:52:49 +0000 (09:52 -0700)]
Merge "Make SelectTest append selectTest argument from extended class"
am: 96cf453355

Change-Id: I875035648d138f2fbae86ebc1c0f04c8c8dfaa82

5 years agoMerge "Deprecate is_layer for vulkan functor"
TreeHugger Robot [Mon, 25 Mar 2019 16:42:42 +0000 (16:42 +0000)]
Merge "Deprecate is_layer for vulkan functor"

5 years agoAdd an api to get active staged session
Nikita Ioffe [Thu, 7 Mar 2019 20:55:08 +0000 (20:55 +0000)]
Add an api to get active staged session

This was requested during review of ag/6638240

Test: CtsStagedInstallHostTestCases
Bug: 127296534
Change-Id: Ifcc6270dc1655b1b07a0879c140f30967df8910d

5 years agoMerge "Make SelectTest append selectTest argument from extended class"
Treehugger Robot [Mon, 25 Mar 2019 16:38:20 +0000 (16:38 +0000)]
Merge "Make SelectTest append selectTest argument from extended class"

5 years agoUse AndroidManifest to fill PackageInfo from apex
Mohammad Samiul Islam [Tue, 12 Mar 2019 16:52:56 +0000 (16:52 +0000)]
Use AndroidManifest to fill PackageInfo from apex

Some of the applicationInfo was hard coded while some packageInfo was
missing. Using AndroidManifest, they are completed as much as possible.
For remaining missing values, sane defaults are used where possible.

Bug: 124043099
Test: 1. added more assert rules in PackageParserTest.java
      2. atest PackageParserTest

Change-Id: I950283d822966ee2cb97f7bf13b7f55bb1227946

5 years agoMerge "Simplify the AttentionService API"
Lucas Dupin [Mon, 25 Mar 2019 16:36:27 +0000 (16:36 +0000)]
Merge "Simplify the AttentionService API"

5 years agoAllow allowed adjustments
Julia Reynolds [Mon, 25 Mar 2019 14:26:14 +0000 (10:26 -0400)]
Allow allowed adjustments

It's not the key, it's the signal key

Test: atest
Bug: 127825514
Change-Id: I550fbbde71747c1f875c11e5c07fb09a65a31bab

5 years agoAdd ExplicitHealthCheckService API
Zimuzo [Fri, 15 Mar 2019 18:05:58 +0000 (18:05 +0000)]
Add ExplicitHealthCheckService API

The ExplicitHealthCheckService implementation will live in ExtServices
so it can be updated outside of a platform update. It will contain
logic to assist the PackageWatchdog with observing packages, e.g
ensuring that the device can successfully connect to WiFi after a
mainline update.

Test: Builds
Bug: 120598832
Change-Id: If658567ca41bb0328e279735897fc50ab76abc11

5 years agoOnly show carrier name when multiple subs
Fabian Kozynski [Fri, 22 Mar 2019 19:09:30 +0000 (15:09 -0400)]
Only show carrier name when multiple subs

Added API for NetworkController to query number of subs.

Fixes: 128621920
Fixes: 128915463
Test: manual with 1 and 2 subs
Change-Id: Ica11b910735b89fc89f1e06cdf4515a0412c8ffb

5 years agoGrant PermissionController SUBSTITUTE_NOTIFICATION_APP_NAME
Anton Hansson [Fri, 22 Mar 2019 16:04:27 +0000 (16:04 +0000)]
Grant PermissionController SUBSTITUTE_NOTIFICATION_APP_NAME

This app will pretend to be the Settings app when sending
location access notifications.

Bug: 128608303
Test: boot
Change-Id: I447510bbe323f3de40828a5cb4a37abe1c44c990

5 years agoMerge "Make adjustNotification working no matter the notification is just enqueued...
TreeHugger Robot [Mon, 25 Mar 2019 16:13:10 +0000 (16:13 +0000)]
Merge "Make adjustNotification working no matter the notification is just enqueued or already posted"

5 years agoMerge "Synchronize NightDisplayListener"
Christine Franks [Mon, 25 Mar 2019 16:12:16 +0000 (16:12 +0000)]
Merge "Synchronize NightDisplayListener"

5 years agoMerge "Add READ_DEVICE_CONFIG permission check to DeviceConfig API."
Stanislav Zholnin [Mon, 25 Mar 2019 15:59:02 +0000 (15:59 +0000)]
Merge "Add READ_DEVICE_CONFIG permission check to DeviceConfig API."