• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


RSS
Rev. Time Author
9295a3f 2020-01-12 17:06:57 Bill Yi

Import translations. DO NOT MERGE

Change-Id: I5408c7ab27f2e104998d9232519328992c11a985
Auto-generated-cl: translation import

c98d4a4 2020-01-12 09:11:56 android-build-team Robot

Snap for 6128439 from b1d8ad5183a468a59d5fecb66e047d3007ed93c4 to qt-qpr2-release

Change-Id: Iec20fdd5f7b2876d7ce51280758be87f40530163

b1d8ad5 2020-01-11 17:53:46 Bill Yi

Import translations. DO NOT MERGE

Change-Id: I5a8acd5969781950322e34833e274c3c38fef446
Auto-generated-cl: translation import

3efce75 2020-01-11 07:54:13 Patrick Baumann

Fixes NPE when preparing app data during init

When deleting an unused static shared library on Q, the user manager was
fetched via mContext.getSystemService. At this time during boot, the
service wasn't registered and so null was returned. This has already
been addressed in R with a move to injecting dependencies in the
PackageManagerService constructor.

Bug: 142083996
Bug: 141413692
Test: manual; remove static dependency on eng Q build and reboot
Change-Id: I8ae4e331d09b4734c54cdc6887b273705dce88b1
Merged-In: I8ae4e331d09b4734c54cdc6887b273705dce88b1
(cherry picked from commit 5d3fc339b57950fd8621cb410865e8800ccb6873)

418c43c 2020-01-11 07:54:12 Patrick Baumann

Use KNOWN_PACKAGES when shared lib consumers

This change ensures we find ALL known packages that could be consuming a
shared library, not only currently installed ones. Without this check,
the system may get into a state in which we have currently uninstalled
but on-device apps that depend on a shared library that does not exist
on device.

This change also leaves static shared library packages on device even if
it's not installed for any of the remaining users as it could still be
used, but marked uninstalled for users in which it is consumed.

Bug: 141413692
Bug: 142083996
Test: Manual; attempt to remove shared lib after marking its consumer uninstalled.
Test: atest StaticSharedLibsHostTests
Change-Id: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
Merged-In: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
(cherry picked from commit 08315953bc42fb392c32293418dfb2a3e4ffbe53)

be00b5e 2020-01-11 07:54:11 Patrick Baumann

Handles null outInfo in deleteSystemPackageLI

This change adds null checks before accessing outInfo in
deleteSystemPackageLI.

Bug: 142083996
Bug: 141413692
Test: manual; remove static dependency on eng build and reboot
Change-Id: If0fd48343e89cbb77ccd25826656194195d5b0cd
(cherry picked from commit 17471016508bb9c9ffb8c3946dda0b4897d722f1)
Merged-In: If0fd48343e89cbb77ccd25826656194195d5b0cd
(cherry picked from commit 6afabce549f5725988b9c03de932c34e9d22f10e)

249c55e 2020-01-11 07:54:11 paulhu

Fix security problem on PermissionMonitor#hasPermission

PermissionMonitor#hasPermission only checks permssions that app
requested but it doesn't check whether the permission can be
granted to this app. If requested permission doens't be granted
to app, this method still returns that app has this permission.
Then PermissionMonitor will pass this info to netd that means
this app still can use network even restricted network without
granted privileged permission like CONNECTIVITY_INTERNAL or
CONNECTIVITY_USE_RESTRICTED_NETWORKS.

Bug: 144679405
Test: Build, flash, manual test
Change-Id: Iae9c273af822b18c2e6fce04848a86f8dea6410a
Merged-In: I8a1575dedd6e3b7a8b60ee2ffd475d790aec55c4
Merged-In: I2da730feda4d7ebed1f158b073167bb3964b3e7d
(cherry picked from commit d0205a3469dc8d8122e89072c19d0e9f18e7452f)

e8ae9fc 2020-01-11 07:53:22 Patrick Baumann

Fixes NPE when preparing app data during init

When deleting an unused static shared library on Q, the user manager was
fetched via mContext.getSystemService. At this time during boot, the
service wasn't registered and so null was returned. This has already
been addressed in R with a move to injecting dependencies in the
PackageManagerService constructor.

