OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Public Audio playback capture must have a valid projection"
Kevin Rocard [Sat, 23 Feb 2019 05:22:33 +0000 (05:22 +0000)]
Merge "Public Audio playback capture must have a valid projection"

5 years agoMerge "Bluesky: move tests to CTS"
TreeHugger Robot [Sat, 23 Feb 2019 05:13:02 +0000 (05:13 +0000)]
Merge "Bluesky: move tests to CTS"

5 years agoMerge "Fix inconsistent naming and indentation."
Sudheer Shanka [Sat, 23 Feb 2019 04:40:38 +0000 (04:40 +0000)]
Merge "Fix inconsistent naming and indentation."

5 years agoMerge "fix binary push flag usage"
TreeHugger Robot [Sat, 23 Feb 2019 04:34:51 +0000 (04:34 +0000)]
Merge "fix binary push flag usage"

5 years agoMerge "Create setting screen from Notification Assistant"
TreeHugger Robot [Sat, 23 Feb 2019 04:30:23 +0000 (04:30 +0000)]
Merge "Create setting screen from Notification Assistant"

5 years agoMerge "Fix View#performHapticFeedback() can block UI thread"
TreeHugger Robot [Sat, 23 Feb 2019 03:39:53 +0000 (03:39 +0000)]
Merge "Fix View#performHapticFeedback() can block UI thread"

5 years agoMerge "Made AbstractRemoteService.getRemoteRequestMillis() optional."
TreeHugger Robot [Sat, 23 Feb 2019 03:25:46 +0000 (03:25 +0000)]
Merge "Made AbstractRemoteService.getRemoteRequestMillis() optional."

5 years agoMerge "Update comments related to force default rotation."
TreeHugger Robot [Sat, 23 Feb 2019 03:07:25 +0000 (03:07 +0000)]
Merge "Update comments related to force default rotation."

5 years agoMerge "Create an interface to set details text"
TreeHugger Robot [Sat, 23 Feb 2019 02:15:26 +0000 (02:15 +0000)]
Merge "Create an interface to set details text"

5 years agoMerge "Fix missing .fsv_sig after partial split install"
TreeHugger Robot [Sat, 23 Feb 2019 02:05:53 +0000 (02:05 +0000)]
Merge "Fix missing .fsv_sig after partial split install"

5 years agoBluesky: move tests to CTS
gomo [Sat, 23 Feb 2019 01:39:23 +0000 (17:39 -0800)]
Bluesky: move tests to CTS

Bug: 111441283
Test: Current Tests Pass.
Change-Id: I0bba5346dbb7d32126b7f8c7e281ca53ea77bfc1

5 years agoMerge "p2p: fix the copy constructor of WifiP2pDevice"
Hsiu-Chang Chen [Sat, 23 Feb 2019 01:27:15 +0000 (01:27 +0000)]
Merge "p2p: fix the copy constructor of WifiP2pDevice"

5 years agoMerge "Revert "Fix a11y cache correctness bug"" into pi-dev am: 987ec033ab
Qasid Sadiq [Sat, 23 Feb 2019 01:23:08 +0000 (17:23 -0800)]
Merge "Revert "Fix a11y cache correctness bug"" into pi-dev am: 987ec033ab
am: 24f953a6c2

Change-Id: I38d80cd355ebf044696848d1d4697521cd78183f

5 years agoMerge "Re-throw reflective exceptions"
TreeHugger Robot [Sat, 23 Feb 2019 01:10:32 +0000 (01:10 +0000)]
Merge "Re-throw reflective exceptions"

5 years agoUpdate comments related to force default rotation.
Garfield Tan [Sat, 23 Feb 2019 00:33:27 +0000 (16:33 -0800)]
Update comments related to force default rotation.

Bug: 124420570
Test: TH is enough.
Change-Id: I00058bb932ef16db2b49b494156c2ca1c650ce1c

5 years agoMerge "Use colored shadow for DeviceDefault.Colored buttons."
TreeHugger Robot [Sat, 23 Feb 2019 00:27:00 +0000 (00:27 +0000)]
Merge "Use colored shadow for DeviceDefault.Colored buttons."

