Commit Graph

110764 Commits

Author SHA1 Message Date
Joanne Chung
eae7bb76a9 TextLinks API updates.
1. Change TextLinks.getText() return type from String to CharSequence
2. Javadoc improvement

Bug: 147761091
Test: atest FrameworksCoreTests:android.view.textclassifier
Test: atest android.view.textclassifier.cts.TextClassifierValueObjectsTest
Change-Id: I40e4f401025f96717272a9ea2aac4c168297191e
2020-01-17 10:44:51 +08:00
Automerger Merge Worker
55bc2a3b5e Merge "Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi" am: dda5e92547 am: fe7146187e am: 968f5a9665
Change-Id: Iece2ad4133751a8c258f64d7796158ffe90881ce
2020-01-15 12:33:59 +00:00
Automerger Merge Worker
968f5a9665 Merge "Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi" am: dda5e92547 am: fe7146187e
Change-Id: Ic2168f237508137de450833d9c4a8f7229d89090
2020-01-15 12:16:25 +00:00
Treehugger Robot
dda5e92547 Merge "Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi" 2020-01-15 11:42:11 +00:00
Al Sutton
f7f94e34bf Merge "Add "No New Data" flag for Key/Value Backups" 2020-01-15 11:35:07 +00:00
Lorenzo Colitti
b4f3288e38 Merge "Make most of NetworkAgent @SystemApi." 2020-01-15 09:56:31 +00:00
TreeHugger Robot
f129f86a57 Merge "Rename the api from refresh() to refreshTime() to make it more clear" 2020-01-15 09:12:43 +00:00
TreeHugger Robot
863ca6295e Merge "Vibrator: Have Always-On Check DND/LowPower Modes" 2020-01-15 09:09:58 +00:00
Neil Fuller
b87081ceba Merge "System API proxies for the telephony module" 2020-01-15 09:01:57 +00:00
Alan Stokes
395ac1e263 Merge "Update API for uninstalled installers." 2020-01-15 08:40:46 +00:00
Jacky Kao
873cbc0e14 Merge "Implementing new API : takeScreenshot()" 2020-01-15 08:29:49 +00:00
Jacky Kao
09789e4168 Implementing new API : takeScreenshot()
Implementing the new API for A11y services to take the screenshot
of the specified display.
Bitmap takeScreenshot(int displayId)
1. The main codes is moved from the UiAutomationConnection class and
let the UiAutomation change to use this API.
2. Add a capability at metadata to check whether the A11y services could use this
API or not.
3. This API is a async one for A11y services, but is a sync one for
UiAutomation.

Bug: 10931661
Test: a11y CTS & unit tests
Change-Id: I478bd93c60d4742bef20ae0e423ca9de1bda55d2
2020-01-15 16:23:52 +08:00
Yuhan Zhao
03e46fd76a Merge "Intercepting activites that could cause lock task mode violation in ActivityStartInterceptor." 2020-01-15 08:23:47 +00:00
paulhu
5ae1d2c043 Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi
Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests

Change-Id: I77cb45e6b2aaf4ab2c457cb59ccf77b1b8c01fa9
2020-01-15 15:38:23 +08:00
Automerger Merge Worker
4c0487a163 Merge "Allow opening tethering when data saver ON" am: bd7fa99584 am: 80cc1ede37 am: dbefc5e6ac
Change-Id: I24a842de6918ccd0eb1dc60161854ea25528dff5
2020-01-15 07:29:40 +00:00
Automerger Merge Worker
0dcf43d1fe Merge "DevicePolicyManager: annotate SystemApi" am: d63ebcf807 am: 5016cf0263 am: 14dee43669
Change-Id: I88cb20e9c283993cda6be98d73f0fbfdc3f4ce54
2020-01-15 07:28:57 +00:00
Rhed Jao
70cb293d44 Merge changes from topic "A11yShortcut_NeedWithUi"
* changes:
  Accessibility shortcut improvement (10/n)
  Accessibility shortcut improvement (9/n)
  Accessibility shortcut improvement (8/n)
