Commit Graph

398536 Commits

Author SHA1 Message Date
TreeHugger Robot
dcc45dcbbc Merge "Swipe up to unlock when pulsing" 2019-01-10 18:48:30 +00:00
TreeHugger Robot
56464cf533 Merge "Verify apex files on staged sessions." 2019-01-10 18:31:04 +00:00
Shubang Lu
736cbcd83d Merge changes I59ce940b,I0292b221,I6fbeb748
* changes:
  Add HdmiCecLOcalDeviceSource to extract shareable handlers of all the Hdmi CEC source devices into a parent class.
  Moving routing logic to playback device.
  Add SystemAudioModeRequest from non TV device logic.
2019-01-10 18:24:32 +00:00
TreeHugger Robot
a9852803e5 Merge "Add InputClassifier HAL dependency" 2019-01-10 18:08:29 +00:00
Lucas Dupin
03270e1f37 Merge "Config to disable rounded corners" 2019-01-10 17:44:31 +00:00
TreeHugger Robot
d9e60a633d Merge "Add missing @NonNull" 2019-01-10 17:41:29 +00:00
TreeHugger Robot
6f5717ccf7 Merge "Flip default of extractNativeLibs if targets Q+" 2019-01-10 17:32:18 +00:00
TreeHugger Robot
cbfb7c8a73 Merge "Allow notification and ring vibration from background apps" 2019-01-10 17:26:56 +00:00
Ned Burns
266d408dae Merge "Move "alerted recently" logic out of NEM" 2019-01-10 17:17:47 +00:00
Fabian Kozynski
18464087a5 Merge "Changed style in Device Management Dialog" 2019-01-10 17:12:55 +00:00
Yohei Yukawa
7f8ee4b9dd Allow background users to call IME query APIs
With this CL, following InputMethodManager APIs are fully supported
under multi-user / multi-profile environment.

 * InputMethodManager#getInputMethodList()
 * InputMethodManager#getEnabledInputMethodList()
 * InputMethodManager#getEnabledInputMethodSubtypeList()

Those APIs should return appropriate results based on caller's user
ID, even when called from a background user.

There should be no behavior difference if those APIs are called from
the current user process.

This CL also adds -u <user id> option to 'adb shell ime list' command.

Bug: 120709962
Fix: 122164939
Test: make -j cts && atest CtsInputMethodServiceHostTestCases
Test: Manually verified that 'adb shell ime list -a -s -u <user id>'
      works, including <user id> == 'current' and 'all'.
Change-Id: I192a0f5a1375170d17a4c08af94f23966dbaea8b
2019-01-10 08:44:57 -08:00
TreeHugger Robot
58514eaa6f Merge "Add WindowConfiguration's bounds to proto" 2019-01-10 16:19:24 +00:00
Mihai Popa
17e17e2fdb Merge "[Magnifier-71] Adapt surface buffer to elevation" 2019-01-10 16:12:35 +00:00
Daniel Sandler
3034048e20 Merge "Harden against invalid paths." into pi-dev am: b9596e5feb
am: daea01b53e

Change-Id: I9ddd7d141b0489b50997a6e20f5c463df5677780
2019-01-10 08:11:44 -08:00
Mihai Popa
c6cb040ff3 Merge "Enable null cursor drawable" 2019-01-10 16:08:01 +00:00
TreeHugger Robot
ccfc793fe2 Merge "Enable ActivityView in bubbles" 2019-01-10 16:03:24 +00:00
Fabian Kozynski
6c20dad4f4 Merge "AppOpsController implements Dumpable" 2019-01-10 16:00:33 +00:00
Daniel Sandler
daea01b53e Merge "Harden against invalid paths." into pi-dev
am: b9596e5feb

Change-Id: Ic2648e92714b922d55ca4f7493a80a48a1d17c35
2019-01-10 07:57:03 -08:00
Annie Meng
345ec1b990 Merge "[Multi-user] Make package changes receiver per-user" 2019-01-10 15:56:23 +00:00
Daniel Sandler
b9596e5feb Merge "Harden against invalid paths." into pi-dev 2019-01-10 15:42:31 +00:00
vincentpeng
be09f2801e WallpaperColor's ColorHint API go for @SystemApi
Making color hint's relative api @SystemApi.
For pre-installed live wallpaper apps, change to @SystemApi so:

