Commit Graph

462538 Commits

Author SHA1 Message Date
Colin Cross
db2bb3e12a Fix docs error
Fixes:
out/soong/.intermediates/frameworks/base/doc-comment-check-docs/android_common/srcjars/android/view/View.java:12544: lint: Unresolved link/see tag "android.view.Window#setOnContentApplyWindowInsets Window#setOnContentApplyWindowInsets" in android.view.View [101]
out/soong/.intermediates/frameworks/base/doc-comment-check-docs/android_common/srcjars/android/view/View.java:12564: lint: Unresolved link/see tag "android.view.Window#setOnContentApplyWindowInsets Window#setOnContentApplyWindowInsets" in android.view.View [101]

Test: out/soong/.intermediates/frameworks/base/doc-comment-check-docs/android_common/doc-comment-check-docs-docs.zip
Change-Id: Ifdae4bad3f8a30d70a8894de8f7b011ba961adae
2020-01-23 18:37:27 -08:00
TreeHugger Robot
c8e17b66f3 Merge "Revert "Allow null TransmitPowerRange ctor argument for ModemActivityInfo"" 2020-01-23 21:47:24 +00:00
TreeHugger Robot
296afcc029 Merge "Expose system update related API to corp-owned managed profile" 2020-01-23 21:41:39 +00:00
Kevin Chyn
0f681fb3fb Merge "Add a delay before requesting the IME" 2020-01-23 21:29:41 +00:00
Shuzhen Wang
0d7929c51c Merge "CameraManager: Add physical camera availability callback" 2020-01-23 21:04:19 +00:00
TreeHugger Robot
99025680a3 Merge "Improved wallpaper dump() to show default components." 2020-01-23 20:38:45 +00:00
Yu-Han Yang
c622cdf66c Merge "Add inter-signal bias fields to GnssMeasurement and GnssClock" 2020-01-23 20:35:28 +00:00
TreeHugger Robot
414e1576d6 Merge "Move setDisplayViewport to InputReader." 2020-01-23 20:19:08 +00:00
Jian-Yang Liu
acf1345d01 Merge "Fixed CarStatusBar to use Car's implementation of navigation bar." 2020-01-23 20:16:21 +00:00
Alex Buynytskyy
37009349f0 Merge "Add system API annotation to expose Incremental classes as system APIs." 2020-01-23 20:11:19 +00:00
Ned Burns
a0a90f246a Merge "Make ForegroundCoordinator single-threaded" 2020-01-23 20:02:41 +00:00
TreeHugger Robot
2277fc419d Merge "Don't save self visibility grants" 2020-01-23 20:01:10 +00:00
Quang Luong
466d01d0ef Merge "Remove WifiEntry transitional security type" 2020-01-23 19:49:41 +00:00
Mike Ma
42e623587a Merge "Dump contexthub in protobuf format" 2020-01-23 19:45:54 +00:00
Steven Thomas
8c9f31b8b0 Merge "Add setFrameRate() api" 2020-01-23 19:40:20 +00:00
Gavin Corkery
ffd216dfa2 Merge "Add native boot crash rollback reason type" 2020-01-23 19:18:44 +00:00
Wyatt Riley
1a55f2e7ee Merge "Sorting Historical Location Request Stats in Dumpsys" 2020-01-23 19:08:20 +00:00
Alex Buynytskyy
6f527bfff5 Merge "Streaming Installation API update." 2020-01-23 19:03:34 +00:00
TreeHugger Robot
795168a1b8 Merge "Update imagedecoder for header updates" 2020-01-23 18:58:16 +00:00
TreeHugger Robot
ea59d86962 Merge "Ignores static shared libraries when filtering app" 2020-01-23 18:56:44 +00:00
Sudheer Shanka
04ca345ef2 Merge "Update references of "DONT_DELETE_DATA" to "DELETE_KEEP_DATA"." 2020-01-23 18:46:48 +00:00
Alex Johnston
371edb56f3 Merge "Modify setApplicationHidden and isApplicationHidden APIs" 2020-01-23 18:42:54 +00:00
Kevin Chyn
804d0c9fda Add a delay before requesting the IME
There seems to be some race condition that causes the IME to not show
in some situations. Temporarily add a delay to work around this.

