400850 Commits

Author SHA1 Message Date
Michael Wachenschwanz
b9877a0137 Merge "Add Task Root package info to UsageEvent" 2019-01-23 18:03:40 +00:00
John Reck
99f46cae08 Merge "Add continuous SKP capture test api" 2019-01-23 17:57:42 +00:00
Nandana Dutt
9de4d6a3f5 Merge "Improvements to Bugreporting API." am: 212353c896 am: 42df2e1602
am: 73226aa0f8

Change-Id: I947ffa533288c91b169863a045d71e735486773e
2019-01-23 09:47:56 -08:00
Nandana Dutt
73226aa0f8 Merge "Improvements to Bugreporting API." am: 212353c896
am: 42df2e1602

Change-Id: I7ea14750afc2c8b6f2b387ad23a054acf1ec6384
2019-01-23 09:36:20 -08:00
Nandana Dutt
42df2e1602 Merge "Improvements to Bugreporting API."
am: 212353c896

Change-Id: I1afa04707bcf84aed87bc99695c33b8fdfb08ac4
2019-01-23 09:17:50 -08:00
TreeHugger Robot
161833f209 Merge "Revert "Add support for enabling backup in work profile in"" 2019-01-23 17:12:43 +00:00
Zhi An Ng
6c14b389ef Merge "Change default mode for system alert window" 2019-01-23 17:08:07 +00:00
TreeHugger Robot
eefe7df339 Merge "Client-side reimplementation of IMM#setCurrentInputMethodSubtype()" 2019-01-23 17:02:18 +00:00
Remi NGUYEN VAN
6ca2d0f4c1 Merge changes I1250730c,I7d00848c am: e693d49c0a am: 9026fb46cc
am: 9a13aa9ffd

Change-Id: Icc938491a9c4474cc27a4376ef03c954aac461b3
2019-01-23 09:01:09 -08:00
Treehugger Robot
212353c896 Merge "Improvements to Bugreporting API." 2019-01-23 17:00:48 +00:00
Yohei Yukawa
fd8f72188c Client-side reimplementation of IMM#setCurrentInputMethodSubtype()
This is a preparation to mark
InputMethodManager#setCurrentInputMethodSubtype() deprecated.

InputMethodManager#setCurrentInputMethodSubtype(), which was
introduced in Android 4.0 ICS [1], was probably mistakenly exposed as
a public API, because it has required WRITE_SECURE_SETTINGS that
typical applications cannot have.

Keeping maintaining InputMethodManager#setCurrentInputMethodSubtype()
is not that simple because now we are about to enable per-profile IME
mode, where this method needs to have a more clear spec about what
"Current" means.

An ideal solution is just removing this method, because if the caller
already has WRITE_SECURE_SETTINGS permission, they can just directly
update Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE to achieve the
same goal.  However, given that this has been a public API, it would
probably make sense to provide a fallback implementation like I did
for null IME token in InputMethodManager#setInputMethod() [2].

Either way, InputMethodManager#setCurrentInputMethodSubtype() will be
marked as deprecated in a subsequent CL.

 [1]: I55daa19ba924999def544bf841f00bf54852f3e1
      b66d287e3003a0934d5714fbf15e554b3c814906
 [2]: I42dd0325b01c527009bf85566ca8ba0766b2294e
      0c1ebffdb3a459dbae549d462b97cdcdc5602816

Bug: 123249820
Test: manually done with a test app that has WRITE_SECURE_SETTINGS
Change-Id: I76da83c57cffc6b73defccfd4a1b5734c958a97e
2019-01-23 09:00:24 -08:00
TreeHugger Robot
bb4e16d581 Merge "Add config parameter NFW_PROXY_APPS to CarrierConfigManager" 2019-01-23 16:56:27 +00:00
Android Build Merger (Role)
a4cc8ba469 Merge "Merge "Add OWNERS" am: 78cccf728d am: 284bfc5a52 am: 02c75cd029" 2019-01-23 16:51:32 +00:00
Soonil Nagarkar
24fc594f51 Merge "Properly upgrade LOCATION_MODE" 2019-01-23 16:51:21 +00:00
Todd Kennedy
050032eaae Merge "Add OWNERS" am: 78cccf728d am: 284bfc5a52
am: 02c75cd029

