OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge changes I52152223,I49db5cab into oc-dr1-dev
Winson Chung [Wed, 9 Aug 2017 19:01:50 +0000 (19:01 +0000)]
Merge changes I52152223,I49db5cab into oc-dr1-dev
am: fc596b1cf6

Change-Id: I53f12c1d0854d56ad0e700bf028fd68b47917e1f

6 years agoMerge changes I52152223,I49db5cab into oc-dr1-dev
Winson Chung [Wed, 9 Aug 2017 18:52:42 +0000 (18:52 +0000)]
Merge changes I52152223,I49db5cab into oc-dr1-dev

* changes:
  Ensure that we register the media session listener for the current user.
  Fix issue with PiP callbacks not being handled for secondary users.

6 years agoCatch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565...
Zheng Zhang [Wed, 9 Aug 2017 18:40:30 +0000 (18:40 +0000)]
Catch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565  -s ours am: 4542686e42 am: c915b7f703
am: 54ad8c1f15

Change-Id: Ic9d8b66343523750a562954a8be60b0663b833d5

6 years agoFix Wakelock underlock in GnssLocationProvider. am: 2ed0166808 -s ours am: 5d60709dc...
Wei Wang [Wed, 9 Aug 2017 18:39:20 +0000 (18:39 +0000)]
Fix Wakelock underlock in GnssLocationProvider. am: 2ed0166808  -s ours am: 5d60709dc3 am: 17669d31df
am: 5043ac7af3

Change-Id: If0a08d8818160d9dd7ea60dd932c00320feb7654

6 years agoMerge "Optimize filterByLanguage by caching locale objects" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 18:35:01 +0000 (18:35 +0000)]
Merge "Optimize filterByLanguage by caching locale objects" into oc-mr1-dev

6 years agoMerge "Dismiss recents after switching users" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 18:26:04 +0000 (18:26 +0000)]
Merge "Dismiss recents after switching users" into oc-mr1-dev

6 years agoCatch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565...
Zheng Zhang [Wed, 9 Aug 2017 18:24:15 +0000 (18:24 +0000)]
Catch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565  -s ours am: 4542686e42
am: c915b7f703

Change-Id: If08c8029ad5054f947ada0c5f4923f62761bf47c

6 years agoFix Wakelock underlock in GnssLocationProvider. am: 2ed0166808 -s ours am: 5d60709dc3
Wei Wang [Wed, 9 Aug 2017 18:23:00 +0000 (18:23 +0000)]
Fix Wakelock underlock in GnssLocationProvider. am: 2ed0166808  -s ours am: 5d60709dc3
am: 17669d31df

Change-Id: I7e5b94c6adf57ff19c64fe508f7f3cc6d6a9c1c7

6 years agoCatch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565...
Zheng Zhang [Wed, 9 Aug 2017 18:09:48 +0000 (18:09 +0000)]
Catch (and ignore) any timeout exceptions when releasing WakeLock am: 9468b48565  -s ours
am: 4542686e42

Change-Id: Id140fee89f552999522f3116854761c14265ef04

6 years agoFix Wakelock underlock in GnssLocationProvider. am: 2ed0166808 -s ours
Wei Wang [Wed, 9 Aug 2017 18:08:52 +0000 (18:08 +0000)]
Fix Wakelock underlock in GnssLocationProvider. am: 2ed0166808  -s ours
am: 5d60709dc3

Change-Id: I10a42eee839da98af9434d1f7530335dfa732632

6 years agoMerge "Grant default ringtone picker storage permissions" into oc-dr1-dev
Justin Klaassen [Wed, 9 Aug 2017 17:59:04 +0000 (17:59 +0000)]
Merge "Grant default ringtone picker storage permissions" into oc-dr1-dev
am: 8039ac418f

Change-Id: I8c3575d974a5266b62d560508df1253ba80fb0e4

6 years agoCatch (and ignore) any timeout exceptions when releasing WakeLock
Zheng Zhang [Wed, 9 Aug 2017 17:58:18 +0000 (17:58 +0000)]
Catch (and ignore) any timeout exceptions when releasing WakeLock
am: 9468b48565  -s ours

Change-Id: Ia1c10a46771ff4602a1005a3bf0bddaf6f1a70b6

