Commit Graph

413408 Commits

Author SHA1 Message Date
TreeHugger Robot
662eb71dd0 Merge "Cleans up userId loop in clearPackageStateForUser" into qt-dev 2019-04-12 00:42:11 +00:00
Kevin Chyn
a0d2d2021d Merge changes from topic "face-logging" into qt-dev
* changes:
  Populate debug value for biometric atoms
  Adding debug value to Biometric atoms.
2019-04-12 00:14:36 +00:00
TreeHugger Robot
1d66b0b0d0 Merge "Update LoadedApk instead of re-creating on outdated cache" into qt-dev 2019-04-12 00:08:22 +00:00
TreeHugger Robot
116ca5db5b Merge "Adds sanity checks to session commit and abandon" into qt-dev 2019-04-12 00:07:21 +00:00
Lorenzo Colitti
5c7c6a4b7d Merge "Add support for TAP interfaces in TestNetworkManager." into qt-dev 2019-04-11 23:50:59 +00:00
Kevin Chyn
4858da4aa6 Populate debug value for biometric atoms
Fixes: 130363518

Test: Builds
Change-Id: I73e8bbb6d9f310ee025bce271bf9470b47626ecc
2019-04-11 16:41:44 -07:00
Yao Chen
f9585ca911 Merge "Add a config option to save the metrics data locally." into qt-dev 2019-04-11 23:33:14 +00:00
Peiyong Lin
8f0e1cddbf Merge "[GraphicsEnvironment] Expose API to query whether an app should use game driver." into qt-dev 2019-04-11 23:21:29 +00:00
Olivier Gaillard
769fc61488 Merge "Fix a problem with ValueMetric when used with conditions and no diffs." into qt-dev 2019-04-11 23:20:49 +00:00
Ying Zheng
a4b089bd10 Merge "Revert "Flip default value of headless user 0 flag."" into qt-dev 2019-04-11 23:08:01 +00:00
TreeHugger Robot
e355349c9e Merge "Magnify language selector dialog" into qt-dev 2019-04-11 23:04:48 +00:00
Hayden Gomes
5d211a8253 Merge "Add IntRange for min and max volume index getters" into qt-dev 2019-04-11 22:54:07 +00:00
TreeHugger Robot
e54aa32b9c Merge "[RTT] Clean up doc" into qt-dev 2019-04-11 22:36:39 +00:00
Philip P. Moltmann
0922770725 Merge changes from topic "DoNotCallAppOpsFromPermMananager" into qt-dev
* changes:
  Use PermissionPolicySve for fg perm app-ops
  Make perm policy synchronizer per user
  Make perm policy sve ready for additional usages
2019-04-11 22:35:14 +00:00
TreeHugger Robot
3d6d6f0085 Merge "Changed intents for data and saver tiles" into qt-dev 2019-04-11 22:20:13 +00:00
Philip P. Moltmann
08ccf9bba4 Merge "Handle onBindingDied in AbstractRemoteService" into qt-dev 2019-04-11 22:12:49 +00:00
Issei Suzuki
832c8a2cb8 Merge "Make activities invisible when the display is turned off." into qt-dev 2019-04-11 21:46:20 +00:00
TreeHugger Robot
3fe3dc7f5f Merge "Update documentation for fingerprint -> biometric" into qt-dev 2019-04-11 21:25:52 +00:00
Yao Chen
9a43b4f027 Add a config option to save the metrics data locally.
Usually after config owner calls statsd to get data, statsd will remove that data
forever. This cl adds an option to save historical data locally so that when a bugreport
is taken, it contains historical statsd metrics for debugging.

+ All existing guardrail on storage still apply, and local history data has lower
  priority when the guardrail is hit. On top of that, statsd will remove history
  files that are more than 2 days old.

+ Also fixed issues inside StorageManager (e.g.,
   using string::compare to sort by timestamp is problematic, redundant file size read, etc)

Test: statsd_test and manually
Fix: 126562025

