OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fix some touch issues"
TreeHugger Robot [Wed, 27 Mar 2019 04:33:27 +0000 (04:33 +0000)]
Merge "Fix some touch issues"

5 years agoMerge "Fixing wrong target check"
TreeHugger Robot [Wed, 27 Mar 2019 04:18:35 +0000 (04:18 +0000)]
Merge "Fixing wrong target check"

5 years agoMerge "Fix JNI NULL class error"
TreeHugger Robot [Wed, 27 Mar 2019 04:14:46 +0000 (04:14 +0000)]
Merge "Fix JNI NULL class error"

5 years agoMerge "incidentd can now handle multiple callers asking it for incident reports"
Joe Onorato [Wed, 27 Mar 2019 04:06:06 +0000 (04:06 +0000)]
Merge "incidentd can now handle multiple callers asking it for incident reports"

5 years agoMerge "Do not grant already granted permission"
TreeHugger Robot [Wed, 27 Mar 2019 03:32:18 +0000 (03:32 +0000)]
Merge "Do not grant already granted permission"

5 years agoMerge "Modify fontchain_linter.py for Unicode 12.0 ."
TreeHugger Robot [Wed, 27 Mar 2019 03:31:25 +0000 (03:31 +0000)]
Merge "Modify fontchain_linter.py for Unicode 12.0 ."

5 years agoMerge "Use SystemApi framework parcelables directly" am: 021ea66aea am: 4864ffd97e
Remi NGUYEN VAN [Wed, 27 Mar 2019 03:28:03 +0000 (20:28 -0700)]
Merge "Use SystemApi framework parcelables directly" am: 021ea66aea am: 4864ffd97e
am: ddac1161d9

Change-Id: I99a21274856a0f9903cc8242f91735128117919f

5 years agoMerge "Add a permission, INSTALL_DYNAMIC_SYSTEM"
Po-Chien Hsueh [Wed, 27 Mar 2019 03:21:19 +0000 (03:21 +0000)]
Merge "Add a permission, INSTALL_DYNAMIC_SYSTEM"

5 years agoMerge "Improve javadoc for DynamicSystemClient"
Po-Chien Hsueh [Wed, 27 Mar 2019 03:20:54 +0000 (03:20 +0000)]
Merge "Improve javadoc for DynamicSystemClient"

5 years agoMerge "Send URL using Uri instead of String"
Po-Chien Hsueh [Wed, 27 Mar 2019 03:20:25 +0000 (03:20 +0000)]
Merge "Send URL using Uri instead of String"

5 years agoMerge "Use SystemApi framework parcelables directly" am: 021ea66aea
Remi NGUYEN VAN [Wed, 27 Mar 2019 03:18:30 +0000 (20:18 -0700)]
Merge "Use SystemApi framework parcelables directly" am: 021ea66aea
am: 4864ffd97e

Change-Id: I28b60bcaf76d8902f3cd9d7956931c98d8d85710

5 years agoMerge "Fix the INTERNET related permissions" am: 88fb51277b am: ddd4e08d2c
Chenbo Feng [Wed, 27 Mar 2019 03:14:10 +0000 (20:14 -0700)]
Merge "Fix the INTERNET related permissions" am: 88fb51277b am: ddd4e08d2c
am: 50c9cca36d

Change-Id: Id14b54002f7b3496df9e7943a127f63dcf4e82b2

5 years agoMerge "Use SystemApi framework parcelables directly"
Remi NGUYEN VAN [Wed, 27 Mar 2019 03:09:17 +0000 (20:09 -0700)]
Merge "Use SystemApi framework parcelables directly"
am: 021ea66aea

Change-Id: I33ab2a6935edc25eb0cfcaee258ef6da92ed2c83

5 years agoMerge "Auto expand bubbles when foreground with the flag set"
Mady Mellor [Wed, 27 Mar 2019 03:05:16 +0000 (03:05 +0000)]
Merge "Auto expand bubbles when foreground with the flag set"

5 years agoMerge "Fix the INTERNET related permissions" am: 88fb51277b
Chenbo Feng [Wed, 27 Mar 2019 03:02:14 +0000 (20:02 -0700)]
Merge "Fix the INTERNET related permissions" am: 88fb51277b
am: ddd4e08d2c

Change-Id: I7b07ca0ef7966f0ebee17cabe2eb79c5d6381228