6 years agoFix Wakelock underlock in GnssLocationProvider.
Wei Wang [Wed, 9 Aug 2017 17:57:17 +0000 (17:57 +0000)]
Fix Wakelock underlock in GnssLocationProvider.
am: 2ed0166808  -s ours

Change-Id: I965a5b57ffbc2adcde3a83a95793a3dc29673641

6 years agoMerge "Grant default ringtone picker storage permissions" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 17:43:58 +0000 (17:43 +0000)]
Merge "Grant default ringtone picker storage permissions" into oc-dr1-dev

6 years agoMerge "Inherit theme dark/light scheme for MediaRouter dialogs/button" into oc-dr1-dev
Christofer Åkersten [Wed, 9 Aug 2017 17:40:53 +0000 (17:40 +0000)]
Merge "Inherit theme dark/light scheme for MediaRouter dialogs/button" into oc-dr1-dev
am: 8cbb5ffd5b  -s ours

Change-Id: I83c849172c9beb92132f925184b43f62d307405a

6 years agoMerge "Inherit theme dark/light scheme for MediaRouter dialogs/button" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 17:31:48 +0000 (17:31 +0000)]
Merge "Inherit theme dark/light scheme for MediaRouter dialogs/button" into oc-dr1-dev

6 years agoMerge "Fix issue where keyguard wouldn't be dismissed" into oc-dr1-dev
Lucas Dupin [Wed, 9 Aug 2017 17:11:06 +0000 (17:11 +0000)]
Merge "Fix issue where keyguard wouldn't be dismissed" into oc-dr1-dev
am: 94f8143129

Change-Id: I6d7be5a8e2702d655548944c739f8d8d90451efe

6 years agoMerge "Merge "AOD: Fix janky pulse out animation" into oc-dr1-dev am: d72954af31...
Android Build Merger (Role) [Wed, 9 Aug 2017 17:05:04 +0000 (17:05 +0000)]
Merge "Merge "AOD: Fix janky pulse out animation" into oc-dr1-dev am: d72954af31" into oc-mr1-dev

6 years agoMerge "AOD: Fix janky pulse out animation" into oc-dr1-dev
Adrian Roos [Wed, 9 Aug 2017 17:02:06 +0000 (17:02 +0000)]
Merge "AOD: Fix janky pulse out animation" into oc-dr1-dev
am: d72954af31

Change-Id: I7e1307c5209920326139a60c3aaeb9af6d57d825

