Commit Graph

93852 Commits

Author SHA1 Message Date
Chalard Jean
75f1329f92 Merge "Update throws documentation for requestNetwork*" am: d8927579d5
am: 411f1efc02

Change-Id: Iaabcc52b3e6537752990b88a24e11217f73ce8e7
2019-05-22 02:55:10 -07:00
Chalard Jean
6736fb0465 Merge "Let clients access StaticIpConfiguration members through reflection." am: 94e52502dc
am: 892038673e

Change-Id: Ice5c4fd4d469a55410129310c5a25874b94e2219
2019-05-22 02:42:25 -07:00
Sudheer Shanka
cb36319306 Merge "Don't use linked mediastore uris in DownloadProvider operations." into qt-dev
am: 4344e7c721

Change-Id: Iaf52026e9d67f97b94cc0426a460f94b5fa358ec
2019-05-22 01:58:24 -07:00
Ivan Chiang
13cacd5952 Merge "Fix thumbnail's orienation issue" into qt-dev
am: d580b03f3f

Change-Id: Id6201c1f792aca6428f91c2fcf50cd64b594ae3a
2019-05-22 01:36:21 -07:00
Chalard Jean
d8927579d5 Merge "Update throws documentation for requestNetwork*" 2019-05-22 08:34:43 +00:00
Chalard Jean
94e52502dc Merge "Let clients access StaticIpConfiguration members through reflection." 2019-05-22 07:17:52 +00:00
Felipe Leme
395118e622 Merge "Minor improvements on voice interaction workflows." into qt-dev
am: 7aa28bd502

Change-Id: I9095ebe2537bb4b8344fb31d35e544d978082aee
2019-05-22 00:12:48 -07:00
Qingqing Deng
1708797588 Merge "Update isNewEmoji to check Unicode 12." into qt-dev
am: 848b984715

Change-Id: I9e739f721722de270d44e1a3af38d76b6a12e935
2019-05-21 23:47:59 -07:00
Qasid Sadiq
a266cfe552 Merge "Send subtree changed AccessibilityEvent for all alpha changes." into qt-dev
am: 37f6ad6529

Change-Id: Ibfbe949d01cfba35a75a714df48f3c7b4597b41e
2019-05-21 23:26:04 -07:00
Julia Reynolds
e694cab624 Merge "Revert "Adding issuer information to NAS Adjustments"" into qt-dev
am: 95706d0c60

Change-Id: Id6a850dacc40eae5f74ed15c555f69b3075b214f
2019-05-21 23:11:21 -07:00
Felipe Leme
a16741cd5d Merge "Fixed javadoc for View.setContentCaptureSession()." into qt-dev
am: a4630da2c1

Change-Id: I62e5743a0d006aa00b320aab2b7afc01d0e277b5
2019-05-21 22:18:28 -07:00
Felka Chang
01fc17e00a Merge "Fix sysui's security issue of cross-user copy/paste" into qt-dev
am: 743288a029

Change-Id: I7e67f0f6f4372b62bfac875ab6ebdcfb43aef3c7
2019-05-21 21:40:49 -07:00
Jean-Michel Trivi
4f5c803d13 Merge "SeekBarVolumizer: fix media volume initialization for VolumeGroup" into qt-dev
am: dad4026ac2

Change-Id: I10c279c99a58c8994e5baad43f123357e9dc0b8b
2019-05-21 21:28:52 -07:00
Hyunyoung Song
6826b8ad9a Merge "Add a rule to compile IWallpaperService.aidl" into qt-dev
am: 1ef1abed52

Change-Id: Ia1a33d68472f99c80520724117c6f760220b3b07
2019-05-21 21:23:57 -07:00
Sudheer Shanka
4344e7c721 Merge "Don't use linked mediastore uris in DownloadProvider operations." into qt-dev 2019-05-22 02:20:08 +00:00
Ivan Chiang
d580b03f3f Merge "Fix thumbnail's orienation issue" into qt-dev 2019-05-22 02:10:52 +00:00
Eric Holk
64bd7c068c Merge "Remove obtainStyledAttribute and AssetManager2::GetBag tracing" into qt-dev
am: bdc1ba53ef

Change-Id: I664783b86275e5a6513c1d464aa0bc7d12829ad0
2019-05-21 14:36:36 -07:00
TreeHugger Robot
7aa28bd502 Merge "Minor improvements on voice interaction workflows." into qt-dev 2019-05-21 21:05:41 +00:00
Qingqing Deng
848b984715 Merge "Update isNewEmoji to check Unicode 12." into qt-dev 2019-05-21 20:56:11 +00:00
Felipe Leme
c303e69b94 DO NOT MERGE - Minor fix on internal method name.
am: 15b44fe1e3