Change-Id: I1e43a4743015a28621df49b39966284a24e25bb4
2019-01-23 08:51:02 -08:00
Michael Groover
d15f8b9ad5 Merge "Revoke 'always allow' adb grants after period of inactivity" 2019-01-23 16:47:48 +00:00
Remi NGUYEN VAN
9a13aa9ffd Merge changes I1250730c,I7d00848c am: e693d49c0a
am: 9026fb46cc

Change-Id: I31c9f6c11d0f52a34f68151fc2baca1921dcadad
2019-01-23 08:40:50 -08:00
Lorenzo Colitti
baed7690a2 Merge "Stop depending on the ConnectivityService default request." am: e62097f71d am: 15f89ada84
am: 2dfe01def9

Change-Id: Ia3730d55442da165b779242a35c7c66bd0d9b8fe
2019-01-23 08:36:21 -08:00
Todd Kennedy
02c75cd029 Merge "Add OWNERS" am: 78cccf728d
am: 284bfc5a52

Change-Id: Ib4ea0938fcfe0c440ffcefa4a577909057be8518
2019-01-23 08:34:53 -08:00
TreeHugger Robot
a28407a496 Merge "Define Nfc statistic data atoms" 2019-01-23 16:32:50 +00:00
Remi NGUYEN VAN
9026fb46cc Merge changes I1250730c,I7d00848c
am: e693d49c0a

Change-Id: I2f19490a2340bdc2630162dfe9a277dffc5041fa
2019-01-23 08:26:33 -08:00
Lorenzo Colitti
2dfe01def9 Merge "Stop depending on the ConnectivityService default request." am: e62097f71d
am: 15f89ada84

Change-Id: I93532a44b070dfbca74e8b68c3e26aa96ed5c480
2019-01-23 08:25:19 -08:00
Todd Kennedy
284bfc5a52 Merge "Add OWNERS"
am: 78cccf728d

Change-Id: I448ebe48d5306ca7bc50df23412a45d0988eac53
2019-01-23 08:19:26 -08:00
Lorenzo Colitti
15f89ada84 Merge "Stop depending on the ConnectivityService default request."
am: e62097f71d

Change-Id: Iae908cb959d50870923bce4dbe1bfed5f4c26c2c
2019-01-23 08:14:33 -08:00
TreeHugger Robot
a3382a4fef Merge "Deprecate InputMethodService#onViewClicked()" 2019-01-23 16:04:52 +00:00
TreeHugger Robot
3a02bebb34 Merge changes Ic8db00b6,I68a91e07,I860ad443
* changes:
  Remove package name from ROLLBACK_EXECUTED broadcast.
  Use VersionedPackage in PackageRollbackInfo.
  Assign a rollbackId to all rollbacks.
2019-01-23 15:49:41 +00:00
Yohei Yukawa
438f6799e9 Let RemoteInputView call setTextOperationUser() only once
This is a small follow up to my previous CL [1], which made
RemoteInputView call TextView#setTextOperationUser() so that the text
operation uesr ID can be determined by the notification user ID.

Since the relationship between NotificationEntry and RemoteInputView
is immutable, there is no need to call setTextOperationUser(null) to
reset the target user ID in RemoteInputView#reset(), which may have
some race conditions.

With this CL, RemoteInputView calls setTextOperationUser() only once
immediatelly after inflation.

 [1]: Ibabe13e5b85e5bb91f9f8af6ec07c395c25c4393
      7276946b92fbac928b1d34971b9c4ffd975d95e4