6 years agoMerge "Merge "Ensure we leave the orientation changing state." into oc-dr1-dev am...
Android Build Merger (Role) [Wed, 9 Aug 2017 17:00:27 +0000 (17:00 +0000)]
Merge "Merge "Ensure we leave the orientation changing state." into oc-dr1-dev am: 1eee2b4994" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 16:59:24 +0000 (16:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Fix issue where keyguard wouldn't be dismissed" into oc-dr1-dev
Lucas Dupin [Wed, 9 Aug 2017 16:58:44 +0000 (16:58 +0000)]
Merge "Fix issue where keyguard wouldn't be dismissed" into oc-dr1-dev

6 years agoMerge "Ensure we leave the orientation changing state." into oc-dr1-dev
Rob Carr [Wed, 9 Aug 2017 16:58:29 +0000 (16:58 +0000)]
Merge "Ensure we leave the orientation changing state." into oc-dr1-dev
am: 1eee2b4994

Change-Id: I72e920090a147053bf7e6e61adb720c908bcd9c4

6 years agoMerge "Merge "LockIcon: update content description when config changes" into oc-dr1...
Android Build Merger (Role) [Wed, 9 Aug 2017 16:54:28 +0000 (16:54 +0000)]
Merge "Merge "LockIcon: update content description when config changes" into oc-dr1-dev am: f79068637a" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 16:51:52 +0000 (16:51 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "LockIcon: update content description when config changes" into oc-dr1-dev
Adrian Roos [Wed, 9 Aug 2017 16:51:16 +0000 (16:51 +0000)]
Merge "LockIcon: update content description when config changes" into oc-dr1-dev
am: f79068637a

Change-Id: I81db081bbc793246ed0e6b7fa2551512c9758ff0

6 years agoMerge "AOD: Fix janky pulse out animation" into oc-dr1-dev
Adrian Roos [Wed, 9 Aug 2017 16:47:19 +0000 (16:47 +0000)]
Merge "AOD: Fix janky pulse out animation" into oc-dr1-dev

6 years agoMerge "Inherit theme dark/light scheme for MediaRouter dialogs/button" into oc-mr1-dev
Christofer Åkersten [Wed, 9 Aug 2017 16:45:51 +0000 (16:45 +0000)]
Merge "Inherit theme dark/light scheme for MediaRouter dialogs/button" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 16:45:34 +0000 (16:45 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Ensure we leave the orientation changing state." into oc-dr1-dev
Rob Carr [Wed, 9 Aug 2017 16:45:24 +0000 (16:45 +0000)]
Merge "Ensure we leave the orientation changing state." into oc-dr1-dev

6 years agoEnsure that we register the media session listener for the current user.
Winson Chung [Tue, 8 Aug 2017 19:58:11 +0000 (12:58 -0700)]
Ensure that we register the media session listener for the current user.

- Use the per-user calls when fetching/responding to media session events
  otherwise it will fallback to using the process user.

Bug: 64315017
Test: Launch secondary user, enter PiP with media session and no custom
      actions.  Ensure the media session buttons show.

Change-Id: I52152223e91f0256ac4135616694e2a293947e3e

6 years agoMerge "BrightnessMirror: When reinflating, notify QSPanel" into oc-dr1-dev
Adrian Roos [Wed, 9 Aug 2017 16:37:30 +0000 (16:37 +0000)]
Merge "BrightnessMirror: When reinflating, notify QSPanel" into oc-dr1-dev
am: 1273dd6b86

Change-Id: I0c561af8d1d7a9213b4f14fcf29d3550672cc92c

6 years agoMerge "LockIcon: update content description when config changes" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 16:34:47 +0000 (16:34 +0000)]
Merge "LockIcon: update content description when config changes" into oc-dr1-dev

6 years agoMerge "BrightnessMirror: When reinflating, notify QSPanel" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 16:22:29 +0000 (16:22 +0000)]
Merge "BrightnessMirror: When reinflating, notify QSPanel" into oc-dr1-dev

6 years agoMerge "Fix out-of-order transactions (1/2)" into oc-dr1-dev
Jorim Jaggi [Wed, 9 Aug 2017 16:15:53 +0000 (16:15 +0000)]
Merge "Fix out-of-order transactions (1/2)" into oc-dr1-dev
am: cadfccbc13

Change-Id: Ia4c62e890f007c43b7fa0fd557b583ee455a1e3b

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
The Android Open Source Project [Wed, 9 Aug 2017 16:12:53 +0000 (16:12 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev
am: 9dbd07ef32  -s ours

Change-Id: Icec15bf6ba22bcc99d67be38e3967e6f6a227daf

6 years agoMerge "Fix out-of-order transactions (1/2)" into oc-dr1-dev
Jorim Jaggi [Wed, 9 Aug 2017 16:10:35 +0000 (16:10 +0000)]
Merge "Fix out-of-order transactions (1/2)" into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 15:59:32 +0000 (15:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoOptimize filterByLanguage by caching locale objects
Tony Mak [Mon, 7 Aug 2017 14:15:57 +0000 (15:15 +0100)]
Optimize filterByLanguage by caching locale objects

According to traceview, most of the time spent in filterByLanguage
is calling getLocaleObject to create java.util.Locale objects.
The solution is to cache the object to save the cost. Note that both
mSubtypeLangugageTag and mSubtypeLocale are final, so it is fine to
cache the locale object.

Test: bit FrameworksCoreTests:android.view.inputmethod.InputMethodSubtypeTest
Test: bit FrameworksCoreTests:com.android.internal.inputmethod.LocaleUtilsTest
Test: Try to switch user back and forth, and tap a textview to show IME.

Bug: 37647204
Fix: 37647213

Change-Id: Ib6ff7e97b17fc547c8109af8177f05fc3ea41b08

6 years agoMerge "Allow applications to define failure handlers" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 14:55:09 +0000 (14:55 +0000)]
Merge "Allow applications to define failure handlers" into oc-mr1-dev

6 years agoMerge "Update X, -, + icons in dnd panel" into oc-dr1-dev
Evan Laird [Wed, 9 Aug 2017 14:24:39 +0000 (14:24 +0000)]
Merge "Update X, -, + icons in dnd panel" into oc-dr1-dev
am: 6b0c1604a6

Change-Id: I400f6c493469bc775bce9ef903fd496a33524a74

6 years agoMerge "Update X, -, + icons in dnd panel" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 14:13:15 +0000 (14:13 +0000)]
Merge "Update X, -, + icons in dnd panel" into oc-dr1-dev

6 years agoLockIcon: update content description when config changes
Adrian Roos [Wed, 9 Aug 2017 13:50:00 +0000 (15:50 +0200)]
LockIcon: update content description when config changes

Fixes a stale content description after a configuration change.

Change-Id: Ie666d405417ce47cc0fc550b79a948425565162d
Fixes: 64234917
Test: Change language, verify content description of lock icon is updated.

6 years agoMerge "Add logging for what listener canceled notif" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 13:28:07 +0000 (13:28 +0000)]
Merge "Add logging for what listener canceled notif" into oc-mr1-dev

6 years agoMerge "dismiss the volume shade if the a11y stream goes away" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 13:27:31 +0000 (13:27 +0000)]
Merge "dismiss the volume shade if the a11y stream goes away" into oc-mr1-dev