5 years agoMerge "Revert "Fix a11y cache correctness bug"" into pi-dev
Qasid Sadiq [Fri, 22 Feb 2019 23:55:50 +0000 (15:55 -0800)]
Merge "Revert "Fix a11y cache correctness bug"" into pi-dev
am: 987ec033ab

Change-Id: I00d421256cbda478bf413a2195f14787d09d133c

5 years agoMerge "OsuLogin: disconnect wifi network when activitiy is destroyed"
Ecco Park [Fri, 22 Feb 2019 23:45:23 +0000 (23:45 +0000)]
Merge "OsuLogin: disconnect wifi network when activitiy is destroyed"

5 years agoMerge "Revert "Fix a11y cache correctness bug"" into pi-dev
Qasid Sadiq [Fri, 22 Feb 2019 23:43:54 +0000 (23:43 +0000)]
Merge "Revert "Fix a11y cache correctness bug"" into pi-dev

5 years agoFix missing .fsv_sig after partial split install
Victor Hsieh [Fri, 22 Feb 2019 23:22:34 +0000 (15:22 -0800)]
Fix missing .fsv_sig after partial split install

Test: adb install-multiple foo.apk foo.apk.fsv_sig
      adb install-multiple -p com.foo foo_split.apk foo_split.apk.fsv_sig
      # See base.apk.fsv_sig in /data/app/com.foo-*/
Bug: 112037636
Change-Id: I043c7bf545164c58b2cc37507d10188c25033f6b

5 years agoMerge "[Multi-user] add PackageInstaller.installExistingPackage with IntentSender...
Chandan Nath [Fri, 22 Feb 2019 23:34:04 +0000 (23:34 +0000)]
Merge "[Multi-user] add PackageInstaller.installExistingPackage with IntentSender which is fired only after the asynchronous restore is complete"

5 years agoMerge "Fixed when ContentCapture is finished."
TreeHugger Robot [Fri, 22 Feb 2019 23:30:12 +0000 (23:30 +0000)]
Merge "Fixed when ContentCapture is finished."

5 years ago[automerger skipped] Merge "Visualizer: fix native crash when visualizer release...
Mikhail Naganov [Fri, 22 Feb 2019 23:28:52 +0000 (15:28 -0800)]
[automerger skipped] Merge "Visualizer: fix native crash when visualizer release" into pi-dev am: d4d9e1a08c -s ours
am: 684632498c -s ours
am skip reason: change_id I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4 with SHA1 52f7adec6c is in history

Change-Id: I618e5a464243757af1b1e0c82cf646c9f95e2788

5 years agoRe-throw reflective exceptions
Ashley Rose [Fri, 22 Feb 2019 23:19:59 +0000 (18:19 -0500)]
Re-throw reflective exceptions

Test: atest GeneratedInspectionCompanionProviderTest
Fixes: 125800739
Change-Id: Ifea2c3dc303e255bc704ee34168e250e649519b5

5 years ago[automerger skipped] Visualizer: fix native crash when visualizer release am: 52f7ade...
zengjing [Fri, 22 Feb 2019 23:20:22 +0000 (15:20 -0800)]
[automerger skipped] Visualizer: fix native crash when visualizer release am: 52f7adec6c -s ours
am: d605c82661 -s ours
am skip reason: change_id I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4 with SHA1 5a56b61c16 is in history

Change-Id: I5940f5fd4f11022ecb2e2724b8ca0d370d8b74c5

5 years ago[automerger skipped] Merge "Visualizer: fix native crash when visualizer release...
Mikhail Naganov [Fri, 22 Feb 2019 23:12:58 +0000 (15:12 -0800)]
[automerger skipped] Merge "Visualizer: fix native crash when visualizer release" into pi-dev
am: d4d9e1a08c -s ours
am skip reason: change_id I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4 with SHA1 52f7adec6c is in history

Change-Id: Ie7d3c9fcae8ac3d4f4314c53ba86da0eb8d66696