5 years agoMerge "Use SystemApi framework parcelables directly"
Treehugger Robot [Wed, 27 Mar 2019 02:55:15 +0000 (02:55 +0000)]
Merge "Use SystemApi framework parcelables directly"

5 years agoMerge "Fix the INTERNET related permissions"
Chenbo Feng [Wed, 27 Mar 2019 02:52:57 +0000 (19:52 -0700)]
Merge "Fix the INTERNET related permissions"
am: 88fb51277b

Change-Id: Id97b1ea945409e938158f30efd564b10c9e81380

5 years agoMerge "Move tag definitions into policy"
TreeHugger Robot [Wed, 27 Mar 2019 02:50:23 +0000 (02:50 +0000)]
Merge "Move tag definitions into policy"

5 years agoMerge "Fix the INTERNET related permissions"
Treehugger Robot [Wed, 27 Mar 2019 02:35:35 +0000 (02:35 +0000)]
Merge "Fix the INTERNET related permissions"

5 years agoMerge "Remove unused auto brightness drawables."
TreeHugger Robot [Wed, 27 Mar 2019 02:13:47 +0000 (02:13 +0000)]
Merge "Remove unused auto brightness drawables."

5 years agoMerge "Decide the current user after PHASE_THIRD_PARTY boot phase"
Keun-young Park [Wed, 27 Mar 2019 02:08:34 +0000 (02:08 +0000)]
Merge "Decide the current user after PHASE_THIRD_PARTY boot phase"

5 years agoMerge "Fix flaky test for ConnectivityServiceTest#testPartialConnectivity" am: 9e3297...
Lucas Lin [Wed, 27 Mar 2019 02:00:50 +0000 (19:00 -0700)]
Merge "Fix flaky test for ConnectivityServiceTest#testPartialConnectivity" am: 9e3297a099 am: d593ac0f90
am: 801be56a0f

Change-Id: I80399f9980119342ba5cd3d4f1922badb1fee3e9

5 years agoMerge "Fix NPE when view doesn't have a parent"
Lucas Dupin [Wed, 27 Mar 2019 01:53:21 +0000 (01:53 +0000)]
Merge "Fix NPE when view doesn't have a parent"

5 years agoMerge "ACTION_SPEAKERPHONE_STATE_CHANGED: only broadcast by system"
TreeHugger Robot [Wed, 27 Mar 2019 01:53:17 +0000 (01:53 +0000)]
Merge "ACTION_SPEAKERPHONE_STATE_CHANGED: only broadcast by system"

5 years agoMerge "Fix flaky test for ConnectivityServiceTest#testPartialConnectivity" am: 9e3297a099
Lucas Lin [Wed, 27 Mar 2019 01:49:59 +0000 (18:49 -0700)]
Merge "Fix flaky test for ConnectivityServiceTest#testPartialConnectivity" am: 9e3297a099
am: d593ac0f90

Change-Id: I4b0a70cbfdce8f43c07275ace151d3ab464da5a4

5 years agoMerge "Fix flaky test for ConnectivityServiceTest#testPartialConnectivity"
Lucas Lin [Wed, 27 Mar 2019 01:41:00 +0000 (18:41 -0700)]
Merge "Fix flaky test for ConnectivityServiceTest#testPartialConnectivity"
am: 9e3297a099

Change-Id: I0639d4ccd7c3211595ede82bce3daa87ae759e10

5 years agoMerge "Reset the whitelist helper for augmented autofill and content capture when...
TreeHugger Robot [Wed, 27 Mar 2019 01:33:09 +0000 (01:33 +0000)]
Merge "Reset the whitelist helper for augmented autofill and content capture when service changes."

5 years ago[automerger skipped] Merge "Fix missing combination check SINK/DEVICE" am: 25a7e6ed25...
Badhri Jagan Sridharan [Wed, 27 Mar 2019 01:30:17 +0000 (18:30 -0700)]
[automerger skipped] Merge "Fix missing combination check SINK/DEVICE" am: 25a7e6ed25 am: a890cc7c97
am: 450a526608 -s ours
am skip reason: change_id I5e652fbf9313bd2c122fe728d58e577085632253 with SHA1 665eb216e5 is in history

Change-Id: If0d75b0ed5bd2afbfe1d05cf388b3f0a2cc74b70

