OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Watchdog: add Audio HAL v4.0 to the dump list" into pi-dev
android-build-team Robot [Tue, 1 May 2018 01:38:22 +0000 (01:38 +0000)]
Merge "Watchdog: add Audio HAL v4.0 to the dump list" into pi-dev

6 years agoMerge "Fix carrier app CaptivePortalLoginActivity probes to bypass Private DNS" into...
android-build-team Robot [Tue, 1 May 2018 01:10:14 +0000 (01:10 +0000)]
Merge "Fix carrier app CaptivePortalLoginActivity probes to bypass Private DNS" into pi-dev

6 years agoMerge "Secondary split screen app will be next to the navigation bar (1/2)" into...
android-build-team Robot [Tue, 1 May 2018 00:40:27 +0000 (00:40 +0000)]
Merge "Secondary split screen app will be next to the navigation bar (1/2)" into pi-dev

6 years agoMerge "Enhance battery saver event log" into pi-dev
Makoto Onuki [Tue, 1 May 2018 00:27:54 +0000 (00:27 +0000)]
Merge "Enhance battery saver event log" into pi-dev

6 years agoMerge "Print warning log for uses of -f/-F on non-ADB UID." into pi-dev
Makoto Onuki [Tue, 1 May 2018 00:27:40 +0000 (00:27 +0000)]
Merge "Print warning log for uses of -f/-F on non-ADB UID." into pi-dev

6 years agoMerge "Substituting the app name also on the public content view" into pi-dev
android-build-team Robot [Tue, 1 May 2018 00:26:46 +0000 (00:26 +0000)]
Merge "Substituting the app name also on the public content view" into pi-dev

6 years agoMerge "Clear the past buckets for no-report metrics" into pi-dev
android-build-team Robot [Tue, 1 May 2018 00:13:24 +0000 (00:13 +0000)]
Merge "Clear the past buckets for no-report metrics" into pi-dev

6 years agoMerge "Fix bug that heads up notification appear even when disable_expand is set...
Selim Cinek [Mon, 30 Apr 2018 23:54:45 +0000 (23:54 +0000)]
Merge "Fix bug that heads up notification appear even when disable_expand is set" into pi-dev

6 years agoMerge "Implement RadioMetadata.toString." into pi-dev
Gene Karshenboym [Mon, 30 Apr 2018 23:28:11 +0000 (23:28 +0000)]
Merge "Implement RadioMetadata.toString." into pi-dev

6 years agoSecondary split screen app will be next to the navigation bar (1/2)
Matthew Ng [Mon, 9 Apr 2018 21:43:21 +0000 (14:43 -0700)]
Secondary split screen app will be next to the navigation bar (1/2)

Refactored docked position code into PhoneWindowManager to determine
which side the docked app should go based on the position of the nav bar
in landscape (as portrait will only have top). Fixed the split screen
entrance animation for quick step's overview.

Change-Id: I30f1be9d791c23f4cd197f17487609964f78fac0
Fixes: 73250406
Test: play around with splitscreen and minimized mode
Test: atest com.android.server.policy.PhoneWindowManagerTest

6 years agoMerge "Fixed screen brightness override in manual mode." into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 23:24:32 +0000 (23:24 +0000)]
Merge "Fixed screen brightness override in manual mode." into pi-dev

6 years agoWatchdog: add Audio HAL v4.0 to the dump list
Mikhail Naganov [Mon, 30 Apr 2018 22:58:31 +0000 (15:58 -0700)]
Watchdog: add Audio HAL v4.0 to the dump list

Bug: 78607184
Test: create a bugreport on a P device
Change-Id: Ia2f982d4109cbfc3dcde2769728c9273e8ad7fb3

6 years ago[automerger skipped] Merge "Fix broken check for TelephonyManager#getForbiddenPlmns...
android-build-team Robot [Mon, 30 Apr 2018 22:49:37 +0000 (15:49 -0700)]
[automerger skipped] Merge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev am: 0a7c41615e am: 4e0dd1197a
am: d9fb6e1236  -s ours