2020-01-15 07:22:32 +00:00
Automerger Merge Worker
dbefc5e6ac Merge "Allow opening tethering when data saver ON" am: bd7fa99584 am: 80cc1ede37
Change-Id: If569a0471eb59c244965c01b02aae71b49dc05a8
2020-01-15 07:15:19 +00:00
Automerger Merge Worker
6518424d07 Merge "Unhide NetworkRequest API which use legacy type" am: cd2ffc26dc am: d8d358dc63
Change-Id: I3a72ed77540329a355547c115b0250d00ccf5630
2020-01-15 07:15:12 +00:00
Automerger Merge Worker
14dee43669 Merge "DevicePolicyManager: annotate SystemApi" am: d63ebcf807 am: 5016cf0263
Change-Id: I27c2aa961fce4d7ee19ded54e4e3cc3172bec850
2020-01-15 07:14:27 +00:00
Lorenzo Colitti
631f33a68f Make most of NetworkAgent @SystemApi.
Bug: 138306002
Bug: 139268426
Test: atest FrameworksNetTests FrameworksWifiTests FrameworksTelephonyTests
Test: atest android.net.cts.ConnectivityManagerTest
Change-Id: I856f01f02c35c2f6a886d8b98039e5dfbc48148b
2020-01-15 16:05:26 +09:00
Mark Chien
bd7fa99584 Merge "Allow opening tethering when data saver ON" 2020-01-15 06:58:29 +00:00
Mark Chien
cd2ffc26dc Merge "Unhide NetworkRequest API which use legacy type" 2020-01-15 06:49:33 +00:00
Treehugger Robot
d63ebcf807 Merge "DevicePolicyManager: annotate SystemApi" 2020-01-15 06:37:55 +00:00
PETER LIANG
b85c3a8f88 Merge "Multiple shortcut menu for android R (5/n)." 2020-01-15 06:13:01 +00:00
Jackal Guo
7fd8e937bf Merge "Support accessibility on embedded hierarchies (1/n)" 2020-01-15 05:40:36 +00:00
TreeHugger Robot
cac0014a95 Merge "Add IActivityManager.stopUserWithDelayedLocking" 2020-01-15 05:40:06 +00:00
TreeHugger Robot
d5dc1844bb Merge "fix parceling issue with KeyphraseSoundModel" 2020-01-15 05:36:57 +00:00
Automerger Merge Worker
f39d8f016f Merge "Expose SocketKeepalive#SUCCESS as SystemApi" am: 4c85840bd0 am: 5ccdd4fc53
Change-Id: If67241a41678690a63a9cc20d2125fc2ee90ada6
2020-01-15 05:18:14 +00:00
Treehugger Robot
4c85840bd0 Merge "Expose SocketKeepalive#SUCCESS as SystemApi" 2020-01-15 05:01:04 +00:00
TreeHugger Robot
e33a992c19 Merge "Move focus dispatch to input (2/2)" 2020-01-15 04:52:14 +00:00
Mark Chien
9eb533470d Merge "Unhide NetworkRequest API which use legacy type" 2020-01-15 04:29:15 +00:00
Remi NGUYEN VAN
b7c80b5557 Merge "Add NetworkRequest#satisfiedBy to SystemApi" 2020-01-15 04:14:32 +00:00
Remi NGUYEN VAN
b9fd752f64 Merge "Remove handling of EVENT_UNFULFILLABLE_REQUEST" 2020-01-15 04:13:59 +00:00
TreeHugger Robot
e2b62e4f12 Merge changes I8cfea8ab,I349611e3
* changes:
  Recover from HAL death in sound trigger
  Lint cleanup
2020-01-15 03:49:48 +00:00
Wu Ahan
d5b8f0590d Merge "Make some apis @TestApi and @hide for usage in tests" 2020-01-15 03:33:41 +00:00
Nicholas Ambur
43970b5124 fix parceling issue with KeyphraseSoundModel
Bug: 147646806
Test: Tested enrollment and unenrollment via bundled hotword enrollment
application.