5 years ago[automerger skipped] Visualizer: fix native crash when visualizer release
zengjing [Fri, 22 Feb 2019 23:07:56 +0000 (15:07 -0800)]
[automerger skipped] Visualizer: fix native crash when visualizer release
am: 52f7adec6c -s ours
am skip reason: change_id I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4 with SHA1 5a56b61c16 is in history

Change-Id: Iecb12cd00920fabf0c3ad25e4e1d2b1c4172f572

5 years agoMerge "Visualizer: fix native crash when visualizer release" into pi-dev
Mikhail Naganov [Fri, 22 Feb 2019 22:55:06 +0000 (22:55 +0000)]
Merge "Visualizer: fix native crash when visualizer release" into pi-dev

5 years agoMerge "Allow bubbles to be displayed at the bottom of the screen"
Mady Mellor [Fri, 22 Feb 2019 22:30:05 +0000 (22:30 +0000)]
Merge "Allow bubbles to be displayed at the bottom of the screen"

5 years agoMerge "Set the RemoteAugmentedAutofillService when service dies, so that system serve...
TreeHugger Robot [Fri, 22 Feb 2019 22:20:50 +0000 (22:20 +0000)]
Merge "Set the RemoteAugmentedAutofillService when service dies, so that system server can try to reconnect the next time"

5 years agofix binary push flag usage
Chenjie Yu [Fri, 22 Feb 2019 22:09:59 +0000 (14:09 -0800)]
fix binary push flag usage

Test: gts
Bug: 125851063
Change-Id: I005c809401ad5b3de5f1b71c1b1751dc3d81bf6f

5 years agoFix inconsistent naming and indentation.
Sudheer Shanka [Fri, 22 Feb 2019 21:04:41 +0000 (13:04 -0800)]
Fix inconsistent naming and indentation.

Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java

Change-Id: If2ea679dd07bd0bf478627cbf66087e9d1996590

5 years agoMerge "Game Driver: process sphal libraries in GPU service"
Yiwei Zhang [Fri, 22 Feb 2019 21:45:56 +0000 (21:45 +0000)]
Merge "Game Driver: process sphal libraries in GPU service"

5 years agoMerge "Remove HardwarePropertiesManager usage"
Wei Wang [Fri, 22 Feb 2019 21:28:11 +0000 (21:28 +0000)]
Merge "Remove HardwarePropertiesManager usage"

5 years agoMerge "Avoid creating /mnt/user/<userId>/package/<packageName> for all pkgs."
Sudheer Shanka [Fri, 22 Feb 2019 21:08:08 +0000 (21:08 +0000)]
Merge "Avoid creating /mnt/user/<userId>/package/<packageName> for all pkgs."

5 years agoMerge "Introduce default value to fixed to user rotation."
Garfield Tan [Fri, 22 Feb 2019 20:58:47 +0000 (20:58 +0000)]
Merge "Introduce default value to fixed to user rotation."

5 years agoMerge "Default cmd notification commands to current user."
TreeHugger Robot [Fri, 22 Feb 2019 20:42:47 +0000 (20:42 +0000)]
Merge "Default cmd notification commands to current user."

5 years agoMerge "SystemAPI for setting app details activity state"
Ricky Wai [Fri, 22 Feb 2019 20:19:03 +0000 (20:19 +0000)]
Merge "SystemAPI for setting app details activity state"

5 years agoMerge "Dispatch onVisibilityAggregated before drawing to canvas."
TreeHugger Robot [Fri, 22 Feb 2019 19:48:26 +0000 (19:48 +0000)]
Merge "Dispatch onVisibilityAggregated before drawing to canvas."

5 years agoVisualizer: fix native crash when visualizer release
zengjing [Sat, 29 Sep 2018 05:19:15 +0000 (13:19 +0800)]
Visualizer: fix native crash when visualizer release

Visualizer should not be destroyed before mCaptureThread exit.

