Commit Graph

100245 Commits

Author SHA1 Message Date
Yabin Huang
71d62119df Merge "Don't use View ID to search next focus backward View" 2020-01-17 01:50:53 +00:00
TreeHugger Robot
0622f20959 Merge "Expose NotificationChannel#setBlockableSystem as SystemApi" 2020-01-17 01:28:03 +00:00
Meng Wang
07bb82392d Merge "Expose logToRadioBuffer as system API" 2020-01-16 23:45:39 +00:00
Matt Pape
7aa4821b13 Merge "Annotate atomic DeviceConfig methods for testing." 2020-01-16 23:24:30 +00:00
Chen Xu
546ce5e45e modularize telephony-framework from framework.jar
Bug: 140908357
Test: Build & Manaul
Change-Id: Idd4cbdb84247b98072b6ebc00a37168fde6fbbaa
2020-01-16 14:32:50 -08:00
Nate Myren
739e946f87 Merge "added methods to @TestApi" 2020-01-16 22:31:26 +00:00
Nate Myren
3f26271da4 added methods to @TestApi
Added ActivityManager.switchUser(UserHandle),
Context.startActivityAsUser, and UserHandle.of to
@TestApi

Test: None
Bug: 135282431

Change-Id: Iefbaa3c8f02649dd7d01be3093fa47104b077f58
2020-01-16 22:31:02 +00:00
Yabin Huang
ef8a8ac927 Don't use View ID to search next focus backward View
There might be several Views with the same ID in View hierarchy,
and if we search the user specified next focused view by comparing
the View ID, it may return the wrong View with the same ID. To fix
that, we should compare the View itself.

Fixes: 147829061
Test: manual

Change-Id: I3eeb68ed3ea30ce9461165eea56227cb81b21929
2020-01-16 14:29:16 -08:00
Julia Reynolds
3bd8c209b1 Merge "Allow conversations to be demoted out of the conversation space" 2020-01-16 22:23:08 +00:00
Jason O'Brien
5115b1aee3 Merge "Add instrumented app to JAR path (isolated splits)" 2020-01-16 22:21:59 +00:00
TreeHugger Robot
ba3882446c Merge "Camera: Add new UNDEFINED pose reference enum" 2020-01-16 21:49:19 +00:00
Ana Krulec
25f0212763 Merge "WindowManager: Send layer priority hint to SurfaceFlinger" 2020-01-16 21:18:53 +00:00
Meng Wang
aa2ba8e941 Expose logToRadioBuffer as system API
Bug: 144374158
Test: make
Change-Id: I2d25a5844733ed7f1e0bb3f66d39f746f0f7acd8
2020-01-16 12:02:33 -08:00
Julia Reynolds
dcd70d6ec6 Allow conversations to be demoted out of the conversation space
Also default the flag to allow more notifications into that
space to on.

Test: atest
Bug: 137397357
Change-Id: I225f462879bdb28411cc631a3e259b4c71ba7394
2020-01-16 14:39:46 -05:00
Peter Wang
8bb0fa42e3 Merge "[Telephony Mainline] Refactored PermissionManager" 2020-01-16 18:51:18 +00:00
Ruslan Tkhakokhov
9e99080cd3 Merge changes from topic "overrideable-by-restore"
* changes:
  Add Settings.(System/Secure).putStringOverrideableByRestore
  Add preserveValueInRestore flag to Setting object
2020-01-16 18:33:48 +00:00
Hall Liu
7c4dd3a5ef Expose NotificationChannel#setBlockableSystem as SystemApi
Expose setBlockableSystem as a module-apps-only SystemApi.

Bug: 138401571
Test: atest android.app.cts.NotificationChannelTest
Change-Id: I0b6a14360e9278a092476ada6533e63a46d4e4fe
2020-01-16 10:03:27 -08:00
Matt Pape
e8c4eda30a Annotate atomic DeviceConfig methods for testing.
Enforce read permission for Device Config before checking the cache for
results.