Bug: 142083996
Bug: 141413692
Test: manual; remove static dependency on eng Q build and reboot
Change-Id: I8ae4e331d09b4734c54cdc6887b273705dce88b1
Merged-In: I8ae4e331d09b4734c54cdc6887b273705dce88b1
(cherry picked from commit 5d3fc339b57950fd8621cb410865e8800ccb6873)

9192cc5 2020-01-11 07:53:21 Patrick Baumann

Use KNOWN_PACKAGES when shared lib consumers

This change ensures we find ALL known packages that could be consuming a
shared library, not only currently installed ones. Without this check,
the system may get into a state in which we have currently uninstalled
but on-device apps that depend on a shared library that does not exist
on device.

This change also leaves static shared library packages on device even if
it's not installed for any of the remaining users as it could still be
used, but marked uninstalled for users in which it is consumed.

Bug: 141413692
Bug: 142083996
Test: Manual; attempt to remove shared lib after marking its consumer uninstalled.
Test: atest StaticSharedLibsHostTests
Change-Id: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
Merged-In: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
(cherry picked from commit 08315953bc42fb392c32293418dfb2a3e4ffbe53)

3bf4bb5 2020-01-11 07:53:21 Patrick Baumann

Handles null outInfo in deleteSystemPackageLI

This change adds null checks before accessing outInfo in
deleteSystemPackageLI.

Bug: 142083996
Bug: 141413692
Test: manual; remove static dependency on eng build and reboot
Change-Id: If0fd48343e89cbb77ccd25826656194195d5b0cd
(cherry picked from commit 17471016508bb9c9ffb8c3946dda0b4897d722f1)
Merged-In: If0fd48343e89cbb77ccd25826656194195d5b0cd
(cherry picked from commit 6afabce549f5725988b9c03de932c34e9d22f10e)

0eb5ec9 2020-01-11 07:53:20 paulhu

Fix security problem on PermissionMonitor#hasPermission

PermissionMonitor#hasPermission only checks permssions that app
requested but it doesn't check whether the permission can be
granted to this app. If requested permission doens't be granted
to app, this method still returns that app has this permission.
Then PermissionMonitor will pass this info to netd that means
this app still can use network even restricted network without
granted privileged permission like CONNECTIVITY_INTERNAL or
CONNECTIVITY_USE_RESTRICTED_NETWORKS.

Bug: 144679405
Test: Build, flash, manual test
Change-Id: I5eba4909e4c2e1d9f275f66be90ac36466b93e90
Merged-In: I8a1575dedd6e3b7a8b60ee2ffd475d790aec55c4
Merged-In: Iae9c273af822b18c2e6fce04848a86f8dea6410a
(cherry picked from commit 305946b910a9ab3974daa4277f155614a3fc27a4)

f59acae 2020-01-10 11:13:32 android-build-team Robot

Snap for 6123600 from b43b52a2e138b7648005ba8187947da2bd749d73 to qt-qpr2-release

Change-Id: Ibe4e42bfb37b846419b4cef676806e25d23f5085

b43b52a 2020-01-10 02:41:35 Automerger Merge Worker

