OSDN Git Service

android-x86/frameworks-base.git
6 years agoOMS: Make updates to category not reset the overlay's state
Adam Lesinski [Thu, 22 Feb 2018 21:32:53 +0000 (13:32 -0800)]
OMS: Make updates to category not reset the overlay's state

- Also change how default overlays are applied. Apply them if no other
overlay is enabled for the same category as the default overlay.

Bug: 73740686
Test: manual
Test: adb shell rm /data/system/overlays.xml && adb reboot #verify that colors are blue
Test: adb pull /data/system/overlays.xml \
          && <edit overlay to remove categories> \
          && adb push overlays.xml /data/system/overlays.xml \
          && adb reboot # verify that colors are blue

Change-Id: If42afd287703e2e159d0087e477c19409f724124

6 years agoMerge "Updating AppLaunchWear to correctly parse the launch message."
Kevin Neas [Wed, 21 Feb 2018 23:41:34 +0000 (23:41 +0000)]
Merge "Updating AppLaunchWear to correctly parse the launch message."

6 years agoUpdating AppLaunchWear to correctly parse the launch message.
Kevin Neas [Wed, 21 Feb 2018 23:37:21 +0000 (15:37 -0800)]
Updating AppLaunchWear to correctly parse the launch message.

When we don't kill Home, we get an Warning message:
"Warning: Activity not started, its current task has ben brought to
the front"

This causes the current parser to think the app didn't launch, because
it's looking in the wrong line. Adding +1 to each line, in the cases
where we launch Home

Test: locally
Change-Id: Ie232a57921ed7cf82a6f17b607fbb47591bcdbed

6 years agoMerge "Describe how the accessory input stream drops data"
TreeHugger Robot [Wed, 21 Feb 2018 23:37:28 +0000 (23:37 +0000)]
Merge "Describe how the accessory input stream drops data"

6 years agoMerge "Fix low probability deadlock" am: bb5cbc539f am: e05aa02d59
Xiangyu/Malcolm Chen [Wed, 21 Feb 2018 23:31:31 +0000 (23:31 +0000)]
Merge "Fix low probability deadlock" am: bb5cbc539f am: e05aa02d59
am: 11d3d6b7f7

Change-Id: I65a7d2e32b02386905a384d69f68bab8cde1bf95

6 years agoMerge "Fix low probability deadlock" am: bb5cbc539f
Xiangyu/Malcolm Chen [Wed, 21 Feb 2018 23:15:30 +0000 (23:15 +0000)]
Merge "Fix low probability deadlock" am: bb5cbc539f
am: e05aa02d59

Change-Id: I3560bd28b67fee381f6c2d9e8bc8864efe63090d

6 years agoMerge "Fix low probability deadlock"
Xiangyu/Malcolm Chen [Wed, 21 Feb 2018 23:01:42 +0000 (23:01 +0000)]
Merge "Fix low probability deadlock"
am: bb5cbc539f

Change-Id: Ife7dd96618b75fd492aaf0397870653d63cf0d5e

6 years agoMerge "Remove flags in fs-verity header"
TreeHugger Robot [Wed, 21 Feb 2018 22:54:44 +0000 (22:54 +0000)]
Merge "Remove flags in fs-verity header"

6 years agoMerge "Verify last array's length in readFromParcel"
Fyodor Kupolov [Wed, 21 Feb 2018 22:03:37 +0000 (22:03 +0000)]
Merge "Verify last array's length in readFromParcel"

6 years agoMerge "Fix opacity of expanded shade during transitions"
TreeHugger Robot [Wed, 21 Feb 2018 21:54:33 +0000 (21:54 +0000)]
Merge "Fix opacity of expanded shade during transitions"

6 years agoMerge "Add HighAtomic to pagetypeinfo, and don't fail if a header can't be found...
TreeHugger Robot [Wed, 21 Feb 2018 21:42:35 +0000 (21:42 +0000)]
Merge "Add HighAtomic to pagetypeinfo, and don't fail if a header can't be found in proto definition."