Bug: 120744418
Bug: 123043618
Test: atest SystemUITests
Test: Manually tested Bug 120744418 scenario as follows.
  1. Build and flash an AOSP build
  2. adb root
  3. adb shell setprop persist.debug.per_profile_ime 1
  4. adb reboot
  5. Install Test DPC
  6. Enable managed profile with Test DPC
  7. make -j SoftKeyboard
  8. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
  9. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
 10. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
 11. make -j EditTextVariations
 12. adb install -r $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/EditTextVariations.apk
 13. adb shell am start --user 0 \
     -n com.android.inputmethod.tools.edittextvariations/.EditTextVariations
 14. Tap the menu icon on the EditTextVariations then click "Direct Reply"
 15. adb shell am start --user 10 \
     -n com.android.inputmethod.tools.edittextvariations/.EditTextVariations
 16. Tap the menu icon on the EditTextVariations then click "Direct Reply"
 17. Open notification shade.
 18. Tap reply icon on "Message from UserHandle{0}".
 19. Make sure that SoftKeyboard Sample IME is shown.
 20. Tap reply icon on "Message from UserHandle{10}".
 21. Make sure that AOSP Keyboard is shown.
 22. Tap reply icon on "Message from UserHandle{0}" again.
 23. Make sure that SoftKeyboard Sample IME is shown again.
Test: Manually tested Bug 123043618 scenario as follows.
  1. Build and flash an AOSP build
  2. Create a secondary user then switch to it.
  3. make -j SoftKeyboard
  4. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
  5. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
  6. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
  7. make -j EditTextVariations
  8. adb install -r $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/EditTextVariations.apk
  9. adb shell am start \
     -n com.android.inputmethod.tools.edittextvariations/.EditTextVariations
 10. Tap the menu icon on the EditTextVariations then click "Direct Reply"
 11. Tap reply icon on "Message from UserHandle{10}".
 12. Make sure that SoftKeyboard Sample IME is shown.
 13. Type "ggggg" then hit the space key.
 14. Make sure that red underline is drawn under "ggggg"
 15. Make sure that AndroidSpellCheckerService runs as user 10.
Test: Manually tested multi-user scenario with per-profile mode as follows.
  1. Build and flash an AOSP build
  2. adb root
  3. adb shell setprop persist.debug.per_profile_ime 1
  4. adb reboot
  5. Create a secondary user then switch to it.
  6. make -j SoftKeyboard
  7. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
  8. adb shell ime enable com.example.android.softkeyboard/.SoftKeyboard
  9. adb shell ime set com.example.android.softkeyboard/.SoftKeyboard
 10. make -j EditTextVariations
 11. adb install -r $ANDROID_TARGET_OUT_TESTCASES/EditTextVariations/EditTextVariations.apk
 12. adb shell am start \
     -n com.android.inputmethod.tools.edittextvariations/.EditTextVariations
 13. Tap the menu icon on the EditTextVariations then click "Direct Reply"
 14. Tap reply icon on "Message from UserHandle{10}".
 15. Make sure that SoftKeyboard Sample IME is shown.
 16. Type "ggggg" then hit the space key.
 17. Make sure that red underline is drawn under "ggggg"
 18. Make sure that AndroidSpellCheckerService runs as user 10.
Change-Id: I975baa748c821538e5a733bb98a33ac609bf40a7
2019-01-23 07:43:34 -08:00
Yiwen Chen
57406a7e0e Merge "Add Ramping Ringer platform flags and fix some Ringtone bugs." 2019-01-23 15:20:08 +00:00
Remi NGUYEN VAN
e693d49c0a Merge changes I1250730c,I7d00848c
* changes:
  Create a wrapper for IpClient
  Move IpClient to NetworkStack
2019-01-23 15:05:00 +00:00
Gus Prevas
30dc072134 Merge changes I636dbbc4,Idd0711a7
* changes:
  Implements flinging for anchor-based scrolling.
  Implements basic anchor-based scrolling.