5 years agoMerge "Fix flaky test for ConnectivityServiceTest#testPartialConnectivity"
Lucas Lin [Wed, 27 Mar 2019 01:29:51 +0000 (01:29 +0000)]
Merge "Fix flaky test for ConnectivityServiceTest#testPartialConnectivity"

5 years agoFixing wrong target check
Sunny Goyal [Wed, 27 Mar 2019 01:17:25 +0000 (18:17 -0700)]
Fixing wrong target check

Test: compiled framework
Change-Id: Ia6fb1d8920fc0df066509c4c15a123e4459d2285

5 years agoMerge "Fix missing combination check SINK/DEVICE" am: 25a7e6ed25
Badhri Jagan Sridharan [Wed, 27 Mar 2019 01:03:54 +0000 (18:03 -0700)]
Merge "Fix missing combination check SINK/DEVICE" am: 25a7e6ed25
am: a890cc7c97

Change-Id: I284e113c8f0154032dc54fd3e2053aefa5f78503

5 years agoMerge "Fix crash after dequeueNativeBuffer fails"
TreeHugger Robot [Wed, 27 Mar 2019 01:02:57 +0000 (01:02 +0000)]
Merge "Fix crash after dequeueNativeBuffer fails"

5 years agoMerge "Fix missing combination check SINK/DEVICE"
Badhri Jagan Sridharan [Wed, 27 Mar 2019 00:54:08 +0000 (17:54 -0700)]
Merge "Fix missing combination check SINK/DEVICE"
am: 25a7e6ed25

Change-Id: I3b8e25d60b051785c486555176472fd072163885

5 years agoMerge "Merge "Hide blocking pay phone option use carrier config" am: c365007e5f am...
Android Build Merger (Role) [Wed, 27 Mar 2019 00:47:52 +0000 (00:47 +0000)]
Merge "Merge "Hide blocking pay phone option use carrier config" am: c365007e5f am: 694020234b am: cfae2075c6"

5 years agoMerge "GraphicsEnvironment: Allow profileable apps to load layers"
TreeHugger Robot [Wed, 27 Mar 2019 00:47:21 +0000 (00:47 +0000)]
Merge "GraphicsEnvironment: Allow profileable apps to load layers"

5 years agoMerge "Hide blocking pay phone option use carrier config" am: c365007e5f am: 694020234b
Youming Ye [Wed, 27 Mar 2019 00:46:24 +0000 (17:46 -0700)]
Merge "Hide blocking pay phone option use carrier config" am: c365007e5f am: 694020234b
am: cfae2075c6

Change-Id: Ia1ac8442a6d8a437d99b9e58b3228408a23b9dea

5 years agoFix some touch issues
Mady Mellor [Wed, 27 Mar 2019 00:10:34 +0000 (17:10 -0700)]
Fix some touch issues

ag/6525933 & ag/6627783 didn't play super well together!

* mExpandedAnimationController.updateYPosition shouldn't be called
  while an expansion is happening -- this will clear out the end listeners
  from the expansion animation
* We also shouldn't have to adjust insets while the expansion is changing
  anyways

The other issue (from ag/6627783) is that in applyCurrentState updateView
was getting called while the expanded view animation might still be
running; this would result in incorrect ActivityView onLocationChanged
call. This is fixed by adding updateView after the expand animation has
been called.

Fixes: 129300945
Test: manual D: D:
Change-Id: I73b846d8428a7a1b4e02f52c120a2f21e03a1742

5 years agoMerge "Update run instructions for AppCompactorTest"
TreeHugger Robot [Wed, 27 Mar 2019 00:34:34 +0000 (00:34 +0000)]
Merge "Update run instructions for AppCompactorTest"

5 years agoMerge "Fix missing combination check SINK/DEVICE"
Treehugger Robot [Wed, 27 Mar 2019 00:34:25 +0000 (00:34 +0000)]
Merge "Fix missing combination check SINK/DEVICE"

5 years agoMerge "Disable pull down Notification UI if the device is not provisioned"
TreeHugger Robot [Wed, 27 Mar 2019 00:31:10 +0000 (00:31 +0000)]
Merge "Disable pull down Notification UI if the device is not provisioned"

5 years agoMerge "Remove ControllerCallbackLink"
Hyundo Moon [Wed, 27 Mar 2019 00:20:14 +0000 (00:20 +0000)]
Merge "Remove ControllerCallbackLink"