Test: atest android.deviceconfig.cts.DeviceConfigApiPermissionTests
Test: atest android.deviceconfig.cts.DeviceConfigApiTests
Bug: 136135417
Change-Id: Ib86b0a6c8b809b23c098bfa75d61eeceda457634
2020-01-16 08:54:58 -08:00
Automerger Merge Worker
a4f3890ea0 Merge "Improve DSU log and notification message" am: 03e365f649 am: aa0e6344c1 am: 8d29b6d4eb
Change-Id: I0fee940b91344e4a9ed352578bac796de0f11628
2020-01-16 15:30:36 +00:00
TreeHugger Robot
16f519a176 Merge "Introduce ImeFocusController" 2020-01-16 15:30:09 +00:00
Jason O'Brien
6f2978c9fc Add instrumented app to JAR path (isolated splits)
The base APK is loaded during normal execution even when isolated splits
are requested. This preserves that behavior during instrumented tests,
which previously skipped the base APK (causing class loading errors).

Test: tested on device with a trivial automated instrumented test
Bug: 146183755
Change-Id: Ia54072ee91b7c06cb4a787a8954ad2e69b322cac
2020-01-16 15:28:15 +00:00
TreeHugger Robot
e46c7474a2 Merge "Remove feature flag" 2020-01-16 15:10:17 +00:00
Automerger Merge Worker
8d29b6d4eb Merge "Improve DSU log and notification message" am: 03e365f649 am: aa0e6344c1
Change-Id: I5ba1a7499c53d4b1a70a0ed6ba279cff742422c7
2020-01-16 13:17:36 +00:00
Joanne Chung
adb9ce4ffe Merge "Made the InlineSuggestion APIs testable." 2020-01-16 12:37:32 +00:00
Treehugger Robot
03e365f649 Merge "Improve DSU log and notification message" 2020-01-16 12:15:26 +00:00
Anton Hansson
b2f709db1d Add <extension-sdk> manifest tag inside <uses-sdk>
This allows apps to specify the minimum versions they need
of extension sdks, and fails install if they aren't met.

There is additional work required to prevent local rollbacks
from triggering a downgrade of SDK versions after an install.

Bug: 137191822
Test: atest PackageParserTest
Exempt-From-Owner-Approval: PS4 was approved
Change-Id: If61ae6c67ceb752bec6876006a29e52b996901e7
2020-01-16 11:59:52 +00:00
Stanley Wang
b2aafcb399 Merge "Remove the @hide annotation for the dynamic index of Settings Search." 2020-01-16 11:53:19 +00:00
TreeHugger Robot
f70990753d Merge "Starts a new request on switching back to the existing app" 2020-01-16 11:18:12 +00:00
TreeHugger Robot
51ef50530b Merge "PackageManager no longer requires the ExtServices to be a "Shared Library"" 2020-01-16 10:43:40 +00:00
TreeHugger Robot
0ca2f2a8bc Merge "Update FLAG_DIR_BLOCK_TREE to FLAG_DIR_BLOCKS_OPEN_DOCUMENT_TREE" 2020-01-16 09:49:02 +00:00
Jorim Jaggi
73c2063811 Merge "Handle cases when multiple type are animating" 2020-01-16 09:41:24 +00:00
Martin Sundermeyer
8fda7a563c Merge "Add string constants for new Reminder intent." 2020-01-16 09:07:51 +00:00
Automerger Merge Worker
15e32bf125 Merge "Support multiple DSU installations" am: 69d181aecc am: fd9ae75440 am: feb7f9cf81
Change-Id: Iec8edb8568d707b827a8d4e70373333d96d6ab10
2020-01-16 06:28:53 +00:00
Automerger Merge Worker
feb7f9cf81 Merge "Support multiple DSU installations" am: 69d181aecc am: fd9ae75440
Change-Id: I236a00274d6b6e7d1c7ac134ef17232c368cdd6a
2020-01-16 06:14:51 +00:00
Po-Chien Hsueh
bcf2adb424 Improve DSU log and notification message
Improve DSU installation service's status log message. And, use
Notification.BigTextStyle for DSU notification message.

