Commit Graph

25392 Commits

Author SHA1 Message Date
Soonil Nagarkar
b60d7f4fef Merge "Correct visibility for LOCATION_MODE_ON" into qt-dev
am: ec554bddec

Change-Id: I24a5830e2d3fc38f52b394bfec9a8ddaa7b8a07a
2019-04-30 18:44:30 -07:00
Svetoslav Ganov
c260897739 Merge "Address API council feedback" into qt-dev
am: 1a5d1728af

Change-Id: Ife0cafa6a2e6eff902ce4b1439c9d002eb4ed643
2019-04-30 11:55:25 -07:00
Mady Mellor
67350795a5 Merge "Remove bubble API added & deprecated in Q" into qt-dev
am: 02d6277b95

Change-Id: Ie77a56ba27168d33aaad4af3a8749fa10fa8ed0a
2019-04-30 11:20:30 -07:00
Sudheer Shanka
5b3b80a034 Merge "Deprecate DownloadManager.allowScanningByMediaScanner/setVisibleInDownloadsUi" into qt-dev
am: 464762e5a2

Change-Id: Ibc78034434a4f9b439a1f2fc7d8cb804f18a1d8f
2019-04-30 09:37:57 -07:00
Jeff Sharkey
b275840ab8 Merge "Make it clear that legacy storage is deprecated." into qt-dev
am: 05dc2a5744

Change-Id: Ifa09b0a354a16d859ac23d1379309e603395c3b3
2019-04-30 09:28:00 -07:00
Jeff Sharkey
dc9cdc0e79 Merge "Deprecate DownloadManager.addCompletedDownload." into qt-dev
am: 0107bbb1ef

Change-Id: I4d29cfe8d981cd7e31b1f54576dfe13bf7d7bf44
2019-04-30 09:18:03 -07:00
Hai Zhang
8ef5712f8a Merge "Add FLAG_PERMISSION_GRANTED_BY_ROLE." into qt-dev
am: 9ab1a0daf3

Change-Id: I56007c9fa5c27bc6429e98891da3ab04b830b26e
2019-04-30 09:12:45 -07:00
Philip P. Moltmann
44bf4dbe91 Merge "Allow PermissionControllerService implementer control own threading" into qt-dev
am: b7b08d0fd1

Change-Id: Id90331fc9eb93593e5fbaddf130ed67ac4d57101
2019-04-29 18:34:19 -07:00
Soonil Nagarkar
c67cc12148 Correct visibility for LOCATION_MODE_ON
As per API feedback in b/126727563, move LOCATION_MODE_ON to SystemApi
instead of deprecated. This is safe as this constant is not used
anywhere yet.

Test: manual
Bug: 126727563
Change-Id: Iddbea546d1585cb8677c4adb97e465d5ac7a76a4
Merged-In: Iddbea546d1585cb8677c4adb97e465d5ac7a76a4
(cherry picked from commit 7449108978)
2019-04-30 01:06:46 +00:00
Mady Mellor
9629b349b9 Merge "Make lifecycle events for bubble activity views report normally" into qt-dev
am: 7e36009dd0

Change-Id: I49795830a7b8bf5c35d295b04d2e05031ef7d0bb
2019-04-29 15:55:56 -07:00
Chavi Weingarten
b88735ee09 Merge "Added direct call to syncInputTransactions" into qt-dev
am: 6ce572ec6c

Change-Id: I5cad28df4d1d5c689b9d5de086eefc9927b265fc
2019-04-29 12:33:28 -07:00
Zimuzo Ezeozue
a9fd8e1ff1 Merge "Change watchdog PackageInfo to PackageConfig" into qt-dev
am: 0f6db7d1dd

Change-Id: I2d0b4cc3c39e9fa204010d0b40b6cd304ca4844a
2019-04-29 12:09:21 -07:00
Svetoslav Ganov
1a5d1728af Merge "Address API council feedback" into qt-dev 2019-04-29 16:59:13 +00:00
Mady Mellor
02d6277b95 Merge "Remove bubble API added & deprecated in Q" into qt-dev 2019-04-29 16:17:15 +00:00
Svet Ganov
3b6be08c3d Address API council feedback
Make the get actions API async. Also fix a potenrial
memory leak when exchaning callbacks.

Test: atest CtsVoiceInteractionTestCases

bug:129705716