Change-Id: I5238b9fd3069cbef5bcccabd2212bc4d6c734702
2019-04-11 14:15:43 -07:00
TreeHugger Robot
73913e3bf6 Merge "Fixing HardwareBuffer leak when creating a bitmap" into qt-dev 2019-04-11 21:06:40 +00:00
David Brazdil
618940c95f Merge "Update AppComponentFactory.instantiateClassLoader docs" into qt-dev 2019-04-11 20:46:24 +00:00
Olivier Gaillard
fbee91656b Fix a problem with ValueMetric when used with conditions and no diffs.
Bug: 130353160
Test: atest statsd_test
Change-Id: Ic045caaf38770b1d2ada46859bb13220ffc81ccd
2019-04-11 20:43:54 +00:00
Patrick Baumann
b3ba162ce0 Cleans up userId loop in clearPackageStateForUser
This change fixes incorrect user ID references while clearing package
state in the case that it is being called with USER_ALL. Thankfully
this scenario can only take place when a non-system child package is
uninstalled for all users.

Fixes: 120814622
Test: atest AppSecurityTests
Change-Id: I462c383ad68efcde88eaacdb62dfcd6490f343e0
2019-04-11 13:40:51 -07:00
TreeHugger Robot
44058c6efa Merge "MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS when doing default permission grants" into qt-dev 2019-04-11 20:30:42 +00:00
Philip P. Moltmann
9408f5804d Use PermissionPolicySve for fg perm app-ops
This avoids having to call into app-ops manager while holding the
package manager lock

Fixes: 124731615, 123436301
Test: atest CtsPermissionTestCases:android.permission.cts.SplitPermissionTest
Change-Id: Ie7d5302b4265ed012e2303f3c6e6c7219ff3afa9
2019-04-11 13:15:53 -07:00
Philip P. Moltmann
4868772bf1 Make perm policy synchronizer per user
Test: atest CtsAppOpsTestCases:android.app.appops.cts.AppOpsTest
            CtsPermission2TestCases:android.permission2.cts.RestrictedPermissionsTest
Bug: 124731615
Change-Id: Idac97b37d1f1268d211109a70d1b1627d4893342
2019-04-11 13:14:25 -07:00
Philip P. Moltmann
bd4943b44e Make perm policy sve ready for additional usages
We want to use the permission policy services for other things than
restriction of permissions. Hence factor out the restriction code from
the framework.

Also add some comments

Test: atest CtsAppOpsTestCases:android.app.appops.cts.AppOpsTest
            CtsPermission2TestCases:android.permission2.cts.RestrictedPermissionsTest
Bug: 124731615
Change-Id: Ic32f2097af805c3f06dd9cf625b3160f62a576b2
2019-04-11 13:11:30 -07:00
TreeHugger Robot
25076a030e Merge "Support status_bar_padding_top" into qt-dev 2019-04-11 20:06:19 +00:00
Lucas Dupin
863b3c8574 Merge "Dark Theme QS tile" into qt-dev 2019-04-11 20:02:23 +00:00
Hayden Gomes
695f8022fe Add IntRange for min and max volume index getters
Test: Built and ran on device
Bug: 129265140
Change-Id: Ibebc1c54de7e09e81dabd65c22e4fea8450547c8
2019-04-11 12:13:57 -07:00
joshmccloskey
1fad0f695d Adding debug value to Biometric atoms.
Bug: 129438832
Test: It builds
Change-Id: I86e3a39f0bd1ac0986a350611657a34b512e0aef
Merged-In: I86e3a39f0bd1ac0986a350611657a34b512e0aef
(cherry picked from commit 7d7cad2289)

Change-Id: I1a62086556093bea800e0756c757ba47a01b2c13
2019-04-11 11:46:24 -07:00
Winson
71cf350f8e Update LoadedApk instead of re-creating on outdated cache
Recreating the entire object drops the mApplication inside,
so multiple Application instances are unexpectedly created.

Instead, call into updateApplicationInfo to replace
the Resources object manually.

Bug: 129890769

Test: device boots, applies overlay paths correctly; was unable
to reproduce a case where the overlays are missing from the
system itself, other Resources/caching changes may have
decreased the occurrence rate