6 years agoMerge "Handling additional enum for carrier half cycle"
Wyatt Riley [Wed, 21 Feb 2018 21:39:43 +0000 (21:39 +0000)]
Merge "Handling additional enum for carrier half cycle"

6 years agoMerge "Use PooledLambda in autofill code"
Eugene Susla [Wed, 21 Feb 2018 21:32:42 +0000 (21:32 +0000)]
Merge "Use PooledLambda in autofill code"

6 years agoMerge "Don't end transitions on a detached window, prevent crash in WindowId"
TreeHugger Robot [Wed, 21 Feb 2018 21:26:36 +0000 (21:26 +0000)]
Merge "Don't end transitions on a detached window, prevent crash in WindowId"

6 years agoMerge "Fix low probability deadlock"
Xiangyu/Malcolm Chen [Wed, 21 Feb 2018 21:16:44 +0000 (21:16 +0000)]
Merge "Fix low probability deadlock"

6 years agoMerge "Remove relevant configs when a uid (app) is uninstalled"
Howard Ro [Wed, 21 Feb 2018 21:12:41 +0000 (21:12 +0000)]
Merge "Remove relevant configs when a uid (app) is uninstalled"

6 years agoMerge "Use structural equality for A11yNodeInfo#mChildNodeIds"
TreeHugger Robot [Wed, 21 Feb 2018 20:59:21 +0000 (20:59 +0000)]
Merge "Use structural equality for A11yNodeInfo#mChildNodeIds"

6 years agoMerge "Unbind InputMethod when app crashes"
Tarandeep Singh [Wed, 21 Feb 2018 20:59:09 +0000 (20:59 +0000)]
Merge "Unbind InputMethod when app crashes"

6 years agoMerge "Update ActivityManagerPerfTests README with atest"
TreeHugger Robot [Wed, 21 Feb 2018 20:40:47 +0000 (20:40 +0000)]
Merge "Update ActivityManagerPerfTests README with atest"

6 years agoMerge "Updating AppLaunchWear with more logging and logic."
Kevin Neas [Wed, 21 Feb 2018 20:36:51 +0000 (20:36 +0000)]
Merge "Updating AppLaunchWear with more logging and logic."

6 years agoUpdating AppLaunchWear with more logging and logic.
Kevin Neas [Wed, 21 Feb 2018 20:31:40 +0000 (12:31 -0800)]
Updating AppLaunchWear with more logging and logic.

Agenda keeps failing. Need to more logging to know why
Contacts keeps getting killed. Again, need more logging

Test: local

Change-Id: I6930892d8a2eaa7ad410284fba9ed1c4980820f7

6 years agoMerge "DisplayCutout: Cache rotations of DisplayCutout"
TreeHugger Robot [Wed, 21 Feb 2018 20:32:31 +0000 (20:32 +0000)]
Merge "DisplayCutout: Cache rotations of DisplayCutout"

6 years agoMerge "Updating batterystats report version."
TreeHugger Robot [Wed, 21 Feb 2018 20:32:27 +0000 (20:32 +0000)]
Merge "Updating batterystats report version."

6 years agoMerge "Widen Conscrypt greylist."
TreeHugger Robot [Wed, 21 Feb 2018 20:28:14 +0000 (20:28 +0000)]
Merge "Widen Conscrypt greylist."

6 years agoMerge changes I30c76f2a,I83d3f0d2
TreeHugger Robot [Wed, 21 Feb 2018 20:19:54 +0000 (20:19 +0000)]
Merge changes I30c76f2a,I83d3f0d2

* changes:
  Fixed the launch animation for groups
  Removed the notification action background

6 years agoMerge "Simplify synchronization and delete dead code."
TreeHugger Robot [Wed, 21 Feb 2018 20:16:21 +0000 (20:16 +0000)]
Merge "Simplify synchronization and delete dead code."

6 years agoMerge changes from topic "forceUpdate"
TreeHugger Robot [Wed, 21 Feb 2018 20:16:00 +0000 (20:16 +0000)]
Merge changes from topic "forceUpdate"

* changes:
  Convert forceUpdate to 'onStart' lifecycle event.
  Change WifiListenerWrapper to WifiListenExecutor.
  Delete the WorkHandler class.
  Cleanup updateAccessPoints for readability.