5 years agoMerge "Device could not use wifi hotspot when data card switch to sim2" am: cd24e832e...
Amit Mahajan [Wed, 27 Mar 2019 00:16:17 +0000 (17:16 -0700)]
Merge "Device could not use wifi hotspot when data card switch to sim2" am: cd24e832e8 am: 012a279038
am: 59a2a726bc

Change-Id: I23f5c047f63fa585a49c5daf935931e0dec92ef5

5 years agoMerge "Hide blocking pay phone option use carrier config" am: c365007e5f
Youming Ye [Wed, 27 Mar 2019 00:12:34 +0000 (17:12 -0700)]
Merge "Hide blocking pay phone option use carrier config" am: c365007e5f
am: 694020234b

Change-Id: I91d75a6365cc629d10bfaaebdba3faf6ead646af

5 years agoMerge "Unify media permissions enforcement in framework."
Jeff Sharkey [Tue, 26 Mar 2019 23:54:22 +0000 (23:54 +0000)]
Merge "Unify media permissions enforcement in framework."

5 years agoUnify media permissions enforcement in framework.
Jeff Sharkey [Mon, 25 Mar 2019 17:44:11 +0000 (11:44 -0600)]
Unify media permissions enforcement in framework.

This opens the door to the same consistent logic being shared by
anyone across the OS who wants to enforce storage permissions.

Bug: 126788266
Test: atest --test-mapping packages/apps/MediaProvider
Exempted-From-Owner-Approval: Trivial permissions refactoring
Change-Id: I3107425f8dafa6ba05918bb67c3c0cb5d3899657

5 years agoMerge "wifi.proto: Rename NOMINATOR_NETREC to NOMINATOR_SPECIFIER"
David Su [Tue, 26 Mar 2019 23:54:02 +0000 (23:54 +0000)]
Merge "wifi.proto: Rename NOMINATOR_NETREC to NOMINATOR_SPECIFIER"

5 years agoMerge "Device could not use wifi hotspot when data card switch to sim2" am: cd24e832e8
Amit Mahajan [Tue, 26 Mar 2019 23:48:14 +0000 (16:48 -0700)]
Merge "Device could not use wifi hotspot when data card switch to sim2" am: cd24e832e8
am: 012a279038

Change-Id: I5e3aac3d3181aaae02e5568923154cd89f427380

5 years agoMerge "Make SESSION_UPDATED broadcast explicit."
TreeHugger Robot [Tue, 26 Mar 2019 23:40:17 +0000 (23:40 +0000)]
Merge "Make SESSION_UPDATED broadcast explicit."

5 years agoMerge "Disable XOM on libraries for apps with targetSdkVerison<Q"
TreeHugger Robot [Tue, 26 Mar 2019 23:38:46 +0000 (23:38 +0000)]
Merge "Disable XOM on libraries for apps with targetSdkVerison<Q"

5 years agoFix missing combination check SINK/DEVICE
Badhri Jagan Sridharan [Mon, 25 Mar 2019 18:02:44 +0000 (11:02 -0700)]
Fix missing combination check SINK/DEVICE

While checking for possible role combinations, the SINK/HOST combination
seems to be mistakenly checked twice intead of SINK/DEVICE.
This CL fixes this. The code now checks for:
1. source & host
2. sink & host
3. source & device
4. sink & device

Bug: 119142682
Change-Id: I5e652fbf9313bd2c122fe728d58e577085632253
Merged-In: I5e652fbf9313bd2c122fe728d58e577085632253

5 years agoMerge "Fix missing combination check SINK/DEVICE"
TreeHugger Robot [Tue, 26 Mar 2019 23:29:25 +0000 (23:29 +0000)]
Merge "Fix missing combination check SINK/DEVICE"

5 years agoDo not grant already granted permission
Philip P. Moltmann [Tue, 26 Mar 2019 23:17:26 +0000 (16:17 -0700)]
Do not grant already granted permission

This is esp. necessary as we want to avoid to grant already grated
system-fixed permissions.

Fixes: 129354118
Test: Upgraded from P->Q
Change-Id: Ifc8271e77a94545f995160402fd83867c404bb54