Bug: 124833084
Test: CTS VisualizerTest
Change-Id: I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4
Merged-In: I0cda2ff2be8ce487e10b5311fbdc043fa57d91d4
Signed-off-by: zengjing <zengjing@xiaomi.com>
5 years agoCreate setting screen from Notification Assistant
Fabian Kozynski [Wed, 20 Feb 2019 17:53:17 +0000 (12:53 -0500)]
Create setting screen from Notification Assistant

Test: atest
Fixes: 120852765
Change-Id: I90b22daa67f73809697fd629dabec22ef991de54

5 years agoFixed when ContentCapture is finished.
Felipe Leme [Fri, 22 Feb 2019 18:17:26 +0000 (10:17 -0800)]
Fixed when ContentCapture is finished.

The initial behavior cop^H^H^H based on Autofill, which only closes the session when the activity
finishes. But for content capture we must always close the session when the activity is stopped.

Test: manual verification
Fixes: 125628737

Change-Id: I064d4ace97721dd8fb20075c02e1f059ecbf942a

5 years ago[Multi-user] add PackageInstaller.installExistingPackage with IntentSender which...
Chandan Nath [Mon, 28 Jan 2019 15:23:38 +0000 (15:23 +0000)]
[Multi-user] add PackageInstaller.installExistingPackage with IntentSender which is fired only
after the asynchronous restore is complete

This is a better alternative to the existing synchronous PackageManager.installExistingPackage
method where the restore operation happens asynchronously but the method itself will return
success before the restore finishes.

Bug: 122881085

Test: 1) cts-tradefed run cts -m CtsBackupHostTestCases
-t android.cts.backup.ProfileKeyValueBackupRestoreHostSideTest
2) atest RunBackupFrameworksServicesRoboTests
3) Install Hangouts on work profile. Then install on primary profile, backup and uninstall.
Now install again and immediately hit Open. Before this change, the app will crash after a few
seconds (when the background restore operation finishes). With this change and a corresponding
Play Store change to use this new method, Open shows up only after restore has finished so the
app doesn't crash.

Change-Id: I5d2e1f3bb5509894bedd6bbcfac32ed6cf946a80

5 years agoSet the RemoteAugmentedAutofillService when service dies, so that system server can...
Feng Cao [Fri, 22 Feb 2019 03:35:15 +0000 (19:35 -0800)]
Set the RemoteAugmentedAutofillService when service dies, so that system server can try to reconnect the next time

Fixes: 125539059
Test: atest CtsAutoFillServiceTestCases # a few failures are due to unrelated issue

Change-Id: I2e085bf0df9d0fd76a62fbdd7bfb7b8bad1259ac

5 years agoMerge "Passpoint: add FQDN and Provider name field in WifiInfo"
Ecco Park [Fri, 22 Feb 2019 19:07:26 +0000 (19:07 +0000)]
Merge "Passpoint: add FQDN and Provider name field in WifiInfo"

5 years agoMerge "passpoint: remove NETWORK_SETUP_WIZARD permission"
Ecco Park [Fri, 22 Feb 2019 19:01:38 +0000 (19:01 +0000)]
Merge "passpoint: remove NETWORK_SETUP_WIZARD permission"

5 years agoMerge "Fix "Request to restore userData ..." log spam."
TreeHugger Robot [Fri, 22 Feb 2019 18:41:03 +0000 (18:41 +0000)]
Merge "Fix "Request to restore userData ..." log spam."

5 years agoMerge "Don't change the order of test results."
Sudheer Shanka [Fri, 22 Feb 2019 18:31:07 +0000 (18:31 +0000)]
Merge "Don't change the order of test results."

5 years agoMerge "Change framework to support both cas@1.0 and cas@1.1 hal"
Henry Fang [Fri, 22 Feb 2019 18:21:59 +0000 (18:21 +0000)]
Merge "Change framework to support both cas@1.0 and cas@1.1 hal"

5 years agoAvoid creating /mnt/user/<userId>/package/<packageName> for all pkgs.
Sudheer Shanka [Thu, 21 Feb 2019 23:11:00 +0000 (15:11 -0800)]
Avoid creating /mnt/user/<userId>/package/<packageName> for all pkgs.