Bug: 147794716

Test: BiometricPromptDemo with only password set up
Change-Id: I34dae203acc6f256410103287cc4d5579a1eaeda
2020-01-23 10:42:20 -08:00
TreeHugger Robot
2b13f4e55f Merge "Add IRNSS svid range" 2020-01-23 18:41:40 +00:00
David Su
ae531bd983 Merge "Revert "Fully qualify android.net.wifi.ScanResult"" 2020-01-23 18:41:29 +00:00
TreeHugger Robot
2de4b214d2 Merge "Replace dalvik..UnsupportedAppUsage annotation." 2020-01-23 18:35:23 +00:00
Artur Satayev
9a5c3105dd Replace dalvik..UnsupportedAppUsage annotation.
The new annotation to be used is android.compat.annotation.UnsupportedAppUsage.

Test: m
Bug: 145132366
Change-Id: Ib2101605fb385b4f778893e5181a954dccbea037
Exempt-From-Owner-Approval: roll-forward previously approved change
2020-01-23 18:35:07 +00:00
Daniel Bright
3ef8586ff1 Merge "Repoint TelephonyIntents to alternatives" 2020-01-23 18:30:05 +00:00
Grace Jia
c3458b6bc7 Merge "Delete hidden API in Telephony.ServiceStateTable" 2020-01-23 18:28:51 +00:00
Patrick Baumann
dcf3d3711f Don't save self visibility grants
This change avoids unnecessary grants of visibility between uids that
are the same.

Test: atest AppEnumerationTests AppsFilterTest
Change-Id: I32447c3decee18e6149a8a1fdb56027fefbd3804
2020-01-23 18:23:05 +00:00
Robert Shih
7f90969404 Merge "Deprecate legacy Drm APIs" 2020-01-23 18:22:12 +00:00
shengcow
0696c44824 Add system API annotation to expose Incremental classes as system APIs.
Test: None
Change-Id: Iddf69534cd88670af34267287ae8ee63ed24d7c7
Bug: 148217803
2020-01-23 18:09:08 +00:00
Baligh Uddin
0d66c2622b Merge "Set version to 300000000" 2020-01-23 18:08:33 +00:00
Baligh Uddin
ca69aba6a6 Set version to 300000000
Exempt-From-Owner-Approval: dariofreni@ approving in lieu of hansson@ (OOO)
2020-01-23 18:05:24 +00:00
Ned Burns
5db037a6a1 Make ForegroundCoordinator single-threaded
The appops callback is frequently called from a background thread, which
was causing a crash when calling mNotifPipeline.getActiveNotifs().
Switched the class over to being exclusively single-threaded; it didn't
need to support multiple threads and this simplifies things.

Test: atest SystemUITests:ForegroundCoordinatorTest
Change-Id: I4f010c16fa3f2467a5aaa05ef72c0278396a30e0
2020-01-23 12:47:58 -05:00
TreeHugger Robot
5e6abe4106 Merge "WifiManager.calculateSignalLevel(): add @IntRange" 2020-01-23 17:46:10 +00:00
TreeHugger Robot
21460c4ece Merge "WifiEnterpriseConfig: Mark as getters/setters @NonNull" 2020-01-23 17:45:40 +00:00
Rubin Xu
ca00dd4900 Expose system update related API to corp-owned managed profile
Allows profile owner of corporate-owned managed profile to call
the following APIs:
* setSystemUpdatePolicy
* installSystemUpdate