5 years agoModify fontchain_linter.py for Unicode 12.0 .
Qingqing Deng [Mon, 25 Mar 2019 23:53:34 +0000 (16:53 -0700)]
Modify fontchain_linter.py for Unicode 12.0 .

Bug:127811703
Test: m fontchain_lint

Change-Id: I36e5804388b70d98a507a719741cae6bc73b727f

5 years agoMerge "Hide blocking pay phone option use carrier config"
Youming Ye [Tue, 26 Mar 2019 22:56:42 +0000 (15:56 -0700)]
Merge "Hide blocking pay phone option use carrier config"
am: c365007e5f

Change-Id: I4385f33d658a394d80e0b0722faf5ca12df940f6

5 years agoReset the whitelist helper for augmented autofill and content capture
Adam He [Mon, 25 Mar 2019 22:49:58 +0000 (15:49 -0700)]
Reset the whitelist helper for augmented autofill and content capture
when service changes.

Fixes: 128911798
Test: atest CtsContentCaptureServiceTestCases
Test: atest
android.autofillservice.cts.augmented.AugmentedLoginActivityTest

Change-Id: If63b1d1419637764557c87b4e960d6ef32160594

5 years agoMerge "Device could not use wifi hotspot when data card switch to sim2"
Amit Mahajan [Tue, 26 Mar 2019 22:45:52 +0000 (15:45 -0700)]
Merge "Device could not use wifi hotspot when data card switch to sim2"
am: cd24e832e8

Change-Id: I9ae2b31e6dd3f4a4c575ff37b8a9df58eb2c2e70

5 years agoMerge "Enabling HW detection while phone ringing"
TreeHugger Robot [Tue, 26 Mar 2019 22:38:42 +0000 (22:38 +0000)]
Merge "Enabling HW detection while phone ringing"

5 years agoACTION_SPEAKERPHONE_STATE_CHANGED: only broadcast by system
Jean-Michel Trivi [Tue, 26 Mar 2019 22:20:21 +0000 (15:20 -0700)]
ACTION_SPEAKERPHONE_STATE_CHANGED: only broadcast by system

Bug: 74541410
Test: change speakerphone state in call, check logs
Change-Id: Ifce2a4594d4e9faaa7e0352d22b82ae5dbe2e025

5 years agoFix the INTERNET related permissions
Chenbo Feng [Fri, 8 Mar 2019 19:55:12 +0000 (11:55 -0800)]
Fix the INTERNET related permissions

Change the INTERNET permission implementation so it only block socket
creation when non of the packages under the same uid have internet
permission. Fix the UPDATE_DEVICE_STATS permission so only the uid that
own the permission can change it.

Bug: 111560570
Test: CtsNetTestCasesUpdateStatsPermission
      CtsNetTestCasesInternetPermission
Change-Id: I42385526c191d4429f486cde01293b27fcc1374b

5 years agoMerge "Hide blocking pay phone option use carrier config"
Treehugger Robot [Tue, 26 Mar 2019 22:10:58 +0000 (22:10 +0000)]
Merge "Hide blocking pay phone option use carrier config"

5 years agoMerge "move short code definitions to SmsManager Test API"
Chen Xu [Tue, 26 Mar 2019 22:07:41 +0000 (22:07 +0000)]
Merge "move short code definitions to SmsManager Test API"

5 years agoFix NPE when view doesn't have a parent
Lucas Dupin [Tue, 26 Mar 2019 21:58:02 +0000 (14:58 -0700)]
Fix NPE when view doesn't have a parent

Test: manually swipe up
Fixes: 129307155
Change-Id: I634923a155808972a98cecdf17e28f83ca5de65a

5 years agoMerge "Split display white balance into a separate helper"
Christine Franks [Tue, 26 Mar 2019 21:44:04 +0000 (21:44 +0000)]
Merge "Split display white balance into a separate helper"

5 years agoGraphicsEnvironment: Allow profileable apps to load layers
Cody Northrop [Mon, 25 Mar 2019 21:40:00 +0000 (15:40 -0600)]
GraphicsEnvironment: Allow profileable apps to load layers

Apps that allow themselves to be profiled locally are also eligible
to load layers, since they are set dumpable. They can opt in by
setting the following in AndroidManifest.xml:

    <!-- App opts-in to being profiled by the shell -->
    <application>
        ...
        <profileable shell=”true”/>
    </application>