Change-Id: I97afbdc9a037c10906a243d6b64cd6cffa060351
2019-05-21 13:36:49 -07:00
Qasid Sadiq
37f6ad6529 Merge "Send subtree changed AccessibilityEvent for all alpha changes." into qt-dev 2019-05-21 20:03:15 +00:00
Julia Reynolds
95706d0c60 Merge "Revert "Adding issuer information to NAS Adjustments"" into qt-dev 2019-05-21 18:59:33 +00:00
Shafik Nassar
9870dfb99a Merge "Documentation: Add trailing '/' to MediaColumns.RELATIVE_PATH" into qt-dev
am: c605c7b185

Change-Id: I46a2ed177a7562481c2d01b22d0e5ef4fe1f19c3
2019-05-21 11:50:09 -07:00
Jan Althaus
e30072b644 Merge "Adding issuer information to NAS Adjustments" into qt-dev
am: 71e6ac93f3

Change-Id: I205c5de542f23a388079baf47114230a5f8c3839
2019-05-21 10:57:08 -07:00
Edgar Wang
2f4cba2683 Merge "Add Aware Lock Settings" into qt-dev
am: a491cc4cd0

Change-Id: I7dd3de25fe1f1bd681cdfefd33bc9b134937827d
2019-05-21 10:42:14 -07:00
TreeHugger Robot
a4630da2c1 Merge "Fixed javadoc for View.setContentCaptureSession()." into qt-dev 2019-05-21 17:38:41 +00:00
Sudheer Shanka
a9a78e743f Merge "Notify StorageManagerService when storage related app ops change." into qt-dev
am: 82f98334d6

Change-Id: I12363da54d737240c58d046b751b2d8157a68083
2019-05-21 10:22:50 -07:00
Sudheer Shanka
1b817f65db Don't use linked mediastore uris in DownloadProvider operations.
When MediaProvider db gets recreated, all the media content ids
get renumbered. It's possible that when DownloadProvider is
trying to delete an entry, it is holding onto a invalid mediastore
uri. So, don't use linked mediastore uris in DownloadProvider
operations. Also, revoke any prior uri grants of media content from
DownloadStorageProvider.

Bug: 132087334
Test: manual
Test: atest DownloadProviderTests
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/app/DownloadManagerLegacyTest/src/android/app/cts/DownloadManagerLegacyTest.java
Test: atest cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/DownloadManagerApi28Test.java
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/AppSecurityTests.java
Change-Id: I4885f5a0ae0b3ab660426605a8a43b8c1d66a4c7
2019-05-21 10:21:43 -07:00
TreeHugger Robot
743288a029 Merge "Fix sysui's security issue of cross-user copy/paste" into qt-dev 2019-05-21 16:50:52 +00:00
TreeHugger Robot
dad4026ac2 Merge "SeekBarVolumizer: fix media volume initialization for VolumeGroup" into qt-dev 2019-05-21 16:35:45 +00:00
Hyunyoung Song
1ef1abed52 Merge "Add a rule to compile IWallpaperService.aidl" into qt-dev 2019-05-21 16:35:20 +00:00
Michael Wachenschwanz
f9634408e1 Merge "Clear the Parcel before writing an exception during a transaction" into qt-dev
am: d2111df37b

Change-Id: Ic6d3c12b503068a3d4d98e210c16ba56b5b1876f
2019-05-21 09:12:41 -07:00
TreeHugger Robot
bdc1ba53ef Merge "Remove obtainStyledAttribute and AssetManager2::GetBag tracing" into qt-dev 2019-05-21 16:00:04 +00:00
TreeHugger Robot
f953da0c20 Merge "DO NOT MERGE - Minor fix on internal method name." into qt-dev 2019-05-21 15:41:53 +00:00
Shafik Nassar
c605c7b185 Merge "Documentation: Add trailing '/' to MediaColumns.RELATIVE_PATH" into qt-dev 2019-05-21 15:27:37 +00:00
Julia Reynolds
b58434a869 Revert "Adding issuer information to NAS Adjustments"
This reverts commit 3b33a04fb3.

Reason for revert: This is crashing ExtServices on qt-dev

Bug: 132679875
Change-Id: I60b7b6b8db33585f62e108389367c74ce682b922
2019-05-21 15:04:27 +00:00
TreeHugger Robot
71e6ac93f3 Merge "Adding issuer information to NAS Adjustments" into qt-dev 2019-05-21 10:41:07 +00:00
TreeHugger Robot
a491cc4cd0 Merge "Add Aware Lock Settings" into qt-dev 2019-05-21 09:03:15 +00:00
Jan Althaus
3b33a04fb3 Adding issuer information to NAS Adjustments
Test: manually tested with AiAi NAS
Fixes: 132679875

Change-Id: I5d4bf41383143e9573ddad5c08205e1dca3ba6b3
2019-05-21 08:57:02 +02:00
Felka Chang
33f56060d5 Fix sysui's security issue of cross-user copy/paste
Background:
The applications with the granted INTERNAL_SYSTEM_WINDOW and
INTERACT_ACROSS_USERS_FULL means that it could show the same
window for all of users. i.e. to use user 0 presents all of
UI things to all of users.