Change-Id: I91f1beb3dc7a395c6c6307ca4601fe7b7097f6e3
2019-04-28 23:01:30 -07:00
Sudheer Shanka
464762e5a2 Merge "Deprecate DownloadManager.allowScanningByMediaScanner/setVisibleInDownloadsUi" into qt-dev 2019-04-28 22:59:45 +00:00
Jeff Sharkey
05dc2a5744 Merge "Make it clear that legacy storage is deprecated." into qt-dev 2019-04-28 18:02:55 +00:00
Sudheer Shanka
5b2e695cd0 Deprecate DownloadManager.allowScanningByMediaScanner/setVisibleInDownloadsUi
Bug: 131483165
Test: n/a
Change-Id: I8e7f9c29d9bb323a7c0849e9ae4a87d0e74b16ab
2019-04-28 10:15:26 -07:00
Jeff Sharkey
0107bbb1ef Merge "Deprecate DownloadManager.addCompletedDownload." into qt-dev 2019-04-28 17:03:27 +00:00
Hai Zhang
9ab1a0daf3 Merge "Add FLAG_PERMISSION_GRANTED_BY_ROLE." into qt-dev 2019-04-28 14:41:09 +00:00
Jeff Sharkey
488162bfef Make it clear that legacy storage is deprecated.
Bug: 131469880
Test: none
Change-Id: I52e009c1ebfc59958d04e5b33a6f4228cdecfcf4
2019-04-28 13:43:52 +00:00
Sudheer Shanka
0b70c2a1b4 Deprecate DownloadManager.addCompletedDownload.
Bug: 131483165
Test: n/a
Change-Id: Ie7df900e4cd79dcb4578f1f86fc44ca69356fd7b
2019-04-27 20:12:42 -07:00
Mady Mellor
eae986e474 Remove bubble API added & deprecated in Q
Test: treehugger
Bug: 131428392
Change-Id: I272c830ab1f63e8de8ef6b03d74d7d60fad2388c
2019-04-26 14:00:20 -07:00
Hai Zhang
e617076fb5 Add FLAG_PERMISSION_GRANTED_BY_ROLE.
We need a flag to track permissions granted by role, otherwise upon
revocation we might revoke permission that was already granted before
the role is granted.

Bug: 124452117
Bug: 130231314
Bug: 131252995
Test: presubmit
Change-Id: I0abd89756e8dc943c19d18315a8dcc6890f6fd2d
2019-04-26 23:56:58 +08:00
Sunny Goyal
70db79ab0f Adding API for defining and invoking DirectActions
DirectActions are abstract actions defined by an Activtiy. The
actual definition of these actions will be available through
the support lib.

This API provides a secure channel for system or assistant to
interact with a running app using these Actions.

Test: atest CtsVoiceInteractionTestCases
Test: added android.voiceinteraction.cts.DirectActionsTest

Bug: 129705716

Exempt-From-Owner-Approval: Resolving merge conflict

Change-Id: I0ce568e0d8f41e0fe46306052016a74c7b394efa
(cherry picked from commit d40c345536)
2019-04-26 00:39:53 +00:00
Philip P. Moltmann
b7b08d0fd1 Merge "Allow PermissionControllerService implementer control own threading" into qt-dev 2019-04-25 23:24:45 +00:00
Philip P. Moltmann
a7f181162e Allow PermissionControllerService implementer control own threading
Hence execute on binder-thread and send callback.

Fixes: 131314749
Test: atest --test-mapping packages/apps/PermissionController/src/com/android/packageinstaller/permission/service:presubmit
Change-Id: Ic5286a1b02532bcc0241877d970d0fc933b27f85
2019-04-25 14:00:28 -07:00
Mady Mellor
7e36009dd0 Merge "Make lifecycle events for bubble activity views report normally" into qt-dev 2019-04-25 20:19:30 +00:00
Chavi Weingarten
6ce572ec6c Merge "Added direct call to syncInputTransactions" into qt-dev 2019-04-25 16:27:37 +00:00
Zimuzo Ezeozue
0f6db7d1dd Merge "Change watchdog PackageInfo to PackageConfig" into qt-dev 2019-04-25 09:58:52 +00:00
Sunny Goyal
d40c345536 [DO NOT MERGE] Adding API for defining and invoking DirectActions
DirectActions are abstract actions defined by an Activtiy. The
actual definition of these actions will be available through
the support lib.

This API provides a secure channel for system or assistant to
interact with a running app using these Actions.

Test: atest CtsVoiceInteractionTestCases
Test: added android.voiceinteraction.cts.DirectActionsTest

Bug: 129705716

Change-Id: I0ce568e0d8f41e0fe46306052016a74c7b394efa
2019-04-25 00:06:02 -07:00
chaviw
84dec9f7c6 Added direct call to syncInputTransactions
Previously, there was only a way to inject input after syncing inputs.
However, some tests require a direct call to sync inputs since we need
to ensure the info was propagated to InputManager native before
continuing with the test. This exposes a method just to
syncInputTransactions.