6 years agoMerge "Mark profile password key as critical." into oc-dr1-dev
Pavel Grafov [Wed, 9 Aug 2017 13:22:29 +0000 (13:22 +0000)]
Merge "Mark profile password key as critical." into oc-dr1-dev
am: 56385a796e  -s ours

Change-Id: I8214883676ad022933becca76a704340558abcb1

6 years agoMerge "Always note the state of RNDIS from USB broadcasts." into oc-dr1-dev
Erik Kline [Wed, 9 Aug 2017 13:17:25 +0000 (13:17 +0000)]
Merge "Always note the state of RNDIS from USB broadcasts." into oc-dr1-dev
am: 07df171ac6

Change-Id: I5958635d612a2c23e8d96e38e75eff2f29ff5e28

6 years agoMerge "Fix the inconsistency of action EUICC_FACTORY_RESET" into oc-dr1-dev
yinxu [Wed, 9 Aug 2017 13:15:12 +0000 (13:15 +0000)]
Merge "Fix the inconsistency of action EUICC_FACTORY_RESET" into oc-dr1-dev
am: 669f560338

Change-Id: Ia5f2a3273a09fe457ef913fb8c0d37791b52bf68

6 years agoMerge "Set property that terminates boot anim in WMS instead of SF" into oc-dr1-dev
Geoffrey Pitsch [Wed, 9 Aug 2017 13:10:55 +0000 (13:10 +0000)]
Merge "Set property that terminates boot anim in WMS instead of SF" into oc-dr1-dev
am: a68ecbfdee

Change-Id: Id98f4e550b90c128765c0ca014eda925b3507110

6 years agoMerge "Make accessibilityInversionEnabled public" into oc-dr1-dev
Andrew Sapperstein [Wed, 9 Aug 2017 13:06:21 +0000 (13:06 +0000)]
Merge "Make accessibilityInversionEnabled public" into oc-dr1-dev
am: 3108a06656

Change-Id: Ic37ee35914b714144228b77b192edf835bf9627e

6 years agoBrightnessMirror: When reinflating, notify QSPanel
Adrian Roos [Wed, 9 Aug 2017 12:34:55 +0000 (14:34 +0200)]
BrightnessMirror: When reinflating, notify QSPanel

Fixes an issue where after reinflating the brightness mirror,
the QSPanel was not notified.

Change-Id: I3974f31c2d3c67b5a283b10690cb103ca13fff6a
Fixes: 64460731
Test: Change to white / black wallpaper (opposite of current); verify brightness slider works.

6 years agoMerge "User avatar didn't have enough contrast" into oc-dr1-dev
Lucas Dupin [Wed, 9 Aug 2017 13:03:29 +0000 (13:03 +0000)]
Merge "User avatar didn't have enough contrast" into oc-dr1-dev
am: 4cef646e6a

Change-Id: Ic5b812965d239de88c98beab411ea5752ec38252