INTERNAL_SYSTEM_WINDOW usually comes with INTERACT_ACROSS_USERS_FULL
because it will serve all of users to know the information that
comes from framework and system server.

Solution:
Because SystemUI never restarts after the user changing,
ClipboardService can't tell if the callingUid has the the same userId
with the current user or not.  The solution is to use the permission
check. Especially, INTERACT_ACROSS_USERS_FULL and
INTERNAL_SYSTEM_WINDOW. To check INTERACT_ACROSS_USERS_FULL by using
ActivityManagerInternal.handleIncomingUser.

Caution:
The application with INTERNAL_SYSTEM_WINDOW usually use user 0
to show the window. But, the current user is user 10, WindowManager
know the focus windows is belong to user 0 rather user 10. That's
why user 10 can't copy the the text from systemui directly reply to
the other applications.

Readability:
ClipboardService use callingUid everywhere but actaully it is not
appropriated to fix this kind of bug. This patch refactor the naming
to produce two name. i.e. intendingUid and intentdingUserId that are
validated by ActivityManagerInternal.handleIncomingUser.

Test: manual test
Test: atest android.widget.cts.TextViewTest
Test: atest CtsTextTestCases
Test: atest CtsContentTestCases

Bug: 123232892
Bug: 117768051
Change-Id: Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937
2019-05-21 14:16:59 +08:00
junyulai
b28aa2636d Merge "Move keepalive constants to their right place" am: 236b96f327
am: 292f73b0dc

Change-Id: Id45981af5b42ec1423aff8b0ec1bc07d7c71c6b9
2019-05-20 22:09:19 -07:00
Sudheer Shanka
82f98334d6 Merge "Notify StorageManagerService when storage related app ops change." into qt-dev 2019-05-21 05:07:51 +00:00
Eric Holk
4487398e0d Remove obtainStyledAttribute and AssetManager2::GetBag tracing
These traces are small and noisy, so they hurt performance more than they help.

This reverts commit c37457799b.

Test: m
Bug: 132721345
Change-Id: I9ef719f54f2bc8a54f23e88f46d74e35417a6519
(cherry picked from commit 3509b624fe)
2019-05-21 00:31:03 +00:00
junyulai
76baf5f45e Move keepalive constants to their right place
The constants CMD_{ADD,REMOVE}_KEEPALIVE_PACKET_FILTER are too
high in the file and not in order. These constants should be
moved back to their rightful place.

Bug: 123987395
Test: 1. m -j 2. m -j doc-comment-check-docs
Change-Id: I44c827d3a2011cf7c66c0444566e14192fec1b1b
2019-05-21 00:23:41 +00:00
Josh Gao
34ec95fb76 Merge "MemoryIntArray: dup in writeToParcel." into qt-dev
am: 6429b70cf6

Change-Id: Ia5ed094e4f2c5579617037dc0140c34c412f09cc
2019-05-20 16:27:54 -07:00
Lucas Dupin
60e01d99a8 Merge "Refresh should always update the field" into qt-dev
am: ae61369c0d

Change-Id: I1cc3170916480ee2722f12ee1c5c2f75ad2db5c5
2019-05-20 15:58:37 -07:00
Jean-Michel Trivi
16ab948c01 SeekBarVolumizer: fix media volume initialization for VolumeGroup
The VolumeGroup callback was initializing the sliders by querying
  the VolumeGroup API, which talks to APM. In AVCRP with a
  BT headset that supports absolute volume, the APM only sees the
  media volume at max, as no digital attenuation is applied then,
  which causes the VolumeGroup API to report max volume.
The fix consists in using the updateSlider() method instead, which
  will cause the volume query to go through AudioService (which
  maintains the actual volume setting independently of the digital
  attenuation that is applied).

Bug: 132287865
Test: connect BT headset with abs volume, go to Settings > Sound

Change-Id: I3d46af69d808169806c86cb543440f262097965b
2019-05-20 15:41:44 -07:00
Michael Wachenschwanz
d2111df37b Merge "Clear the Parcel before writing an exception during a transaction" into qt-dev 2019-05-20 22:23:12 +00:00
Qingqing Deng
41f9d352cd Update isNewEmoji to check Unicode 12.
Bug: 127811703
Test: Verified on Device.
Test: atest frameworks/base/core/tests/coretests/src/android/text/EmojiTest.java
Test: atest cts/tests/tests/text/src/android/text/cts/EmojiTest.java
Change-Id: Id2409dd96243bf74ff1c717a8cc458a6ebf24deb
2019-05-20 15:19:35 -07:00
Hyunyoung Song
096e40510d Add a rule to compile IWallpaperService.aidl
Test: builds
Bug: 133160356

Change-Id: Ib2bcf5a091c603a08dcdb14126bc284575e75806
2019-05-20 14:46:19 -07:00