OSDN Git Service

android-x86/frameworks-base.git
5 years agoFix AppCompactorTest and add a presubmit TEST_RULE
Linus Tufvesson [Tue, 26 Mar 2019 17:31:14 +0000 (17:31 +0000)]
Fix AppCompactorTest and add a presubmit TEST_RULE

Test will run as presubmit if AppCompactor.java is modified.

Modifying server/TEST_MAPPING to add "include-filter":
"com.android.server." to make sure it still runs as expected.

Bug: 128613287
Bug: 129341058

Test: atest --test-mapping [while in com/android/server/am/]
Test: atest FrameworksMockingServicesTests:AppCompactorTest
Change-Id: I6238f83c0f94d9a9ca593ddab5169667150a5583

5 years agoMerge "Fix NPE when querying serial number of a partial user."
Pavel Grafov [Wed, 27 Mar 2019 11:10:38 +0000 (11:10 +0000)]
Merge "Fix NPE when querying serial number of a partial user."

5 years ago[automerger skipped] Merge "DO NOT MERGE Atoms: Add BluetoothClassicPairingEvent...
Jack He [Wed, 27 Mar 2019 10:34:59 +0000 (03:34 -0700)]
[automerger skipped] Merge "DO NOT MERGE Atoms: Add BluetoothClassicPairingEvent" into pi-dev am: 0c9ce0913c -s ours
am: 0cc9d441d6 -s ours
am skip reason: subject contains skip directive

Change-Id: Ie89b4f2831136ff800bc68c6cda9d80626a49319

5 years ago[automerger skipped] Merge "DO NOT MERGE Atoms: Add BluetoothClassicPairingEvent...
Jack He [Wed, 27 Mar 2019 10:29:09 +0000 (03:29 -0700)]
[automerger skipped] Merge "DO NOT MERGE Atoms: Add BluetoothClassicPairingEvent" into pi-dev
am: 0c9ce0913c -s ours
am skip reason: SHA1 0c9ce0913c skipped by user siyuanh

Change-Id: I39d8af52f6e3c7614f4a024689c7c4ee0a16997d

5 years agoMerge "Instead of duplicating test config, use imports."
TreeHugger Robot [Wed, 27 Mar 2019 09:42:47 +0000 (09:42 +0000)]
Merge "Instead of duplicating test config, use imports."

5 years agoMerge "Merge "Enable more logs for networking" am: f3736d67f8 am: 310609b8be am:...
Android Build Merger (Role) [Wed, 27 Mar 2019 08:35:21 +0000 (08:35 +0000)]
Merge "Merge "Enable more logs for networking" am: f3736d67f8 am: 310609b8be am: d33e31e27a"

5 years agoMerge "Enable more logs for networking" am: f3736d67f8 am: 310609b8be
Lorenzo Colitti [Wed, 27 Mar 2019 08:34:53 +0000 (01:34 -0700)]
Merge "Enable more logs for networking" am: f3736d67f8 am: 310609b8be
am: d33e31e27a

Change-Id: Icd81490cabaaf1d164ce77bda76b196b869c8721

5 years agoMerge "Revoke all relevant shared permission on uninstall"
Anton Hansson [Wed, 27 Mar 2019 08:31:49 +0000 (08:31 +0000)]
Merge "Revoke all relevant shared permission on uninstall"

5 years agoMerge "Protect spy by holding lock"
TreeHugger Robot [Wed, 27 Mar 2019 08:22:54 +0000 (08:22 +0000)]
Merge "Protect spy by holding lock"

5 years agoMerge "Enable more logs for networking" am: f3736d67f8
Lorenzo Colitti [Wed, 27 Mar 2019 08:22:13 +0000 (01:22 -0700)]
Merge "Enable more logs for networking" am: f3736d67f8
am: 310609b8be

Change-Id: Ie5dd53b7a8f9fbab801b5476b2ce89489b7ba09c

5 years agoMerge "Remove ic_empty_recents.xml from launcher icon packs"
TreeHugger Robot [Wed, 27 Mar 2019 08:18:23 +0000 (08:18 +0000)]
Merge "Remove ic_empty_recents.xml from launcher icon packs"

5 years agoMerge "Enable more logs for networking"
Lorenzo Colitti [Wed, 27 Mar 2019 08:13:26 +0000 (01:13 -0700)]
Merge "Enable more logs for networking"
am: f3736d67f8

Change-Id: I422863512aa78849dcb5d61d986d7f8bbff24fd2

5 years agoMerge "Enable more logs for networking"
Lorenzo Colitti [Wed, 27 Mar 2019 07:55:35 +0000 (07:55 +0000)]
Merge "Enable more logs for networking"

5 years agoFix the build
Joe Onorato [Wed, 27 Mar 2019 07:20:25 +0000 (00:20 -0700)]
Fix the build

Change-Id: I770ed6fd8de0479655f587db68a09882eb6cceb5

5 years agoMerge "Fix api council feedback"
Joe Onorato [Wed, 27 Mar 2019 06:54:18 +0000 (06:54 +0000)]
Merge "Fix api council feedback"