Change-Id: I0a78d831e0949d4cf1ed97a1cd6cdaea70d8399a
2020-01-14 18:54:26 -08:00
TreeHugger Robot
a682ec6e7d Merge "Remove framework code that has moved to frameworks/libs/net" 2020-01-15 02:47:52 +00:00
paulhu
521cd8c85d Expose SocketKeepalive#SUCCESS as SystemApi
Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests
Change-Id: I94171b2dc4f26442df918547bf8bc40953f63f2e
Merged-In: I94171b2dc4f26442df918547bf8bc40953f63f2e
2020-01-15 02:45:43 +00:00
Paul Hu
cb8f129c89 Merge "Expose SocketKeepalive#SUCCESS as SystemApi" 2020-01-15 02:44:32 +00:00
zhaoyuhan
3c91859190 Intercepting activites that could cause lock task mode violation in ActivityStartInterceptor.
Test: Manual
Test: atest WmTests:ActivityRecordTests
Test: atest WmTests:ActivityStartInterceptorTest
Test: atest WmTests:LockTaskControllerTest
Bug: b/131614258
Screenshot: https://screenshot.googleplex.com/hPy1b9NgkNj
Change-Id: I771d98509005fe8789ad6c4f5ceefd1460a8316d
2020-01-14 18:31:47 -08:00
TreeHugger Robot
6fd5b06f4c Merge "Update JavaDoc for CACHE_FILTER_NONE" 2020-01-15 02:05:23 +00:00
TreeHugger Robot
71e50f5199 Merge "Check mIncludeCode before building appComponentFactory" 2020-01-15 00:56:49 +00:00
Curtis Belmonte
e0e5852108 Merge "Add auth type to BiometricPrompt.AuthenticationResult" 2020-01-15 00:44:26 +00:00
Automerger Merge Worker
2ba0fb04a4 Merge changes from topic "remove_dev_mode" am: 8027ca9b97 am: b321ddb2f2
Change-Id: I8fe01cc3b1a669fb4e7516f37471dc8fe5493cde
2020-01-14 23:58:13 +00:00
Automerger Merge Worker
7d30df799e support data migration from OEM legacy app to mainline am: 32f525c975 am: 383e36c9aa
Change-Id: I9b1dc1e313b1035af00c0b066bbc06274569caf4
2020-01-14 23:58:06 +00:00
Ytai Ben-Tsvi
c2327e78fd Recover from HAL death in sound trigger
Added some recovery code for the case of a dead driver.
Due to the sound trigger HAL process being tied to the audio server
via init.rc, this would also offer recovery from audio server death
as a by-product.

Bug: 146852437
Change-Id: I8cfea8ab108d482592c8094e8093066973f43288
2020-01-14 15:22:18 -08:00
Chen Xu
383e36c9aa support data migration from OEM legacy app to mainline
am: 32f525c975

Change-Id: Icbc338382683711d72a46f153a8385a6df1ac9a2
2020-01-14 15:07:33 -08:00
Jack Yu
8027ca9b97 Merge changes from topic "remove_dev_mode"
* changes:
  Do not migrate use full volume shared preference
  support data migration from OEM legacy app to mainline
2020-01-14 22:59:31 +00:00
Jack Yu
c3133cbc57 Do not migrate use full volume shared preference
Use full volume has been renamed to override DnD and
the toggle is now only available for certain countries. We
intended not to provide the ability to migrate this shared
preference as it might cause issue for users who already
changed the preference. After mainline migration, override
DnD should be always reset to default value of that country.

Test: Manual
Bug: 147426188

Merged-In: I5746fe32674131b474e784bd5dd62ecff76386d5
Change-Id: I5746fe32674131b474e784bd5dd62ecff76386d5
(cherry picked from commit bcbe46816c)
2020-01-14 22:59:05 +00:00