The following APIs can already be called by regular profile owners
so no changes are needed:
* getSystemUpdatePolicy
* getPendingSystemUpdate

Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testSystemUpdatePolicy
Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testInstallUpdate
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testSystemUpdatePolicy
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testInstallUpdate
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testInstallUpdateLogged
Bug: 147414327
Change-Id: I7224eb208f665ca7cb301daa7d17cce5126f7858
2020-01-23 17:35:41 +00:00
TreeHugger Robot
12ce8338cc Merge "Add INTERACT_ACROSS_USERS permission for DocsUI" 2020-01-23 17:18:49 +00:00
Alex Johnston
a552dd65fa Modify setApplicationHidden and isApplicationHidden APIs
* Introduced new logic that allows the profile owner of an
  organization-owned device (COPE PO) to hide/unhide system
  apps in the personal profile.
* Modified both APIs to be callable on the parent profile
  instance if called by the COPE PO.
* When called by the COPE PO, the package provided
  must be a system package, otherwise an IllegalArgument
  Exception is thrown.

Bug: 147413198
Test: manual testing
      atest com.android.server.devicepolicy.DevicePolicyManagerTest
      atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testApplicationHidden
      atest com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled

Change-Id: I4fae8acee9f00e3b9c805f29cf826f917cda6abd
2020-01-23 17:05:58 +00:00
Alex Buynytskyy
e069787195 Streaming Installation API update.
- location and streaming signature,
- obtain data loader params.

Test: atest PackageManagerShellCommandTest SplitTests
Bug: b/136132412 b/133435829

Change-Id: I08a06e827aaf8f0eab40fe1d59f5c9826ce6e78b
2020-01-23 08:53:23 -08:00
TreeHugger Robot
457318ef6d Merge "Fixes SparseSetArray#add return logic" 2020-01-23 16:39:49 +00:00
Adrian Roos
cce89e2785 Merge "Introduce WindowMetrics and WM#getCurrent/MaximumWindowMetrics" 2020-01-23 16:30:47 +00:00
Adrian Roos
1a585bec15 Merge "Window Manager Flag Migration (12/n)" 2020-01-23 16:29:44 +00:00
WyattRiley
d6b82a6ceb Sorting Historical Location Request Stats in Dumpsys
Per longstanding 'by provider' header
Also fixing timezone offset for recently added history

Bug: 141716920
Test: Verified on device, with adb shell dumpsys location
Change-Id: Ic211827f63d9224510ab35cd0128e2bc0d5bd38c
2020-01-23 08:28:29 -08:00
Ivailo Karamanolev
1a6fad470a Merge changes from topics "add-lights-manager", "lights-aidl-hal"
* changes:
  Add LightsManager implementation to LightsService
  Add Lights AIDL HAL support to LightsService
  Rename Light to LogicalLight to avoid namespace conflicts when adding AIDL HAL lights support.
2020-01-23 16:05:07 +00:00
Kelvin Kwan
f533034e77 Add INTERACT_ACROSS_USERS permission for DocsUI
Test: make aosp_x86_64-eng
Test: check INTERACT_ACROSS_USERS in /system/etc/permissions/com.android.documentsui.xml
Test: check INTERACT_ACROSS_USERS grant to DocumentsUI.apk
Test: atest DocumentsUITests:com.android.documentsui.PermissionsTest
Bug: 148198996
Change-Id: I6bcef56c508b3fad7a56cdc629089a36f4cdbec5
2020-01-23 15:35:16 +00:00
TreeHugger Robot
03e931d330 Merge changes from topic "add-work-tab"
* changes:
  Tests for personal and work tab logic.
  Add personal and work tabs to share sheet and intent picker.
2020-01-23 15:30:11 +00:00
Etan Cohen
5e170351a8 Merge "[CDM][WIFI] Provide a permission for Wi-Fi association approval for companion apps" 2020-01-23 15:28:56 +00:00
Pavel Grafov
31c7fe0459 Merge "Add DPM methods to allow org owned PO to suspend personal apps" 2020-01-23 15:22:45 +00:00