5 years agoMerge "Update visual: AppSwitchPreference alignment"
Mill Chen [Wed, 27 Mar 2019 06:34:50 +0000 (06:34 +0000)]
Merge "Update visual: AppSwitchPreference alignment"

5 years agoMerge "Fixed incorrect color of volume panel after theme change"
Shawn Lin [Wed, 27 Mar 2019 06:13:46 +0000 (06:13 +0000)]
Merge "Fixed incorrect color of volume panel after theme change"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Wed, 27 Mar 2019 06:11:11 +0000 (06:11 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Get the permission information for native services" am: 743a1c8001 am: cfe2cc942a
Chenbo Feng [Wed, 27 Mar 2019 05:53:13 +0000 (22:53 -0700)]
Merge "Get the permission information for native services" am: 743a1c8001 am: cfe2cc942a
am: 875019ae5f

Change-Id: I798cf00caee4f505d45929ddf9ccd03e658c4c3c

5 years agoMerge "Add log metrics for Aware status dialog"
TreeHugger Robot [Wed, 27 Mar 2019 05:43:24 +0000 (05:43 +0000)]
Merge "Add log metrics for Aware status dialog"

5 years agoMerge "Get the permission information for native services" am: 743a1c8001
Chenbo Feng [Wed, 27 Mar 2019 05:42:38 +0000 (22:42 -0700)]
Merge "Get the permission information for native services" am: 743a1c8001
am: cfe2cc942a

Change-Id: I61bdf44239c880ef1b95c31a037f64158a32d789

5 years agoMerge "Get the permission information for native services"
Chenbo Feng [Wed, 27 Mar 2019 05:33:27 +0000 (22:33 -0700)]
Merge "Get the permission information for native services"
am: 743a1c8001

Change-Id: I806e3e948dfab0cc8c691c20f377bbc3a24240a6

5 years agoMerge "Get the permission information for native services"
Treehugger Robot [Wed, 27 Mar 2019 05:21:29 +0000 (05:21 +0000)]
Merge "Get the permission information for native services"

5 years agoMerge "DO NOT MERGE Atoms: Add BluetoothClassicPairingEvent" into pi-dev
TreeHugger Robot [Wed, 27 Mar 2019 05:09:25 +0000 (05:09 +0000)]
Merge "DO NOT MERGE Atoms: Add BluetoothClassicPairingEvent" into pi-dev

5 years agoMerge "Adaptive bubble icon - match theme using adaptive icon drawable"
TreeHugger Robot [Wed, 27 Mar 2019 04:43:33 +0000 (04:43 +0000)]
Merge "Adaptive bubble icon - match theme using adaptive icon drawable"

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 agoFix api council feedback
Joe Onorato [Mon, 25 Mar 2019 21:16:28 +0000 (14:16 -0700)]
Fix api council feedback

Bug: 126700270
Test: treehugger
Change-Id: Ib274c7c7975b6260b018d63216e03fd8eff57223

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 agoGet the permission information for native services
Chenbo Feng [Tue, 26 Mar 2019 21:36:34 +0000 (14:36 -0700)]
Get the permission information for native services

For native services such as mediaserver and audioserver, the permission
information cannot be retrieved from getInstalledPackages. Instead, the
high level permission information is avalaible in systemConfigs. With
those permission information, netd can store the complete list of uids
that have UPDATE_DEVICE_STATS permission.

Bug: 128944261
Test: dumpsys netd trafficcontroller
Change-Id: I0331d5a3a5b927a351fcfe6689ef1ba2b993db0c

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 agoFixed incorrect color of volume panel after theme change
shawnlin [Tue, 26 Mar 2019 12:58:32 +0000 (20:58 +0800)]
Fixed incorrect color of volume panel after theme change

Apply theme change to volume panel.

Fixes: 127674670
Test: manual - enable battery saver and talk back then check the volume
panel

Change-Id: I48f292012ef3abec45f35836aad9c261cd9a039c

5 years agoAdd log metrics for Aware status dialog
Edgar Wang [Tue, 26 Mar 2019 12:18:21 +0000 (20:18 +0800)]
Add log metrics for Aware status dialog

Bug: 128853573
Test: rebuild
Change-Id: I90ac8ffff10d8d75a4b0fa4b282855276e32548e

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 agoAdaptive bubble icon - match theme using adaptive icon drawable
Lyn Han [Mon, 25 Mar 2019 22:04:21 +0000 (15:04 -0700)]
Adaptive bubble icon - match theme using adaptive icon drawable

Test: manual
Bug: 123829494
Fixes: 123697476
Change-Id: I4ea911b6e5c4ae47fbce304de26432c2f7c3da88

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 agoRemove ic_empty_recents.xml from launcher icon packs
Hyunyoung Song [Tue, 26 Mar 2019 21:44:33 +0000 (14:44 -0700)]
Remove ic_empty_recents.xml from launcher icon packs

Bug: 129066717
Test: builds, manually tested

Change-Id: I0aa6d1257d5cc2c98ed6f7785ed433d56740cf84

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