Commit Graph

421113 Commits

Author SHA1 Message Date
Shuzhen Wang
105f6f68f8 Merge "MediaFrameworkTest: Fix storage path" into qt-dev
am: e83c7779c0

Change-Id: I03884595c1aa9edb0be95f80cf9a58adec13301d
2019-05-29 12:08:30 -07:00
Neil Fuller
c3dfd08914 Switch to HexEncoding from ByteStringUtils
Migration in preparation for deletion of ByteStringUtils.

Bug: 124232146
Test: build only
Exempt-From-Owner-Approval: Already approved in upstream.
Change-Id: I2cb09da5ec5296799e03bab812b7fb29452a623e
(cherry picked from commit 2344ec4f75)
2019-05-29 19:01:20 +00:00
TreeHugger Robot
e83c7779c0 Merge "MediaFrameworkTest: Fix storage path" into qt-dev 2019-05-29 19:01:06 +00:00
Jeff Sharkey
601c3c63d0 Fix getMediaUri() bug on secondary devices.
We need to return visible paths for MediaProvider to work with,
instead of internal paths.

Bug: 133730441
Test: atest android.providerui.cts.MediaStoreUiTest
Change-Id: If06dc635b22032761626cf54b37b7bc15ace7b2e
2019-05-29 12:55:07 -06:00
Govinda Wasserman
2c1134052e Update assist handle behavior control
Improves behavior modes to use more reliable callback mechanisms. Added
phenotype flag hooks for control of behavior and behavior parameters.
Added more robust null guarding.

Test: Tested locally
BUG:132983599
Change-Id: I42039152836071941d6b4f1cafb3670c62a65824
2019-05-29 14:41:23 -04:00
Jack Yu
a74f2d8c34 Considered network preference when simulating legacy data RAT
Correctly supported the legacy data RAT when both cellular
and IWLAN are in service. In this case only report
RAT as IWLAN when any type of APN is preferred on IWLAN.
Otherwise still use the RAT reported by cellular network
service.

Bug: 133516945
Test: Manual

Change-Id: Ifdddad1d5ee95f4576d5002a1b66caafc172cb58
2019-05-29 11:36:44 -07:00
Keun young Park
a2162f56d8 ColorDisplayService: Check for null content observer before unregistering
- Early user switching in car env can lead into NPE

Bug: 133857745
Test: boot in car env
Change-Id: I3d2f67f1a57fc1f7dabb43d4917bbe3d83492852
2019-05-29 11:33:11 -07:00
Mehdi Alizadeh
89b397be2d Merge "Filter disabled/suspended direct share targets in sharesheet" into qt-dev
am: 8a09c7c0ae

Change-Id: Icf53f2d5b2bf4196a3779c6238ca542d11ba95d1
2019-05-29 11:26:33 -07:00
Evan Rosky
08e2093968 Take snapshot directly during change transition
Using the tasksnapshotcontroller here is actually wrong... the
snapshot being created is already out-of-date and could have
scaling/other things applied to it. Additionally, it can clash
with things listening for task-snapshot changes which is also
wrong.

