OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Revert "Fix opacity of expanded shade during transitions""
TreeHugger Robot [Thu, 15 Feb 2018 04:32:29 +0000 (04:32 +0000)]
Merge "Revert "Fix opacity of expanded shade during transitions""

6 years agoMerge "Change string for lockdown button"
TreeHugger Robot [Thu, 15 Feb 2018 04:05:25 +0000 (04:05 +0000)]
Merge "Change string for lockdown button"

6 years agoMerge "LockSettingsStrongAuth: Use DeathReceipients"
TreeHugger Robot [Thu, 15 Feb 2018 03:57:11 +0000 (03:57 +0000)]
Merge "LockSettingsStrongAuth: Use DeathReceipients"

6 years agoMerge "Revert "Reorganize MeasuredText API""
Seigo Nonaka [Thu, 15 Feb 2018 03:56:04 +0000 (03:56 +0000)]
Merge "Revert "Reorganize MeasuredText API""

6 years agoMerge "Unify automatic storage management enabled checks."
TreeHugger Robot [Thu, 15 Feb 2018 03:46:19 +0000 (03:46 +0000)]
Merge "Unify automatic storage management enabled checks."

6 years agoMerge "[EBS] Don't disable location when DISALLOW_CONFIG_LOCATION is set"
TreeHugger Robot [Thu, 15 Feb 2018 03:39:30 +0000 (03:39 +0000)]
Merge "[EBS] Don't disable location when DISALLOW_CONFIG_LOCATION is set"

6 years agoMerge "Fix NPE in RNA#start()"
TreeHugger Robot [Thu, 15 Feb 2018 03:28:43 +0000 (03:28 +0000)]
Merge "Fix NPE in RNA#start()"

6 years agoMerge "Add more controls for launcher to control sysui"
TreeHugger Robot [Thu, 15 Feb 2018 03:15:46 +0000 (03:15 +0000)]
Merge "Add more controls for launcher to control sysui"

6 years agoMerge "Use structural equality for A11yNodeInfo#mChildNodeIds"
TreeHugger Robot [Thu, 15 Feb 2018 03:09:45 +0000 (03:09 +0000)]
Merge "Use structural equality for A11yNodeInfo#mChildNodeIds"

6 years agoMerge "AudioService: fix deadlock"
TreeHugger Robot [Thu, 15 Feb 2018 03:07:11 +0000 (03:07 +0000)]
Merge "AudioService: fix deadlock"

6 years agoMerge "Dump XML files in aapt2 dump"
TreeHugger Robot [Thu, 15 Feb 2018 02:41:54 +0000 (02:41 +0000)]
Merge "Dump XML files in aapt2 dump"

6 years agoMerge "Add OWNERS files for the recoverable keystore folders"
TreeHugger Robot [Thu, 15 Feb 2018 02:04:34 +0000 (02:04 +0000)]
Merge "Add OWNERS files for the recoverable keystore folders"

6 years agoMerge changes from topic "WifiTrackerRefactor"
TreeHugger Robot [Thu, 15 Feb 2018 01:55:37 +0000 (01:55 +0000)]
Merge changes from topic "WifiTrackerRefactor"

* changes:
  Consolidate all work in the WorkHandler.
  Remove the double lists in WifiTracker.
  Delete the MainHandler and remaining code.
  Remove methods from MainHandler.

6 years agoMerge "Override all transitions from package start"
Jorim Jaggi [Thu, 15 Feb 2018 01:34:37 +0000 (01:34 +0000)]
Merge "Override all transitions from package start"

6 years agoMerge "Stop restoring ENABLED_INPUT_METHODS"
TreeHugger Robot [Thu, 15 Feb 2018 01:32:38 +0000 (01:32 +0000)]
Merge "Stop restoring ENABLED_INPUT_METHODS"

6 years agoRevert "Fix opacity of expanded shade during transitions"
Lucas Dupin [Thu, 15 Feb 2018 01:15:24 +0000 (01:15 +0000)]
Revert "Fix opacity of expanded shade during transitions"

This reverts commit ee98ccb0a3c38ad730041433f9d430bbf3af327e.

Reason for revert: Causing b/73349375

Change-Id: Ie2cd15ed0522f7768035beb04853a6432be111a9
Fixes: 73349375