6 years agoMerge "Round animation progress for computing size for background" into oc-dr1-dev
Andrii Kulian [Wed, 9 Aug 2017 12:59:51 +0000 (12:59 +0000)]
Merge "Round animation progress for computing size for background" into oc-dr1-dev
am: 75176be75a

Change-Id: I7c018b5eadc66db0d91542e089899123a85a8877

6 years agoMerge "WifiMetrics: add histogram of connectable networks" into oc-dr1-dev
Glen Kuhne [Wed, 9 Aug 2017 12:56:05 +0000 (12:56 +0000)]
Merge "WifiMetrics: add histogram of connectable networks" into oc-dr1-dev
am: 3edc463902

Change-Id: I575446562bfb560ace060300afb828fc52c4201d

6 years agoMerge "Shutdown: Continue shutdown with BLE only mode" into oc-dr1-dev
Wei Wang [Wed, 9 Aug 2017 12:53:13 +0000 (12:53 +0000)]
Merge "Shutdown: Continue shutdown with BLE only mode" into oc-dr1-dev
am: 043e60f5e4

Change-Id: I51722b281ab9badaefd705500aa9a36d2e2d6f91

6 years agoMerge "Fade in rounded corners to avoid abrupt change" into oc-dr1-dev
Jason Monk [Wed, 9 Aug 2017 12:47:07 +0000 (12:47 +0000)]
Merge "Fade in rounded corners to avoid abrupt change" into oc-dr1-dev
am: 127a4c9014

Change-Id: I943db8a557e311d845b9550a52dda8d286864cf6

6 years agoMerge "Refactor WifiTracker sStaleScanResults." into oc-dr1-dev
Sundeep Ghuman [Wed, 9 Aug 2017 12:41:25 +0000 (12:41 +0000)]
Merge "Refactor WifiTracker sStaleScanResults." into oc-dr1-dev
am: e14d59a656  -s ours

Change-Id: I18e7f77e4a58ed8abe288aa04b762d112ae495b2

6 years agoMerge "Rotate only VR secondary display" into oc-dr1-dev
Andrii Kulian [Wed, 9 Aug 2017 12:38:54 +0000 (12:38 +0000)]
Merge "Rotate only VR secondary display" into oc-dr1-dev
am: 425784eef2

Change-Id: I2a5acd51bd9ea588823844cd6a49716181e717a9

6 years agoFix out-of-order transactions (1/2)
Jorim Jaggi [Tue, 8 Aug 2017 13:12:20 +0000 (15:12 +0200)]
Fix out-of-order transactions (1/2)

The following sequence of order may happen which cause wrong
surface positions:
- WA.animate updates surfaces properties to S
- WA.animate closes the surface transaction
- Since the previous animation transaction wasn't commited yet,
closeSurfaceTransaction blocks and updating the surface properties
on SF side is deferred.
- In the meantime, since we are not holding WM lock, we have
another thread updating surfaces properties to S'
- Closing the transaction in this thread completes immediately
because it's not a synchronous transaction or animation
transaction.
- After a frame has been processed S gets applied on SF side as
the other transaction is done waiting for the frame to complete.

The issue here is that properties are now set to S instead of S'.
Sad!

We originally started calling closeTransaction without the WM
lock being held because it lead to thread starvation (b/38192114).
However, that fix has this big flaw as described above.

To fix this, we create an empty animation transaction before
updating the animation properties to simulate the back-pressuring
behavior of animation transactions without the WM lock being held.
If that transaction arrives out of order, it doesn't matter at all
because it is empty.

After that, we perform the animation udpate in a transaction that
is not marked as an animation transaction, and thus will not
block, which avoids the starvation issue.

Part of this change is also a change in SF to allow executing
empty animation transactions.

Test: go/wm-smoke
Test: Open VideoPlayer from VRCore, close it, observe no wrong
positiioning of surfaces.
Test: Inspect traces while animating. Ensure back pressuring still
works.

Change-Id: Ie545463e71e0d1bc73439d14381077a290d2f959
Fixes: 63905190
Bug: 38192114

6 years agoMerge "DO NOT MERGE: Reduce re-ranking" into oc-dr1-dev
Dan Sandler [Wed, 9 Aug 2017 12:33:07 +0000 (12:33 +0000)]
Merge "DO NOT MERGE: Reduce re-ranking" into oc-dr1-dev
am: ad75ef4c3b