This changes to getting a snapshot directly which is more
correct and faster (since it doesn't go through the snapshot
controller's caching thing).

Bug: 132783168
Test: Manual, change transitions still work. android on chrome
      doesn't crash on tablet-mode switch

Change-Id: I726ed174765ac64bedb7cd130719190a06ad42ab
2019-05-29 11:24:15 -07:00
Chenbo Feng
a5479eca84 Add server information for pptp vpn
The pptp vpn set up in ip-up-vpn.c does not provide an environment
variable for the remote server so we cannot setup a correct throw route
to the VPN endpoint. Change the LegacyVpnRunner class to include the
remote server information in the class so it can use it to bring up the
vpn and set the throw rule correctly.

Bug: 133797637
Test: Build
Change-Id: Ia6b00dd88f8f31823647c56c20b8c7edd20280f7
Merged-In: Ia6b00dd88f8f31823647c56c20b8c7edd20280f7
(cherry picked from commit b38065dd3a)
2019-05-29 11:17:20 -07:00
Amin Shaikh
0fcc337b6c Add battery estimate to content description.
Fixes: 128892060
Test: mp sysuig
Change-Id: Ic8563fc3681d695fdacc94ca03e96df898b40e0c
2019-05-29 14:08:41 -04:00
Mehdi Alizadeh
8a09c7c0ae Merge "Filter disabled/suspended direct share targets in sharesheet" into qt-dev 2019-05-29 18:06:57 +00:00
Yi Jiang
f8291bbafc Add user-switching observer to AttentionDetector
Bug: 133208762
Test: manually verified on device.
Change-Id: I98fa103ec131aa0c18c84921539867f11d8fc0e5
2019-05-29 11:04:44 -07:00
Chen Xu
521da528a5 Merge "NetworkStatAccess Should checkCarrierPrivileges cross all subscriptions" am: 478cbabf8c
am: 4d206af049

Change-Id: Ib2d02bd3936ae112f62861c301d99582e0b998b0
2019-05-29 10:43:06 -07:00
Chen Xu
4d206af049 Merge "NetworkStatAccess Should checkCarrierPrivileges cross all subscriptions"
am: 478cbabf8c

Change-Id: Icaf62728e8a64e6e027d65a8917c9dea10067f79
2019-05-29 10:38:40 -07:00
Cody Northrop
4368822d7d Merge changes from topic "no_layers_profileable" into qt-dev
am: 3893e5d9ea

Change-Id: I332a1bb9ec353922c8be4c75be92498fd8438a90
2019-05-29 10:28:06 -07:00
Julia Reynolds
4710517bb1 Merge "Add snooze options setting" into qt-dev
am: f6f26e0447

Change-Id: Iae56f9774672c88719ea0a9eb0d4b0ff5bc2b954
2019-05-29 10:24:26 -07:00
chen xu
dfa5fe6529 NetworkStatAccess Should checkCarrierPrivileges cross all subscriptions
Bug: 133236378
Test: Manual
Change-Id: I49fbde1fe73b33aadcf8fd23ad224f363b137bf3
Merged-in: I49fbde1fe73b33aadcf8fd23ad224f363b137bf3
2019-05-29 17:16:54 +00:00
Chen Xu
478cbabf8c Merge "NetworkStatAccess Should checkCarrierPrivileges cross all subscriptions" 2019-05-29 17:15:41 +00:00
Nicholas Sauer
849976d753 Merge "Add privapp config for cluster." into qt-dev
am: 826c01e8e6

Change-Id: I583ac245d4071993a7c344e7722371ae9172fb87
2019-05-29 10:11:51 -07:00
Cody Northrop
3893e5d9ea Merge changes from topic "no_layers_profileable" into qt-dev
* changes:
  GraphicsEnvironment: No debug ANGLE packages for profileable apps
  Revert "GraphicsEnvironment: Allow profileable apps to load layers"
2019-05-29 17:10:56 +00:00
Kweku Adams
eb4e6165ce Merge "Changing default limits, clarify flags, fix bug." into qt-dev
am: 44bb9d7f6b

Change-Id: Ia4e25d38e7e0085cac76708ebc83465d3a867546
2019-05-29 10:09:12 -07:00
Matt Pietal
17d673a6f6 Merge "Sharesheet - Fix NPE on default app launch" into qt-dev
am: b5fbf20a55

Change-Id: I9806cbfd3391b2ce72f3c9996ef8308dd012b358
2019-05-29 10:06:42 -07:00
TreeHugger Robot
f6f26e0447 Merge "Add snooze options setting" into qt-dev 2019-05-29 17:03:32 +00:00
TreeHugger Robot
826c01e8e6 Merge "Add privapp config for cluster." into qt-dev 2019-05-29 16:59:13 +00:00
Sudheer Shanka
71419542ad Merge "Fix NPE when querying for already uninstalled package." into qt-dev
am: 54dbca30ed

Change-Id: Ibcc356239e0ab56320a1912c9e842e00f9e59b0e
2019-05-29 09:55:24 -07:00
Kweku Adams
44bb9d7f6b Merge "Changing default limits, clarify flags, fix bug." into qt-dev 2019-05-29 16:54:52 +00:00
Android Build Merger (Role)
f20fcc58aa Merge "[automerger skipped] Merge "Convert PrintRecommendationService to Android.bp." am: cb36cba281 am: 0f7affc025 -s ours am skip reason: change_id I4ff0577a0c27b8a451e6aca2c62c2437481c2a0c with SHA1 bbcb87ffa2 is in history" into qt-dev-plus-aosp 2019-05-29 16:54:32 +00:00
Jaewoong Jung
4afa594b7c [automerger skipped] Merge "Convert PrintRecommendationService to Android.bp." am: cb36cba281
am: 0f7affc025 -s ours
am skip reason: change_id I4ff0577a0c27b8a451e6aca2c62c2437481c2a0c with SHA1 bbcb87ffa2 is in history

Change-Id: I487a284e1a2b309d87c0415704dbc9faddfe3780
2019-05-29 09:53:52 -07:00
TreeHugger Robot
b5fbf20a55 Merge "Sharesheet - Fix NPE on default app launch" into qt-dev 2019-05-29 16:53:48 +00:00
Beverly
e0d4554fa0 Merge "Change suppresible type of voice comm signalling" into qt-dev
am: c9dcf2ff78

Change-Id: If272dbfe8acec4020c78b834d786890af2261c9f
2019-05-29 09:53:34 -07:00
Amin Shaikh
6d52a16f80 Update notification bell and bluetooth volume icon
Fixes: 133836840
Fixes: 110213437
Test: mp sysuig
Change-Id: I8a102aa6a5c5347cae4dad0425b932be3dd7259b
2019-05-29 12:50:58 -04:00
Shuzhen Wang
f2d1172f48 MediaFrameworkTest: Fix storage path
Test: Run mediaframeworktest
Bug: 133767357
Change-Id: If2930dffff0582a6a1b33a7de15c3008aaf923bd
2019-05-29 09:50:00 -07:00
Sudheer Shanka
54dbca30ed Merge "Fix NPE when querying for already uninstalled package." into qt-dev 2019-05-29 16:49:10 +00:00
Jaewoong Jung
0f7affc025 Merge "Convert PrintRecommendationService to Android.bp."
am: cb36cba281

Change-Id: I815a11495b8305207cb646a4ab79cb6fe660cccc
2019-05-29 09:44:34 -07:00
Varun Anand
ebf59f07b1 Merge changes from topic "vpn_data_accounting" into qt-dev
am: b33d2ca2e3

Change-Id: I234eb2b20f47bde94b4aba89867e9d1c7e9ee7d5
2019-05-29 09:44:04 -07:00
TreeHugger Robot
c9dcf2ff78 Merge "Change suppresible type of voice comm signalling" into qt-dev 2019-05-29 16:37:30 +00:00
Varun Anand
b33d2ca2e3 Merge changes from topic "vpn_data_accounting" into qt-dev
* changes:
  Add one more test for VPN usage stats.
  Addressing comments for http://ag/7700679.
  NetworkStatsService: Fix getDetailedUidStats to take VPNs into account.
  Take all VPN underlying networks into account when migrating traffic for VPN uid.
2019-05-29 16:34:14 +00:00
Jaewoong Jung
cb36cba281 Merge "Convert PrintRecommendationService to Android.bp." 2019-05-29 16:21:58 +00:00
Sal Savage
4c52964017 [automerger skipped] Merge "BluetoothProfileConnector: Invoke service disconnections with the correct profile ID" into qt-dev
am: 26fdabb9a0 -s ours
am skip reason: change_id Id8dbeaf844a65020f610505f81eea20b96ec002a with SHA1 4afdab44ab is in history

Change-Id: I7b7c78b48872442d8b9100a19f78d0a50e8d6c94
2019-05-29 09:20:50 -07:00
Nate Myren
905c22a18d Merge "Changed comments to match real protection level" into qt-dev
am: b23292da1d

Change-Id: I8bdd28453f82179714f89066fc15f880ece70d0e
2019-05-29 09:19:12 -07:00
Patrick Baumann
dcf19166c3 Applies INSTALL_REPLACE_EXISTING outside of while loop
Prior to this change, the default behavior of replacing packages unless
-R was provided would only happen if at least one command line argument
was provided due to the actual setting of the flag happening within the
while loop that parses arguments. This change moves the application
outside of that loop, ensuring it's always set by default, even if no
arguments are provided.

Bug: 133453175
Test: adb install-multi-package ... with existing packages
Change-Id: I6673bb92c318b0a328880a5e9eb7cc6f5ba0ff40
2019-05-29 09:18:58 -07:00
Matt Casey
bcef557a90 Hide and re-show assist handles when phone is rotated.
Not getting fancy with the animation for the moment, just making sure
they show and hide in the right places.

Test: Show handles, verify that they show when the phone is rotated.
Bug: 133836023
Change-Id: I7cda1e3f0cf9a46993bfd3e8da67311e55fb6189
2019-05-29 12:13:00 -04:00
Patrick Baumann
01d9108ebb Merge "Appropriately sets all installs on *any* failure of one" into qt-dev
am: d42032e5e2

Change-Id: I22db611056e4c5a447ee07cc087c38db1b794ea9
2019-05-29 09:09:55 -07:00
Sal Savage
26fdabb9a0 Merge "BluetoothProfileConnector: Invoke service disconnections with the correct profile ID" into qt-dev 2019-05-29 16:08:48 +00:00
TreeHugger Robot
b23292da1d Merge "Changed comments to match real protection level" into qt-dev 2019-05-29 16:01:12 +00:00
TreeHugger Robot
d42032e5e2 Merge "Appropriately sets all installs on *any* failure of one" into qt-dev 2019-05-29 15:57:53 +00:00
Jaewoong Jung
0fc171c6a6 Convert PrintRecommendationService to Android.bp.
See build/soong/README.md for more information.

Bug: 122332340
Test: Built and flashed to a Pixel device + TreeHugger
Merged-In: I4ff0577a0c27b8a451e6aca2c62c2437481c2a0c
Change-Id: I4ff0577a0c27b8a451e6aca2c62c2437481c2a0c
2019-05-29 08:41:03 -07:00
Anton Hansson
288b628cf7 Merge "Fix AppFuseMountScope.close()" into qt-dev
am: ab09bd96ac

Change-Id: Iec226c8af1e52a75ada79f3a1fb420b8f7dbbc66
2019-05-29 08:33:20 -07:00
Anton Hansson
ab09bd96ac Merge "Fix AppFuseMountScope.close()" into qt-dev 2019-05-29 15:25:18 +00:00