Commit Graph

12674 Commits

Author SHA1 Message Date
Rhed Jao
18dcc695de Merge "Fix a11y shortcut failed to be disabled by the warning dialog." 2020-01-17 08:11:56 +00:00
PETER LIANG
75d45584a1 Merge "Multiple shortcut menu for android R (7/n)." 2020-01-16 12:05:58 +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
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
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
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
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
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
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
TreeHugger Robot
5988021002 Merge "Multiple shortcut menu for android R (6/n)." 2020-01-15 19:02:52 +00:00
Rhed Jao
f3fbcf5d43 Fix a11y shortcut failed to be disabled by the warning dialog.
Bug: 147330765
Test: atest AccessibilityShortcutControllerTest
Change-Id: I0eed04c7892a22be3721ca08562fb9121a257847
2020-01-15 21:44:22 +08:00
Peter_Liang
f11c17e0ec Multiple shortcut menu for android R (6/n).
Implementation for clicking the target item.

Change-Id: Ib91be1102791ea77768c5c69dbe00535cdc84baf
Fix: b/146969684
Test: manual test
2020-01-15 21:41: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
PETER LIANG
b85c3a8f88 Merge "Multiple shortcut menu for android R (5/n)." 2020-01-15 06:13:01 +00:00
Ivan Chiang
84b55928a1 Update FLAG_DIR_BLOCK_TREE to FLAG_DIR_BLOCKS_OPEN_DOCUMENT_TREE
Test: m -j
Bug: 144764129
Change-Id: I0653fa1e16869db8a2ccc4425d368677c27873bc
2020-01-15 11:02:27 +08: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
Nathan Harold
c564b1dc33 Add Callback to notify changes of barring status
-Create a BarringInfo class to pass Barring information
 from HAL to PhoneStateListener.
-Add a multi-callback registrant so that ServiceStateTracker
 and potentially DcTracker can also listen to barring info in
 the future.

Bug: 143226991
Test: make update-api && make && atest BarringInfoTest
Change-Id: I08240259f3142beeca991238bf705236f0303954
2020-01-14 13:54:09 -08:00
Automerger Merge Worker
07a3f0fe8d Merge "Use new UnsupportedAppUsage annotation." am: c674b05757 am: 1dbb9a95cf
Change-Id: I2fd5afa6c99c6abc99442571a20e9c30e5e807d8
2020-01-14 14:13:55 +00:00
Treehugger Robot
c674b05757 Merge "Use new UnsupportedAppUsage annotation." 2020-01-14 13:50:12 +00:00
Peter_Liang
3629a4b58e Multiple shortcut menu for android R (5/n).
Add white listing services and implementation for it.

Bug: b/146815874
Test: manual test
Change-Id: I137a8ee730c2c2ba33d28784f038820372e4cf7d
2020-01-14 18:00:16 +08:00
Keun young Park
f07360f874 Migrate BootTime related metrics in BootReceiver
Bug: 132691841
Test: Build
Change-Id: I0e0140257a16337912dc84426eb9dab85665035e
2020-01-13 19:43:06 -08:00
Automerger Merge Worker
80524e4450 Merge "ims:rcs uce update" am: 70e9b70469 am: ada4938c50 am: c40d95c599
Change-Id: I86e22d23d4b8686e65a9dea7622de6bdbbbc1e07
2020-01-14 00:44:50 +00:00
Automerger Merge Worker
c40d95c599 Merge "ims:rcs uce update" am: 70e9b70469 am: ada4938c50
Change-Id: I50c8fb2e2835853c4d033ca45058ba42ff36a26a
2020-01-14 00:28:35 +00:00
Brad Ebinger
70e9b70469 Merge "ims:rcs uce update" 2020-01-14 00:07:24 +00:00
Automerger Merge Worker
8d2f9806c7 Merge "Add Callback for Registration Failure" am: 93db49faec am: 5532d79f90
Change-Id: I5e6e2b3b41b24e6122963644633d63d14e8a7605
2020-01-13 21:24:06 +00:00
Qingxi Li
21c2d78f07 Merge "Create an until function to check location permission" 2020-01-13 21:23:09 +00:00
Treehugger Robot
93db49faec Merge "Add Callback for Registration Failure" 2020-01-13 20:58:00 +00:00
Miranda Kephart
d80563874b Merge "Add flag for scrolling screenshots" 2020-01-13 20:03:55 +00:00
Zhen Zhang
615c9ee4d4 Merge "Don't let RecyclerView consume fling action when there is no further space." 2020-01-13 18:48:10 +00:00
Miranda Kephart
df62ee6e16 Add flag for scrolling screenshots
Adds a flag to control whether scrolling is enabled, separately
from the new UI flow. Currently this just controls whether the
'Extend' chip is shown.