6 years agoMerge "Move WebView plat_support from frameworks/webview."
TreeHugger Robot [Wed, 21 Feb 2018 20:15:20 +0000 (20:15 +0000)]
Merge "Move WebView plat_support from frameworks/webview."

6 years agoMerge "Hide bouncer before launching camera"
TreeHugger Robot [Wed, 21 Feb 2018 20:12:05 +0000 (20:12 +0000)]
Merge "Hide bouncer before launching camera"

6 years agoMerge "[QS] Add header tooltip for long press"
TreeHugger Robot [Wed, 21 Feb 2018 19:59:48 +0000 (19:59 +0000)]
Merge "[QS] Add header tooltip for long press"

6 years agoMerge "Package whitelist for hiddenapi checks."
TreeHugger Robot [Wed, 21 Feb 2018 19:55:23 +0000 (19:55 +0000)]
Merge "Package whitelist for hiddenapi checks."

6 years agoMerge changes from topics "playerinterface_onError", "mediasession2_notifychildren...
Jaewan Kim [Wed, 21 Feb 2018 19:53:11 +0000 (19:53 +0000)]
Merge changes from topics "playerinterface_onError", "mediasession2_notifychildren", "mediasession2_subscribe", "MediaSession2_rating_style_for_each_item"

* changes:
  MediaSession2: Add a way to notify errors between session and player
  MediaSession2: Implement MediaLibrarySession#notifyChildrenChanged()
  MediaSession2: Implement subscribe/unsubscribe
  MediaSession2: Remove rating style from session

6 years agoUse PooledLambda in autofill code
Eugene Susla [Mon, 12 Feb 2018 22:33:15 +0000 (14:33 -0800)]
Use PooledLambda in autofill code

This replaces the usage of handler message types with PooledLambda

Bug: 73648631
Test: atest CtsAutoFillTestCases
Change-Id: I3be0870116489c0c831353fe4ab9abed3cac3a93

6 years agoFix opacity of expanded shade during transitions
Lucas Dupin [Wed, 7 Feb 2018 18:49:55 +0000 (10:49 -0800)]
Fix opacity of expanded shade during transitions

Change-Id: I480e558113cd9f31b7548002265e9b4b78b0ddad
Fixes: 70351996
Fixes: 71443237
Fixes: 73311721
Fixes: 72757727
Test: packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ScrimControllerTest.java
Test: unlock with fp. pattern
Test: pull down shade adjust brightness on bouncer and launcher
Test: unlock with fingerprint from pulsing notification

6 years agoUnbind InputMethod when app crashes
Tarandeep Singh [Fri, 16 Feb 2018 22:31:17 +0000 (14:31 -0800)]
Unbind InputMethod when app crashes

If a running app (with bound InputMethod) crashes, the currently running InputMethod is not
unbound. As a result, onBindInput is not called.
In order to fix this, IMMS.removeClient() should also unbind the current client and clear
the flag IMMS.mBoundToMethod.
With the fix, I haven't seen any test failures mentioned in bug.

Bug: 72399950
Fixes: 73274813
Test: atest InputMethodServiceLifecycleTest && atest FocusHandlingTest
Change-Id: I0c09381b43a8b96480976edafbc0b0ee40ae5de0

6 years agoMerge "Add StringDef annotation for SYSTEM_SETTINGS_WHITELIST"
TreeHugger Robot [Wed, 21 Feb 2018 19:23:49 +0000 (19:23 +0000)]
Merge "Add StringDef annotation for SYSTEM_SETTINGS_WHITELIST"

6 years agoMerge "Added a targetAPi check to the user name requirement"
Selim Cinek [Wed, 21 Feb 2018 19:06:59 +0000 (19:06 +0000)]
Merge "Added a targetAPi check to the user name requirement"

6 years agoMerge "Optionally supress status bar notifications in dnd"
TreeHugger Robot [Wed, 21 Feb 2018 18:43:55 +0000 (18:43 +0000)]
Merge "Optionally supress status bar notifications in dnd"