6 years agoMerge "Ensure we clear binder calling uid prior to removing pinned stacks."
TreeHugger Robot [Thu, 15 Feb 2018 00:50:31 +0000 (00:50 +0000)]
Merge "Ensure we clear binder calling uid prior to removing pinned stacks."

6 years ago[EBS] Don't disable location when DISALLOW_CONFIG_LOCATION is set
Makoto Onuki [Wed, 14 Feb 2018 22:13:49 +0000 (14:13 -0800)]
[EBS] Don't disable location when DISALLOW_CONFIG_LOCATION is set

If *any* user has DISALLOW_CONFIG_LOCATION set, don't disable location
on battery saver.

Test: Manual test with TestDPC
Test:  atest $ANDROID_BUILD_TOP/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/BatterySaverLocationTest.java

Bug: 73004763
Change-Id: Iea7ddf94703463f0f8f2a92a8e76845b986350c3

6 years agoMerge "Adds metrics constants for tron logging in Android TV Settings."
TreeHugger Robot [Thu, 15 Feb 2018 00:40:30 +0000 (00:40 +0000)]
Merge "Adds metrics constants for tron logging in Android TV Settings."

6 years agoFix NPE in RNA#start()
John Reck [Thu, 15 Feb 2018 00:36:16 +0000 (16:36 -0800)]
Fix NPE in RNA#start()

Change-Id: I073e3574cbb7d3195727ef8cde87fc12904c9566
Fixes: 73176211
Test: I guessed

6 years agoMerge "Add a guardrail to limit minimum bucket duration to be 5 minutes except when...
Howard Ro [Thu, 15 Feb 2018 00:18:22 +0000 (00:18 +0000)]
Merge "Add a guardrail to limit minimum bucket duration to be 5 minutes except when configured through adb command"

6 years agoUnify automatic storage management enabled checks.
Daniel Nishi [Wed, 24 Jan 2018 02:27:22 +0000 (18:27 -0800)]
Unify automatic storage management enabled checks.

By putting it in SettingsLib, it should be accessible to every app that
needs it.

This also adds in the ability for the framework to define default
behavior. The default behavior for the storage manager enabled status
may differ based upon the device.

Bug: 70893105
Test: SettingsLib Robotests
Change-Id: I9082a77f90289b8fa208c628dd3606000e19495b

6 years agoMerge "Let debug builds set SubscriptionPlan owners."
Jeff Sharkey [Wed, 14 Feb 2018 23:44:11 +0000 (23:44 +0000)]
Merge "Let debug builds set SubscriptionPlan owners."

6 years agoMerge "Make the platform proto naming consistent, Part 1 Change proto names in incide...
TreeHugger Robot [Wed, 14 Feb 2018 23:29:47 +0000 (23:29 +0000)]
Merge "Make the platform proto naming consistent, Part 1 Change proto names in incident_helper"

6 years agoAdd more controls for launcher to control sysui
Matthew Ng [Wed, 17 Jan 2018 01:17:24 +0000 (17:17 -0800)]
Add more controls for launcher to control sysui

Added a 4 flags to control the state of system ui:
1. Disable swipe up navigation (prevents motion events going through)
2. Disable quick scrub (& step)
3. Show overview button (hidden by default)
4. Hide back button (shown by default)

Test: manual
Bug: 67957962
Bug: 70180755
Change-Id: Ibc44af9bbdfa9611688fe12285a999d81b8287e9

6 years agoMerge "Listen for IFingerprintServiceLockoutResetCallback death"
TreeHugger Robot [Wed, 14 Feb 2018 23:24:57 +0000 (23:24 +0000)]
Merge "Listen for IFingerprintServiceLockoutResetCallback death"

6 years agoMerge "HIDL: add APIs used by subclasses to SystemApi"
Steven Moreland [Wed, 14 Feb 2018 23:12:28 +0000 (23:12 +0000)]
Merge "HIDL: add APIs used by subclasses to SystemApi"

6 years agoMerge "Assign animation layer above highest animation target."
Rob Carr [Wed, 14 Feb 2018 23:10:50 +0000 (23:10 +0000)]
Merge "Assign animation layer above highest animation target."

6 years agoMerge "Expose AnimationUtils#lockAnimationClock for tests"
TreeHugger Robot [Wed, 14 Feb 2018 23:09:47 +0000 (23:09 +0000)]
Merge "Expose AnimationUtils#lockAnimationClock for tests"