Bug: 128637647
Test: atest CtsGpuToolsHostTestCases
Test: Modify CtsGpuToolsHostTestCases to use profileable="true"
      and ensure loading from external works.

Change-Id: Ib072d07408c2abd8fee7179fec3a0d28d72d6398

5 years agoMerge "Also need to filter second pass."
Jeff Sharkey [Tue, 26 Mar 2019 21:27:50 +0000 (21:27 +0000)]
Merge "Also need to filter second pass."

5 years agoMerge "Device could not use wifi hotspot when data card switch to sim2"
Amit Mahajan [Tue, 26 Mar 2019 21:18:23 +0000 (21:18 +0000)]
Merge "Device could not use wifi hotspot when data card switch to sim2"

5 years agoMerge "Add bluetooth icon." am: af76131710 am: 94628539aa
Amin Shaikh [Tue, 26 Mar 2019 21:16:10 +0000 (14:16 -0700)]
Merge "Add bluetooth icon." am: af76131710 am: 94628539aa
am: d619ec0d0e

Change-Id: I04f91bd35dfd8363368435dd8d605f0a2fb58f15

5 years agoMerge "Call SmartActionsHelpers in a worker thread"
TreeHugger Robot [Tue, 26 Mar 2019 21:05:37 +0000 (21:05 +0000)]
Merge "Call SmartActionsHelpers in a worker thread"

5 years agoMerge "Add bluetooth icon." am: af76131710
Amin Shaikh [Tue, 26 Mar 2019 21:02:37 +0000 (14:02 -0700)]
Merge "Add bluetooth icon." am: af76131710
am: 94628539aa

Change-Id: Ib315b1f5e7c2244bb1fe60ec19425dc14048bdcb

5 years agoMerge "Update icons for Photos/Videos and Music permissions."
TreeHugger Robot [Tue, 26 Mar 2019 20:56:11 +0000 (20:56 +0000)]
Merge "Update icons for Photos/Videos and Music permissions."