Bug: 147424031
Test: tested with flag on and off to ensure expected behavior
Change-Id: I6fba301b058e783083d40f28366dfb4a6af4495b
2020-01-13 11:46:54 -05:00
Automerger Merge Worker
62dba7a4e6 Merge "Use new UnsupportedAppUsage annotation." am: b2c3eaaf10 am: 904b7f9de2
Change-Id: I62868fbcba5ffd65a441808e2a0cda59c9597654
2020-01-13 14:37:21 +00:00
Treehugger Robot
b2c3eaaf10 Merge "Use new UnsupportedAppUsage annotation." 2020-01-13 14:27:29 +00:00
Automerger Merge Worker
627480d918 Merge "Use new UnsupportedAppUsage annotation." am: 70a89435e7 am: 4220fc33a1
Change-Id: I0960879c5cd2791fa7cc27746474d6ebf2f61c9e
2020-01-13 13:22:33 +00:00
Treehugger Robot
70a89435e7 Merge "Use new UnsupportedAppUsage annotation." 2020-01-13 13:04:48 +00:00
Nathan Harold
c41cb737ed Add Callback for Registration Failure
Add a callback to PhoneStateListener to indicate that
a registration procedure has failed.

Bug: 143187047
Test: make update-api && make
Merged-In: I4a4ba4479dfd465a9d8063135f3b4bf4e1323e99
Change-Id: I4a4ba4479dfd465a9d8063135f3b4bf4e1323e99
(cherry picked from commit 5e6e983cad)
2020-01-12 10:33:03 -08:00
Qingxi Li
97d01e2ff0 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
2020-01-10 14:01:55 -08:00
TreeHugger Robot
40a36f90f5 Merge "UiEventLogger option to log uid + package_name." 2020-01-10 21:08:43 +00:00
Daulet Zhanguzin
252fcabe07 Merge "Deprecate checkNotNull in favor of Objects.requireNonNull()." am: 7b511f0dd8 am: 1e62d2dd40
am: 5bb34c7861

Change-Id: I42b5f3730d4ae3da871c8f36ba1630a2d0552af8
2020-01-10 11:23:45 -08:00
Will Brockman
a5f1728ef7 UiEventLogger option to log uid + package_name.
Bug: 147488850
Test: SystemUITests
Change-Id: I25d3faebace5a2803784d62168b6758bfaf8ce0c
2020-01-10 13:51:59 -05:00
Automerger Merge Worker
5bb34c7861 Merge "Deprecate checkNotNull in favor of Objects.requireNonNull()." am: 7b511f0dd8 am: 1e62d2dd40
Change-Id: I9493491cecb3c2308d961e167c276204587a7ce6
2020-01-10 17:17:30 +00:00
Nicholas Ambur
b2a5c29796 Merge "add parameter control to AlwaysOnHotwordDetector" 2020-01-10 17:08:00 +00:00
Daulet Zhanguzin
7b511f0dd8 Merge "Deprecate checkNotNull in favor of Objects.requireNonNull()." 2020-01-10 16:36:15 +00:00
Peter_Liang
8089bc4daa Multiple shortcut menu for android R (4/n).
Implementation for deleting the target.

Fix: b/146967898
Test: manual test
Change-Id: Id5d10fa3cc7e1b3b818787837a4f5cb86b2e777f
2020-01-10 16:53:11 +08:00
Automerger Merge Worker
a6110193f8 Merge "Use Parcelable CellIdentity instead of CellLocation in AIDL." am: 9bda007cb8 am: a881005317
Change-Id: I14834c28abb17cdc0397950470e45f4e73462dff
2020-01-10 04:46:53 +00:00
Nicholas Ambur
f94db1c822 add parameter control to AlwaysOnHotwordDetector
Per-model control to AlwaysOnHotwordDetector interface.
Models are selected by keyphrase and locale associated with the
AlwaysOnHotwordDetector instance.

Bug: 141929369
Test: tested manually with test app
Change-Id: Iffeb0954059fa030d8a4fefb934a3e665323be37
2020-01-09 18:18:47 -08:00