Change-Id: I53055ed426d65a6214d19ef11b6f6540c7f6d94c

6 years agoClarifies autofill lifecycle. am: 744976e298
Felipe Leme [Wed, 9 Aug 2017 12:30:16 +0000 (12:30 +0000)]
Clarifies autofill lifecycle. am: 744976e298
am: af40bb0dc4

Change-Id: I48f797f62c120b352045cb93e5067ee20c3154d3

6 years agoMerge "resolve merge conflicts of de0c539dd4f1 to oc-mr1-dev" into oc-mr1-dev
Jason Monk [Wed, 9 Aug 2017 12:15:19 +0000 (12:15 +0000)]
Merge "resolve merge conflicts of de0c539dd4f1 to oc-mr1-dev" into oc-mr1-dev

6 years agoMerge "Mark profile password key as critical." into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 10:17:09 +0000 (10:17 +0000)]
Merge "Mark profile password key as critical." into oc-dr1-dev

6 years agoMerge "FRP: Fix crash after lockout" into oc-mr1-dev
Adrian Roos [Wed, 9 Aug 2017 09:54:22 +0000 (09:54 +0000)]
Merge "FRP: Fix crash after lockout" into oc-mr1-dev

6 years agoMerge "FRP: Use verifyChallenge instead of verify" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 09:19:15 +0000 (09:19 +0000)]
Merge "FRP: Use verifyChallenge instead of verify" into oc-mr1-dev

6 years agoMark profile password key as critical.
Pavel Grafov [Tue, 8 Aug 2017 15:53:32 +0000 (16:53 +0100)]
Mark profile password key as critical.

Currently it is erased when keystore for user 0 is cleared, e.g.
when the user clears data for Settings app.

Bug: 35929605
Bug: 64467610
Test: Manually cleared Settings data.
Test: Manually cleared credentials from Settings.
Change-Id: I7e8753a1bf53f5d68d4738a4eb84faa890f026cc
Merged-In: I7e8753a1bf53f5d68d4738a4eb84faa890f026cc

6 years agoImport translations. DO NOT MERGE
The Android Open Source Project [Wed, 9 Aug 2017 07:54:18 +0000 (00:54 -0700)]
Import translations. DO NOT MERGE

Change-Id: I02e4b572c91641f5d61321bd3248081723ad65ab
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoImport translations. DO NOT MERGE
The Android Open Source Project [Wed, 9 Aug 2017 07:34:40 +0000 (00:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8097c0abf78190a193cc4b5974d81b9be2b33642
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoInherit theme dark/light scheme for MediaRouter dialogs/button
Christofer Åkersten [Mon, 7 Aug 2017 09:56:52 +0000 (18:56 +0900)]
Inherit theme dark/light scheme for MediaRouter dialogs/button

Bug: 64291950
Test: manual
Change-Id: I20694ce512a794a3c6574108b80dcfb4979b3b39
Merged-In: I20694ce512a794a3c6574108b80dcfb4979b3b39

6 years agoInherit theme dark/light scheme for MediaRouter dialogs/button
Christofer Åkersten [Mon, 7 Aug 2017 09:56:52 +0000 (18:56 +0900)]
Inherit theme dark/light scheme for MediaRouter dialogs/button

Bug: 64291950
Test: manual
Change-Id: I20694ce512a794a3c6574108b80dcfb4979b3b39

6 years agoMerge "Change logging format in KernelUidCpuFreqTimeReader." into oc-mr1-dev
Sudheer Shanka [Wed, 9 Aug 2017 05:38:18 +0000 (05:38 +0000)]
Merge "Change logging format in KernelUidCpuFreqTimeReader." into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
The Android Open Source Project [Wed, 9 Aug 2017 05:12:23 +0000 (22:12 -0700)]
Import translations. DO NOT MERGE

Change-Id: I81ed1424d6624e47c0ce1bfd095aa3c8bfada2df
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Fix fingerprint onEnumerationResult to use remaining instead of fid" into...
TreeHugger Robot [Wed, 9 Aug 2017 04:42:05 +0000 (04:42 +0000)]
Merge "Fix fingerprint onEnumerationResult to use remaining instead of fid" into oc-mr1-dev

6 years agoMerge "Always note the state of RNDIS from USB broadcasts." into oc-dr1-dev
Erik Kline [Wed, 9 Aug 2017 03:43:31 +0000 (03:43 +0000)]
Merge "Always note the state of RNDIS from USB broadcasts." into oc-dr1-dev

6 years agoMerge "WebView: fix SafeBrowsingResponse javadocs" into oc-mr1-dev
Nate Fischer [Wed, 9 Aug 2017 02:52:53 +0000 (02:52 +0000)]
Merge "WebView: fix SafeBrowsingResponse javadocs" into oc-mr1-dev

6 years agoMerge "Add package use info to dexopt dump" into oc-mr1-dev
Calin Juravle [Wed, 9 Aug 2017 01:35:23 +0000 (01:35 +0000)]
Merge "Add package use info to dexopt dump" into oc-mr1-dev

6 years agoMerge "Intern process names." into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 01:10:03 +0000 (01:10 +0000)]
Merge "Intern process names." into oc-mr1-dev

6 years agoMerge changes from topic 'ClosebySystem' into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 01:01:11 +0000 (01:01 +0000)]
Merge changes from topic 'ClosebySystem' into oc-mr1-dev

