Commit Graph

93710 Commits

Author SHA1 Message Date
Jeff Sharkey
b7be677e24 Merge "Explicitly request clearing of external storage." into qt-dev
am: 9637326ea8

Change-Id: I8ff972872299581945cff1748e79ca84e8ac8b47
2019-05-14 19:06:04 -07:00
Mehdi Alizadeh
2f0c8f7e69 Merge "Updates java doc in AppPredictionService" into qt-dev
am: 60c9f4803a

Change-Id: I7768bc528e72e3422cdb61bf944a403a30bb4af5
2019-05-14 18:39:28 -07:00
Jeff Sharkey
75ab7a6293 Merge "Remember last time we mounted a volume." into qt-dev
am: 3ad357f649

Change-Id: I01fe1aa640f3db4654bb7f27349397ac946b1bc9
2019-05-14 18:30:17 -07:00
Jeff Sharkey
9637326ea8 Merge "Explicitly request clearing of external storage." into qt-dev 2019-05-15 01:29:08 +00:00
Mehdi Alizadeh
60c9f4803a Merge "Updates java doc in AppPredictionService" into qt-dev 2019-05-15 01:14:05 +00:00
Jeff Sharkey
3ad357f649 Merge "Remember last time we mounted a volume." into qt-dev 2019-05-15 01:07:03 +00:00
Lei Yu
fcde0225e6 Merge "Use merged NetworkTemplate to query data usage" into qt-dev
am: 35fcd6b0e3

Change-Id: I1030f49eb9e24ad8bc4a10c3ab8890c34d20f8f6
2019-05-14 17:51:03 -07:00
Lei Yu
35fcd6b0e3 Merge "Use merged NetworkTemplate to query data usage" into qt-dev 2019-05-15 00:27:23 +00:00
Mehdi Alizadeh
8ed33831c9 Updates java doc in AppPredictionService
Bug: 123591863
Test: None
Change-Id: I1ef31e6c723199432f852ad38e1af35d6017cc1f
2019-05-14 15:05:31 -07:00
Jeff Sharkey
3811f35ff7 Remember last time we mounted a volume.
Bug: 131751531
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ia5f6153aa15ea923d30085060269125e15e8e62c
2019-05-14 15:50:00 -06:00
Jeff Sharkey
3f704637b4 Explicitly request clearing of external storage.
Similar to how we target DE and CE storage areas, callers need to
specifically ask to work with EXTERNAL storage.  This is because
external storage often lives on a separate device from where internal
DE and CE data lives.

As one specific example, if we're moving an app between two
"internal" storage devices, we don't want to clean up the data
for that package on external storage, since it's not being moved.

This change also expands to all mounted external storage devices,
not just the storage backed by the incoming UUID.

Bug: 113277754
Test: atest android.appsecurity.cts.StorageHostTest
Test: atest android.appsecurity.cts.ExternalStorageHostTest
Test: atest --test-mapping frameworks/base/services/core/java/com/android/server/pm/
Change-Id: Ie125303726dd757ee45bd373f53addb35569c2f7
2019-05-14 14:55:15 -06:00
Felipe Leme
69cd215add Merge "Fixed NPE on VoiceInteractor.destroy()" into qt-dev
am: aa6965983b

Change-Id: Ie61b20e6726e8c6d2bda92c65514d2e2f38213dd
2019-05-14 13:42:04 -07:00
TreeHugger Robot
aa6965983b Merge "Fixed NPE on VoiceInteractor.destroy()" into qt-dev 2019-05-14 20:27:44 +00:00
Felipe Leme
8092cdaeda Fixed NPE on VoiceInteractor.destroy()
Fixes: 131411751
Test: atest CtsVoiceInteractionTestCases # ran a few times on different devices, got no failures

Change-Id: I484db53772bf503f091f30f67ae92c8ae52d4105
2019-05-14 10:15:31 -07:00
Kweku Adams
ec114695bb Merge "Using ParceledListSlice to send large lists over Binder." into qt-dev
am: 3245017b87

Change-Id: If6de28dec87bb63bfa3329fb599164c0dc29a39f
2019-05-14 09:42:09 -07:00
TreeHugger Robot
3245017b87 Merge "Using ParceledListSlice to send large lists over Binder." into qt-dev 2019-05-14 16:25:28 +00:00
Andrei-Valentin Onea
bb5a8217e9 Merge "Add publicAlternatives to @UnsupportedAppUsage" am: 2ac6496fb8
am: d9a8aaa62b

