Commit Graph

110863 Commits

Author SHA1 Message Date
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
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
PETER LIANG
75d45584a1 Merge "Multiple shortcut menu for android R (7/n)." 2020-01-16 12:05:58 +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
Peter_Liang
fdc7ecdddf Multiple shortcut menu for android R (7/n).
Support the legacy hardware shortcut can be deleted and
  software shortcut still keep be disabled.

Test: manual test
Change-Id: I0d2d48daa47a3b6f84e108966c8a4e5573cf06e9
2020-01-16 17:38:21 +08: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
Automerger Merge Worker
acc4f31393 Merge "Remove phoneId from ImsUceManager" am: 8478802be5 am: 9995982748 am: 2cd8af1d78
Change-Id: I8c0309448a8abb1a8094b4a82a11db812bfd3ff6
2020-01-16 01:57:01 +00:00
Automerger Merge Worker
2cd8af1d78 Merge "Remove phoneId from ImsUceManager" am: 8478802be5 am: 9995982748
Change-Id: I4f11280d7130d9185615e2ba2116eb06de92fd27
2020-01-16 01:44:39 +00:00
Treehugger Robot
8478802be5 Merge "Remove phoneId from ImsUceManager" 2020-01-16 01:33:03 +00:00
Muhammad Qureshi
91f03e0047 Merge "StatsEvent @SystemApi" 2020-01-16 01:22:35 +00:00
Automerger Merge Worker
a7a2825aeb Merge "Create an until function to check location permission" am: 948c4086af am: b896ed6e19
Change-Id: Ic868fbfa4d9b9199e754c5b6aacf97990245e95e
2020-01-16 01:14:53 +00:00
Treehugger Robot
948c4086af Merge "Create an until function to check location permission" 2020-01-16 00:30:39 +00:00
Roshan Pius
322c2f71f3 Merge "Settings: Formalize Wifi Mainline usages" 2020-01-16 00:26:09 +00:00
TreeHugger Robot
2b9e33d039 Merge "Adds a flag to force the Nav Bar handle to remain visible" 2020-01-16 00:25:44 +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
Qingxi Li
cd4a08fb4a Create an until function to check location permission
This util function will check whether the app has location permission
and whether the location mode is enabled for the users. This function
will be used by both connectivity service and wifi networks.

Bug: 142072839
Test: atest ConnectivityUtilTest
Change-Id: I5558ed04e5ef28033a1c649f5491f2f15aa63557
Merged-In: I5558ed04e5ef28033a1c649f5491f2f15aa63557
2020-01-15 15:24:01 -08: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
Brad Ebinger
bec99bade4 Remove phoneId from ImsUceManager
ImsUceManager does not need to be created per phoneId, since
the UCE service is created per subscription in RcsStackAdaptor.

Fixes: 147319232
Test: manual; bring up/down RcsService on a MSIM device
Change-Id: If9f89f8f083197c68900a6c1a51837ce0dd0b4a0
2020-01-15 22:21:10 +00:00
Govinda Wasserman
8b0454689e Adds a flag to force the Nav Bar handle to remain visible
Test: Tested locally
Change-Id: I74395aee1856a735b175af88ec87f12780ee9ff5
2020-01-15 17:12:35 -05: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
Muhammad Qureshi
089d1bb28d StatsEvent @SystemApi
Make StatsEvent and StatsLog.write(StatsEvent) @SystemApi.

Bug: 146383532
Test: m

Change-Id: I15050734e757bdb622fb83e3ef244a6ebd26923b
2020-01-15 12:02:01 -08:00
Evan Rosky
718bc41353 Merge "Add focusability into the hierarchy and Container transaction" 2020-01-15 19:42:47 +00:00
Mike Ma
73287d1ab3 Merge "Incident Report Extension API" 2020-01-15 19:27:55 +00:00
TreeHugger Robot
458fbcba7f Merge "Add conversation-centric inline controls" 2020-01-15 19:09:53 +00:00
TreeHugger Robot
bcc07fc3b9 Merge "Minor fixes for devices without WallpaperService." 2020-01-15 19:04:57 +00:00
TreeHugger Robot
5988021002 Merge "Multiple shortcut menu for android R (6/n)." 2020-01-15 19:02:52 +00:00
Treehugger Robot
e88817bd42 Merge changes Ie816e0c6,I5b94e92a,I5391ac49,If074bed1
* changes:
  DO NOT MERGE Fix AppOpsServiceTest
  DO NOT MERGE Don't throw exception in AppOpsManager.checkOp
  DO NOT MERGE Remove unnecessary internal APIs.
  DO NOT MERGE SetMode: Don't call into PM with AppOps lock held
2020-01-15 19:01:15 +00:00
lumark
970d9d2e0c Introduce ImeFocusController
Introduced ImeFocusController to manage
IME focus target and retrieve IME target event from ViewRootImpl.

With this CL, removed InputMethodManager focus check related methods
and replaced with below methods in ImeFocusController:
  - onPreWindowFocus
  - onPostWindowFocus
  - onViewFocusChanged
  - onViewDetachedFromWindow
  - onWindowDismissed
  - onProcessImeInputStage

Since all methods are guaranteed to interact within View or
ViewRootImpl with UiThread, so it also benefits that we can without any
lock protection, and ViewRootImpl will no longer depend on
InputMethodManager methods call in the end.

Also, Add mHasImeFocus in View.AttachInfo, for propogating if this view's
window is IME focused, if so, View#notifyFocusChangeToInputMethodManager
-> ImeFocusController#onViewFocusChanged will be called to
notify the focus change to corresponding IME focus controller.

Bug: 141738570
Test: atest SearchViewTest, FocusHandlingTest
Test: atest ActivityViewTest, MultiDisplayClientTests,
      MultiDisplaySystemDecorationTests

Change-Id: Ib455704fe1e9d243f93190a84f230210dbceac2a
2020-01-16 02:57:08 +08:00
Nikita Dubrovsky
e6cf79bcab Merge "Enable cursor drag by default for editable TextViews" 2020-01-15 18:52:56 +00:00
Nikita Dubrovsky
ca73951a92 Merge "Add explicit check to not trigger a cursor drag via the mouse" 2020-01-15 18:46:59 +00:00