Change-Id: Ib5e7d6ca79ac5b37d5691ce327e3b66cc4672335
2019-04-11 11:36:04 -07:00
Alison Cichowlas
902e82278a Merge "Add a longpress timeout config for screenshot chord" into qt-dev 2019-04-11 18:33:43 +00:00
Gopinath Elanchezhian
7fc8ac4e22 Merge "Add option to enable tracing all the launches." into qt-dev 2019-04-11 18:07:46 +00:00
Patrick Baumann
00321b7026 Adds sanity checks to session commit and abandon
This change ensures we cannot commit or abandon a child session that has
been added to a parent session. It also ensures that a child session
being added to a parent has not already been added to another parent and
that it has not yet been committed or destroyed.

Fixes: 129534286
Test: atest CtsAtomicInstallTestCases:AtomicInstallTest
Change-Id: Id1b3524acb5bf546f7239ae644fb3080c0d3128b
2019-04-11 11:07:13 -07:00
TreeHugger Robot
1970cfddb3 Merge "Fix NetworkControllerDataTest fail if inflateSignalStrength is true" into qt-dev 2019-04-11 17:49:48 +00:00
TreeHugger Robot
dec79c3e94 Merge "BubbleData [5/n]: Split up StackView.setExpandedBubble" into qt-dev 2019-04-11 17:39:06 +00:00
TreeHugger Robot
49e9f80efd Merge "Wait for RELRO before starting WebViewZygote at boot." into qt-dev 2019-04-11 17:27:55 +00:00
TreeHugger Robot
ab48af4b76 Merge "Check device owner by callingUid in ActivityStarter" into qt-dev 2019-04-11 17:23:56 +00:00
Lucas Dupin
046282eabd Dark Theme QS tile
Creates Dark Theme tile and adds it to the default config,
under the fold.

Test: manually toggle tile
Fixes: 130253100
Change-Id: I2859d2eb20db1c6d9dd8e8e24979294316b905bb
2019-04-11 09:58:11 -07:00
Fabian Kozynski
2594b932c0 Changed intents for data and saver tiles
Changed the intents to point to the right settings. The intent in
CellularTile will point to the carrier selected as default for data if
there is one.

Test: manual, using DSDS
Fixes: 122676059
Change-Id: I71a8eac1754eaadda156209315a3a469e7e4f6d0
2019-04-11 12:34:13 -04:00
Mady Mellor
d8913d7eac Merge "Drop the 'initial' of suppressInitialNotification API" into qt-dev 2019-04-11 16:28:34 +00:00
gopinath
6acd95099e Add option to enable tracing all the launches.
This option is disabled by default.

Bug: b/129888684, b/130154337

Test : Ran app launch test case locally.

Change-Id: I1305361adf0cb80e2be6a191b8639f7a53e9abfc
(cherry picked from commit 806aa81113)
2019-04-11 16:19:32 +00:00
Ying Zheng
1deedca952 Revert "Flip default value of headless user 0 flag."
This reverts commit 4214a0933d.

Reason for revert: need to update per build

Bug: 130310171
Change-Id: I9ff55e9de4ec3ad64451ef41f34cbfe9b793a5e9
2019-04-11 16:16:46 +00:00
Chen Xu
d81cd26296 Merge "throw securityexception for notifyNetworkChange" into qt-dev 2019-04-11 15:56:02 +00:00
TreeHugger Robot
ac3d917aa3 Merge "Remove remaining deepCopy() usages in TextClassifier" into qt-dev 2019-04-11 15:54:52 +00:00
Zimuzo Ezeozue
f4e878d7ce Merge "Fixed PackageWatchdog health check state" into qt-dev 2019-04-11 15:54:46 +00:00
TreeHugger Robot
1c891d6772 Merge "Retry getting DynamicSystem service" into qt-dev 2019-04-11 15:53:52 +00:00
Issei Suzuki
62356a222a Make activities invisible when the display is turned off.
Bug: 127650360
Test: atest ActivityManagerMultiDisplayTests and existing tests pass.
Change-Id: I0943ef1024b32902826de6fd20ab2a8641059bd7
2019-04-11 17:51:46 +02:00
andychou
b935e68c2d Fix NetworkControllerDataTest fail if inflateSignalStrength is true
NetworkControllerBaseTest doesn't consider inflate signal strength
condition. Consider inflate condition when compare icon.

Bug: 130317133
Test: atest NetworkControllerDataTest pass
Change-Id: I2f9e994cb169001d4081ecead3702f9ef00234ff
2019-04-11 23:49:43 +08:00