1. apps can be build with gradle build tools.
   (e.g.: PixelLiveWallpaper for app bundle feature).
2. apps can calculate and pass color hint information to interested system components.
   (Such as passing dark text support to SystemUi)

Fixes: 111395593

Test: make system sdk and check if the wallpaper apps can compile with android_system.jar.
Test: check whether the wallpaper apps can pass correct color hint after build (dark text).

Change-Id: I2ecf6ff77ff7a823949c6e3253a077e6eba9683a
2019-01-10 14:34:26 +00:00
Annie Meng
4f98512cc5 [Multi-user] Make package changes receiver per-user
Makes the BroadcastReceiver that receives changes to installed packages
and sdcards tied to a specific user.

Bug: 121198607
Test: 1) atest RunBackupFrameworksServicesRoboTests
2) Manual testing with user 0 and 11:
- User started -> receiver registered for correct user;
- Package changed -> correct receiver;
- Package added -> correct receiver, updates bookkeeping for correct user;
- Package removed -> correct receiver, updates bookkeeping for correct user;

Change-Id: I68c034da6ec775a4d0489a2d09fc32854dcf11dc
2019-01-10 14:25:47 +00:00
Adrian Roos
5f8b52cb3e Add WindowConfiguration's bounds to proto
Test: make droid
Change-Id: I8334c51a3ffa6c33340869d24240ede1c9259c51
2019-01-10 14:25:02 +00:00
Fabian Kozynski
217e435223 Merge "Battery Percentage uses same font as clock" 2019-01-10 14:04:11 +00:00
vichang
16572080ba Merge changes from topic "libpac_C_api" am: c0f3daa11a am: ac97a1a7af
am: 4e850bbce3

Change-Id: If4fd930bf00df8449f72e59d73aaf7d87214f4a9
2019-01-10 06:02:29 -08:00
Victor Chang
d22cbef133 Use std::u16string instead of android::String16 due to API change in libpac am: 64c3f6d6ba am: 773c34cd08
am: 84ead2c932

Change-Id: I1660291930937c272eb535ab16d40a76fd6fe198
2019-01-10 05:55:53 -08:00
vichang
4e850bbce3 Merge changes from topic "libpac_C_api" am: c0f3daa11a
am: ac97a1a7af

Change-Id: I62b68548a72d98731eea1d4db448db8a172320e3
2019-01-10 05:41:47 -08:00
Victor Chang
84ead2c932 Use std::u16string instead of android::String16 due to API change in libpac am: 64c3f6d6ba
am: 773c34cd08

Change-Id: I28605e832860fc5e2dcde35e0f85b7344893edda
2019-01-10 05:36:42 -08:00
vichang
ac97a1a7af Merge changes from topic "libpac_C_api"
am: c0f3daa11a

Change-Id: I77ccde03e41873ef9b9bb1621ae4e0d19c13fc9c
2019-01-10 05:25:01 -08:00
Victor Chang
773c34cd08 Use std::u16string instead of android::String16 due to API change in libpac
am: 64c3f6d6ba

Change-Id: Ia67f9802dd350ffdf740c9689abdbc0ffc5ac303
2019-01-10 05:18:36 -08:00
Hyundo Moon
5b66f8cf2e Merge "Change initial value of MediaSessionRecord.mDuration to -1" 2019-01-10 12:54:27 +00:00
vichang
c0f3daa11a Merge changes from topic "libpac_C_api"
* changes:
  Replace C++ API by the C API provided by libpac
  Use std::u16string instead of android::String16 due to API change in libpac
2019-01-10 12:54:14 +00:00
TreeHugger Robot
2d917da052 Merge "Make the tap-to-edit behaviour configurable" 2019-01-10 12:17:05 +00:00
TreeHugger Robot
b42f9c93cb Merge "Support mouse pointer on external displays (2/2)" 2019-01-10 11:29:48 +00:00
Milo Sredkov
41dc4ba3c6 Make the tap-to-edit behaviour configurable
Add a new key-value pair to smart_replies_in_notifications_flags that
controls the default tap-to-edit behaviour.