Change-Id: Ibda505834ff9f238e0b1bf499a56f968cb058fda
2019-05-14 08:38:38 -07:00
Andrei-Valentin Onea
e920ee4f03 Merge "Extend OWNERS for UnsupportedAppUsage.java" am: cc3a1ccbce
am: aa4871c6b7

Change-Id: Ia841601cc4c26600a8cf77117008ba0d0b2a336b
2019-05-14 08:21:50 -07:00
Andrei-Valentin Onea
2ac6496fb8 Merge "Add publicAlternatives to @UnsupportedAppUsage" 2019-05-14 15:13:42 +00:00
Aran Ink
3ff2f70f39 Remove GlobalActionsDialog values from FeatureFlagUtils.
am: f4744c686f

Change-Id: Idce0f146dcf5540803bc9f1b079742958088ba55
2019-05-14 07:43:53 -07:00
Aran Ink
f4744c686f Remove GlobalActionsDialog values from FeatureFlagUtils.
Merged-in: I5ca5e760d9a987c75a93c43783ad2b38728d48fc
Test: Automated tests pass. Manual testing shows GAD still works.
Fixes: 123397865
Fixes: 127644235

Change-Id: I0a8e285c96eea566ed1b19fa05e4143324f5937b
2019-05-14 14:31:07 +00:00
Svet Ganov
a320ff0763 Merge "Add an API for launching intent to view permission usage." into qt-dev
am: 13e4ff16c4

Change-Id: I28e47d8e7209785f6841631763b88610ecc9e830
2019-05-14 06:48:15 -07:00
TreeHugger Robot
13e4ff16c4 Merge "Add an API for launching intent to view permission usage." into qt-dev 2019-05-14 13:24:56 +00:00
Andrei Onea
fac84c9a50 Extend OWNERS for UnsupportedAppUsage.java
Add compat-team members as owners of UnsupportedAppUsage.java

Test: n/a
Change-Id: I85c15cca2675b6b52049da16955710797067d05b
2019-05-14 11:31:15 +01:00
Eugene Susla
97fb2a69bf Merge "Revert "MemoryIntArray: track the owned file descriptor in a PFD."" into qt-dev
am: 1198fc4e71

Change-Id: Ifb91c1e8bb2c72e607bce0f733b0c95c5b5fdce6
2019-05-13 15:59:27 -07:00
Eugene Susla
1198fc4e71 Merge "Revert "MemoryIntArray: track the owned file descriptor in a PFD."" into qt-dev 2019-05-13 22:21:48 +00:00
Varun Shah
e9b4b14804 Merge "Clarify ContentResolver docs." into qt-dev
am: 81f5007d5f

Change-Id: Id76a05f4782d23a699c971077d391199c48a6173
2019-05-13 13:54:43 -07:00
TreeHugger Robot
81f5007d5f Merge "Clarify ContentResolver docs." into qt-dev 2019-05-13 20:38:54 +00:00
Julia Tuttle
ba01cd11b6 Merge "Fix typo." into qt-dev
am: 2d976f9b3d

Change-Id: Ia9a534658e099b7bec121ce1f61c18b5650a4f00
2019-05-13 12:49:57 -07:00
TreeHugger Robot
2d976f9b3d Merge "Fix typo." into qt-dev 2019-05-13 19:31:34 +00:00
Lei Yu
c00a30eb8a Use merged NetworkTemplate to query data usage
This CL uses merged NetworkTemplate so that it shows correct
data for carrier which is a virtual that has multiple
subscriberId under the hood.

By doing this, this CL also adds several hidden API so settings
can query by NetworkTemplate directly.

Fixes: 120566366
Test: RunSettingsLibRoboTests
Change-Id: I8b747697933c75b48b14387adafb5ac9ca165926
2019-05-13 11:42:23 -07:00
Junyu Lai
b05b4d609f Merge changes I92f6d977,I06840834 into qt-dev
* changes:
  Limit unprivileged keepalives per uid
  Support customization of supported keepalive count per transport
2019-05-13 09:44:49 +00:00
junyulai
2ee367ece9 Support customization of supported keepalive count per transport
This change specifies the required minimum supported keepalives
in SDK, and allows OEMs to customize supported keepalive count
per network through resource overlay.

Bug: 129371366
Test: 1. m -j doc-comment-check-docs
      2. atest FrameworksNetTests

Clean cherry-pick of aosp/946359

