Commit Graph

405173 Commits

Author SHA1 Message Date
Bill Yi
bf7b8cb333 Import translations. DO NOT MERGE
Change-Id: I9c10a5ad10d5c6356961e6f4248c94fb1786b66f
Auto-generated-cl: translation import
2019-02-20 02:21:29 -08:00
TreeHugger Robot
1dc37e9601 Merge "Add touch classification metrics atom." 2019-02-17 14:56:31 +00:00
TreeHugger Robot
cbb05a317b Merge changes I9ed87db1,Ic0b766f6
* changes:
  Make PermissionControllerManager user aware
  Check same uid for permission and app-op
2019-02-16 22:35:22 +00:00
Lucas Dupin
2f9b0bd21e Merge "Render ImageWallpaper with OpenGL ES and apply visual effects. (Fix bug)" 2019-02-16 20:28:01 +00:00
Bill Yi
32cff9f22f [automerger skipped] Import translations. DO NOT MERGE am: 8098c5f1a8 -s ours
am: b922ca4050 -s ours
am skip reason: subject contains skip directive

Change-Id: Ibeee73378fcd2e19e9dacf2899aef54d5532f1ea
2019-02-16 12:17:50 -08:00
Bill Yi
b922ca4050 [automerger skipped] Import translations. DO NOT MERGE
am: 8098c5f1a8 -s ours
am skip reason: subject contains skip directive

Change-Id: Iddfb5b9e9c9a5ab925a472adeaa01f50e313e518
2019-02-16 12:12:51 -08:00
Philip P. Moltmann
cfd2fbc4e3 Make PermissionControllerManager user aware
Most of the commands of PermissionControllerManager should go to the
calling user. If not - and the alternate user is running - we should
use the recommended way to talk to alternate users. This recommended way
is to create a package context for the user and call the method on this
new context.

Hence
- At a time we can have more than one RemoteService (one per user)
- Connect to the user declared in Context#getUser instead of the calling
user

Test: Called methods on work-profiles and saw alternate
PermissionController apps to be spawned.
Change-Id: I9ed87db1f658f18b69d19b39ba9f96361ec5af82
2019-02-16 12:11:38 -08:00
Philip P. Moltmann
0d05e48371 Check same uid for permission and app-op
In permission checker we used to check the permission for the passed in
uid but the opp-op for the Binder.getCallingUid. In the case the calling
identity was cleared, PermissionChecker ended up checking the app-op of the
current process (often the system server).

Now we check the uid for both the permission and the app-op.

Test: Called PermissionChecker.checkPermission with the calling indentity
cleared.
Fixes: 124116218
Change-Id: Ic0b766f6c75bba1b9dae3e91c6adce85a76ae68f
2019-02-16 12:08:25 -08:00
TreeHugger Robot
b24ceb5218 Merge "Import translations. DO NOT MERGE" 2019-02-16 17:54:36 +00:00
Bill Yi
8098c5f1a8 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I225416157c786e316deb115552412a72118b9122
2019-02-16 02:35:23 -08:00
Bill Yi
35d3ae6eec Import translations. DO NOT MERGE
Change-Id: I54a95bc47e490ade66e569ce0a7223aaee78e957
Auto-generated-cl: translation import
2019-02-16 02:18:01 -08:00
TreeHugger Robot
9645cbb3a7 Merge "Game Driver: get driver build date info from Game Driver apk" 2019-02-16 09:47:44 +00:00
Ahan Wu
67e7f1054f Render ImageWallpaper with OpenGL ES and apply visual effects. (Fix bug)
We have to render image wallpaper with OpenGL ES to apply some amazing
visual effects.

Bug: 122803209
Bug: 124073420
Bug: 123616712
Bug: 123615467
Test: Manually.
Change-Id: I0123d4ba2acb5a84b709c0468910e006c8e49563
2019-02-16 16:19:33 +08:00
TreeHugger Robot
44b586e000 Merge "Initial implementation of ContentCaptureService.setContentCaptureWhitelist()" 2019-02-16 07:03:09 +00:00
TreeHugger Robot
db7bdd4632 Merge "Fix default grant running for secondary user." 2019-02-16 05:12:11 +00:00
TreeHugger Robot
5112156b15 Merge "Foldables: Customize folded area" 2019-02-16 04:39:31 +00:00
Felipe Leme
e8eae9d420 Initial implementation of ContentCaptureService.setContentCaptureWhitelist()
For now it only whitelists packages, not activities.