6 years agoMerge "update intent to be toggle instead of show for hvac button"
TreeHugger Robot [Wed, 21 Feb 2018 18:13:48 +0000 (18:13 +0000)]
Merge "update intent to be toggle instead of show for hvac button"

6 years ago[QS] Add header tooltip for long press
Rohan Shah [Tue, 20 Feb 2018 19:27:22 +0000 (11:27 -0800)]
[QS] Add header tooltip for long press

Added some hooks in animator to pass along expanded/animating/collapsed
state in a more clear manner. Added tooltip view with the teaser text to
animate in at the top of the view (and fade out either when we start
animating or automatically after 5 seconds).

Added prefs for tracking how often tooltip is shown/hiding it based on
that number.

Updated dimensions for correct spacing (based on redlines).

Test: Visually
Bug: 72528203

Change-Id: I70e4654ed95057fac6d8dbb890d575c2a5d9f215

6 years agoMerge "ApplicationInfo: Copy compileSdkVersion* fields"
TreeHugger Robot [Wed, 21 Feb 2018 18:05:38 +0000 (18:05 +0000)]
Merge "ApplicationInfo: Copy compileSdkVersion* fields"

6 years agoAdd StringDef annotation for SYSTEM_SETTINGS_WHITELIST
yuemingw [Wed, 21 Feb 2018 16:20:14 +0000 (16:20 +0000)]
Add StringDef annotation for SYSTEM_SETTINGS_WHITELIST

Bug: 70336454
Test: manual
Change-Id: Ifebce382ec9a4a08831e433a1c7974d3a43e306d

6 years agoMerge "Shortcut permissions for default text classifier"
Makoto Onuki [Wed, 21 Feb 2018 17:22:28 +0000 (17:22 +0000)]
Merge "Shortcut permissions for default text classifier"

6 years agoMove WebView plat_support from frameworks/webview.
Torne (Richard Coles) [Wed, 21 Feb 2018 17:17:47 +0000 (12:17 -0500)]
Move WebView plat_support from frameworks/webview.

Move this code to be in the same repository as the other parts of
WebView's current implementation.

Bug: 62445369
Test: m
Change-Id: I567eac7f3484fa78a948fb84545e578fe18c236d

6 years agoMediaSession2: Add a way to notify errors between session and player
Jaewan Kim [Mon, 19 Feb 2018 03:19:13 +0000 (12:19 +0900)]
MediaSession2: Add a way to notify errors between session and player

This is proposed during the offline meeting

Test: Run all MediaComponents tests once
Change-Id: I3ebd6284792a934bf1411a447e65970ad53a1f42

6 years agoMediaSession2: Implement MediaLibrarySession#notifyChildrenChanged()
Jaewan Kim [Mon, 19 Feb 2018 08:49:35 +0000 (17:49 +0900)]
MediaSession2: Implement MediaLibrarySession#notifyChildrenChanged()

Test: Run all MediaComponents tests once
Bug: 72787989
Change-Id: I5bdcb8460109831fb5349d1437b775f8f7b7ddf0

6 years agoMediaSession2: Implement subscribe/unsubscribe
Jaewan Kim [Mon, 19 Feb 2018 06:20:29 +0000 (15:20 +0900)]
MediaSession2: Implement subscribe/unsubscribe

Bug: 72786292
Test: Run all MediaComponents tests
Change-Id: I0871f883d638292fb75b2bd8c9bd4d680e4a1d0b

6 years agoMediaSession2: Remove rating style from session
Hyundo Moon [Wed, 21 Feb 2018 06:29:26 +0000 (15:29 +0900)]
MediaSession2: Remove rating style from session

Bug: 73615699
Test: Passed MediaController2Test
Change-Id: Icc35bf982e0943ba7586003bf30dd6dfa90d747e

6 years agoMerge "Updating AppLaunchWear to add more logging."
Kevin Neas [Wed, 21 Feb 2018 16:59:20 +0000 (16:59 +0000)]
Merge "Updating AppLaunchWear to add more logging."