6 years agoAudioService: fix deadlock
Jean-Michel Trivi [Wed, 14 Feb 2018 18:48:51 +0000 (10:48 -0800)]
AudioService: fix deadlock

Source of deadlock:
Thread A:
 readAudioSettings()
  -> checkAllAliasStreamVolumes()
    -> synchronized (VolumeStreamState.class)
         -> mStreamStates[streamType].setAllIndexes()
            -> synchronized (mSettingsLock)
Thread B:
 updateStreamVolumeAlias()
  -> mStreamStates[ACCESSIBILITY].setAllIndexes()
     -> synchronized (mSettingsLock)
        -> synchronized (VolumeStreamState.class)

Fix:
 Ensure all calls to VSS.setAllIndexes() are synchronized
 on mSettingsLock then on VolumeStreamState.class.

Bug: 72122435
Test: see bug for repro
Change-Id: I16ad1d1df88256291c36d8f5b8ebe830fe1b0b84

6 years agoMerge "Add frameworks/base/media/OWNERS"
Marco Nelissen [Wed, 14 Feb 2018 22:50:39 +0000 (22:50 +0000)]
Merge "Add frameworks/base/media/OWNERS"

6 years agoMerge "Update the battery charging status when turning battery on/off."
TreeHugger Robot [Wed, 14 Feb 2018 22:49:07 +0000 (22:49 +0000)]
Merge "Update the battery charging status when turning battery on/off."

6 years agoAdd OWNERS files for the recoverable keystore folders
Bo Zhu [Wed, 14 Feb 2018 22:36:48 +0000 (14:36 -0800)]
Add OWNERS files for the recoverable keystore folders

Test: None
Change-Id: I4ad1079cbda4e10ea5f76fb8b3cc280befc62928

6 years agoChange string for lockdown button
Chad Brubaker [Wed, 14 Feb 2018 22:33:10 +0000 (14:33 -0800)]
Change string for lockdown button

Test: visual
Change-Id: I8db30866ea2f0bcf5227f1fe7648439e3f3f7fb1

6 years agoMerge "Change the cert parsing debugging logs to be more meaningful and less noisy"
TreeHugger Robot [Wed, 14 Feb 2018 22:30:53 +0000 (22:30 +0000)]
Merge "Change the cert parsing debugging logs to be more meaningful and less noisy"

6 years agoMerge "No alarm warning in dnd dialog if alarms allowed"
TreeHugger Robot [Wed, 14 Feb 2018 22:21:24 +0000 (22:21 +0000)]
Merge "No alarm warning in dnd dialog if alarms allowed"

6 years agoAdd frameworks/base/media/OWNERS
Marco Nelissen [Wed, 14 Feb 2018 22:18:27 +0000 (14:18 -0800)]
Add frameworks/base/media/OWNERS

Copied from frameworks/av/OWNERS
Test: no

Change-Id: I35b2a2ed7b1b2ead2a460df16f41761e28837b4f

6 years agoAdds metrics constants for tron logging in Android TV Settings.
Leif Hendrik Wilden [Mon, 12 Feb 2018 21:50:33 +0000 (13:50 -0800)]
Adds metrics constants for tron logging in Android TV Settings.

Test: Looks good.
Bug: 70572789
Change-Id: Ib0fc596f26ec9eb5bd435171c8c288179cf9cd21

6 years agoEnsure we clear binder calling uid prior to removing pinned stacks.
Winson Chung [Wed, 14 Feb 2018 21:46:37 +0000 (13:46 -0800)]
Ensure we clear binder calling uid prior to removing pinned stacks.

Bug: 73311253
Test: Enter PiP, try to pin fullscreen app
Change-Id: Ide1f48d4ab32cbb5ddc51ba1e9e3aa5e66a76d20

6 years agoOverride all transitions from package start
Jorim Jaggi [Mon, 29 Jan 2018 17:54:13 +0000 (18:54 +0100)]
Override all transitions from package start

When launching a notification, often the launch goes into a
service, broadcast or trampoline activity that starts another
activity, for which we loose the ability to control the animation
because we don't provide the activity options anymore.

