Commit Graph

100459 Commits

Author SHA1 Message Date
Automerger Merge Worker
bfdaf3f253 Merge "Add SystemApis isAdbWifiSupported(), isAdbWifiQRSupported() to AdbManager." am: e9beb8ddbc am: 30927dbd25 am: 01233f33ae
Change-Id: I4cd67499d6b00e6c8a85b3f389c8ea67973d16da
2020-01-22 04:33:54 +00:00
Automerger Merge Worker
35030868e4 Merge "Make certain BluetoothProfile constants being used by CarBluetoothTest into @SystemApi" am: 80a2b522b1 am: f0a2e25c9f am: 9c741338dc
Change-Id: I047f9d64c8dfef979e8281aa8cd9f2a73017bbcb
2020-01-22 04:32:35 +00:00
Rambo Wang
a4119e36e5 Merge "resolve merge conflicts of 5a10428642 to master" 2020-01-22 04:24:33 +00:00
TreeHugger Robot
c083476809 Merge "Public API: Incident report section registration" 2020-01-22 04:20:15 +00:00
TreeHugger Robot
c455927ff4 Merge changes from topic "OfflineReproc-impl"
* changes:
  Camera: Add API for surface offline mode queries
  Camera: Add initial offline camera session implementation
2020-01-22 04:01:01 +00:00
TreeHugger Robot
eba268395e Merge "Adds a feature flag for Context Hub" 2020-01-22 03:02:58 +00:00
TreeHugger Robot
46b3b3c0c1 Merge "Adding API to check if an icon returned by PackageManager is a fallback icon" 2020-01-22 03:02:07 +00:00
Mike Ma
c2ab45a221 Public API: Incident report section registration
Mark incident report section registration and unregistration as public
APIs, and protect them with
android.permission.REGISTER_INCIDENT_REPORT_SECTION.

Bug: 144789854
Test: Build
Change-Id: I0d79ca12054292412e10a63ba2e6f45a149066a9
2020-01-21 18:34:18 -08:00
Arthur Ishiguro
e5b3e8e8f0 Merge "Adds a new ACCESS_CONTEXT_HUB permission" 2020-01-22 02:23:44 +00:00
Jing Ji
3dd4c345b6 Merge "Add an API android.os.Process.waitForProcessDeath" 2020-01-22 01:44:04 +00:00
Yvonne Jiang
1d1973ef97 Merge "Adding API for displaying a DO/PO controlled secondary lock screen post initial system lock screen." 2020-01-22 01:43:38 +00:00
Rambo Wang
4083e5942d resolve merge conflicts of 5a10428642 to master
Bug: None
Test: atest com.android.internal.telephony.TelephonyRegistryTest
Test: atest android.telephony.cts.PhoneStateListenerTest
Change-Id: Ibd9b67ce9be1d8ad718da45d494fc2bfe75f0959
2020-01-21 17:23:14 -08:00
Joshua Duong
30927dbd25 Merge "Add SystemApis isAdbWifiSupported(), isAdbWifiQRSupported() to AdbManager."
am: e9beb8ddbc

Change-Id: I2824eee926c108c038f808ff54ca0eea0f4df781
2020-01-21 17:20:55 -08:00
Joshua Duong
e9beb8ddbc Merge "Add SystemApis isAdbWifiSupported(), isAdbWifiQRSupported() to AdbManager." 2020-01-22 01:12:19 +00:00
Shu Chen
9c1983d414 Merge "Implement touch through on InsertionHandleView." 2020-01-22 01:10:29 +00:00
Rahul Sabnis
f0a2e25c9f Merge "Make certain BluetoothProfile constants being used by CarBluetoothTest into @SystemApi"
am: 80a2b522b1

Change-Id: I81491cbcc449cc718be94637d609cc4f799b6cf2
2020-01-21 17:05:15 -08:00
Treehugger Robot
80a2b522b1 Merge "Make certain BluetoothProfile constants being used by CarBluetoothTest into @SystemApi" 2020-01-22 00:52:31 +00:00
Ytai Ben-tsvi
4d1830d141 Merge "Improve HidlMemory annotation" 2020-01-22 00:51:35 +00:00
Sunny Goyal
77a2416924 Adding API to check if an icon returned by PackageManager
is a fallback icon