6 years agoMerge "MediaSession2: Remove SessionPlayer2"
TreeHugger Robot [Wed, 21 Feb 2018 16:32:37 +0000 (16:32 +0000)]
Merge "MediaSession2: Remove SessionPlayer2"

6 years agoMerge "Don't resume until keyguard is gone"
Andrii Kulian [Wed, 21 Feb 2018 16:19:45 +0000 (16:19 +0000)]
Merge "Don't resume until keyguard is gone"

6 years agoMerge "Build android.test.base/legacy against SDK"
TreeHugger Robot [Wed, 21 Feb 2018 15:56:08 +0000 (15:56 +0000)]
Merge "Build android.test.base/legacy against SDK"

6 years agoMerge "Fix ANR"
Jorim Jaggi [Wed, 21 Feb 2018 15:28:13 +0000 (15:28 +0000)]
Merge "Fix ANR"

6 years agoDisplayCutout: Cache rotations of DisplayCutout
Adrian Roos [Mon, 19 Feb 2018 17:07:49 +0000 (18:07 +0100)]
DisplayCutout: Cache rotations of DisplayCutout

Caches the result of the DisplayCutout computation for all rotations.
With the fix to 72444324, the rotated DisplayCutout is recomputed a
lot more frequently for all rotations.

Bug: 72444324
Test: atest RotationCacheTest
Change-Id: Id413cf35fc2a6e77f738f0e3b42971e0387fd7bb

6 years agoMerge "Fix app start logging"
Jorim Jaggi [Wed, 21 Feb 2018 15:12:33 +0000 (15:12 +0000)]
Merge "Fix app start logging"

6 years agoMerge "Fix crash in AppErrors and clean up code"
TreeHugger Robot [Wed, 21 Feb 2018 14:29:26 +0000 (14:29 +0000)]
Merge "Fix crash in AppErrors and clean up code"

6 years agoMerge "MediaBrowser2: Rearrange API arguments in relevant order"
TreeHugger Robot [Wed, 21 Feb 2018 13:27:16 +0000 (13:27 +0000)]
Merge "MediaBrowser2: Rearrange API arguments in relevant order"

6 years agoPackage whitelist for hiddenapi checks.
Mathew Inwood [Tue, 20 Feb 2018 16:04:25 +0000 (16:04 +0000)]
Package whitelist for hiddenapi checks.

Some packages in the system image are not built against the SDK, so
enforcing hiddenapi checks for these will break them. Add a whitelist
for such packages.

For now, just add the contacts provider to the whitelist. The list will be
further populated later.

Test: Added test app package name to whitelist to verify.

Bug: 73244707
Change-Id: I94746b7f12dd9371d5068bb235eb853f63ee4d97

6 years agoFix app start logging
Jorim Jaggi [Mon, 19 Feb 2018 16:48:44 +0000 (17:48 +0100)]
Fix app start logging

Our old trampoline logic doesn't work anymore, as some app starts
are distributed between multiple tasks, which now means multiple
stacks as well.

Instead, track app starts by windowing mode.

Test: Open/close apps, adb logcat -b events
Test: AppStartTests
Change-Id: If106f12ec98fd69ff7d0c4dabff28f88d2096a0b
Fixes: 72953633

6 years agoMerge "[Magnifier-23] Fix invisible cursor in magnifier"
Mihai Popa [Wed, 21 Feb 2018 11:51:34 +0000 (11:51 +0000)]
Merge "[Magnifier-23] Fix invisible cursor in magnifier"

6 years agoMerge "Revert "Extend XML parser to allow optional requiredFlags attribute""
Bernardo Rufino [Wed, 21 Feb 2018 11:00:11 +0000 (11:00 +0000)]
Merge "Revert "Extend XML parser to allow optional requiredFlags attribute""

6 years agoWiden Conscrypt greylist.
Adam Vartanian [Tue, 13 Feb 2018 13:37:49 +0000 (13:37 +0000)]
Widen Conscrypt greylist.

Conscrypt has historically provided a number of nonpublic APIs that
provide functionality beyond that exposed on SSLSocket, and users have
been expected to access those methods via reflection.  We'll keep
those on the greylist for now.