Change-Id: I9a1dda15c8d20a7599229033ffd8ec6f6cfedf53

6 years agoMerge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev am: 0a7c4...
android-build-team Robot [Mon, 30 Apr 2018 22:39:15 +0000 (15:39 -0700)]
Merge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev am: 0a7c41615e
am: 4e0dd1197a

Change-Id: I4b37bce88249278a8b829b90adf679366e417428

6 years agoMerge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev
android-build-team Robot [Mon, 30 Apr 2018 22:29:19 +0000 (15:29 -0700)]
Merge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev
am: 0a7c41615e

Change-Id: I259380ed027d31c4b8292f366590f0757f540766

6 years agoMerge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev
android-build-team Robot [Mon, 30 Apr 2018 22:17:01 +0000 (22:17 +0000)]
Merge "Fix broken check for TelephonyManager#getForbiddenPlmns" into oc-dev

6 years agoMerge "Add Carriers.APN_SET_ID and NO_SET_SET" into pi-dev
Jordan Liu [Mon, 30 Apr 2018 22:11:39 +0000 (22:11 +0000)]
Merge "Add Carriers.APN_SET_ID and NO_SET_SET" into pi-dev

6 years agoPrint warning log for uses of -f/-F on non-ADB UID.
Makoto Onuki [Mon, 30 Apr 2018 21:50:43 +0000 (14:50 -0700)]
Print warning log for uses of -f/-F on non-ADB UID.

When an app executes the requestsync command with their own UID,
-f and -F cannot be used.

Let's log it on logcat to make it prominent. People often throw away
command output.

Change-Id: Ie0219e9bdea20edc290785f84a101bb546380136
Fixes: 78901672
Test: manual test

6 years agoFix bug that heads up notification appear even when disable_expand is set
e.min [Thu, 29 Mar 2018 01:06:21 +0000 (10:06 +0900)]
Fix bug that heads up notification appear even when disable_expand is set

Fixes: 78880433
Test: execute app which setting a disable_expand flag to statusbar.
Test: after that, get a headsup notification.
Test: then, headsup appear and it would be presented as status bar height
Test: runtest systemui

Change-Id: I97cc77ad197ca5bc74ab03cc86f02083608549ba

6 years agoSubstituting the app name also on the public content view
Selim Cinek [Mon, 30 Apr 2018 21:39:35 +0000 (14:39 -0700)]
Substituting the app name also on the public content view

Test: add notification with substitute name, observe correct public notification
Change-Id: Ib682a363c47f8925d54413e1edb20c0b8ce2e8b9
Fixes: 78605862

6 years agoMerge "Revert "All users will hear charging sounds."" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 21:08:51 +0000 (21:08 +0000)]
Merge "Revert "All users will hear charging sounds."" into pi-dev

6 years agoMerge "Reset short term model on user switch." into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 20:53:28 +0000 (20:53 +0000)]
Merge "Reset short term model on user switch." into pi-dev

6 years agoMerge "Update DecorContext's Resource cache when calling getResources." into pi-dev
Chavi Weingarten [Mon, 30 Apr 2018 20:38:42 +0000 (20:38 +0000)]
Merge "Update DecorContext's Resource cache when calling getResources." into pi-dev

6 years agoRevert "All users will hear charging sounds."
Beverly Tai [Mon, 30 Apr 2018 20:01:07 +0000 (20:01 +0000)]
Revert "All users will hear charging sounds."

Bug: 77912907
This reverts commit 6cf3e7c41116b890104afe31c2688ccf9fadf449.

Reason for revert: negative dogfood feedback

Change-Id: I83873286424b93fd9994dfad2e385048cfe6e478

6 years agoMerge "Detach children when stopping app." into pi-dev
Rob Carr [Mon, 30 Apr 2018 20:00:39 +0000 (20:00 +0000)]
Merge "Detach children when stopping app." into pi-dev