Bug: 141588119
Test: atest PackageManagerTest
Change-Id: I9ae5a74dd0b0c0c49a078d46914986ecb0d27a94
2020-01-21 16:17:49 -08:00
Yvonne Jiang
b7024a251c Adding API for displaying a DO/PO controlled secondary lock screen post initial system lock screen.
The new DPM API allows DP/POs to set whether the keyguard needs to show a secondary lockscreen after the primary locking mechanism is dismissed. If enabled, the keyguard will check for a service handling ACTION_BIND_SECONDARY_LOCKSCREEN_SERVICE and request the secondary lockscreen content from it.

Bug: 136085151
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest KeyguardUpdateMonitorTest
Test: atest AdminSecondaryLockScreenControllerTest
Change-Id: If82921b4fc2d78c0522a20ef91b48f9a93dd8b61
2020-01-21 15:52:57 -08:00
Automerger Merge Worker
0cdac4ad7c AppZygote: start with the correct instruction set am: 041f016971 am: cbf8e9dd7a am: 893b3728cb
Change-Id: Ie039ef64d0d307262d0ffe53353747d64c720544
2020-01-21 23:48:34 +00:00
Sudheer Shanka
ce7f6e8925 Merge "Implement BlobStoreManagerService." 2020-01-21 23:32:36 +00:00
Mady Mellor
0e12abac38 Merge "Bubble API: Allow developers to create BubbleMetadata from a shortcut id" 2020-01-21 23:31:22 +00:00
Rambo Wang
c26846fe67 Merge "Permission READ_PRECISE_PHONE_STATE implementation polish"
am: 2b8cb12004

Change-Id: I0059c2bb23dc15cfe3eff84118990aa47b8d69d9
2020-01-21 15:27:06 -08:00
Lev Rumyantsev
cbf8e9dd7a AppZygote: start with the correct instruction set
am: 041f016971

Change-Id: I85ed95566f9cb6d38b02619f47e2efe6ebcf9c61
2020-01-21 15:18:34 -08:00
Rambo Wang
2b8cb12004 Merge "Permission READ_PRECISE_PHONE_STATE implementation polish" 2020-01-21 23:15:19 +00:00
Rahul Sabnis
a079dc7984 Make certain BluetoothProfile constants being used by CarBluetoothTest
into @SystemApi

Bug: 146663105
Test: Manual
Change-Id: Ic474a85c17b69c71cf24b06d0262c13b3b8142fe
2020-01-21 15:11:22 -08:00
Lev Rumyantsev
5f30976b8c Merge changes from topic "native_bridge_for_app_zygote"
* changes:
  Zygote: support native-bridge for app-zygote
  AppZygote: start with the correct instruction set
2020-01-21 23:09:34 +00:00
Arthur Ishiguro
05911ee0e9 Adds a feature flag for Context Hub
Bug: 147677675
Test: Compile only
Change-Id: I4d5aa236d86c69605f058e50a4af9db15d04b346
2020-01-21 14:55:00 -08:00
Shuo Qian
c3de6ca956 Merge "Support always reporting signal strength phone state listener" 2020-01-21 22:40:55 +00:00
Arthur Ishiguro
4042897855 Adds a new ACCESS_CONTEXT_HUB permission
Since not all Context Hub applications are location-related, the
use of the LOCATION_HARDWARE permission to control access to the Context Hub
System APIs can be misleading. Create a new permission to access it, and
adds the logic to enforce the permission.

Also clarifies usage of PendingIntent ContextHubClient.