Bug: 64382372
Test: make
Change-Id: I4870fd044fa90fa2234627c1ee2b540f935dbda8

6 years agoMediaBrowser2: Rearrange API arguments in relevant order
Hyundo Moon [Wed, 21 Feb 2018 10:10:09 +0000 (19:10 +0900)]
MediaBrowser2: Rearrange API arguments in relevant order

Test: Passed MediaBrowser2Test
Change-Id: Ic7a9955235e77d9d9bd9f59ac70987c1d6e61140

6 years agoMediaSession2: Remove SessionPlayer2
Jaewan Kim [Wed, 21 Feb 2018 09:50:32 +0000 (18:50 +0900)]
MediaSession2: Remove SessionPlayer2

MediaPlayer2 will provide implementation of MediaPlayerInterface

Test: Run all MediaComponents test once
Change-Id: Iecdbbcd0cbbdb191cdb228cf09d828565e13fc3d

6 years agoMerge "Remove uses of libcore.util.Objects.hashCode / equals."
Narayan Kamath [Wed, 21 Feb 2018 09:34:42 +0000 (09:34 +0000)]
Merge "Remove uses of libcore.util.Objects.hashCode / equals."

6 years agoMerge "Replace Entity Presets with hints and an explicit factory."
Richard Ledley [Wed, 21 Feb 2018 09:33:05 +0000 (09:33 +0000)]
Merge "Replace Entity Presets with hints and an explicit factory."

6 years agoMerge "Fix string format in App launch"
TreeHugger Robot [Wed, 21 Feb 2018 07:15:22 +0000 (07:15 +0000)]
Merge "Fix string format in App launch"

6 years agoHide bouncer before launching camera
Lucas Dupin [Wed, 21 Feb 2018 06:37:53 +0000 (22:37 -0800)]
Hide bouncer before launching camera

Fixes: 71377043
Test: Launch camera after triggering bouncer on FLAG_SHOW_WHEN_LOCKED
      activity.

Change-Id: I68ec9814e7fb46772c9724002254873f2beaef96

6 years agoMerge "Add sungsoo@ to OWNERS"
Sungsoo Lim [Wed, 21 Feb 2018 06:27:22 +0000 (06:27 +0000)]
Merge "Add sungsoo@ to OWNERS"

6 years agoMerge "Only emit debug logging when requested."
TreeHugger Robot [Wed, 21 Feb 2018 05:42:14 +0000 (05:42 +0000)]
Merge "Only emit debug logging when requested."

6 years agoUpdating AppLaunchWear to add more logging.
Kevin Neas [Wed, 21 Feb 2018 00:13:20 +0000 (16:13 -0800)]
Updating AppLaunchWear to add more logging.

Test: local
Change-Id: Ib29afa44819c053789dd956d655395f205b89f64

6 years agoMerge "MediaLibrarySession: Add notifySearchResultChanged"
TreeHugger Robot [Wed, 21 Feb 2018 03:41:55 +0000 (03:41 +0000)]
Merge "MediaLibrarySession: Add notifySearchResultChanged"

6 years agoAdded a targetAPi check to the user name requirement
Selim Cinek [Thu, 1 Feb 2018 19:07:11 +0000 (11:07 -0800)]
Added a targetAPi check to the user name requirement

Change-Id: I5ba972eff6e45545f6100e30ce4290665fa1ca6c
Fixes: 72814121
Test: add messaging notification with targetAPI < P without a name, observe no crash

6 years agoMerge "Remove the extra logging for debugging decryption errors"
TreeHugger Robot [Wed, 21 Feb 2018 03:37:06 +0000 (03:37 +0000)]
Merge "Remove the extra logging for debugging decryption errors"

6 years agoDon't resume until keyguard is gone
Andrii Kulian [Fri, 16 Feb 2018 22:40:42 +0000 (14:40 -0800)]
Don't resume until keyguard is gone

If we try to resume top activity immediately after we remove
the sleep token and something else in the system will call
ActivityStackSupervisor#ensureActivitiesVisibleLocked(), then
the activity will be immediately stopped. This not only introduces
an extra unnecessary cycle, but also leads to other with
activities ending in a wrong state or cycling through states
indefinitely.