Test: atest CtsContentCaptureServiceTestCases

Bug: 122595322

Change-Id: I5beb9b027eb704510e68f3af15e84e14bda07eb2
2019-02-15 20:00:49 -08:00
TreeHugger Robot
2188365b44 Merge "Annotated mTheme field on ContextThemeWrapper with maxTargetSdk P" 2019-02-16 03:48:19 +00:00
Felipe Leme
c4b4cb8a16 Merge "Added DeviceConfig properties to fine tune ContentCapture:" 2019-02-16 03:46:13 +00:00
TreeHugger Robot
d2d04c6e81 Merge "AudioService: Make suspended apps lose audio focus" 2019-02-16 03:30:26 +00:00
Ryan Mitchell
01e76fc26e Merge "Check intent action in OMS.PackageReceiver for secure coding" am: e705e26703 am: cb47305222
am: 9676da6af1

Change-Id: I8aa0242fd82c224f8daa0ccd520aaf2da3de5116
2019-02-15 19:09:22 -08:00
Ryan Mitchell
9676da6af1 Merge "Check intent action in OMS.PackageReceiver for secure coding" am: e705e26703
am: cb47305222

Change-Id: I147617ce86448735cc7e686f809ac9280c8e1c5b
2019-02-15 19:00:02 -08:00
Michael Wachenschwanz
0056889245 Merge "Populate null UsageStats event task root fields with known data" 2019-02-16 02:50:47 +00:00
Ryan Mitchell
cb47305222 Merge "Check intent action in OMS.PackageReceiver for secure coding"
am: e705e26703

Change-Id: Ic73dbe9bf5fe1f5b711ee24adbc72c1b066a63a4
2019-02-15 18:50:21 -08:00
Ryan Mitchell
e705e26703 Merge "Check intent action in OMS.PackageReceiver for secure coding" 2019-02-16 02:36:41 +00:00
Stanley Tng
667e6f06a0 [automerger skipped] Merge "Fix the bad link due to typo" am: c0c27fbf49 -s ours am: cfbc249110 -s ours
am: 80ba1ad23e -s ours
am skip reason: change_id Ia06e1fffd814671289a1caebd5962aedc18a28d7 with SHA1 a44f2c075b is in history

Change-Id: Id9c01ed4eb52850ea4af620a1b4788f8ec33685d
2019-02-15 18:28:47 -08:00
Stanley Tng
80ba1ad23e [automerger skipped] Merge "Fix the bad link due to typo" am: c0c27fbf49 -s ours
am: cfbc249110 -s ours
am skip reason: change_id Ia06e1fffd814671289a1caebd5962aedc18a28d7 with SHA1 a44f2c075b is in history

Change-Id: I7f2044ada811da01a41e8723fc2b9dc6e181d854
2019-02-15 18:18:59 -08:00
Remi NGUYEN VAN
c2c1849327 Merge "Sign networkstack with its own certificate" am: fd2d7dc685 am: 0c5872595a
am: 523d9012f4

Change-Id: Ia903342d29b25d74319b97511da7950006a36600
2019-02-15 18:16:34 -08:00
Hai Zhang
a5d8632a13 Fix default grant running for secondary user.
USER_SYSTEM is the same thing as the primary user, so we need to pass
USER_ALL to listen to package changes for all users.

Bug: 124452117
Bug: 124401873
Test: manual
Change-Id: Iab8469deb0e1ac3e7c286aba7fe2573187eb76f7
2019-02-15 18:06:51 -08:00
Remi NGUYEN VAN
523d9012f4 Merge "Sign networkstack with its own certificate" am: fd2d7dc685
am: 0c5872595a

Change-Id: I1cca500ca0c65ae04d0e1b99e04a15f5e11853c1
2019-02-15 18:05:52 -08:00
Stanley Tng
cfbc249110 [automerger skipped] Merge "Fix the bad link due to typo"
am: c0c27fbf49 -s ours
am skip reason: change_id Ia06e1fffd814671289a1caebd5962aedc18a28d7 with SHA1 a44f2c075b is in history

Change-Id: Ib00807a7f22c339551aa750459b4a7c0398618e4
2019-02-15 18:04:29 -08:00
Treehugger Robot
c0c27fbf49 Merge "Fix the bad link due to typo" 2019-02-16 01:56:30 +00:00
Remi NGUYEN VAN
0c5872595a Merge "Sign networkstack with its own certificate"
am: fd2d7dc685

