Commit Graph

400876 Commits

Author SHA1 Message Date
Tomasz Wasilczyk
203445c853 Merge "Add configuration for multi wifi mode devices" 2019-01-23 18:48:39 +00:00
Android Build Merger (Role)
b453080f12 Merge "Merge "jarjar hidl core libs." am: 436e2ad4c7 am: 977fc9bf8e am: 00217ac44b" 2019-01-23 18:45:39 +00:00
Steven Moreland
12f1e0c4ea Merge "jarjar hidl core libs." am: 436e2ad4c7 am: 977fc9bf8e
am: 00217ac44b

Change-Id: I1003a85471c793946bae7176b95ca57c60ff8151
2019-01-23 10:44:44 -08:00
Fabian Kozynski
704fdc0609 Merge "Increase char limit for translation" 2019-01-23 18:42:57 +00:00
Steven Moreland
00217ac44b Merge "jarjar hidl core libs." am: 436e2ad4c7
am: 977fc9bf8e

Change-Id: I13006d1ab820171739fa680aabdd661e58cf7c34
2019-01-23 10:33:27 -08:00
Android Build Merger (Role)
3f7e640844 Merge "Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1 am: e880dcb9ea am: 20cbf841d9" 2019-01-23 18:21:13 +00:00
Nathan Harold
16174eeb2a Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1 am: e880dcb9ea
am: 20cbf841d9

Change-Id: I80cf1ea3bc62aa3e7a5428a3b6b501519148f746
2019-01-23 10:20:45 -08:00
Steven Moreland
977fc9bf8e Merge "jarjar hidl core libs."
am: 436e2ad4c7

Change-Id: I05314143d12bab29062d1309074c7d710a38b1f4
2019-01-23 10:20:23 -08:00
Chen Xu
7d17bf7d9b Merge "new SystemAPI to getSimLocale" 2019-01-23 18:19:41 +00:00
Android Build Merger (Role)
3f64d9ff80 Merge "[automerger skipped] Merge "[view compilation] Add --compile-layouts flag to pm compile" am: 52cf4adf70 am: 581c43404a am: 43986e38b3 -s ours am skip reason: change_id If6455e1b9b0542a36882af9f3e29d0185a53393c with SHA1 a1485f61e9 is in history" 2019-01-23 18:09:19 +00:00
Nathan Harold
20cbf841d9 Merge "Deprecate Duplicate SignalStrength Methods" am: a3ab270ce1
am: e880dcb9ea

Change-Id: Ic7b763122addc84a5fad86cf8a8dceb69896800e
2019-01-23 10:08:56 -08:00
Mathieu Chartier
adc14296fc [automerger skipped] Merge "[view compilation] Add --compile-layouts flag to pm compile" am: 52cf4adf70 am: 581c43404a
am: 43986e38b3 -s ours
am skip reason: change_id If6455e1b9b0542a36882af9f3e29d0185a53393c with SHA1 a1485f61e9 is in history

Change-Id: I46cd9e14f93905f95bd03cf11023c735427da48b
2019-01-23 10:07:16 -08:00
Steven Moreland
436e2ad4c7 Merge "jarjar hidl core libs." 2019-01-23 18:05:25 +00:00
Peiyong Lin
ea5b721943 Merge "[Game Driver] Add blacklist mechanism." 2019-01-23 18:04:03 +00:00
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
Nathan Harold
e880dcb9ea Merge "Deprecate Duplicate SignalStrength Methods"
am: a3ab270ce1

Change-Id: Ifacba0cbb949fa0b35e1f22bf3225f5c608f36a6
2019-01-23 09:55:26 -08: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
Mathieu Chartier
43986e38b3 Merge "[view compilation] Add --compile-layouts flag to pm compile" am: 52cf4adf70
am: 581c43404a

Change-Id: Ie02b1129ee81a1346a775d1873531e3f714b5fea
2019-01-23 09:46:34 -08:00
Nathan Harold
a3ab270ce1 Merge "Deprecate Duplicate SignalStrength Methods" 2019-01-23 17:37:03 +00:00
Nandana Dutt
73226aa0f8 Merge "Improvements to Bugreporting API." am: 212353c896
am: 42df2e1602

Change-Id: I7ea14750afc2c8b6f2b387ad23a054acf1ec6384
2019-01-23 09:36:20 -08:00
Mathieu Chartier
581c43404a Merge "[view compilation] Add --compile-layouts flag to pm compile"
am: 52cf4adf70

Change-Id: I0ad866ef309f31b9dbbc62887f14adf3fcfd7ae4
2019-01-23 09:26:26 -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
Mathieu Chartier
52cf4adf70 Merge "[view compilation] Add --compile-layouts flag to pm compile" 2019-01-23 17:02:31 +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
      b66d287e30
 [2]: I42dd0325b01c527009bf85566ca8ba0766b2294e
      0c1ebffdb3

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
      7276946b92

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