Bug: 124466384
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I025c2ce647cd3263da45800c5cb728d2f0f08c96

5 years agoMerge "Add logging for profile switching for sharesheet"
Susi Kharraz-Post [Fri, 22 Feb 2019 18:00:34 +0000 (18:00 +0000)]
Merge "Add logging for profile switching for sharesheet"

5 years agoPublic Audio playback capture must have a valid projection
Kevin Rocard [Wed, 20 Feb 2019 19:25:23 +0000 (11:25 -0800)]
Public Audio playback capture must have a valid projection

For privacy, require the app wanting to capture other app audio to have
a valid MediaProjection.

Test: adb shell audiorecorder --target /data/file.raw
Bug: 111453086
Change-Id: I1323048fe308282d3719e38915818a0da17567de
Signed-off-by: Kevin Rocard <krocard@google.com>
5 years agoMerge "Remove title API from bubble metadata"
Mady Mellor [Fri, 22 Feb 2019 17:43:04 +0000 (17:43 +0000)]
Merge "Remove title API from bubble metadata"

5 years agoMerge "Wait for input windows to be set before proceeding with inject for tests"
Chavi Weingarten [Fri, 22 Feb 2019 17:34:43 +0000 (17:34 +0000)]
Merge "Wait for input windows to be set before proceeding with inject for tests"

5 years agoMerge "Disable flaky tests"
TreeHugger Robot [Fri, 22 Feb 2019 17:33:43 +0000 (17:33 +0000)]
Merge "Disable flaky tests"

5 years agoMerge "Require INSTALL_PACKAGES permission for setInstallAsApex"
Nikita Ioffe [Fri, 22 Feb 2019 17:04:17 +0000 (17:04 +0000)]
Merge "Require INSTALL_PACKAGES permission for setInstallAsApex"

5 years agoFix "Request to restore userData ..." log spam.
Richard Uhler [Fri, 22 Feb 2019 16:53:10 +0000 (16:53 +0000)]
Fix "Request to restore userData ..." log spam.

We shouldn't be logging an error message if no rollback data is
available for a package in restoreUserData, because that function is
called regularly with applications that don't have rollback enabled.

Bug: 125768945
Test: atest RollbackTest ; adb logcat -d | grep RollbackManager
Change-Id: I908cbbefb6efbc1b4f0dd81500914616e502a7fb

5 years agoDefault cmd notification commands to current user.
Nicholas Sauer [Thu, 14 Feb 2019 21:38:04 +0000 (13:38 -0800)]
Default cmd notification commands to current user.

This makes it possible to run CTS tests against a secondary user. Please
see go/aae-cts-on-u10 for more information.

bug: 121282625
Test: After switching to a secondary user: cts-tradefed run cts-dev -m CtsAppTestCases -t android.app.cts.NotificationManagerTest
Change-Id: I49c8f106bcda0d9b5a8303b9b8088a8989721993

5 years agoMerge "Change data types on CallIdentification API."
Tyler Gunn [Fri, 22 Feb 2019 15:21:44 +0000 (15:21 +0000)]
Merge "Change data types on CallIdentification API."

5 years agoRemove HardwarePropertiesManager usage
Wei Wang [Thu, 21 Feb 2019 23:42:21 +0000 (15:42 -0800)]
Remove HardwarePropertiesManager usage

Bug: 116866524
Bug: 77790357
Test: Build
Test: atest PowerUITest
Change-Id: I5b5c9c56c9123872a3626fdb55508d1594bf3878

5 years agoMerge "Remove lots of code duplication in tests"
TreeHugger Robot [Fri, 22 Feb 2019 15:01:29 +0000 (15:01 +0000)]
Merge "Remove lots of code duplication in tests"

5 years agoMerge "[CS] Support "instant failure" from factories"
Etan Cohen [Fri, 22 Feb 2019 14:29:39 +0000 (14:29 +0000)]
Merge "[CS] Support "instant failure" from factories"