* changes:
  Allow to close session from wrong context.
  Prevent closing by prev owner after transfer.
  Revert "Revert session-transfer change"

6 years agoMerge "Fix the inconsistency of action EUICC_FACTORY_RESET" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 00:41:25 +0000 (00:41 +0000)]
Merge "Fix the inconsistency of action EUICC_FACTORY_RESET" into oc-dr1-dev

6 years agoMerge "Set property that terminates boot anim in WMS instead of SF" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 00:28:50 +0000 (00:28 +0000)]
Merge "Set property that terminates boot anim in WMS instead of SF" into oc-dr1-dev

6 years agoMerge "Update FINGERPRINT_ERROR_LOCKOUT documentation" into oc-mr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 00:22:01 +0000 (00:22 +0000)]
Merge "Update FINGERPRINT_ERROR_LOCKOUT documentation" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE
The Android Open Source Project [Wed, 9 Aug 2017 00:14:59 +0000 (17:14 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8720da8cd27dd431d0428aac436e75b7fe04b677
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Make accessibilityInversionEnabled public" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 00:00:27 +0000 (00:00 +0000)]
Merge "Make accessibilityInversionEnabled public" into oc-dr1-dev

6 years agoMerge "Add virtual preload bit to ApplicationInfo" into oc-mr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 23:33:03 +0000 (23:33 +0000)]
Merge "Add virtual preload bit to ApplicationInfo" into oc-mr1-dev

6 years agoMerge "User avatar didn't have enough contrast" into oc-dr1-dev
Lucas Dupin [Tue, 8 Aug 2017 23:03:31 +0000 (23:03 +0000)]
Merge "User avatar didn't have enough contrast" into oc-dr1-dev

6 years agoMerge "Round animation progress for computing size for background" into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 22:55:33 +0000 (22:55 +0000)]
Merge "Round animation progress for computing size for background" into oc-dr1-dev

6 years agoChange logging format in KernelUidCpuFreqTimeReader.
Sudheer Shanka [Tue, 8 Aug 2017 22:44:09 +0000 (15:44 -0700)]
Change logging format in KernelUidCpuFreqTimeReader.

TimeUtils.formatForLogging takes currentTimeMillis as
argument, not elapsedRealTime.

Bug: 63041570
Test: visual inspection of logs
Change-Id: I4b880f64a8ead9a6a4a37fa4b9691edfc38a12db

6 years agoMerge "WifiMetrics: add histogram of connectable networks" into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 22:46:50 +0000 (22:46 +0000)]
Merge "WifiMetrics: add histogram of connectable networks" into oc-dr1-dev

6 years agoWebView: fix SafeBrowsingResponse javadocs
Nate Fischer [Thu, 27 Jul 2017 19:33:55 +0000 (12:33 -0700)]
WebView: fix SafeBrowsingResponse javadocs

Docs change only.

This fixes javadoc errors in SafeBrowsingResponse.java:

 * Typo: capital "B" in "onSafeBrowsingHit"
 * Add full package names
 * Add parameter lists to all linked methods