This CL adds the ability to override all activity launches
originating from a certain package for a couple of seconds, such
that we have the ability to still control the animation from
SystemUI.

Test: go/wm-smoke
Test: Start stopwatch, press home, press notification
Test: atest PendingRemoteAnimationRegistryTest
Change-Id: I4d077c4ac4565f060e849e4b33920d2bf4a80d48

6 years agoConsolidate all work in the WorkHandler.
Sundeep Ghuman [Tue, 30 Jan 2018 02:56:36 +0000 (18:56 -0800)]
Consolidate all work in the WorkHandler.

Fix flakey tests, and remove indeterminism in tests but asserting all
latches successfully countdown.

Bug: 68030053
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java

Change-Id: I68f108929d563bc323a28bdfb3c9eb514630630b

6 years agoMerge "Fix issue with quickscrub not getting reset when the state changes"
TreeHugger Robot [Wed, 14 Feb 2018 21:37:30 +0000 (21:37 +0000)]
Merge "Fix issue with quickscrub not getting reset when the state changes"

6 years agoMerge "Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117 am: 9fce67f50f...
Android Build Merger (Role) [Wed, 14 Feb 2018 21:27:10 +0000 (21:27 +0000)]
Merge "Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117 am: 9fce67f50f am: ddf41d99f3  -s ours"

6 years agoLet debug builds set SubscriptionPlan owners.
Jeff Sharkey [Wed, 14 Feb 2018 21:26:10 +0000 (14:26 -0700)]
Let debug builds set SubscriptionPlan owners.

Examine system property to decide if a test app should be granted
the ability to manage SubscriptionPlan details for a specific subId.

This doesn't give the testing app any access to existing plans
defined by other carrier apps, it only allows the testing app to
provide plans for testing purposes.  Purposefully ignored on
end-user builds.

Test: builds, boots
Bug: 73173096
Change-Id: I926ec0f88b7c2c282a1ec4410eaab92e1e1090dd

6 years agoMerge "add a current table in CarrierIdProvider" am: 3fa6fe2117 am: 9fce67f50f
Chen Xu [Wed, 14 Feb 2018 21:26:11 +0000 (21:26 +0000)]
Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117 am: 9fce67f50f
am: ddf41d99f3  -s ours

Change-Id: I6ab44a03d398b0a55003cd83334050af904ce2eb

6 years agoMerge "Dump frame history for bugreports"
TreeHugger Robot [Wed, 14 Feb 2018 21:24:46 +0000 (21:24 +0000)]
Merge "Dump frame history for bugreports"