[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am: 5e0b069876 am: 81db8d8a83 am: 5b6d8d7724 -s ours am: d0715a9f07 -s ours am: c64d1c4649 -s ours
am skip reason: Change-Id Iae9c273af822b18c2e6fce04848a86f8dea6410a with SHA-1 d0205a3469 is in history

Change-Id: Id7d778048e411acc447b4adf43d977e8eb98a8af

fd5aea2 2020-01-10 02:40:58 Automerger Merge Worker

[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into pi-dev am: 361f1e97f6 -s ours am: 92b897e4a8 -s ours
am skip reason: Change-Id I2da730feda4d7ebed1f158b073167bb3964b3e7d with SHA-1 9352cb24b1 is in history

Change-Id: I641d8967ec8af4b58696bf2c044f5a87a6836937

f3be812 2020-01-10 02:40:04 Automerger Merge Worker

[automerger skipped] Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am: e422bc0c8f am: 43d5e3bb62 am: 929c2c5e1b am: 0cf089521a -s ours am: 9ecc8ab3c8 -s ours
am skip reason: Change-Id I8ae4e331d09b4734c54cdc6887b273705dce88b1 with SHA-1 bf04ea6d3b is in history

Change-Id: Icf80644315482ee15830ff00e5454eb73e259777

8eb0e4f 2020-01-10 02:39:55 Automerger Merge Worker

[automerger skipped] Use KNOWN_PACKAGES when shared lib consumers am: 08315953bc am: e580843476 am: d46ef183b1 am: d6f29b2711 -s ours am: e1ca007272 -s ours
am skip reason: Change-Id Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea with SHA-1 428a272285 is in history

Change-Id: I52b4194b76008c44e042870f1c9059b69af6eb11

fe3b9f8 2020-01-10 02:39:45 Automerger Merge Worker

[automerger skipped] Handles null outInfo in deleteSystemPackageLI am: 6afabce549 am: ae901aceda am: 3e28284fb8 am: 9f31fb9eaf -s ours am: f8f4f28079

Change-Id: Idf3455832bb8dfea247487f8efea1a954f3f65a6

c64d1c4 2020-01-10 01:50:47 Automerger Merge Worker

[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am: 5e0b069876 am: 81db8d8a83 am: 5b6d8d7724 -s ours am: d0715a9f07 -s ours
am skip reason: Change-Id Iae9c273af822b18c2e6fce04848a86f8dea6410a with SHA-1 d0205a3469 is in history

Change-Id: I9b95f9715b7d15e3f430e6c46a2fd975b6b51f23

92b897e 2020-01-10 01:50:08 Automerger Merge Worker

[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into pi-dev am: 361f1e97f6 -s ours
am skip reason: Change-Id I2da730feda4d7ebed1f158b073167bb3964b3e7d with SHA-1 9352cb24b1 is in history

Change-Id: Id83288231d705e604e5094d40d211c0c940c4dd4

9ecc8ab 2020-01-10 01:49:00 Automerger Merge Worker

[automerger skipped] Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am: e422bc0c8f am: 43d5e3bb62 am: 929c2c5e1b am: 0cf089521a -s ours
am skip reason: Change-Id I8ae4e331d09b4734c54cdc6887b273705dce88b1 with SHA-1 bf04ea6d3b is in history

Change-Id: I8dd0a9c26382b390dd7417fe35820abce79fdb92

e1ca007 2020-01-10 01:48:50 Automerger Merge Worker

[automerger skipped] Use KNOWN_PACKAGES when shared lib consumers am: 08315953bc am: e580843476 am: d46ef183b1 am: d6f29b2711 -s ours
am skip reason: Change-Id Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea with SHA-1 428a272285 is in history

Change-Id: Ia06b75350be3d1a99972e9763653fb0b6422b131

f8f4f28 2020-01-10 01:48:29 Automerger Merge Worker

[automerger skipped] Handles null outInfo in deleteSystemPackageLI am: 6afabce549 am: ae901aceda am: 3e28284fb8 am: 9f31fb9eaf -s ours
am skip reason: skipped by user patb

Change-Id: I1be1d1947f31c4c9e89f6de3768a578f58511668

d0715a9 2020-01-09 23:06:22 Automerger Merge Worker

[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am: 5e0b069876 am: 81db8d8a83 am: 5b6d8d7724 -s ours
am skip reason: Change-Id Iae9c273af822b18c2e6fce04848a86f8dea6410a with SHA-1 d0205a3469 is in history

Change-Id: Ifa87cac191ad07937dc70770ff74a9d025131a40

5b6d8d7 2020-01-09 22:53:42 Automerger Merge Worker

Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am: 5e0b069876 am: 81db8d8a83

Change-Id: I5660cafce05a0e3c6edff03bd645d8df329c5d50

81db8d8 2020-01-09 22:40:20 Automerger Merge Worker

Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am: 5e0b069876

Change-Id: I4c255820617a86afdfa239febdd46fff7d082381

5e0b069 2020-01-09 22:25:46 TreeHugger Robot

Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev

361f1e9 2020-01-09 17:53:08 Paul Hu

Merge "Fix security problem on PermissionMonitor#hasPermission" into pi-dev

cd35d79 2020-01-09 14:59:27 Automerger Merge Worker

Merge "Fix PermissionMonitor issues" into qt-dev am: 97baed2635

Change-Id: Ia955c4304c2e623b291c111615c65f012b7c3028

97baed2 2020-01-09 14:41:52 Paul Hu

Merge "Fix PermissionMonitor issues" into qt-dev

bb1a46a 2020-01-09 11:02:58 android-build-team Robot

Snap for 6120535 from 9595ad654b547711c1af56a562dbf429e608d176 to qt-qpr2-release

Change-Id: I831b75f3f7350376063409d5c53cd1f96c4e8a24