6 years agoMerge "Truncate newline and tab characters in BluetoothDevice name" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 18:54:34 +0000 (18:54 +0000)]
Merge "Truncate newline and tab characters in BluetoothDevice name" into pi-dev

6 years agoMerge "Unbind autofill service when the service package is updated." into pi-dev
Hongming Jin [Mon, 30 Apr 2018 18:50:25 +0000 (18:50 +0000)]
Merge "Unbind autofill service when the service package is updated." into pi-dev

6 years agoMerge "Choose a matching record in split-screen stack" into pi-dev
Andrii Kulian [Mon, 30 Apr 2018 18:31:27 +0000 (18:31 +0000)]
Merge "Choose a matching record in split-screen stack" into pi-dev

6 years agoMerge "Remove package code path for all parsing failure" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 18:12:54 +0000 (18:12 +0000)]
Merge "Remove package code path for all parsing failure" into pi-dev

6 years agoMerge "Make system dialogs' a11y events like Activity's" into pi-dev
Phil Weaver [Mon, 30 Apr 2018 18:12:37 +0000 (18:12 +0000)]
Merge "Make system dialogs' a11y events like Activity's" into pi-dev

6 years agoMerge "Update clock format when locale list changes" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 18:12:16 +0000 (18:12 +0000)]
Merge "Update clock format when locale list changes" into pi-dev

6 years agoMerge "Adjust future charge start time." into pi-dev
Makoto Onuki [Mon, 30 Apr 2018 18:11:28 +0000 (18:11 +0000)]
Merge "Adjust future charge start time." into pi-dev

6 years agoMerge "OMS: ensure framework overlays affect newly installed apps" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 18:02:29 +0000 (18:02 +0000)]
Merge "OMS: ensure framework overlays affect newly installed apps" into pi-dev

6 years agoMerge "Add documentation for what to use for SS changes" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 17:59:04 +0000 (17:59 +0000)]
Merge "Add documentation for what to use for SS changes" into pi-dev

6 years agoMerge "Revert "RRO: Update target overlays after install"" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 17:53:42 +0000 (17:53 +0000)]
Merge "Revert "RRO: Update target overlays after install"" into pi-dev

6 years agoMerge "Use dedicated thread for sync manager" into pi-dev
Makoto Onuki [Mon, 30 Apr 2018 17:52:05 +0000 (17:52 +0000)]
Merge "Use dedicated thread for sync manager" into pi-dev

6 years agoMerge "Log slow message delivery on Looper" into pi-dev
Makoto Onuki [Mon, 30 Apr 2018 17:50:58 +0000 (17:50 +0000)]
Merge "Log slow message delivery on Looper" into pi-dev

6 years agoImplement RadioMetadata.toString.
Tomasz Wasilczyk [Mon, 30 Apr 2018 17:31:50 +0000 (10:31 -0700)]
Implement RadioMetadata.toString.

This is required for metadata debugging.

Bug: 78885613
Test: build, run radio, watch logs
Change-Id: I63393bf555ede396a04f50897490049568b089dd

6 years agoEnhance battery saver event log
Makoto Onuki [Mon, 30 Apr 2018 17:26:21 +0000 (10:26 -0700)]
Enhance battery saver event log

- Add reason to on/off log
- Add "threshold changed" event log

Bug: 78833408
Test: Manual test + logcat
Test:   atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/BatterySaverStateMachineTest.java
Change-Id: Iddaff8dfa585923c3581552200ea2734b2c1a16d

6 years agoMerge "Allow the assistant activity types to be snapshotted" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 17:33:30 +0000 (17:33 +0000)]
Merge "Allow the assistant activity types to be snapshotted" into pi-dev

6 years agoMerge "Pointing the low ram right icon size to the normal size" into pi-dev
Selim Cinek [Mon, 30 Apr 2018 16:30:37 +0000 (16:30 +0000)]
Merge "Pointing the low ram right icon size to the normal size" into pi-dev