Bug: 73003134
Bug: 73062280
Bug: 71582913
Test: Launch an app or go to launcher, lock and unlock, observe lifecycle logs.
Change-Id: Ic0117a55e27c8a67de4ce24ca349bc842d356093

6 years agoMerge "Disambiguate apps that share uid for job/bucket purposes"
TreeHugger Robot [Wed, 21 Feb 2018 03:34:30 +0000 (03:34 +0000)]
Merge "Disambiguate apps that share uid for job/bucket purposes"

6 years agoMerge "Tweak FingerprintDialog layout"
TreeHugger Robot [Wed, 21 Feb 2018 03:34:20 +0000 (03:34 +0000)]
Merge "Tweak FingerprintDialog layout"

6 years agoMerge "Fix two broken tests in PersistentKeyChainSnapshotTest"
TreeHugger Robot [Wed, 21 Feb 2018 03:10:05 +0000 (03:10 +0000)]
Merge "Fix two broken tests in PersistentKeyChainSnapshotTest"

6 years agoFix low probability deadlock
yifan.bai [Fri, 22 Dec 2017 06:59:57 +0000 (14:59 +0800)]
Fix low probability deadlock

Low probability deadlock in com.android.phone and system_server.
Bug: 70865607

Test: Build pass

6 years agoMerge "Disable recents onboarding for test automation"
TreeHugger Robot [Wed, 21 Feb 2018 02:58:28 +0000 (02:58 +0000)]
Merge "Disable recents onboarding for test automation"

6 years agoMerge "Fix IMMS debug shell command"
TreeHugger Robot [Wed, 21 Feb 2018 02:58:23 +0000 (02:58 +0000)]
Merge "Fix IMMS debug shell command"

6 years agoMerge "Create display if necessary when adding windows."
TreeHugger Robot [Wed, 21 Feb 2018 02:58:18 +0000 (02:58 +0000)]
Merge "Create display if necessary when adding windows."

6 years agoMerge "Reparent the webview_zygote to be a child of the main app_process zygote....
Robert Sesek [Wed, 21 Feb 2018 02:47:07 +0000 (02:47 +0000)]
Merge "Reparent the webview_zygote to be a child of the main app_process zygote." am: 1c81aa6375 am: 486190f87b
am: 0dd7cf0bb3

Change-Id: I9468ec63053f35814ec45b18572966d8adc93f3e

6 years agoMerge "Change verity hash algorithm to pad the last chunk"
TreeHugger Robot [Wed, 21 Feb 2018 02:37:49 +0000 (02:37 +0000)]
Merge "Change verity hash algorithm to pad the last chunk"

6 years agoMerge "Reparent the webview_zygote to be a child of the main app_process zygote....
Robert Sesek [Wed, 21 Feb 2018 02:33:14 +0000 (02:33 +0000)]
Merge "Reparent the webview_zygote to be a child of the main app_process zygote." am: 1c81aa6375
am: 486190f87b

Change-Id: I683dbbf730bfd02e43cb67bfcaa0df56d69c9796

6 years agoSimplify synchronization and delete dead code.
Sundeep Ghuman [Wed, 7 Feb 2018 03:58:09 +0000 (19:58 -0800)]
Simplify synchronization and delete dead code.

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

Change-Id: I4767503ce201b1f5f46b5c297f00f759793a3922

6 years agoRemove relevant configs when a uid (app) is uninstalled
yro [Wed, 21 Feb 2018 02:20:49 +0000 (18:20 -0800)]
Remove relevant configs when a uid (app) is uninstalled

Bug: 72267831
Test: statsd_test
Change-Id: I6ed29baba39b83f771629131af66b39ccc9cc130

6 years agoMerge "Reparent the webview_zygote to be a child of the main app_process zygote."
Robert Sesek [Wed, 21 Feb 2018 02:16:22 +0000 (02:16 +0000)]
Merge "Reparent the webview_zygote to be a child of the main app_process zygote."
am: 1c81aa6375

Change-Id: I2af77c52ea7aca058ab1a1fc224968760e6c3ac5