Change-Id: I06840834d0ee8121358bf4829fe47ecf9964d395
Merged-In: I0218f3674628c13ead63fc9a873895ba7f113033
Merged-In: Ia667386c1a8949839871a6949d79552d9c8b88f0
2019-05-13 15:52:07 +09:00
Ryan Mitchell
edf745d255 Merge "Fix RelativeLayout rules" into qt-dev
am: a04e6a22ea

Change-Id: I9d662f1faf113ab25cafddc909f0e569c1796651
2019-05-12 20:50:42 -07:00
Svet Ganov
810d48445b Add an API for launching intent to view permission usage.
Adding a new intent acttion for the permission controller to ask an
app to show its permission usage to help the user understand what
and why is being used. We are adding a permission to protect this
action to prevent apps trampolining into other apps when asked to
show their permission usge.

Test: compiles

bug:131760942

Change-Id: I5217d6319fd98d40c8879bdd7af5fe466bf9143e
2019-05-13 03:40:13 +00:00
TreeHugger Robot
a04e6a22ea Merge "Fix RelativeLayout rules" into qt-dev 2019-05-13 03:36:47 +00:00
TreeHugger Robot
ac3b5006c2 Merge "Add CTS API coverage for APIs which are used by NetworkStack" into qt-dev 2019-05-13 02:41:34 +00:00
Jeff Sharkey
61aa9eceb8 Merge "Legacy insertImage() should use IS_PENDING." into qt-dev
am: 505c7de397

Change-Id: Iefdd21f43c2b9094d8242d3725b44229c5595c8c
2019-05-12 07:38:04 -07:00
Jeff Sharkey
505c7de397 Merge "Legacy insertImage() should use IS_PENDING." into qt-dev 2019-05-12 14:12:39 +00:00
Jeff Sharkey
a356f1989c Legacy insertImage() should use IS_PENDING.
Also stream known file directly into place instead of doing a lossy
and expensive transcode.

Bug: 131710636
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Icbfe4f79725c705a1197296f1fd4518c0179a9c1
2019-05-11 21:07:50 -06:00
Winson
4778632d30 DO NOT MERGE: Delete persisted historical app ops on package uninstall
am: 4e3b435c0e

Change-Id: I7228388fbd93e8554524f8ebed9372bbcaa0ad88
2019-05-10 18:47:35 -07:00
Kweku Adams
27657de659 Merge "Add extra comment for implementation." into qt-dev
am: b60e619257

Change-Id: I6a12f48c1b90b46e3dd8cfd69c280a97705aec22
2019-05-10 18:10:06 -07:00
Ryan Mitchell
400bc93c71 Fix RelativeLayout rules
A previous change restricted rules that are added to the rule dependency
graph to resource ids rather than just integers greater that zero.
Restore the previous behavior and also allow for negative resource ids
to work as expected.

Bug: 132447676
Test: loaded maps and view looks as expected
Change-Id: I88d86c77c696d1e494a743fdd2e398283383c64e
2019-05-10 17:48:58 -07:00
TreeHugger Robot
895d5c546c Merge "DO NOT MERGE: Delete persisted historical app ops on package uninstall" into qt-dev 2019-05-11 00:09:22 +00:00
TreeHugger Robot
b60e619257 Merge "Add extra comment for implementation." into qt-dev 2019-05-10 23:33:39 +00:00
Julia Tuttle
f4c92225a6 Merge "Clarify required/optional fields in BubbleMetadata." into qt-dev
am: 9af275a752

Change-Id: Ic23c6c52192a7c9598ae5a768511639a151baaeb
2019-05-10 16:24:34 -07:00
Amith Yamasani
a873befec5 Merge "Fix the constant value for hidden BIND flag" into qt-dev
am: 22f9d7ea44

Change-Id: I0bc38f605d9396102f8d02be9f28b08149183a69
2019-05-10 16:13:49 -07:00
Winson
52a1044cd2 Merge "Document non-effective mode return of AppOps batch fetch" into qt-dev
am: 1a91f0ddf3

Change-Id: I8f63a1a0516beb0b45ef9f94ff1fb11c3221da3d
2019-05-10 16:08:33 -07:00
TreeHugger Robot
9af275a752 Merge "Clarify required/optional fields in BubbleMetadata." into qt-dev 2019-05-10 22:22:37 +00:00
TreeHugger Robot
22f9d7ea44 Merge "Fix the constant value for hidden BIND flag" into qt-dev 2019-05-10 21:45:42 +00:00