2019-01-23 15:00:10 +00:00
Treehugger Robot
78cccf728d Merge "Add OWNERS" 2019-01-23 14:48:19 +00:00
Jorim Jaggi
f72ad8d08a Merge "Fix tests" 2019-01-23 14:35:27 +00:00
Jorim Jaggi
fae3e276b1 Fix tests
Test: atest InsetsAnimationControlImplTest
Bug: 118118435
Change-Id: I92f5a91b24d3441c092c9dab55d9340b7da3ab14
2019-01-23 14:35:05 +00:00
Adrian Roos
38c8934b67 Merge "API: Fix missing @NonNull annotations" 2019-01-23 14:02:15 +00:00
TreeHugger Robot
2288bdc9ab Merge "New extra and helper methods to set screenlock to a specific complexity level" 2019-01-23 13:59:21 +00:00
Richard Uhler
f8f1b38fd1 Remove package name from ROLLBACK_EXECUTED broadcast.
The receiver of the broadcast would likely want to query the rolled back
packages via RollbackManager regardless, and it's not clear which
package to put when an atomic set of packages is rolled back.

Bug: 112431924
Test: atest RollbackTest
Change-Id: Ic8db00b62d8993e00a0dd2cb79ae68c430b45bb8
2019-01-23 13:22:44 +00:00
TreeHugger Robot
448fb122a1 Merge "Remove Constructor of RemoteUserInfo which takes IBinder" 2019-01-23 13:20:46 +00:00
TreeHugger Robot
bdba7efd10 Merge "Show only recent accesses" 2019-01-23 13:15:21 +00:00
TreeHugger Robot
de3aea6904 Merge "Add an intent extra that contains a number of milliseconds." 2019-01-23 13:13:47 +00:00
Hyundo Moon
4d69df3eb1 Merge "Set MediaSession.mCallback as non-null when a callback is set" 2019-01-23 12:57:24 +00:00
Hyundo Moon
b016fa8bf7 Merge "Use MediaParceledListSlice in ControllerCallbackLink" 2019-01-23 12:57:18 +00:00
Varun Shah
f71cb5ac32 Merge "Revert "Optimize service restart logic."" 2019-01-23 12:45:24 +00:00
Luke Huang
7a4c67ec21 Merge "Netd unsolicited event porting" am: 98f0c30911 am: 6303689d0f
am: 5c77cae9e5

Change-Id: I0b3783fbbe9c69d625e9ecc38a26e375b6e06787
2019-01-23 04:39:09 -08:00
Lorenzo Colitti
e62097f71d Merge "Stop depending on the ConnectivityService default request." 2019-01-23 12:29:40 +00:00
Luke Huang
5c77cae9e5 Merge "Netd unsolicited event porting" am: 98f0c30911
am: 6303689d0f

Change-Id: I79818efb3ebcc41b020c6442aa023cd9b46bda53
2019-01-23 04:24:30 -08:00
Luke Huang
6303689d0f Merge "Netd unsolicited event porting"
am: 98f0c30911

Change-Id: I13d8a53368850b07a65e42adc5d3f5fd0575c12a
2019-01-23 04:14:17 -08:00
Luke Huang
98f0c30911 Merge "Netd unsolicited event porting" 2019-01-23 12:02:14 +00:00
TreeHugger Robot
a9b062d0bc Merge "AudioEffect: make Descriptor not final" 2019-01-23 12:01:47 +00:00
Chalard Jean
dccea36b52 Merge "[MS11] Implement findL2Key" am: 773f3f5bf3 am: 21c8257178
am: f1c3019d42

Change-Id: I768bc38b4f7d184842f49f6c0a5ac621020d2bd4
2019-01-23 03:37:45 -08:00
Chalard Jean
f1c3019d42 Merge "[MS11] Implement findL2Key" am: 773f3f5bf3
am: 21c8257178

Change-Id: I3005b92ab49ed79f854614281ef09fe5dbeea5c9
2019-01-23 03:24:20 -08:00