5 years agoMerge "Make sure only SYSTEM can call notifyStaged(Apk)Session"
TreeHugger Robot [Tue, 26 Mar 2019 20:38:15 +0000 (20:38 +0000)]
Merge "Make sure only SYSTEM can call notifyStaged(Apk)Session"

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 895f1c...
Bill Yi [Tue, 26 Mar 2019 20:37:02 +0000 (13:37 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev am: 895f1c1032 -s ours
am: 329395491a -s ours
am skip reason: subject contains skip directive

Change-Id: I67eaf373e889c65eb6dc3970f8ddf0ba05a18f3e

5 years agoMerge "Add bluetooth icon."
Amin Shaikh [Tue, 26 Mar 2019 20:28:50 +0000 (13:28 -0700)]
Merge "Add bluetooth icon."
am: af76131710

Change-Id: Id2ee34a49d26bcf8109b59f9012c750fe2da1be5

5 years agoMerge "Add NonNull/Nullable annotations"
TreeHugger Robot [Tue, 26 Mar 2019 20:26:35 +0000 (20:26 +0000)]
Merge "Add NonNull/Nullable annotations"

5 years agoMake SESSION_UPDATED broadcast explicit.
Dario Freni [Tue, 26 Mar 2019 19:36:26 +0000 (19:36 +0000)]
Make SESSION_UPDATED broadcast explicit.

This restricts the broadcast message only to the original installer of
the package. At the same time, this allows the broadcast receiver to
declare the receiver in the android manifest for this message, which
would otherwise be ignored if the broadcast message was implicit.

Change-Id: Ic1d8851ba8f3cee83ad715e488b60261a07af8d8
Fix: 124897340
Test: atest CtsStagedInstallHostTestCases (modified in separate CL)

5 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
Bill Yi [Tue, 26 Mar 2019 20:19:53 +0000 (13:19 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into pi-dev
am: 895f1c1032 -s ours
am skip reason: subject contains skip directive

Change-Id: I78a17b7ef9e97b76874def995894674bd4b1199f

5 years agoDisable XOM on libraries for apps with targetSdkVerison<Q
Jeff Vander Stoep [Tue, 26 Mar 2019 03:27:52 +0000 (20:27 -0700)]
Disable XOM on libraries for apps with targetSdkVerison<Q

Apps may (and do) assume that libraries are readable. To avoid app
breakage, mark execute-only sections of as read+execute
for apps with targetSdkVersion<Q.

Bug: 128907672
Test: Check libc for app with targetSdk==current
cat /proc/25950/maps | grep libc.so
77c01e3000-77c028b000 --xp 00041000 07:20 106 /apex/com.android.runtime/lib64/bionic/libc.so
Test: Check libc for app with targetSdk<current
cat /proc/26355/maps | grep libc.so
77c01e3000-77c028b000 r-xp 00041000 07:20 106
/apex/com.android.runtime/lib64/bionic/libc.so

Change-Id: I90b5c91923c8008ae4b4818985842fe3e354a850

5 years agoMerge "Make InputApplicationInfo as a part of InputApplicationHandle (2/2)"
TreeHugger Robot [Tue, 26 Mar 2019 19:57:14 +0000 (19:57 +0000)]
Merge "Make InputApplicationInfo as a part of InputApplicationHandle (2/2)"

5 years agoMove tag definitions into policy
Siarhei Vishniakou [Mon, 25 Mar 2019 22:38:11 +0000 (15:38 -0700)]
Move tag definitions into policy

Currently, the tags are defined in system/core.
Instead, reserve a range in system/core and define the tags in policy.

Next, we add a flag for interceptKeyBeforeQueueing.

Bug: 128933363
Test: adb logcat -b events, turn on screen, then press power button and
observe the logs.

Change-Id: I1fde2a2e7451ec67987ad3b09abc28be64410427

5 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
TreeHugger Robot [Tue, 26 Mar 2019 19:36:47 +0000 (19:36 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

5 years agoDecide the current user after PHASE_THIRD_PARTY boot phase
Keun young Park [Tue, 19 Mar 2019 01:55:31 +0000 (18:55 -0700)]
Decide the current user after PHASE_THIRD_PARTY boot phase

- Current user can change during the boot phase from other system services.
- If the current user has changed, and the system user is not started yet,
  crash the system as the system component starting other user should
  have started system user already.

Bug: 128871357
Test: Reboot and check if user switching happens in right order
Change-Id: I7e98e4a9f9f57612dca3052615689555cc965705

5 years agoFix crash after dequeueNativeBuffer fails
Stan Iliev [Tue, 26 Mar 2019 19:14:34 +0000 (15:14 -0400)]
Fix crash after dequeueNativeBuffer fails

Anytime dequeueNativeBuffer fails, it sets mDequeuedIndex to -1.
This is causing a crash latter, when getCurrentSkSurface tries
to index mNativeBuffers[mDequeuedIndex].
This CL removes mDequeuedIndex and improves Vulkan swapchain
error handling.

Test: Ran Camera app
Bug: 129024275
Change-Id: Ieeb685c3a1b33f23ce2334d286199a44ace53165

5 years agoMerge "Remove set noparent from the net protos directory."
Joe Onorato [Tue, 26 Mar 2019 19:13:44 +0000 (19:13 +0000)]
Merge "Remove set noparent from the net protos directory."

5 years agoMerge "Add ExplicitHealthCheckController"
TreeHugger Robot [Tue, 26 Mar 2019 19:11:34 +0000 (19:11 +0000)]
Merge "Add ExplicitHealthCheckController"

5 years agoFix missing combination check SINK/DEVICE
Badhri Jagan Sridharan [Mon, 25 Mar 2019 18:02:44 +0000 (11:02 -0700)]
Fix missing combination check SINK/DEVICE

While checking for possible role combinations, the SINK/HOST combination
seems to be mistakenly checked twice intead of SINK/DEVICE.
This CL fixes this. The code now checks for:
1. source & host
2. sink & host
3. source & device
4. sink & device

Cherrypicked from aosp:
https://android-review.googlesource.com/c/platform/frameworks/base/+/933377

Bug: 119142682
Test: Build success
Change-Id: I5e652fbf9313bd2c122fe728d58e577085632253

5 years agoMerge "Move some common functionality to AbstractResolverComparator."
TreeHugger Robot [Tue, 26 Mar 2019 18:46:33 +0000 (18:46 +0000)]
Merge "Move some common functionality to AbstractResolverComparator."

5 years agoMerge "Make VPN dialogs respect dark theme."
TreeHugger Robot [Tue, 26 Mar 2019 18:45:09 +0000 (18:45 +0000)]
Merge "Make VPN dialogs respect dark theme."

5 years agoMerge "Add Theme.DeviceDefault.Dialog.Alert.DayNight"
TreeHugger Robot [Tue, 26 Mar 2019 18:45:09 +0000 (18:45 +0000)]
Merge "Add Theme.DeviceDefault.Dialog.Alert.DayNight"

5 years agoCall SmartActionsHelpers in a worker thread
Tony Mak [Thu, 21 Mar 2019 14:58:37 +0000 (14:58 +0000)]
Call SmartActionsHelpers in a worker thread

Test: atest frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/

BUG: 129042820

Change-Id: I395617a36cec4f5d6744a018415bbed225c7f1bc

5 years ago[automerger skipped] Merge "Rename WM test filter to FrameworksTestsFilter" am: d824f...
Tadashi G. Takaoka [Tue, 26 Mar 2019 18:39:56 +0000 (11:39 -0700)]
[automerger skipped] Merge "Rename WM test filter to FrameworksTestsFilter" am: d824faeb46 am: 487ddbf518
am: 69ed566d8f -s ours
am skip reason: change_id I9592ff01158eec1b4ef4d0dd22be243e10bd198e with SHA1 82eb7a5f63 is in history

Change-Id: I976ad2f050e17fb57bf9bbcd426fa032193bb35f

5 years agoMerge "WifiNetworkSuggestion: Change the polarity of priority"
Roshan Pius [Tue, 26 Mar 2019 18:34:56 +0000 (18:34 +0000)]
Merge "WifiNetworkSuggestion: Change the polarity of priority"

5 years agoMerge "Add bluetooth icon."
Treehugger Robot [Tue, 26 Mar 2019 18:30:30 +0000 (18:30 +0000)]
Merge "Add bluetooth icon."

5 years agoincidentd can now handle multiple callers asking it for incident reports
Joe Onorato [Mon, 11 Feb 2019 15:55:13 +0000 (15:55 +0000)]
incidentd can now handle multiple callers asking it for incident reports

Test: bit incident_test:* GtsIncidentManagerTestCases:*
Bug: 123543706
Change-Id: I9f671dd5d8b2ad139f952a23e575c2be16120459

5 years agoRemove set noparent from the net protos directory.
Joe Onorato [Tue, 26 Mar 2019 18:19:27 +0000 (11:19 -0700)]
Remove set noparent from the net protos directory.

The frameworks proto owners need to be able to edit these files.

Change-Id: I7700e14d5ed80e4b6e7892b9da65f01c467f0b6e

5 years agoMerge "Revert "Disable preview on volume change" "
TreeHugger Robot [Tue, 26 Mar 2019 18:19:26 +0000 (18:19 +0000)]
Merge "Revert "Disable preview on volume change" "

5 years agoMerge "Rename WM test filter to FrameworksTestsFilter" am: d824faeb46
Tadashi G. Takaoka [Tue, 26 Mar 2019 18:17:15 +0000 (11:17 -0700)]
Merge "Rename WM test filter to FrameworksTestsFilter" am: d824faeb46
am: 487ddbf518

Change-Id: I04f88e7d16b8da5821050f1ed7a64566b1fadd3d

5 years agoMerge "Use a constant value (derived from MAX_BUBBLES) for elevation."
Josh Tsuji [Tue, 26 Mar 2019 18:13:14 +0000 (18:13 +0000)]
Merge "Use a constant value (derived from MAX_BUBBLES) for elevation."

5 years agoMerge "Changed process names for USAPs."
TreeHugger Robot [Tue, 26 Mar 2019 18:07:56 +0000 (18:07 +0000)]
Merge "Changed process names for USAPs."

5 years agoAuto expand bubbles when foreground with the flag set
Mady Mellor [Thu, 21 Mar 2019 23:00:45 +0000 (16:00 -0700)]
Auto expand bubbles when foreground with the flag set

- Tests if you're not foreground that it's not auto expanded
- Tests if you are foreground it does expand

Test: atest BubbleControllerTest
Bug: 123542531
Change-Id: I016a39236f1d1ac83518f6cc57099c4e5bc83686

5 years agoMerge "Check if ActivityView is non null in usingActivityView check"
TreeHugger Robot [Tue, 26 Mar 2019 17:55:26 +0000 (17:55 +0000)]
Merge "Check if ActivityView is non null in usingActivityView check"