Commit Graph

100487 Commits

Author SHA1 Message Date
Oli Lan
425dd66c95 Merge "Add ApexContext API including methods to get paths for data directories." 2020-01-22 14:13:41 +00:00
TreeHugger Robot
a263d01c44 Merge "Rename PacProcessor#makeProxyRequest to PacProcessor#findProxyForUrl." 2020-01-22 12:35:03 +00:00
Eran Messeri
d0d2a86995 Merge "Mark storage encryption functions as deprecated." 2020-01-22 10:25:12 +00:00
Remi NGUYEN VAN
0e4d731bbc Merge "Delete NetworkFactory from frameworks/base/core." 2020-01-22 08:06:32 +00:00
TreeHugger Robot
5561857cc7 Merge "Revert "Adds a new ACCESS_CONTEXT_HUB permission"" 2020-01-22 07:59:31 +00:00
Jack Yu
26a8cbe1ed Merge "API changes for IPv6 MTU support" 2020-01-22 07:38:53 +00:00
Alex Kershaw
709517e805 Merge "Add CrossProfileApps#startActivity which takes an Intent." 2020-01-22 07:37:03 +00:00
Taran Singh
0b19cd94c8 Merge "Pipe windowToken of window requesting IME" 2020-01-22 07:36:51 +00:00
Alex Kershaw
12d0ea4b58 Merge "Add system API for building document URI with user ID." 2020-01-22 07:34:45 +00:00
Jaewan Kim
21de9eebb5 Revert "Adds a new ACCESS_CONTEXT_HUB permission"
This reverts commit 4042897855.

Bug: 135951924
Reason for revert:
   Breaks PermissionPolicyTest.platformPermissionPolicyIsUnaltered
   in CtsPermission2TestCases

Change-Id: Ie48fca6a0c54e281aae0db6cd9652b49cebbaa5c
2020-01-22 06:23:44 +00:00
Shu Chen
47ca469930 Merge "Implement the new magnifier effect." 2020-01-22 06:06:33 +00:00
TreeHugger Robot
a6a219e657 Merge "Fix some thread handling issues in InputMethodManager" 2020-01-22 06:03:38 +00:00
Sean Pont
4805925645 Merge "Add QuickAccessWallet API" 2020-01-22 05:36:01 +00:00
lumark
3f733cc7ef Fix some thread handling issues in InputMethodManager
- Make sure onCheckIsTextEditor should be called on the UI thread for
preventing exception in some cases that will break start input background
thread.

- Refine IMM#checkFocus and DelegateImpl#startInput to be out of
lock object to prevent start input background thread may blocked by other
methods which already inside the lock.

- Cache InputMethodManagerDelegate object for ImeFocusController#getDelegate.

Fix: 147447217
Bug: 141738570
Test: manual as test steps:
     1) Launch Keeeps app, type some web-URL link.
     2) Long press on any URL link > From the toolbar select "open / browser"
        and observe.
     3) Expect the soft-keyboard should be hidden after entering the
     browser page.
Test: atest CtsInputMethodTestCases

Change-Id: I098df41f935438bf1889fb030c7a3e7a0645a168
2020-01-22 12:34:14 +08:00
Automerger Merge Worker
9ad283553d Merge "Throw IOException on multiple connects." am: 632e515468 am: ead7c0e489 am: e5ad71ec99
Change-Id: I2b8ebf4a2b33f754550c2865c5ac33e107feb3af
2020-01-22 04:34:11 +00:00
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
Sarah Chin
77a7ea65fd API changes for IPv6 MTU support
Change mtu->mtuV4 and add mtuV6 for DataProfile and DataCallResult
Add mtu to RouteInfo and update test

Test: atest FrameworksTelephonyTests
Bug: 146668814
Change-Id: I43c7e088e46e40f38d8114548e0fc4e39d7f91cb
2020-01-21 20:29:47 -08: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
Shu Chen
847583cbd6 Implement the new magnifier effect.
- Uses drawBitmapMesh to mimic the fisheye effect.
 - Avoids any logic changes to the old style magnifier.
 - The new magnifier is not exposed to public.
 - Creates the magnifier instance lazily.
 - Minor code cleanups suggested by IDE.

Bug: 145555868
Test: manually tested.
Change-Id: I6f6f6b353e2ce53bdc97fb36dd25cafa14d3d779
2020-01-22 10:49:47 +08: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
Alisher Alikhodjaev
ead7c0e489 Merge "Throw IOException on multiple connects."
am: 632e515468

Change-Id: I055acd5e71b7eb67369226402c47a5ecbe09db4c
2020-01-21 17:34:08 -08:00
Alisher Alikhodjaev
632e515468 Merge "Throw IOException on multiple connects." 2020-01-22 01:27:04 +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
Tarandeep Singh
bb0e2f753b Pipe windowToken of window requesting IME
It takes time from when IME is requested to the time when IME is ready
to be shown. When its ready to be shown, we need to make sure that
window that requested IME is still the IME target in DisplayContent. The
only realistic way of knowing originating window is passing windowToken
from IMM API.

Bug: 111084606
Test: CtsInputMethodTestCases

Change-Id: Ia49e23dd077d264a58d28a7b8acffde54b7db187
2020-01-21 17:02:22 -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
George Chang
3eb265ae00 Throw IOException on multiple connects.
Only one TagTechnology can be connected at a time.
Other calls to connect() will return IOException.

Bug: 144398423
Test: check error on multiple connects
Change-Id: I19a5f33c7f0d3e7592fe7791c1e04ddc2c9d6125
2020-01-21 23:46:05 +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