5 years agoRequire INSTALL_PACKAGES permission for setInstallAsApex
Nikita Ioffe [Fri, 22 Feb 2019 11:51:09 +0000 (11:51 +0000)]
Require INSTALL_PACKAGES permission for setInstallAsApex

Bug: 123314638
Fixes: 123314638
Test: apex_e2e_tests
Change-Id: I2a78a5e7496554c0c3eecbfd28f2d793b4ba2196

5 years agoAdd logging for profile switching for sharesheet
Susi Kharraz-Post [Thu, 21 Feb 2019 14:42:31 +0000 (09:42 -0500)]
Add logging for profile switching for sharesheet

We want to know which profile people share from and if users are
switching from work to personal profile when sharing and vice versa.
This adds the current profile to the sharesheet and also logs when the
profile is switched.

Bug: 124503277
Test: Added new unit tests for ChooserActivity and IntentForwardActivity
Change-Id: Ideb83682bf3395258ff457988f4a3e9f519a844c

5 years agoMerge "Allow cmd package suspend for secondary users."
TreeHugger Robot [Fri, 22 Feb 2019 13:44:00 +0000 (13:44 +0000)]
Merge "Allow cmd package suspend for secondary users."

5 years agoMerge "Fixed a typo in the runtime_native DeviceConfig namespace."
TreeHugger Robot [Fri, 22 Feb 2019 13:42:17 +0000 (13:42 +0000)]
Merge "Fixed a typo in the runtime_native DeviceConfig namespace."

5 years ago[automerger skipped] Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature...
Bill Lin [Fri, 22 Feb 2019 12:54:39 +0000 (04:54 -0800)]
[automerger skipped] Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature" into pi-dev am: 6d19f33ca6 -s ours
am: 9646e08b3f -s ours
am skip reason: subject contains skip directive

Change-Id: I5818d275a7b9f988049c8118dbeeb0d82a15672f

5 years agoMerge "Added some TestApi that are already used by CTS"
Wale Ogunwale [Fri, 22 Feb 2019 12:51:57 +0000 (12:51 +0000)]
Merge "Added some TestApi that are already used by CTS"

5 years ago[automerger skipped] Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature...
Bill Lin [Fri, 22 Feb 2019 12:49:11 +0000 (04:49 -0800)]
[automerger skipped] Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature" into pi-dev
am: 6d19f33ca6 -s ours
am skip reason: SHA1 6d19f33ca6 skipped by user lbill

Change-Id: I806bc8dd36c81ad3ffa1cd52dc91d929fde5ab81

5 years ago[automerger skipped] Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature...
Bill Lin [Fri, 22 Feb 2019 12:14:25 +0000 (04:14 -0800)]
[automerger skipped] Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature" into pi-dev-plus-aosp
am: 2c0a9bd122 -s ours
am skip reason: subject contains skip directive

Change-Id: I851e10225040566e84f35f883c764d500ad6ee2f

5 years agoMerge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature" into pi-dev
Bill Lin [Fri, 22 Feb 2019 12:10:00 +0000 (12:10 +0000)]
Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature" into pi-dev

5 years agoMerge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature" into pi-dev-plus-aosp
Bill Lin [Fri, 22 Feb 2019 12:10:00 +0000 (12:10 +0000)]
Merge "DO NOT MERGE Fix flaky tests in OverheatAlarm feature" into pi-dev-plus-aosp

5 years agoRemove lots of code duplication in tests
Olivier Gaillard [Fri, 22 Feb 2019 11:33:12 +0000 (11:33 +0000)]
Remove lots of code duplication in tests

Test: atest statsd_test
Change-Id: Ib7d2415abf45de2810fda7fc54cd126e2f526e6b

5 years agoMerge changes If4e6a8a7,I5d552ef1
TreeHugger Robot [Fri, 22 Feb 2019 11:31:27 +0000 (11:31 +0000)]
Merge changes If4e6a8a7,I5d552ef1

* changes:
  Don't get child sessions while holding session lock.
  Don't allow addChildSessionId after session is sealed.