6 years agoMerge "Fix link-type check warning on PMTest_Java* test apps" am: 779f561650 am:...
Jiyong Park [Wed, 14 Feb 2018 21:21:22 +0000 (21:21 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps" am: 779f561650 am: 78c71ca44b
am: e481df974d

Change-Id: I38739a4f2f7bdb3da64e70cfa5f098039ef129fa

6 years agoMerge "Adding some more owners to systemUI"
TreeHugger Robot [Wed, 14 Feb 2018 21:13:35 +0000 (21:13 +0000)]
Merge "Adding some more owners to systemUI"

6 years agoMerge "Added SQLiteOpenHelper.setOpenParams"
Fyodor Kupolov [Wed, 14 Feb 2018 21:09:49 +0000 (21:09 +0000)]
Merge "Added SQLiteOpenHelper.setOpenParams"

6 years agoMerge "add a current table in CarrierIdProvider" am: 3fa6fe2117
Chen Xu [Wed, 14 Feb 2018 21:09:29 +0000 (21:09 +0000)]
Merge "add a current table in CarrierIdProvider" am: 3fa6fe2117
am: 9fce67f50f

Change-Id: Ia8dbd47c1c4cf775f7597e7e93c8315bf004e9e0

6 years agoMerge "AudioService: Remove orientation tracking"
TreeHugger Robot [Wed, 14 Feb 2018 21:08:56 +0000 (21:08 +0000)]
Merge "AudioService: Remove orientation tracking"

6 years agoMerge "add a current table in CarrierIdProvider"
Chen Xu [Wed, 14 Feb 2018 21:00:42 +0000 (21:00 +0000)]
Merge "add a current table in CarrierIdProvider"
am: 3fa6fe2117

Change-Id: I5e734d3b55332e5d9bb5bc27515625456edb5df5

6 years agoMerge "Fix magnification viewport drifting when scaling"
TreeHugger Robot [Wed, 14 Feb 2018 20:51:33 +0000 (20:51 +0000)]
Merge "Fix magnification viewport drifting when scaling"

6 years agoExpose AnimationUtils#lockAnimationClock for tests
John Reck [Wed, 14 Feb 2018 20:47:51 +0000 (12:47 -0800)]
Expose AnimationUtils#lockAnimationClock for tests

Bug: 38270821
Test: EdgeEffectTests CTS
Change-Id: I5a3568da5c845d5b3eb06624c7178c378768831a

6 years agoListen for IFingerprintServiceLockoutResetCallback death
Kevin Chyn [Wed, 14 Feb 2018 20:46:45 +0000 (12:46 -0800)]
Listen for IFingerprintServiceLockoutResetCallback death

Fixes: 73106873

Test: adb shell pkill systemui, log shows up
Change-Id: I35af0ce0264b6a7ca5b31ec17b32350ef6c9a3b4

6 years agoMerge "Cascading timeouts for App Standby"
TreeHugger Robot [Wed, 14 Feb 2018 20:43:06 +0000 (20:43 +0000)]
Merge "Cascading timeouts for App Standby"

6 years agoMerge "Update qs footer to 56dp."
TreeHugger Robot [Wed, 14 Feb 2018 20:29:57 +0000 (20:29 +0000)]
Merge "Update qs footer to 56dp."

6 years agoMerge "Camera: Remove individual streaming request limitation"
TreeHugger Robot [Wed, 14 Feb 2018 20:25:38 +0000 (20:25 +0000)]
Merge "Camera: Remove individual streaming request limitation"

6 years agoMerge "Add support for url_bar sanitization on autofill compat mode."
TreeHugger Robot [Wed, 14 Feb 2018 20:22:31 +0000 (20:22 +0000)]
Merge "Add support for url_bar sanitization on autofill compat mode."

6 years agoMerge "Remove unused variables in statsd, and make more warnings show."
TreeHugger Robot [Wed, 14 Feb 2018 20:12:18 +0000 (20:12 +0000)]
Merge "Remove unused variables in statsd, and make more warnings show."

6 years agoRemove the double lists in WifiTracker.
Sundeep Ghuman [Tue, 30 Jan 2018 02:31:15 +0000 (18:31 -0800)]
Remove the double lists in WifiTracker.

This CL completes the final removal of the double handler, double list,
pending notification complexity that was introduced ag/1396615 as a
'fix' to improper API implementation of the AccessPointListener
callback. The implementation erroneously refetched the entire
WifiTracker list and then performed its own sorting everytime an
individual AccessPoint was updated, instead of waiting for WifiTracker's
WifiListener.onAccessPointsChanged (plural) method instead.

Those changes have now been reverted, and the underlying SetupWizard
code has changed since then such that it does not need to be modified to
prevent regressions.

Bug: 37674366
Test: 1. runtest --path
    frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
2. runtest --path
    frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/AccessPointTest.java
3. Manual testing of WifiSettings for visual jank
4. Startup and manual inspection of SetupWizard Wifi Picker.

Change-Id: Ia4079859a7a892983ecf55ba8eab13d20120ff99

6 years agoDelete the MainHandler and remaining code.
Sundeep Ghuman [Sat, 27 Jan 2018 02:58:56 +0000 (18:58 -0800)]
Delete the MainHandler and remaining code.

As of ag/3516264 this is no longer required. Next CL will remove the
double lists and pending notification structure.

Bug: 37674366
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
1. Manual testing of WifiSettings for visual jank
2. Start up and confirmation of SetupWizard wifi picker.

Change-Id: I3f2c649375f245295a00177f805d6d3e883fe656

6 years agoRemove methods from MainHandler.
Sundeep Ghuman [Sat, 27 Jan 2018 02:23:34 +0000 (18:23 -0800)]
Remove methods from MainHandler.

Followup from ag/3516264 where callbacks are now already invoked on the
main thread. There is no reason to execute this methods on the
MainThread. Removing UPDATE_ACCESS_POINTS in following CL as it has more logic
in that requires careful modification.

Also make changes to how verbose logging is determined (now respects
logging tag as well as developer option) and log callbacks.

Bug: 37674366
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java

Change-Id: I373af3a65596d478ec25bd2c67a41fc3c7033beb

6 years agoChange the cert parsing debugging logs to be more meaningful and less
Bo Zhu [Wed, 14 Feb 2018 19:50:57 +0000 (11:50 -0800)]
Change the cert parsing debugging logs to be more meaningful and less
noisy

Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: Iee92d0c3fdea597e6ba4c9471554082360a724c7

6 years agoNo alarm warning in dnd dialog if alarms allowed
Beverly [Wed, 14 Feb 2018 16:31:50 +0000 (11:31 -0500)]
No alarm warning in dnd dialog if alarms allowed

Test: make ROBOTEST_FILTER=EnableZenModeDialogTest RunSettingsLibRoboTests -j40
Change-Id: I3a60e6e8e603ecf301076c875693e6fccf9d6ff4
Fixes: 73343468

6 years agoMerge "Remove Activity#setDisablePreviewScreenshots from system API"
Wale Ogunwale [Wed, 14 Feb 2018 19:39:12 +0000 (19:39 +0000)]
Merge "Remove Activity#setDisablePreviewScreenshots from system API"

6 years agoUse structural equality for A11yNodeInfo#mChildNodeIds
Eugene Susla [Thu, 8 Feb 2018 23:14:06 +0000 (15:14 -0800)]
Use structural equality for A11yNodeInfo#mChildNodeIds

A11yNodeInfo#writeToParcel relied on LongArray#equals to avoid
storing it if it's the default value, but because the equality
is be by reference, it would store it every time.
This fixes that.

Test: a11y cts
Fixes: 72460870
Change-Id: I508df9e4346e304b8ae56cc38b17e9a940d941f1

6 years agoUpdate the battery charging status when turning battery on/off.
Sudheer Shanka [Wed, 14 Feb 2018 19:18:39 +0000 (11:18 -0800)]
Update the battery charging status when turning battery on/off.

Bug: 72656089
Test: atest com.android.server.net.ConnOnActivityStartTest
Change-Id: I5a9a61c82f204a56dedbc06294fef2aab485c334

6 years agoMerge "Updates statsd atoms.proto with small changes."
TreeHugger Robot [Wed, 14 Feb 2018 19:18:39 +0000 (19:18 +0000)]
Merge "Updates statsd atoms.proto with small changes."

6 years agoMerge "Move default bounds to top right of the screen for QuickStep."
Tracy Zhou [Wed, 14 Feb 2018 19:07:21 +0000 (19:07 +0000)]
Merge "Move default bounds to top right of the screen for QuickStep."

6 years agoMerge "Merge "Refactor runtime hidden API flag from negative to positive" am: 46b4862...
Android Build Merger (Role) [Wed, 14 Feb 2018 19:01:42 +0000 (19:01 +0000)]
Merge "Merge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20 am: d0f327cc60 am: 2c426bc3f4  -s ours"

6 years agoMerge changes from topic "uac_jackdetect"
Andrew Chant [Wed, 14 Feb 2018 19:00:23 +0000 (19:00 +0000)]
Merge changes from topic "uac_jackdetect"

* changes:
  Add a selected UsbAlsaDevice
  ALSA jack detection support
  Synchronize UsbAlsaDevice, rename playback/capture.

6 years agoMerge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20...
Nicolas Geoffray [Wed, 14 Feb 2018 19:00:18 +0000 (19:00 +0000)]
Merge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20 am: d0f327cc60
am: 2c426bc3f4  -s ours

Change-Id: I2451fc3c54cab4c1aa1d426e2e45e4bf8a550880

6 years agoMerge "Fix PDK build"
Andrew Hsieh [Wed, 14 Feb 2018 18:55:11 +0000 (18:55 +0000)]
Merge "Fix PDK build"

6 years agoMerge "add a current table in CarrierIdProvider"
Chen Xu [Wed, 14 Feb 2018 18:54:06 +0000 (18:54 +0000)]
Merge "add a current table in CarrierIdProvider"

6 years agoDump XML files in aapt2 dump
Adam Lesinski [Wed, 14 Feb 2018 00:44:10 +0000 (16:44 -0800)]
Dump XML files in aapt2 dump

Test: manual
Change-Id: Id7f656c1385f6d1fec8eaa993c8e2b36bb1ae5b0

6 years agoMerge "Use new icon for lockdown global action"
Chad Brubaker [Wed, 14 Feb 2018 18:49:20 +0000 (18:49 +0000)]
Merge "Use new icon for lockdown global action"

6 years agoMerge "Update the cache with the snapshot requested during recents animation"
TreeHugger Robot [Wed, 14 Feb 2018 18:38:45 +0000 (18:38 +0000)]
Merge "Update the cache with the snapshot requested during recents animation"

6 years agoFix issue with quickscrub not getting reset when the state changes
Winson Chung [Wed, 14 Feb 2018 18:13:41 +0000 (10:13 -0800)]
Fix issue with quickscrub not getting reset when the state changes

- When resuming launching in forced-portrait, the orientation of the device
  changes, which causes a state transition in QuickScrub. In such a case,
  we should end the previous gesture before changing state. In addition, we
  need to bake the home button view that we are animating, otherwise we may
  have already updated the home button view by the time we get the state
  change (and will reset the wrong view's state).

Bug: 73338008
Test: Go into a forced landscape activity, try to quickscrub home and
      ensure that the button is reset

Change-Id: Icb09248648dd9643a438344d2357cb42913d1260

6 years agoMerge "Update BatteryStats cpustats collection to be asynchronous."
Sudheer Shanka [Wed, 14 Feb 2018 18:34:59 +0000 (18:34 +0000)]
Merge "Update BatteryStats cpustats collection to be asynchronous."

6 years agoAdding some more owners to systemUI
Sunny Goyal [Wed, 14 Feb 2018 18:27:46 +0000 (10:27 -0800)]
Adding some more owners to systemUI

Test: n/a
Change-Id: I673eae29d8027a0ae340eb3f280af25b7563d233

6 years agoMerge "Updating settings icon in frameworks/base/core"
TreeHugger Robot [Wed, 14 Feb 2018 18:24:57 +0000 (18:24 +0000)]
Merge "Updating settings icon in frameworks/base/core"

6 years agoMerge "Enforce CONTROL_KEYGUARD permission on WM.dismissKeyguard API"
TreeHugger Robot [Wed, 14 Feb 2018 18:07:48 +0000 (18:07 +0000)]
Merge "Enforce CONTROL_KEYGUARD permission on WM.dismissKeyguard API"

6 years agoAdd support for url_bar sanitization on autofill compat mode.
Felipe Leme [Wed, 14 Feb 2018 01:25:44 +0000 (17:25 -0800)]
Add support for url_bar sanitization on autofill compat mode.

Browsers typically use a standard class (like EditView) to hold the URL of the
page being loaded, and the content of that view is sanitized in the initial
autofill request. So, when running in compat mode, we need a mechanism to let
services tell which view contains the URL, so we can convert its contents to
a sanitized webScheme + webDomain pair or properties.

Test: manual verification
Fixes: 72994424

Change-Id: I8be5f3533d6c31f81f28036dc51d5de10a528079

6 years agoCascading timeouts for App Standby
Amith Yamasani [Sun, 11 Feb 2018 00:46:38 +0000 (16:46 -0800)]
Cascading timeouts for App Standby

Fixes overlapping of predictions, strong usage events
and mild usage events which have forced durations.

Having separate timeouts for ACTIVE and WORKING_SET
and moving between them when necessary prevents
getting stuck in the wrong state (higher) for longer
than necessary.

Bug: 73294677
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: I35530e62cffe2c86945b5da64a41704f807708ce

6 years agoMerge "Use elapsed realtime instead of times based on wall clock, which can jump...
TreeHugger Robot [Wed, 14 Feb 2018 17:17:07 +0000 (17:17 +0000)]
Merge "Use elapsed realtime instead of times based on wall clock, which can jump around and go backwards."

6 years agoMove default bounds to top right of the screen for QuickStep.
Tracy Zhou [Tue, 13 Feb 2018 23:15:43 +0000 (15:15 -0800)]
Move default bounds to top right of the screen for QuickStep.

Bug: 73299590
Test: atest CtsActivityManagerDeviceTestCases:ActivityManagerPinnedStackTests

Change-Id: Icb261bda15c373f8ec5fc126a0f6f9fba4eb77cd

6 years agoRevert "Reorganize MeasuredText API"
Seigo Nonaka [Tue, 13 Feb 2018 21:40:01 +0000 (21:40 +0000)]
Revert "Reorganize MeasuredText API"

The last change needs more discussion and found some edge cases. Revert and make small step-by-step changes.

Bug: 73091756

This reverts commit 7fd36d19e309ea515b4048cfaabb8035ceab7baf.

Change-Id: I89ff52a70cf6a5d6c553afa20f83719e1f9eb726

6 years agoMerge "Handle KeyEvent.FLAG_LONG_PRESS on power key"
Erik Wolsheimer [Wed, 14 Feb 2018 16:46:40 +0000 (16:46 +0000)]
Merge "Handle KeyEvent.FLAG_LONG_PRESS on power key"

6 years agoMerge "Fix flicker with remote animations"
Chavi Weingarten [Wed, 14 Feb 2018 16:32:14 +0000 (16:32 +0000)]
Merge "Fix flicker with remote animations"

6 years agoMerge "Use destroy in transaction for animation"
Chavi Weingarten [Wed, 14 Feb 2018 16:31:36 +0000 (16:31 +0000)]
Merge "Use destroy in transaction for animation"

6 years agoUpdate qs footer to 56dp.
Amin Shaikh [Tue, 13 Feb 2018 22:55:14 +0000 (17:55 -0500)]
Update qs footer to 56dp.

- Update qs footer icons to 18dp
- Animate out drag handle when QS footer is expanded
- Change the qs footer actions container to optimize for alpha
animations.

Bug: 72382393
Bug: 73312177
Test: visual
Change-Id: If2700d4ae13612924443712b2b03fb7660b36681

6 years agoUpdating settings icon in frameworks/base/core
Beverly [Tue, 13 Feb 2018 19:37:38 +0000 (14:37 -0500)]
Updating settings icon in frameworks/base/core

Test: manual
Bug: 73110052
Change-Id: I9ef3ea51606c23da3da288279c9ab207bd7602a5

6 years agoMerge "Fix link-type check warning on PMTest_Java* test apps" am: 779f561650
Jiyong Park [Wed, 14 Feb 2018 16:17:16 +0000 (16:17 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps" am: 779f561650
am: 78c71ca44b

Change-Id: I4e97594663b711f18a3940e002fceac215575d1c

6 years agoMerge "Fix link-type check warning on PMTest_Java* test apps"
Jiyong Park [Wed, 14 Feb 2018 16:08:59 +0000 (16:08 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps"
am: 779f561650

Change-Id: Iccbb6f4f98aece6ee8d5f41c95e5f0eb56bff94e

6 years agoRemove Activity#setDisablePreviewScreenshots from system API
Wale Ogunwale [Wed, 14 Feb 2018 15:15:20 +0000 (07:15 -0800)]
Remove Activity#setDisablePreviewScreenshots from system API

Change-Id: Ie106fb77f4645cc0c9061f4b6f7a4546711e5cb3
Bug: 73250551
Test: N/A

6 years agoMerge "Fix link-type check warning on PMTest_Java* test apps"
Treehugger Robot [Wed, 14 Feb 2018 15:02:22 +0000 (15:02 +0000)]
Merge "Fix link-type check warning on PMTest_Java* test apps"

6 years agoEnforce CONTROL_KEYGUARD permission on WM.dismissKeyguard API
Wale Ogunwale [Wed, 14 Feb 2018 14:59:14 +0000 (06:59 -0800)]
Enforce CONTROL_KEYGUARD permission on WM.dismissKeyguard API

Change-Id: Id8cb1883ea61979701d11bc9c46852eb64f83413
Fixes: 67109817
Test: builds

6 years agoMerge "Deprecated onCreateThumbnail"
Wale Ogunwale [Wed, 14 Feb 2018 14:28:18 +0000 (14:28 +0000)]
Merge "Deprecated onCreateThumbnail"

6 years agoMerge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20
Nicolas Geoffray [Wed, 14 Feb 2018 14:07:55 +0000 (14:07 +0000)]
Merge "Refactor runtime hidden API flag from negative to positive" am: 46b4862d20
am: d0f327cc60

Change-Id: Iaa313ddff5b22ed22baa916d931befc7a59090ba