6 years agoOMS: ensure framework overlays affect newly installed apps
Mårten Kongstad [Tue, 20 Feb 2018 09:02:17 +0000 (10:02 +0100)]
OMS: ensure framework overlays affect newly installed apps

Make sure to tell the package manager about an application's overlay
paths if there is at least one enabled overlay affecting the
application. This includes looking at framework overlays (which affect
all applications).

Also, add a test to verify the following flow:

  - Enable an overlay targeting "android"
  - Install an app
  - Launch the newly installed app
  - Assert that the newly installed app uses the framework overlay

Also, update InstallOverlayTests#installPlatformSignedFrameworkOverlay\
AndUpdate to assert the correct resource (framework instead of app
resource).

Bug: 78808367
Test: atest 'OverlayHostTests:InstallOverlayTests#enabledFrameworkOverlayMustAffectNewlyInstalledPackage'
Change-Id: Ic3450af6c2e827efce056874606caf1d853359eb

6 years agoRevert "RRO: Update target overlays after install"
Mårten Kongstad [Fri, 27 Apr 2018 07:56:13 +0000 (09:56 +0200)]
Revert "RRO: Update target overlays after install"

This reverts commit 3bd55593058778ccac13ec4a9086b248004fa0bd.

Reason for revert: clashes with "OMS: ensure framework overlays affect
newly installed apps".

Bug: 78808367
Test: atest 'OverlayHostTests:InstallOverlayTests#enabledFrameworkOverlayMustAffectNewlyInstalledPackage'
Change-Id: I05b7cd3cecf63b28cd7ff15aca73b6b5ec74ce1a

6 years agoMerge "More greylist additions from bugreports." into pi-dev
Mathew Inwood [Mon, 30 Apr 2018 15:54:39 +0000 (15:54 +0000)]
Merge "More greylist additions from bugreports." into pi-dev

6 years agoMerge "Fix incorrect width of right most action button in notification" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 15:42:41 +0000 (15:42 +0000)]
Merge "Fix incorrect width of right most action button in notification" into pi-dev

6 years agoMerge "Fix showing a cut off notification when QS is expanded" into pi-dev
Selim Cinek [Mon, 30 Apr 2018 15:05:20 +0000 (15:05 +0000)]
Merge "Fix showing a cut off notification when QS is expanded" into pi-dev

6 years agoFixed screen brightness override in manual mode.
Dan Gittik [Mon, 30 Apr 2018 14:58:57 +0000 (15:58 +0100)]
Fixed screen brightness override in manual mode.

The screen brightness override would make itself persistent, to
communicate to the user her changes aren't taking place. However,
this caused a bug in manual brightness mode, because the setting
was never cleare, so it was removed.

Test: manual.

Change-Id: I187ed7a4691ba15284cf50adf8266ff161878c2a
Fixes: 78519580

6 years agoMerge "PIP: Partial fix to wrong insets during bounds animation" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 14:15:27 +0000 (14:15 +0000)]
Merge "PIP: Partial fix to wrong insets during bounds animation" into pi-dev

6 years agoMerge "Use the @Nullable annotations for choosePrivateKeyAlias." into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 11:52:41 +0000 (11:52 +0000)]
Merge "Use the @Nullable annotations for choosePrivateKeyAlias." into pi-dev

6 years agoMerge "Fix another issue with constructing SafeActivityOptions" into pi-dev
Jorim Jaggi [Mon, 30 Apr 2018 11:47:40 +0000 (11:47 +0000)]
Merge "Fix another issue with constructing SafeActivityOptions" into pi-dev

6 years agoMerge "Keyguard: Fix threading issues in KeyguardUpdateMonitor" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 11:29:56 +0000 (11:29 +0000)]
Merge "Keyguard: Fix threading issues in KeyguardUpdateMonitor" into pi-dev

6 years agoPIP: Partial fix to wrong insets during bounds animation
Adrian Roos [Mon, 30 Apr 2018 10:42:36 +0000 (12:42 +0200)]
PIP: Partial fix to wrong insets during bounds animation