Bug: 130695122
Test: ActivityLifecycleTopResumedStateTests
Test: MultiDisplayPolicyTests
Change-Id: Ie3115741a20d04c743fd854ac421dc3705332488
2019-04-24 17:01:31 -07:00
Jeff Sharkey
7a572d932f Merge "Rename Environment method to follow attribute." into qt-dev
am: 16641365aa

Change-Id: I9b1ad00e1b4a29323a9ba9361487cedc3738b851
2019-04-24 15:49:15 -07:00
Philip P. Moltmann
979c3103b4 Merge "Call PermissionControllerService on workerthread" into qt-dev
am: 4da5dc4df7

Change-Id: I1823a57f447168a8b593d4576bef288c0a007523
2019-04-24 14:49:03 -07:00
Zimuzo
1a9aac7b33 Change watchdog PackageInfo to PackageConfig
Test: atest PackageWatchdogTest
Bug: 131165818
Change-Id: Ie3a385468a0de05bc55862e6f71513077d44bbc0
2019-04-24 20:44:52 +01:00
Jeff Sharkey
16641365aa Merge "Rename Environment method to follow attribute." into qt-dev 2019-04-24 18:57:20 +00:00
Mady Mellor
60101c9f29 Make lifecycle events for bubble activity views report normally
There are some extra onPause / onResume events in ActivityView due to
SysUI calling startActivity in onActivityViewReady which happens a bit
before the display being turned on.

This CL posts the startActivity call which is enough to avoid the extra
lifecycle events.

This CL also adds new method on ActivityView to startActivity with your own
ActivityOptions (because posting causes activity transition to occur...)

Test: manual - have Bubbles test APK
             - create a new bubble
             - adb logcat | grep "BubbleActivity"
             - observe the logging to make sure lifecycle events behave
               normally
Bug: 130363466
Change-Id: Ia44d6033e5cff625222006632b7bdc4dc1e59e81
2019-04-24 10:21:34 -07:00
Chiachang Wang
3429aac7ab Merge "Remove Settings constants for NetworkStack" into qt-dev
am: c84e33b3f1

Change-Id: I7291cfa86cd6e907df35e8fbc97e2e9a77e56cab
2019-04-24 09:15:30 -07:00
Philip P. Moltmann
4da5dc4df7 Merge "Call PermissionControllerService on workerthread" into qt-dev 2019-04-24 15:28:25 +00:00
easoncylee
d801826073 Merge "Change the test mapping configuration of GTS modules by using "imports."" into qt-dev
am: c37d832194

Change-Id: I1d6e329d5001d056d0d9c73c94ac0b4ed881ee63
2019-04-24 06:00:23 -07:00
TreeHugger Robot
c84e33b3f1 Merge "Remove Settings constants for NetworkStack" into qt-dev 2019-04-24 11:46:25 +00:00
TreeHugger Robot
c37d832194 Merge "Change the test mapping configuration of GTS modules by using "imports."" into qt-dev 2019-04-24 09:36:07 +00:00
Svet Ganov
e572e48b16 Merge "Address API council feedback" into qt-dev
am: f8c904958b

Change-Id: I64b2ee4e8e688743ca5c515328408998405aa0ba
2019-04-23 21:51:03 -07:00
Svet Ganov
2224cb827f Address API council feedback
Test: manual

bug:130643623

Change-Id: I489f32858abfa4fe8eeda96cbb103d75e2a87551
2019-04-24 02:14:48 +00:00
Hyundo Moon
08e1c031f5 Merge "Make MediaController#getSessionInfo() as @NonNull" into qt-dev
am: 007bb68bdb

Change-Id: Iee3057e1d9db477461e2d341c46bad1ef0377cb4
2019-04-23 19:10:59 -07:00
Hyundo Moon
007bb68bdb Merge "Make MediaController#getSessionInfo() as @NonNull" into qt-dev 2019-04-24 01:31:39 +00:00
Anil Admal
ca2e942b7f Merge "Add separate hasCapabilityName() methods in GnssCapabilities" into qt-dev
am: d4203ddebf

Change-Id: Ifaf7ae51533fce57faa8cfde01d5e245b0b555e6
2019-04-23 09:56:40 -07:00
Anil Admal
f249ed895b Merge "Change getGnssCapabilites() return type to @NonNull" into qt-dev
am: 69195f2b92

Change-Id: I5764dcda8bd5c5c542c957f98d573f5a8269cddc
2019-04-23 09:50:14 -07:00
Anil Admal
d4203ddebf Merge "Add separate hasCapabilityName() methods in GnssCapabilities" into qt-dev 2019-04-23 15:32:05 +00:00
Anil Admal
69195f2b92 Merge "Change getGnssCapabilites() return type to @NonNull" into qt-dev 2019-04-23 15:31:48 +00:00