Bug: 64077668
Test: make update-api and check javadocs manually
Change-Id: I5e7b0e59ba865619b252f7e9e431ffac6e1bab1f

6 years agoMerge "Shutdown: Continue shutdown with BLE only mode" into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 22:34:44 +0000 (22:34 +0000)]
Merge "Shutdown: Continue shutdown with BLE only mode" into oc-dr1-dev

6 years agoAdd package use info to dexopt dump
Calin Juravle [Mon, 7 Aug 2017 02:20:19 +0000 (19:20 -0700)]
Add package use info to dexopt dump

Bug: 64153885
Test: adb shell dumpsys package dexopt
Change-Id: I57768076de821980b1de84d5fe44ab642ceebeba

6 years agoMerge changes from topic 'info-per-split' into oc-mr1-dev
Calin Juravle [Tue, 8 Aug 2017 22:19:32 +0000 (22:19 +0000)]
Merge changes from topic 'info-per-split' into oc-mr1-dev

* changes:
  Record usage information per split
  Use PackageUseInfo in DexOptimizer

6 years agoAllow applications to define failure handlers
Todd Kennedy [Fri, 28 Jul 2017 20:56:14 +0000 (13:56 -0700)]
Allow applications to define failure handlers

Fixes: 37956764
Test: Manual
Test: Create a test app with no handler, see it's not passed to the installer
Test: Create a test app with a handler, see it's passed to the installer
Test: Create a test app with multiple handlers, see one is passed to the installer
Test: Create a test app with a handler defined in a split, see it's not passed to the installer
Change-Id: Idfc3648154afca7ec300019d9695417274118d6f

6 years agoMerge "Remove logic for parsing dismiss rule" into oc-mr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 22:13:11 +0000 (22:13 +0000)]
Merge "Remove logic for parsing dismiss rule" into oc-mr1-dev

6 years agoFix issue where keyguard wouldn't be dismissed
Lucas Dupin [Tue, 8 Aug 2017 22:07:49 +0000 (18:07 -0400)]
Fix issue where keyguard wouldn't be dismissed

Keyguard wouldn't be dismissed when launching the emergency dialer
from lock screen or locked camera.

Test: Tap on 'emergency' from lock screen and camera.
Test: Unlock from lock screen and camera.
Change-Id: I5d2f0f5c6a982cf633bca19cbeb5065a9f68e355
Fixes: 64470717

6 years agoIntern process names.
Makoto Onuki [Mon, 7 Aug 2017 16:58:23 +0000 (09:58 -0700)]
Intern process names.

Bug: 62144301
Test: Boot and start random apps on a secondary user
Change-Id: I8a9b475410c52e1063cff5519b0297ad69dd7925

6 years agoMerge changes I6de5ac05,I5f8c112d into oc-mr1-dev
Yohei Yukawa [Tue, 8 Aug 2017 21:54:13 +0000 (21:54 +0000)]
Merge changes I6de5ac05,I5f8c112d into oc-mr1-dev

* changes:
  Fix system restart due to race in TSMS
  Remove redundant synchonized blocks from TSMS

6 years agoFix issue with PiP callbacks not being handled for secondary users.
Winson Chung [Mon, 7 Aug 2017 22:28:44 +0000 (15:28 -0700)]
Fix issue with PiP callbacks not being handled for secondary users.

- With ag/1767862, we do not persist PiP across users, so there is no
  need for additional logic in SystemUI to dedupe these calls. Since
  PiP is managed in the primary user's SystemUI process, this logic
  was prevening the relaunching of the activity.

Bug: 64316002
Test: Launch PiP from a secondary user, restart the activity and
      ensure that it is brought to fullscreen.

Change-Id: I49db5cab9f0be7366390d1e36edcaf4d6b05717a

6 years agoMerge "Fade in rounded corners to avoid abrupt change" into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 21:36:39 +0000 (21:36 +0000)]
Merge "Fade in rounded corners to avoid abrupt change" into oc-dr1-dev

6 years agoMerge "Refactor WifiTracker sStaleScanResults." into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 21:23:27 +0000 (21:23 +0000)]
Merge "Refactor WifiTracker sStaleScanResults." into oc-dr1-dev