Bug: 135951924
Test: Compile and flash
Change-Id: I5f22db7e57ef4a6c3718acb38c4f313d6a04839f
2020-01-21 14:39:51 -08:00
Valerie Hau
2eb5cc7bf9 Merge "Adding WINDOW_MANAGER_NATIVE_BOOT and window_manager_use_blast_adapter flags" 2020-01-21 22:20:04 +00:00
TreeHugger Robot
06e6d824f1 Merge "Add methods to retrieve the native CameraMetadata pointer." 2020-01-21 22:02:48 +00:00
Lucas Dupin
c1df8667ea Merge "Expose blurs to SurfaceControl" 2020-01-21 21:55:13 +00:00
Bernardo Rufino
8aa39acf60 Merge "Use IBinder token for indexing toasts instead of ITransientNotification" 2020-01-21 21:52:32 +00:00
Daniel Bright
e9a4f02315 Merge "Changed ApnSetting mappings to constants" 2020-01-21 21:39:38 +00:00
Jay Aliomer
1d8df2ad91 Merge "Custom dark theme scheduling" 2020-01-21 21:27:28 +00:00
Tim Murray
7901f7f177 Merge "Binder cache for hasSystemFeature(). System features are build-time constants, so the cache is invalidated only when the system server restarts." 2020-01-21 21:08:19 +00:00
Emilian Peev
731009ed15 Camera: Add API for surface offline mode queries
Camera clients of devices that support offline processing
capability must be able to check for offline support of
individual surfaces registered within a give capture session.

Bug: 135142453
Test: Camera CTS
Change-Id: Ia5b6ec31a3540925b92761c9ac1f2407214cbcf7
2020-01-21 12:59:56 -08:00
Xiangyu/Malcolm Chen
b058ae4698 Merge "Add HomeVisibilityObserver APIs in ActivityManager." 2020-01-21 20:58:47 +00:00
Mady Mellor
2ac2d3aafc Bubble API: Allow developers to create BubbleMetadata from a shortcut id
Adds an option to specify a bubble via a shortcutId. If the builder had
icon / intent previously specified, the shortcutId will clobber those
and vice versa.

Unfortunately, this means that BubbleMetadata#getIcon and #getIntent may
return null when previously they were non-null. I've deprecated these
getters and introduced new ones along with new setters so that the naming
remains consistent.

NoMan will check if that shortcut exists before applying FLAG_BUBBLE.

Update SystemUI to use BubbleMetadata builder with shortcut id for the
shortcut experiment.

Adds test to ensure the launcher apps callback is added / removed
appropriately & that notifs with shortcut bubbles are properly flagged
or unflagged.

Test: atest NotificationManagerServiceTest
Test: atest NotificationTest NotificationManagerTest (see CTS CL)
Bug: 138116133
Bug: 144352570
Change-Id: I2e8155edc7fd70d6978fc80310f071bf6510e0d2
2020-01-21 12:51:04 -08:00
Qasid Sadiq
86fc75c1a0 Merge "Throttle stateDescription changed events" 2020-01-21 20:30:37 +00:00
Alex Lin
3087e3d69e Merge "Add public API for EuiccService log dump" 2020-01-21 19:31:52 +00:00
Jiawen Chen
5419ea37da Add methods to retrieve the native CameraMetadata pointer.
Test: atest android.hardware.camera2.cts.CameraManagerTest#testCameraCharacteristicsNdkFromSdk android.hardware.camera2.cts.CaptureResultTest#testCameraCaptureResultAllKeys
Bug: 80513080

Change-Id: I296db8425b562e09843159dfab3afa0960b4854f
2020-01-21 14:26:32 -05:00
Jay Aliomer
15d855465b Custom dark theme scheduling
allows the use to set the start and end automatic dark theme
activation within a day.
Fixes: 147649309
Test: atest UiModeManagerServiceTest UiModeManagerTest
Change-Id: Iaa3593d4e8863412e3703ce9f089b88dd4df1225
2020-01-21 14:13:23 -05:00
Julia Reynolds
73bc1e84e8 Merge "Fix notification history ordering" 2020-01-21 18:58:20 +00:00
Bernardo Rufino
871fe0a968 Merge "Deprecate custom toasts" 2020-01-21 18:35:59 +00:00
Alex Johnston
35a650b9fd Merge "Add new APIs to control modification of admin configured networks" 2020-01-21 18:33:02 +00:00
Jorim Jaggi
2b16b5993d Merge "Fix up new insets dispatch behavior" 2020-01-21 18:28:58 +00:00
Iavor-Valentin Iftime
c2813cf16c Merge "Change some UserManager APIs to @SystemApi" 2020-01-21 18:21:57 +00:00