Bug: 132924741
Test: Run DSU installation
Change-Id: I9e821edfeff88a1f4084a005de3e0f4264338996
2020-01-16 13:52:57 +08:00
Howard Chen
69d181aecc Merge "Support multiple DSU installations" 2020-01-16 05:33:10 +00:00
Aaron Huang
9e0c5262ca Merge "Move DnsSdTxtRecord to net common static library" 2020-01-16 03:15:55 +00:00
TreeHugger Robot
8e6358b19f Merge "Fixes provider authority matching when ';' is used." 2020-01-16 03:15:35 +00:00
TreeHugger Robot
a98a0c6f46 Merge "Make the method for finding out if a device is org-owned public." 2020-01-16 01:58:08 +00:00
Muhammad Qureshi
91f03e0047 Merge "StatsEvent @SystemApi" 2020-01-16 01:22:35 +00:00
Roshan Pius
322c2f71f3 Merge "Settings: Formalize Wifi Mainline usages" 2020-01-16 00:26:09 +00:00
Nathan Harold
bbc2aaeaaa Merge changes from topic "barring-info"
* changes:
  Add a BARRING_TYPE_UNKNOWN for Unreported Barring
  Add Callback to notify changes of barring status
2020-01-16 00:06:07 +00:00
Ytai Ben-tsvi
224c9043c3 Merge "Improve exception handling in SoundTrigger" 2020-01-16 00:01:55 +00:00
Roshan Pius
32913a8eda Settings: Formalize Wifi Mainline usages
a) Removed some of the @hide settings value which can be replaced with
an overlay flag.
b) Promoted all the other wifi setting keys to @SystemApi.

Bug: 147373460
Test: Device boots up and connects to wifi networks.
Change-Id: Id9775a5a73350ac9921400904771e6f04810e45a
2020-01-15 15:50:38 -08:00
Patrick Baumann
e2d9d71c4b Fixes provider authority matching when ';' is used.
Authorities defined in the manifest may support multiple authorities
split by the ';' character. This change adds support for this feature
when calculating visibility.

Bug: 145677500
Test: atest AppSecurityTests
Change-Id: Ifc2ff8ab95ce06502d9bf309c69ccd734526ef94
2020-01-15 23:43:57 +00:00
Danning Chen
8f0903ae74 Merge "Add a new method queryEventsForUser() to UsageStatsManagerInternal for People Service to call" 2020-01-15 22:55:15 +00:00
Peter Wang
f7eb0fa797 [Telephony Mainline] Refactored PermissionManager
to expose grantDefaultPermissionsToEnabledImsServices,grantDefaultPermissionsToEnabledTelephonyDataServices,revokeDefaultPermissionsFromDisabledTelephonyDataServices

Bug: 138745534
Test: Build and ImsServiceControllerTest
Change-Id: I9a7cf7a3a960e23fc943f58a67baed354c0d2a92
2020-01-15 14:25:18 -08:00
Raff Tsai
e643911963 Remove feature flag
Bug: 141601408
Test: rebuild
Change-Id: If56d4f95413f029e3d4501d5daa129f6d78f9bca
2020-01-16 05:25:29 +08:00
Ytai Ben-Tsvi
2e8f78b322 Improve exception handling in SoundTrigger
This unified the exception handling of SoundTrigger and
SoundTriggerModule and adds support for some ServiceSepcificExceptions
that may occur.

Change-Id: I018c7b249058758f0f3b5af34ee06a2396ecb6a7
Bug: 147435580
2020-01-15 13:10:33 -08:00
Ana Krulec
fea971787a WindowManager: Send layer priority hint to SurfaceFlinger
Basic algorithm:
if (!isFocused && preferredModeId > 0) -> priority is 2
if (isFocused && preferredModeId == 0) -> priority is 1
if (isFocused && preferredModeId > 0) -> priority is 0
else priority is INT_MAX

See go/sf-generalizing-refresh-rate for master doc, and
https://docs.google.com/document/d/1ozR7UT3AZclsJ6f4NJ4WXYO2eb-GRdv-Q55AYTltZSo
for WM specific document.

Test: Device starts. Observe logs for errors.
Test: Observe printouts on SF side to make sure the correct number gets passed along.
Test: Unit tests for setting priority on Transaction.
Test: Swappy and Messaging app running in split screen. If swappy in focus,
      it gets priority 0, otherwise 2. If Messsging app in focus it gets priority 1,
      otherwise INT_MAX.
Test: Chrome playing video. Chrome Activity gets priority 0.
Test: Expand status bar. Status bar has priority 1.
Test: Application running. Status bar gets an update. Nothing is passed along.

Bug: 142507166
Change-Id: Iea75f63882b173fad089cd4a32a4831b92206797
2020-01-15 12:43:14 -08:00