Bug: 111437455
Test: atest SmartReplyConstantsTest
Test: Try "adb shell settings put global smart_replies_in_notifications_flags edit_choices_before_sending=true" and observe
Change-Id: Ida90b98c28f4183697e84a6722768d41c72dd9cf
2019-01-10 10:44:26 +00:00
Nicolas Geoffray
860cdf5ad6 [automerger skipped] Merge "Remove notion of skip library check in framework." am: 6964540242 am: 519819b6cb
am: fb82f84082 -s ours
am skip reason: change_id Id4d69258116696db3662ac7678f6d235fcccabc7 with SHA1 03dba3ba8c is in history

Change-Id: I88b2d06165cc19402f3aceafdcb0ba13da26eaf9
2019-01-10 01:02:18 -08:00
Nicolas Geoffray
fb82f84082 Merge "Remove notion of skip library check in framework." am: 6964540242
am: 519819b6cb

Change-Id: Ife0517c9aedaf3e824eea8a713c79bf5907dca08
2019-01-10 00:52:51 -08:00
Nicolas Geoffray
519819b6cb Merge "Remove notion of skip library check in framework."
am: 6964540242

Change-Id: I05166264ee341d32f0f9f8855980e9d3030afb72
2019-01-10 00:42:39 -08:00
Nicolas Geoffray
6964540242 Merge "Remove notion of skip library check in framework." 2019-01-10 08:28:51 +00:00
Hyundo Moon
0c0e1bdc33 Change initial value of MediaSessionRecord.mDuration to -1
After the CL "a138573: AML: Remove unbundling MediaMetadata in
MediaSessionRecord" is merged, MediaController.getPlaybackState()
returned wrong position.

Since the mDuration is initially set to non-negative value,
getStateWithUpdatedPosition() limited the current position to the
duration, which is wrong.

As a result, the below androidx test failed in Q:
 - MediaSessionCompatCallbackTest.testGetPlaybackStateWithPositionUpdate

This CL fixes the problem.

Bug: 121447576
Test: Passed above test
Change-Id: If87c844461a8204f3883cd3081f5c6f057ab36c6
2019-01-10 17:08:06 +09:00
TreeHugger Robot
767fa0d205 Merge "MediaSessionService: Keep track of newly created MediaSession2" 2019-01-10 07:09:32 +00:00
TreeHugger Robot
89ef21adc7 Merge "vibrator: Add Vibrator HAL 1.3" 2019-01-10 06:55:49 +00:00
Michael Dooley
b38d92c559 Merge "Make framework treat getModelState recognition events the same as regular recogntion events" 2019-01-10 06:37:11 +00:00
Chalard Jean
036da579e2 Merge "Add PCSCF to LinkProperties." am: 64e495b274 am: 40c9e752ac
am: e2bbcc1837

Change-Id: I16eedc51ad4932b7ec6a32d9e718c48cf203c2f0
2019-01-09 22:29:15 -08:00
Chalard Jean
e2bbcc1837 Merge "Add PCSCF to LinkProperties." am: 64e495b274
am: 40c9e752ac

Change-Id: I491e99f7225233d5841b61ce383325e7a1c43fa0
2019-01-09 22:19:14 -08:00
Chalard Jean
40c9e752ac Merge "Add PCSCF to LinkProperties."
am: 64e495b274

Change-Id: Ia153067765ea39430f4dfbc49da3cbd92054b8a9
2019-01-09 22:06:46 -08:00
Chalard Jean
64e495b274 Merge "Add PCSCF to LinkProperties." 2019-01-10 05:55:05 +00:00
Hugo Benichi
b496c6cb11 Merge "wifi: Update AbstractWifiService to be concrete." 2019-01-10 05:54:16 +00:00
Jaewan Kim
7a58fbd1be MediaSessionService: Keep track of newly created MediaSession2
Bug: 122234817
Test: Build and flash manually.
Change-Id: I583dbeedda56738b7180713d1e6bc993cbb751d3
2019-01-10 14:33:10 +09:00
Jack He
9e84846427 [automerger skipped] Merge "Deprecate BluetoothHealth APIs" am: c792b78f71 am: 672b984fa6
am: 17d71033ab -s ours
am skip reason: change_id If99a9d79e9e1b89b75b9b74bd3b1c965247a1892 with SHA1 2be70a11a2 is in history

Change-Id: I4d91f3926dd243fd25e221c8311f321a7488111e
2019-01-09 21:18:59 -08:00