Partially fixes an issue where the bounds animation when
expanding / collapsing the PIP menu would case the insets
to get wrongly applied.

The same thing still happens when animating from collapsed
to fullscreen, which requires a larger fix.

Bug: 77802617
Test: Enable cutout, enter PIP, tap on PIP window, verify transition is not jumpy.
Change-Id: I3edb4f8dec10ed85963853fa7e69812dfb198273

6 years agoUse the @Nullable annotations for choosePrivateKeyAlias.
Mike Harris [Thu, 26 Apr 2018 22:20:10 +0000 (15:20 -0700)]
Use the @Nullable annotations for choosePrivateKeyAlias.

Both the code and docstring support this, but the parameters weren't
annotated.

Test: it builds locally

Change-Id: I16beddcd74a86047ce9aaf37007d96f3e8e0d4e0
Merged-In: I16beddcd74a86047ce9aaf37007d96f3e8e0d4e0
Fix: 78868934
(cherry picked from commit b7c5eddc53c3872b661222ae30270d95cfe63b4e)

6 years agoUpdate connected device summary
timhypeng [Thu, 29 Mar 2018 06:23:21 +0000 (14:23 +0800)]
Update connected device summary

* Add dispatchAudioModeChanged() in CachedBluetoothDeviceManager for notify
  CacheBluetoothDevice to update their summary
* Add 5 combination that used to show the summary of CacheBluetoothDevice
  case 1: device battery not unknown and is a active device
          ex: show summary as "Active, 100% battery"
  case 2: device battery unkonwn and is a active device
          ex: show summary as "Active"
  case 3: device battery not unknown and not a active device
          ex: show summary as "100% battery"
  case 4: device battery unkonwn and not a active device
          ex: not show the summary
  case 5: device is in bonding state
          ex: show summary as "Pairing..."

Bug: 78318415
Test: make -j50 RunSettingsLibRoboTests
Change-Id: I70bf5386ff045ef4f07fb86fbdc8b943befc634c

6 years agoAdd isAudioModeOngoingCall function to check call status
timhypeng [Mon, 23 Apr 2018 10:08:47 +0000 (18:08 +0800)]
Add isAudioModeOngoingCall function to check call status

*return true if it is in ringing/call/communication(VoIP) status