5 years agoMerge "Language detection fixes."
TreeHugger Robot [Fri, 22 Feb 2019 11:20:28 +0000 (11:20 +0000)]
Merge "Language detection fixes."

5 years agoMerge "Add MediaController#getSessionInfo()"
Hyundo Moon [Fri, 22 Feb 2019 11:18:48 +0000 (11:18 +0000)]
Merge "Add MediaController#getSessionInfo()"

5 years agoAdd MediaController#getSessionInfo()
Hyundo Moon [Wed, 20 Feb 2019 06:51:56 +0000 (15:51 +0900)]
Add MediaController#getSessionInfo()

Bug: 125663825
Test: Passed MediaControllerTest
Change-Id: I458cfd94575dd2303ec2bdd8996205d765d31957

5 years agoMerge "Fix IME cannot show in lock task mode."
TreeHugger Robot [Fri, 22 Feb 2019 10:05:04 +0000 (10:05 +0000)]
Merge "Fix IME cannot show in lock task mode."

5 years agoMerge "Mark bucket as invalid when the condition was unknown at the start of the...
Olivier Gaillard [Fri, 22 Feb 2019 09:47:22 +0000 (09:47 +0000)]
Merge "Mark bucket as invalid when the condition was unknown at the start of the bucket."

5 years agoMerge "Fix get documenter package name fail"
Rhed Jao [Fri, 22 Feb 2019 09:42:01 +0000 (09:42 +0000)]
Merge "Fix get documenter package name fail"

5 years agoMerge "Log whether notification channel updates are user initiated"
TreeHugger Robot [Fri, 22 Feb 2019 08:46:46 +0000 (08:46 +0000)]
Merge "Log whether notification channel updates are user initiated"

5 years agoMerge "Use size to inflate nav bar buttons instead of rotation"
TreeHugger Robot [Fri, 22 Feb 2019 07:59:50 +0000 (07:59 +0000)]
Merge "Use size to inflate nav bar buttons instead of rotation"

5 years agoMerge "Fix SyntheticPasswordTests"
Kevin Chyn [Fri, 22 Feb 2019 06:21:49 +0000 (06:21 +0000)]
Merge "Fix SyntheticPasswordTests"

5 years agoMerge "Audio: Allow registering DAP without context"
TreeHugger Robot [Fri, 22 Feb 2019 05:52:14 +0000 (05:52 +0000)]
Merge "Audio: Allow registering DAP without context"

5 years agoMerge "Attempt to fix WrongTypeOfReturnValue flaky exception"
TreeHugger Robot [Fri, 22 Feb 2019 05:29:42 +0000 (05:29 +0000)]
Merge "Attempt to fix WrongTypeOfReturnValue flaky exception"

5 years agoMerge "Bluesky API council review"
TreeHugger Robot [Fri, 22 Feb 2019 05:21:14 +0000 (05:21 +0000)]
Merge "Bluesky API council review"

5 years agoRevert "Fix a11y cache correctness bug"
Qasid Ahmad Sadiq [Fri, 22 Feb 2019 05:06:22 +0000 (21:06 -0800)]
Revert "Fix a11y cache correctness bug"

This fix introduced a painful crash that ends up disabling accessibility
services for certain users.
This happens when a client of AccessibilityCache tries to add a node, with the same id as a node previously in the cache, but fewer children, where the removed child is not in the cache.
This is because, when children are removed, and a the node is updated, the cache tries to clear the child trees. But if the child is not in the cache, the cache clears the whole tree. Every node is recycled.
Then the original node being replaced is attempted to be recycled again, and voila crash.

The fix also didn't fix the original issue based on the discussion in
b/114133438.

The risk for this is pretty low, since nothing was built on top of this.

This reverts commit 2f69c16c3dd0ea9522deebd9141ccc189b4a118e.
Bug: 124676705
Test: Tested to see if above usecase still happens.

Change-Id: I8a39698c4532a1613ba47e1c6ca70201cd496212