Change-Id: I24ddb16d7a163ad6141b4f6c46e5dda9f249a906
2019-02-15 17:56:22 -08:00
Remi NGUYEN VAN
fd2d7dc685 Merge "Sign networkstack with its own certificate" 2019-02-16 01:48:49 +00:00
Felipe Leme
d32d8f6f3c Added DeviceConfig properties to fine tune ContentCapture:
- DEVICE_CONFIG_PROPERTY_MAX_BUFFER_SIZE
- DEVICE_CONFIG_PROPERTY_IDLE_FLUSH_FREQUENCY
- DEVICE_CONFIG_PROPERTY_TEXT_CHANGE_FLUSH_FREQUENCY
- DEVICE_CONFIG_PROPERTY_LOG_HISTORY_SIZE
- DEVICE_CONFIG_PROPERTY_LOGGING_LEVEL

Test: manual verification
Test: atest CtsContentCaptureServiceTestCases

Bug: 123096662
Fixes: 121044064
Fixes: 121044306

Change-Id: I08623516bb7ebbe9c900987be853f4f395250016
2019-02-15 17:32:04 -08:00
Android Build Merger (Role)
0c5bdf5d52 Merge "Merge "Fix the incorrect javadoc links" into stage-aosp-master am: 727bc71336 am: f309a828d0" 2019-02-16 01:24:09 +00:00
Nan Zhang
1a9ccddf58 Merge "Fix the incorrect javadoc links" into stage-aosp-master am: 727bc71336
am: f309a828d0

Change-Id: Ia843b7fb2363476772a1b27cde2c004614f33e07
2019-02-15 17:23:37 -08:00
TreeHugger Robot
0c2101c6d4 Merge "Add IntDef annotation to parameter foregroundServiceType." 2019-02-16 01:23:18 +00:00
Lucas Dupin
a6a2d775cf Merge "Do not show media icon on AOD for active stream" 2019-02-16 01:21:10 +00:00
Android Build Merger (Role)
9205377060 Merge "Merge "Fix framework and NetworkStack classes conflicts" am: 3f23efdd13 am: 2d7e53ca90 am: 6ce7de5e64" 2019-02-16 01:17:07 +00:00
Remi NGUYEN VAN
33241a394f Merge "Fix framework and NetworkStack classes conflicts" am: 3f23efdd13 am: 2d7e53ca90
am: 6ce7de5e64

Change-Id: I4d943c592ae5c8b27be29857243e62e19c350549
2019-02-15 17:16:33 -08:00
TreeHugger Robot
b45fc58b37 Merge "Update face biometrics state upon failure" 2019-02-16 01:15:02 +00:00
Nan Zhang
f309a828d0 Merge "Fix the incorrect javadoc links" into stage-aosp-master
am: 727bc71336

Change-Id: Ib7e99be11b1b3061400f0a8a4eecb743ac6a5977
2019-02-15 17:07:26 -08:00
TreeHugger Robot
78ad8c28b7 Merge "Send Keyboard Shortcut broadcasts to current user." 2019-02-16 01:06:22 +00:00
Android Build Merger (Role)
c6c8797687 Merge "Merge "zygote: use async signal safe log to record child process death" am: 2555ed5bca am: 2feb04170b am: 6dd5c01eba" 2019-02-16 00:57:36 +00:00
TreeHugger Robot
fe09cbef5a Merge "ContentCaptureManager should be null when the feature is disabled." 2019-02-16 00:57:04 +00:00
Remi NGUYEN VAN
6ce7de5e64 Merge "Fix framework and NetworkStack classes conflicts" am: 3f23efdd13
am: 2d7e53ca90

Change-Id: I709cb6796ed21522d264ea836daad58e987e7839
2019-02-15 16:56:43 -08:00
Elliott Hughes
ecb1501ac9 Merge "zygote: use async signal safe log to record child process death" am: 2555ed5bca am: 2feb04170b
am: 6dd5c01eba

Change-Id: I191e70532a2d603da3e57869ebbe66b9026a67cc
2019-02-15 16:55:24 -08:00
TreeHugger Robot
727bc71336 Merge "Fix the incorrect javadoc links" into stage-aosp-master 2019-02-16 00:53:47 +00:00
TreeHugger Robot
03f311cb75 Merge "Revert "Fix loaded apk string pool order"" 2019-02-16 00:46:04 +00:00