Bug: 78318415
Test: make -j50 RunSettingsLibRoboTests
Change-Id: Ifb84da386fcd5bf03eaccf78fc264fbad86a9707

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Mon, 30 Apr 2018 05:19:57 +0000 (05:19 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoFix showing a cut off notification when QS is expanded
shawnlin [Thu, 12 Apr 2018 10:47:24 +0000 (18:47 +0800)]
Fix showing a cut off notification when QS is expanded

Collapse Notification shade to shelf size when QS is expanded

Test: runtest systemui
Test: go/sysui-stackscroll-test
Change-Id: I5fe0f4d615488f528d17388174915c0a0f5a2917
Fixes: 62202313

6 years agoFix incorrect width of right most action button in notification
shawnlin [Fri, 27 Apr 2018 10:23:13 +0000 (18:23 +0800)]
Fix incorrect width of right most action button in notification

Measure the last action view normally instead of measuring it full width.

Test: enable show layout bounds and check the bounds of it.
Change-Id: I38f234928f7214baf2b532ecae63c3f4514b3247
Fixes: 78032480

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 22:01:05 +0000 (15:01 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I81f44608957ac56ad790ce277c26fbe0f69791de

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 19:44:34 +0000 (19:44 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 19:41:05 +0000 (19:41 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 19:39:42 +0000 (19:39 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 19:27:39 +0000 (19:27 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 19:19:06 +0000 (19:19 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 18:56:00 +0000 (18:56 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 17:09:35 +0000 (10:09 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I93c1f5a7bcdb05be8123310c32667809f1dfac42

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 17:02:21 +0000 (10:02 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie0ca8213849a52e208752532b0efd886d4e96192

6 years agoMerge "FalsingManager: Only use for touchscreen input" into pi-dev
Selim Cinek [Sat, 28 Apr 2018 16:24:48 +0000 (16:24 +0000)]
Merge "FalsingManager: Only use for touchscreen input" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 15:18:48 +0000 (08:18 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1c78c4dfe25ed25844f66e04ed962551f253fd3b

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 15:12:10 +0000 (08:12 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I25f803bf3c2167073862922fb50cf3098d4d14a0

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 14:56:58 +0000 (14:56 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 14:49:27 +0000 (14:49 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoMerge "Import translations. DO NOT MERGE" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 14:41:41 +0000 (14:41 +0000)]
Merge "Import translations. DO NOT MERGE" into pi-dev

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 13:46:09 +0000 (06:46 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I7018c0d3019b33617f99b73ff26c568f68fb684b

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 13:39:12 +0000 (06:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5667995328f5af50be5272b6e5de1b35b8060905

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 13:18:51 +0000 (06:18 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibb89bafbc3b3232359ac3d7847a883e2f3a608cf

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 13:05:01 +0000 (06:05 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I272fb01200f73c6a0f79cae9e4521d3b52133e41

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Apr 2018 12:57:43 +0000 (05:57 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie4bfaa1bf8b251d49a0ed6cbdd17cc70b11c191a

6 years agoMerge "AOD clock and notification animation" into pi-dev
Lucas Dupin [Sat, 28 Apr 2018 08:53:37 +0000 (08:53 +0000)]
Merge "AOD clock and notification animation" into pi-dev

6 years agoMerge "Log audio recording and dynamic policy registration history" into pi-dev
android-build-team Robot [Sat, 28 Apr 2018 07:03:22 +0000 (07:03 +0000)]
Merge "Log audio recording and dynamic policy registration history" into pi-dev

6 years agoUpdate clock format when locale list changes
Lucas Dupin [Fri, 27 Apr 2018 00:45:14 +0000 (17:45 -0700)]
Update clock format when locale list changes

Isolated clock refresh logic into refreshTime() and refreshFormat().

refreshFormat() makes 2 binder calls and should only called when
necessary: switching users, updating locale list or initialization.

Test: manual
Change-Id: Ia8a3a7655479d44b02c636c3c84ce8cc84e6f210
Fixes: 78535670

6 years agoAOD clock and notification animation
Lucas Dupin [Tue, 3 Apr 2018 04:19:23 +0000 (21:19 -0700)]
AOD clock and notification animation

Better transitions for pulsing notifications and other keyguard
messages.

Fixes: 77601057
Fixes: 67641732
Test: visual
Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardSliceViewTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/util/wakelock/KeepAwakeAnimationListenerTest.java
Merged-In: I3e3ec844834bf7f5d9ab341f308e78a002248a87
Change-Id: I1e6d95c62dc7463e8084a64f04c6dee3173967a6

6 years agoUpdate DecorContext's Resource cache when calling getResources.
chaviw [Mon, 23 Apr 2018 20:34:36 +0000 (13:34 -0700)]
Update DecorContext's Resource cache when calling getResources.

DecorContext is created with the resources from the activity. However,
the resources in DecorContext may not get updated properly
ResourcesManager if the original resource object it's pointing to isn't
updated by ResourcesManager. Because of this, resources for the
DecorView can be incorrect when the activity's resources are updated.
This change updates the DecorContext's resources with the activity's
resources when getResources is called to ensure they get properly
updated.

This fixes the issue where windowing mode was incorrect when determining
what the window elevation should be. It was incorrectly getting full
screen when it should have gotten pinned. This was preventing surface
insets from getting set on the WM side, so PIP windows didn't get
shadows.

Change-Id: I5af2364f81b167e3732811d7413554d035c4a021
Test: PIP has shadows
Fixes: 78214575

6 years agoAllow the assistant activity types to be snapshotted
Winson Chung [Fri, 27 Apr 2018 23:12:54 +0000 (16:12 -0700)]
Allow the assistant activity types to be snapshotted

Bug: 78229855
Test: Swipe up with fullscreen assistant (ensure that retain_in_recents
      is enabled in AGSA first), see that there is a snapshot

Change-Id: I6aee209add9838971c9476ef1ae1c88369291216

6 years agoLog slow message delivery on Looper
Makoto Onuki [Fri, 27 Apr 2018 22:22:50 +0000 (15:22 -0700)]
Log slow message delivery on Looper

Sample log:
04-27 15:30:17.306  1000   942   942 W Looper  : Dispatch took 222ms on main, h=Handler (com.android.server.job.JobSchedulerService$JobHandler) {42042fc} cb=null msg=7 start=48162 end=48384
04-27 15:30:17.306  1000   942   942 W Looper  : Delivery took 235ms on main, h=Handler (com.android.server.job.JobSchedulerService$JobHandler) {42042fc} cb=null msg=4 start=48149 end=48384
04-27 15:30:17.773  1000   942   942 W Looper  : Dispatch took 445ms on main, h=Handler (android.app.ActivityThread$H) {5df4c77} cb=android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA@badd538 msg=0 start=48406 end=48851
04-27 15:30:17.828  1000   942   942 W Looper  : Drained
04-27 15:30:24.389  1000   942   942 W Looper  : Dispatch took 718ms on main, h=Handler (android.hardware.soundtrigger.SoundTriggerModule$NativeEventHandlerDelegate$1) {d7e9947} cb=null msg=4 start=54749 end=55467
04-27 15:30:24.389  1000   942   942 W Looper  : Delivery took 621ms on main, h=Handler (com.android.server.media.MediaSessionRecord$MessageHandler) {5851574} cb=null msg=7 start=54846 end=55467
04-27 15:30:24.499  1000   942   942 W Looper  : Drained

Bug: 78590632
Test: Boot and check log
Test: setprop log.looper.1000.android.bg 1 and runtime-restart and check log
Change-Id: Ief1fc65b40b8a3d583879f55a76288e3dba6be7d

6 years agoMerge "Revert "Revert "WifiManager: Return status from startScan()""" into pi-dev
Roshan Pius [Sat, 28 Apr 2018 00:09:03 +0000 (00:09 +0000)]
Merge "Revert "Revert "WifiManager: Return status from startScan()""" into pi-dev

6 years agoMerge "Don't set Bluetooth volume when the Bluetooth stream changes" into pi-dev
Ajay Panicker [Sat, 28 Apr 2018 00:01:22 +0000 (00:01 +0000)]
Merge "Don't set Bluetooth volume when the Bluetooth stream changes" into pi-dev

6 years agoMerge "Fix documentation bug that breaks generation" into pi-dev
android-build-team Robot [Fri, 27 Apr 2018 23:46:07 +0000 (23:46 +0000)]
Merge "Fix documentation bug that breaks generation" into pi-dev

6 years agoMake system dialogs' a11y events like Activity's
Phil Weaver [Fri, 27 Apr 2018 23:28:50 +0000 (16:28 -0700)]
Make system dialogs' a11y events like Activity's

The window_state_changed events are populated by
Activity with the Activity title. Replicating that
behavior for volume and power dialogs.

Bug: 78775496
Test: Used a test a11y service to observe events,
and started TalkBack, which was less consistent
about announcing them.

Change-Id: Icd4cd8317544c127e44e403162512e2385ff4176

6 years agoChoose a matching record in split-screen stack
Andrii Kulian [Fri, 27 Apr 2018 01:31:58 +0000 (18:31 -0700)]
Choose a matching record in split-screen stack

The split-screen primary stack should be chosen if activity is
launched that targets split-screen secondary, but a matching existing
instance is found on top of split-screen primary stack.

Bug: 77215248
Test: ActivityStackSupervisorTests#testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary
Change-Id: If3a47f793be2b9b84f822eacaa0befb28cc21d2e

6 years agoMerge "Don't exit doze-light on motion event" into pi-dev
Amith Yamasani [Fri, 27 Apr 2018 22:50:42 +0000 (22:50 +0000)]
Merge "Don't exit doze-light on motion event" into pi-dev

6 years agoRemove package code path for all parsing failure
Victor Hsieh [Fri, 27 Apr 2018 22:04:34 +0000 (15:04 -0700)]
Remove package code path for all parsing failure

Instead of only remove for INSTALL_FAILED_INVALID_APK reason, remove if
it is not a success.

This was introduced at 679bba33 in 2010.

Test: adb shell stop, tamper with an apk in /data, start
      # see bad apk being removed
Bug: 30972906
Change-Id: I8b468958a7547ce2ed030e78356b2ce3ddd3641d

6 years agoUnbind autofill service when the service package is updated.
Hongming Jin [Tue, 24 Apr 2018 21:20:11 +0000 (14:20 -0700)]
Unbind autofill service when the service package is updated.

Test: atest FieldsClassificationTest
adb shell cmd autofill get fc_score half kale
m -j50 ExtServices && adb install -r
${OUT}/system/priv-app/ExtServices/ExtServices.apk
adb shell cmd autofill get fc_score half kale

Bug: 77596771
Change-Id: I29f6f5593dbe0155437d01ef73d07a354abe687d

6 years agoMerge "Expose MetricLogger to support AOSP logging in Launcher Bug: 77920179 Test...
Hyunyoung Song [Fri, 27 Apr 2018 21:48:39 +0000 (21:48 +0000)]
Merge "Expose MetricLogger to support AOSP logging in Launcher Bug: 77920179 Test: builds. This is also only a library that is yet used anywhere" into pi-dev

6 years agoMerge "Don't treat failed scans as valid media files" into pi-dev
Marco Nelissen [Fri, 27 Apr 2018 21:35:33 +0000 (21:35 +0000)]
Merge "Don't treat failed scans as valid media files" into pi-dev

6 years agoUse dedicated thread for sync manager
Makoto Onuki [Fri, 27 Apr 2018 20:28:46 +0000 (13:28 -0700)]
Use dedicated thread for sync manager

We get WTF indicating that a message posted onto the BG handler thread wasn't
processed in 10 minutes...

It's either there's some race in SyncJobService, or sometimes the BG thread
is actually very crowded and a message won't be delivered in 10 minutes.

Both are hard to think but let's assign a different thread to exclude the
later hypothesis.

Bug: 78590632
Test: boot and make sure various syncs run.
Change-Id: If63d03885ba0d126a5aac196d3b8a2bc7bd2525d

6 years agoMerge "Support arrow down animation" into pi-dev
android-build-team Robot [Fri, 27 Apr 2018 20:18:36 +0000 (20:18 +0000)]
Merge "Support arrow down animation" into pi-dev

6 years agoExpose MetricLogger to support AOSP logging in Launcher
Hyunyoung Song [Thu, 26 Apr 2018 18:26:22 +0000 (11:26 -0700)]
Expose MetricLogger to support AOSP logging in Launcher
Bug: 77920179
Test: builds. This is also only a library that is yet used anywhere

Change-Id: Ia4aec76eb31236081b16d6ec59db1d11ce7fde7b

6 years agoMerge "FloatingActionMode.setOutsideTouchable" into pi-dev
Abodunrinwa Toki [Fri, 27 Apr 2018 19:46:10 +0000 (19:46 +0000)]
Merge "FloatingActionMode.setOutsideTouchable" into pi-dev

6 years agoMerge "TC: Fix null PendingIntent being passed to RemoteAction" into pi-dev
Abodunrinwa Toki [Fri, 27 Apr 2018 19:44:48 +0000 (19:44 +0000)]
Merge "TC: Fix null PendingIntent being passed to RemoteAction" into pi-dev