5 years agoFix View#performHapticFeedback() can block UI thread
Arthur Hung [Tue, 19 Feb 2019 03:31:44 +0000 (11:31 +0800)]
Fix View#performHapticFeedback() can block UI thread

Currently, IWindowSession#performHapticFeedback() would first lookup
the WindowState via IWindow token. That would also hold the WMS lock,
so if some function like relayout window is still hold WMS lock,
it may block the function.

Use uid and package name from Session that they already restored.

Bug: 62330939
Test: Open app with autofill edit, type with IME.
Change-Id: I359c106d213b87aa8afee48b0f1ad70011970eab

5 years agoMerge "use putLong for long config"
Sooraj Sasindran [Fri, 22 Feb 2019 04:41:05 +0000 (04:41 +0000)]
Merge "use putLong for long config"

5 years agoMerge changes from topics "policy_fixed_set_via_perm_controller", "protect-policy...
Philip P. Moltmann [Fri, 22 Feb 2019 04:39:31 +0000 (04:39 +0000)]
Merge changes from topics "policy_fixed_set_via_perm_controller", "protect-policy-flags"

* changes:
  Ask Perm Controller to set policy-fixed perms
  Guard changing policy_fixed flag behind permission

5 years agoMerge changes from topic "perm-flags"
Philip P. Moltmann [Fri, 22 Feb 2019 04:38:22 +0000 (04:38 +0000)]
Merge changes from topic "perm-flags"

* changes:
  Do not revoke pre-M perms on upgrade
  Also apply removed permission flags

5 years agoAdded some TestApi that are already used by CTS
Wale Ogunwale [Mon, 11 Feb 2019 11:09:10 +0000 (03:09 -0800)]
Added some TestApi that are already used by CTS

Allows us to remove the use of private platform API from CTS.

Bug: 124134247
Test: builds
Change-Id: Iceb81ff7c9385e877d2612fbb7b506245d116928

5 years agoCreate an interface to set details text
tmfang [Wed, 30 Jan 2019 08:52:29 +0000 (16:52 +0800)]
Create an interface to set details text

For some cases, we still need a way to set text directly.

Test: robotest
Bug: 123538183
Change-Id: I5926730fcc2ba6382ee42c36ce398d6c930650f3

5 years agoMerge "WM: Mock or stub SurfaceControl and Surface calls in wm unit tests"
TreeHugger Robot [Fri, 22 Feb 2019 03:51:18 +0000 (03:51 +0000)]
Merge "WM: Mock or stub SurfaceControl and Surface calls in wm unit tests"

5 years agoMerge "Mark UI tests as flaky and restore role tests for presubmit."
TreeHugger Robot [Fri, 22 Feb 2019 03:50:27 +0000 (03:50 +0000)]
Merge "Mark UI tests as flaky and restore role tests for presubmit."

5 years agoMerge "Broaden temporary workaround."
Jeff Sharkey [Fri, 22 Feb 2019 03:46:46 +0000 (03:46 +0000)]
Merge "Broaden temporary workaround."

5 years agoAttempt to fix WrongTypeOfReturnValue flaky exception
Yunfan Chen [Fri, 22 Feb 2019 03:34:39 +0000 (12:34 +0900)]
Attempt to fix WrongTypeOfReturnValue flaky exception

The flake may be caused by multi-thread issue. As most of the
performSurfacePlacement access are holding the lock, try to hold the
lock.

Test: atest AppTransitionTests
Bug: 74078662
Change-Id: I2132f90222a3ea21454aae2fdb305b7a9bd715d9

5 years agoMerge "Removing SDK check when getting default widget padding"
TreeHugger Robot [Fri, 22 Feb 2019 02:44:58 +0000 (02:44 +0000)]
Merge "Removing SDK check when getting default widget padding"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 22 Feb 2019 02:40:38 +0000 (02:40 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoDisable flaky tests
Lucas Dupin [Fri, 22 Feb 2019 02:27:41 +0000 (18:27 -0800)]
Disable flaky tests

Bug: 124858892
Test: make
Change-Id: Ie780916f6d7d008d559f772b31117bcd593d50e1