6 years agoUpdating batterystats report version.
Kweku Adams [Wed, 21 Feb 2018 02:06:09 +0000 (18:06 -0800)]
Updating batterystats report version.

http://ag/3607190 changed the value of DATA_CONNECTION_OTHER, which
breaks parsing, so we need to update the report version.

Deferred job metrics added in http://ag/3628360.

Bug: 67013665
Bug: 70297451
Test: N/A
Change-Id: I3361733b10fb55b75d4ce618d8a87ab8c92e5836

6 years agoRevert "Extend XML parser to allow optional requiredFlags attribute"
Maurice Lam [Wed, 21 Feb 2018 02:05:30 +0000 (02:05 +0000)]
Revert "Extend XML parser to allow optional requiredFlags attribute"

This reverts commit 34b769d32b41fc75cf93f504e7a2117095084a8d.

Reason for revert: b/73663127

Change-Id: I8595039777d69994f6fcc1f9a6911d202c8adbbf

6 years agoAdd sungsoo@ to OWNERS
Sungsoo Lim [Wed, 21 Feb 2018 01:41:11 +0000 (10:41 +0900)]
Add sungsoo@ to OWNERS

Test: no
Change-Id: I5cf110bd6f99b20f5ed2fc5d2ccdba318b0d99f8

6 years agoMerge "MediaController2: Implement setRating()"
Hyundo Moon [Wed, 21 Feb 2018 01:35:40 +0000 (01:35 +0000)]
Merge "MediaController2: Implement setRating()"

6 years agoUpdate ActivityManagerPerfTests README with atest
Arthur Eubanks [Wed, 21 Feb 2018 01:24:36 +0000 (17:24 -0800)]
Update ActivityManagerPerfTests README with atest

atest command now works

Test: atest -v ActivityManagerPerfTests
Change-Id: I4368199bacb2359d2ddef66ba9783ce1b663e2ab

6 years agoFix string format in App launch
gopinath [Wed, 21 Feb 2018 01:24:33 +0000 (17:24 -0800)]
Fix string format in App launch

Change-Id: I22676ab95d39b8b92118eb48145b0d7614d0f03f

6 years agoMerge "Prevent quickscrub when swipe up has already started"
TreeHugger Robot [Wed, 21 Feb 2018 01:10:33 +0000 (01:10 +0000)]
Merge "Prevent quickscrub when swipe up has already started"

6 years agoVerify last array's length in readFromParcel
Fyodor Kupolov [Wed, 21 Feb 2018 01:02:35 +0000 (17:02 -0800)]
Verify last array's length in readFromParcel

Length of the last array in readFromParcel should be the same as
value of mNextIndex.

Test: PoC app in the bug
Bug: 73252178
Change-Id: I69f935949e945c3a036b19b4f88684d906079ea5

6 years agoMerge "Auto-gen AndroidTest.xml for CorePerfTests so atest can run it."
TreeHugger Robot [Wed, 21 Feb 2018 00:58:37 +0000 (00:58 +0000)]
Merge "Auto-gen AndroidTest.xml for CorePerfTests so atest can run it."

6 years agoApplicationInfo: Copy compileSdkVersion* fields
Adam Lesinski [Wed, 21 Feb 2018 00:51:13 +0000 (16:51 -0800)]
ApplicationInfo: Copy compileSdkVersion* fields

Bug: 69798373
Test: atest CtsActivityManagerDeviceTestCases:PrereleaseSdkTest
Change-Id: I4208da1fc52f5567f23eceb87a2787fef60adc5f

6 years agoMerge "Add twasilczyk and randolphs to broadcast radio directories OWNERS."
Tomasz Wasilczyk [Wed, 21 Feb 2018 00:51:37 +0000 (00:51 +0000)]
Merge "Add twasilczyk and randolphs to broadcast radio directories OWNERS."

6 years agoMerge "Reparent the webview_zygote to be a child of the main app_process zygote."
Treehugger Robot [Wed, 21 Feb 2018 00:43:56 +0000 (00:43 +0000)]
Merge "Reparent the webview_zygote to be a child of the main app_process zygote."