OSDN Git Service

android-x86/frameworks-base.git
6 years ago[Notif] Reset falsing check for blocking helper
Rohan Shah [Thu, 14 Jun 2018 20:14:18 +0000 (13:14 -0700)]
[Notif] Reset falsing check for blocking helper

Currently, if you long press on the notif in lock screen and then are
interacting with the blocking helper UI (NotificationInfo), the content
automatically closes after 8 seconds even if you've hit stop/undo/etc.

Instead of letting this happen, reset the timeout.

Test: Manually that it doesn't timeout after 8s on LS after update
Bug: 110213459
Change-Id: I0169a7749b718714595bd7239375308f30bf4c43

6 years agoMerge "Use the malloc debug heap dumper."
Christopher Ferris [Fri, 15 Jun 2018 19:19:25 +0000 (19:19 +0000)]
Merge "Use the malloc debug heap dumper."

6 years agoMerge "Remove log spam in MediaRouter"
TreeHugger Robot [Fri, 15 Jun 2018 18:48:36 +0000 (18:48 +0000)]
Merge "Remove log spam in MediaRouter"

6 years agoMerge changes Idad77721,I9717ac4b
TreeHugger Robot [Fri, 15 Jun 2018 18:07:52 +0000 (18:07 +0000)]
Merge changes Idad77721,I9717ac4b

* changes:
  Split internal interface activities from current AM interface (3/n)
  Cancel Pip animation if stack is already removed

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev am: 706303541e
Eric Laurent [Fri, 15 Jun 2018 18:06:47 +0000 (11:06 -0700)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev am: 706303541e
am: 94dce7ac8b

Change-Id: I001c3b390be7ee4e5522a5fd2599c9f34e6a7686

6 years ago[automerger] Merge "audioservice: fix a2dp connection race condition" into pi-dev...
Android Build Merger (Role) [Fri, 15 Jun 2018 18:00:07 +0000 (18:00 +0000)]
[automerger] Merge "audioservice: fix a2dp connection race condition" into pi-dev am: 706303541e am: c9abc289a0

Change-Id: Iabc86b907a6a430b824e876bab44b8cee192a71a

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev
Eric Laurent [Fri, 15 Jun 2018 17:59:08 +0000 (10:59 -0700)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev
am: 706303541e

Change-Id: I7ce96cb90aad6c826bbeb7be0e80950f2a89b517

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev am: af76df93e3
Philip P. Moltmann [Fri, 15 Jun 2018 17:58:56 +0000 (10:58 -0700)]
Merge "Abbreviate permission labels less aggressively" into pi-dev am: af76df93e3
am: 53427b7237

Change-Id: I20ae335fec3d0837bdbbe524b8a6576560dff948

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev
Eric Laurent [Fri, 15 Jun 2018 17:58:55 +0000 (10:58 -0700)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev
am: 706303541e

Change-Id: Id4bbff8834f97f60c211dd3c45ce59af95fbb810

6 years ago[automerger] Merge "Abbreviate permission labels less aggressively" into pi-dev am...
Android Build Merger (Role) [Fri, 15 Jun 2018 17:48:50 +0000 (17:48 +0000)]
[automerger] Merge "Abbreviate permission labels less aggressively" into pi-dev am: af76df93e3 am: 3dce361445

Change-Id: Iea45f6992477e090e0f7ecaf2c4689354ad24786

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev
Philip P. Moltmann [Fri, 15 Jun 2018 17:48:34 +0000 (10:48 -0700)]
Merge "Abbreviate permission labels less aggressively" into pi-dev
am: af76df93e3

Change-Id: I61a45dd4489c930f2c5b3fbcf6f7632771d6f18e

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev
Philip P. Moltmann [Fri, 15 Jun 2018 17:48:02 +0000 (10:48 -0700)]
Merge "Abbreviate permission labels less aggressively" into pi-dev
am: af76df93e3

Change-Id: Ic78313f9bf162478b76ef35028659a1c93c9c58d

6 years agoMerge "audioservice: fix a2dp connection race condition" into pi-dev
Eric Laurent [Fri, 15 Jun 2018 17:43:42 +0000 (17:43 +0000)]
Merge "audioservice: fix a2dp connection race condition" into pi-dev

6 years agoRemove log spam in MediaRouter
Sungsoo Lim [Mon, 11 Jun 2018 03:55:25 +0000 (12:55 +0900)]
Remove log spam in MediaRouter

Bug: 110007356
Test: build
Change-Id: I249154eaf3c009429bb9731ca38b9e5eec271670

6 years agoMerge "Skip null values in Utils.safeForeach"
TreeHugger Robot [Fri, 15 Jun 2018 17:20:59 +0000 (17:20 +0000)]
Merge "Skip null values in Utils.safeForeach"

6 years agoMerge "Abbreviate permission labels less aggressively" into pi-dev
Philip P. Moltmann [Fri, 15 Jun 2018 17:18:52 +0000 (17:18 +0000)]
Merge "Abbreviate permission labels less aggressively" into pi-dev

6 years agoSplit internal interface activities from current AM interface (3/n)
Wale Ogunwale [Thu, 3 May 2018 22:52:51 +0000 (15:52 -0700)]
Split internal interface activities from current AM interface (3/n)

3rd step in unifying the window hierarchy that is currently split
within AM and WM packages. We separate the the internal interface used
to communicate within system server dealing with activities and their
containers (tasks, stack, display) from the rest of AM internal
interface.

Test: Existing tests pass
Test: go/wm-smoke-auto
Bug: 80414790
Change-Id: Idad77721c1fe10621b9be5dced42a0a11f0183e5

6 years agoCancel Pip animation if stack is already removed
Wale Ogunwale [Fri, 15 Jun 2018 15:26:07 +0000 (08:26 -0700)]
Cancel Pip animation if stack is already removed

It is possible for the pinned stack to be removed before the system has
a chance to run the scheduled bounds animation on it. In this case we
should just cancel the animation.
Also fixed:
- Issue where we are synchronizing on the wrong object in
PinnedActivityStack.updatePictureInPictureModeForPinnedStackAnimation
- Issue where the enterPipRunnable in
ActivityTaskManagerService.enterPictureInPictureMode wasn't synchronized

Change-Id: I9717ac4b5849eafa6332fb0043310a0e8387a05f
Fixes: 110255768
Test: atest ActivityManagerActivityVisibilityTests#testHomeVisibleOnActivityTaskPinned

6 years agoSkip null values in Utils.safeForeach
Beverly [Fri, 15 Jun 2018 15:04:02 +0000 (11:04 -0400)]
Skip null values in Utils.safeForeach

Test: ZenModeControllerImplTest.java
Bug: 110209145
Change-Id: I4234be630c84444a70d8cb380ca6a692a4ff5cbc

6 years agoDo not announce selected state for QS tiles.
Amin Shaikh [Tue, 12 Jun 2018 22:25:43 +0000 (18:25 -0400)]
Do not announce selected state for QS tiles.

Change-Id: Ia461baa4a12818a0e91c6e1862eb9e13e232e720
Fixes: 110105146
Test: manual

6 years agoUse FullRestoreEngine in adb restore.
Anton Philippov [Fri, 4 May 2018 18:53:34 +0000 (19:53 +0100)]
Use FullRestoreEngine in adb restore.

PerformAdbRestoreTask and FullRestoreEngine has shared a lot of code,
remove the copy that was in PerformAdbRestoreTask.

Test: adb restore
Change-Id: Ib4ce8b50eff8aed4a2c0660808c05b80f378ea98

6 years agoMerge "Protect unbindBackupAgent() with CONFIRM_FULL_BACKUP permission"
Bernardo Rufino [Fri, 15 Jun 2018 08:43:50 +0000 (08:43 +0000)]
Merge "Protect unbindBackupAgent() with CONFIRM_FULL_BACKUP permission"

6 years agoAdjust QuickQSPanel to fit Tablet display size
Bill Lin [Wed, 13 Jun 2018 11:26:15 +0000 (19:26 +0800)]
Adjust QuickQSPanel to fit Tablet display size

- Remove legacy standard_notification_panel_width
- Define default max columns for QQS layout
- Fix Pixcel C & Nexus 7 QQS Tiles over boundry problem

Test: atest SystemUITests
Fix: 110123402
Change-Id: I18ab3d966b3d18775d0b13d6d60d7c09485ba8ae

6 years agoMerge "Build com.android.location.provider with java_sdk_library" am: aa5d8dfeb0...
Sundong Ahn [Fri, 15 Jun 2018 05:26:03 +0000 (22:26 -0700)]
Merge "Build com.android.location.provider with java_sdk_library" am: aa5d8dfeb0 am: abdaa314f8
am: 07fed30c31

Change-Id: If214f52c141ef4d0f106bc3f5d2778f9b8f40b1e

6 years agoMerge "Build com.android.location.provider with java_sdk_library" am: aa5d8dfeb0
Sundong Ahn [Fri, 15 Jun 2018 05:12:45 +0000 (22:12 -0700)]
Merge "Build com.android.location.provider with java_sdk_library" am: aa5d8dfeb0
am: abdaa314f8

Change-Id: If55a20564704769fc750fb6675533e9a0b8f3b6a

6 years agoMerge "Make dumpHexString() tolerate null arrays." am: a917c1db32 am: 7bb253d078
Bernie Innocenti [Fri, 15 Jun 2018 05:12:11 +0000 (22:12 -0700)]
Merge "Make dumpHexString() tolerate null arrays." am: a917c1db32 am: 7bb253d078
am: 3e0f3ef8ad

Change-Id: I1fbea877d10b4f270fc1722ec1c14e9bd8f131a3

6 years agoMerge "Make dumpHexString() tolerate null arrays." am: a917c1db32
Bernie Innocenti [Fri, 15 Jun 2018 05:02:58 +0000 (22:02 -0700)]
Merge "Make dumpHexString() tolerate null arrays." am: a917c1db32
am: 7bb253d078

Change-Id: Id58b8039510baa518d8d10b03237681a7b842d0f

6 years agoMerge "Build com.android.location.provider with java_sdk_library"
Sundong Ahn [Fri, 15 Jun 2018 04:59:40 +0000 (21:59 -0700)]
Merge "Build com.android.location.provider with java_sdk_library"
am: aa5d8dfeb0

Change-Id: I53720ed4fcbe9f00f2f1f607d07efa9adaaf7bb4

6 years agoMerge "Make dumpHexString() tolerate null arrays."
Bernie Innocenti [Fri, 15 Jun 2018 04:55:53 +0000 (21:55 -0700)]
Merge "Make dumpHexString() tolerate null arrays."
am: a917c1db32

Change-Id: Ib0160e232cab0a713853a65eef26f7a02d65c1f1

6 years agoMerge "Build com.android.location.provider with java_sdk_library"
Treehugger Robot [Fri, 15 Jun 2018 03:41:18 +0000 (03:41 +0000)]
Merge "Build com.android.location.provider with java_sdk_library"

6 years agoMerge "Refresh visible IME proc boost upon onBindingDied"
TreeHugger Robot [Fri, 15 Jun 2018 03:30:24 +0000 (03:30 +0000)]
Merge "Refresh visible IME proc boost upon onBindingDied"

6 years agoFix solid circle show on message notification am: 1250cd1407
Tony Huang [Fri, 15 Jun 2018 03:22:43 +0000 (20:22 -0700)]
Fix solid circle show on message notification am: 1250cd1407
am: cb74f9c13d

Change-Id: I74ddf43c3da0f8f567c9ab6aef18a6cbdcfebca5

6 years ago[automerger] Fix solid circle show on message notification am: 1250cd1407 am: 51e6cce63c
Android Build Merger (Role) [Fri, 15 Jun 2018 03:14:48 +0000 (03:14 +0000)]
[automerger] Fix solid circle show on message notification am: 1250cd1407 am: 51e6cce63c

Change-Id: I20b8317a34eac3642ec6054f5f2332d1e001a7ab

6 years agoFix solid circle show on message notification
Tony Huang [Fri, 15 Jun 2018 03:13:32 +0000 (20:13 -0700)]
Fix solid circle show on message notification
am: 1250cd1407

Change-Id: I9742ab1f93c797e23d4545d6659efcfa4808b03c

6 years agoFix solid circle show on message notification
Tony Huang [Fri, 15 Jun 2018 03:13:30 +0000 (20:13 -0700)]
Fix solid circle show on message notification
am: 1250cd1407

Change-Id: I805908a107f7e082a0f5c3294a777235efa74b16

6 years agoFix solid circle show on message notification
Tony Huang [Wed, 6 Jun 2018 07:40:47 +0000 (15:40 +0800)]
Fix solid circle show on message notification

Message app or other apps will use some format code or controll
code on SenderName to fit RTL or other design, and symbols will
produced by these code. The special code pattern not include these
code, so it will go charIcon flow.
Although these code is not visible, we should just ignore them to
get symbol strings

Change-Id: I20ef459b10ba7504ec0c997ed815cb485817d2bc
Fixes: 109746235
Test: Check notification form message app on RTL
Test: atest SystemUITests

6 years agoMerge "Perform layout after removing the focused window"
Tiger Huang [Fri, 15 Jun 2018 02:50:44 +0000 (02:50 +0000)]
Merge "Perform layout after removing the focused window"

6 years agoMerge "Make dumpHexString() tolerate null arrays."
Treehugger Robot [Fri, 15 Jun 2018 02:32:54 +0000 (02:32 +0000)]
Merge "Make dumpHexString() tolerate null arrays."

6 years agoMerge "StatsPullerManager not use singleton"
TreeHugger Robot [Fri, 15 Jun 2018 00:50:50 +0000 (00:50 +0000)]
Merge "StatsPullerManager not use singleton"

6 years agoMerge "Revert "Change quickstep onboarding tip window type to"" into pi-dev am: b2b25...
Tracy Zhou [Fri, 15 Jun 2018 00:17:11 +0000 (17:17 -0700)]
Merge "Revert "Change quickstep onboarding tip window type to"" into pi-dev am: b2b255a131
am: 09b4dbdf2a

Change-Id: I8d7cf4edc03e798e0cebb63c8f933eb58417fafb

6 years agoaudioservice: fix a2dp connection race condition
Eric Laurent [Thu, 14 Jun 2018 02:36:42 +0000 (19:36 -0700)]
audioservice: fix a2dp connection race condition

In case of fast (< 1 second) A2DP disconnect/connect sequence, there
is a potential race condition where the delayed disconnection message
(due to becoming noisy intent) is received after the not delayed
connection message.

- Make sure all messages related to device connection/disconnection
(including MSG_A2DP_DEVICE_CONFIG_CHANGE and MSG_BTA2DP_DOCK_TIMEOUT)
are handled by queueMsgUnderWakeLock().
- Make sure messages are processed in the same order as API calls.
- Add check for null address in makeA2dpDeviceUnavailableNow().

Bug: 109903807
Bug: 78837311
Test: repro steps in bugs. A2DP connection and playback

Change-Id: Ib81b3805f945f7206b1a60de74e9bbeeef89bdd0

6 years agoMerge "Revert "Change quickstep onboarding tip window type to"" into pi-dev
Tracy Zhou [Thu, 14 Jun 2018 23:50:53 +0000 (16:50 -0700)]
Merge "Revert "Change quickstep onboarding tip window type to"" into pi-dev
am: b2b255a131

Change-Id: I585b9c7df35114b47ea0ab9af7ee0b881b195e4e

6 years ago[automerger] Merge "Revert "Change quickstep onboarding tip window type to"" into...
Android Build Merger (Role) [Thu, 14 Jun 2018 23:46:31 +0000 (23:46 +0000)]
[automerger] Merge "Revert "Change quickstep onboarding tip window type to"" into pi-dev am: b2b255a131 am: 86e5aa8731

Change-Id: I46bc865fd3794d2ce8b79415b12be64ce0a46c36

6 years agoMerge "Revert "Change quickstep onboarding tip window type to"" into pi-dev
Tracy Zhou [Thu, 14 Jun 2018 23:45:40 +0000 (16:45 -0700)]
Merge "Revert "Change quickstep onboarding tip window type to"" into pi-dev
am: b2b255a131

Change-Id: I7ad4536ff6d1ac5724f32e18693f8fcb14097a36

6 years agoMerge "Expose new AppOps API that we had to leave hidden in P."
Dianne Hackborn [Thu, 14 Jun 2018 23:42:46 +0000 (23:42 +0000)]
Merge "Expose new AppOps API that we had to leave hidden in P."

6 years agoMerge "Revert "Change quickstep onboarding tip window type to"" into pi-dev
Tracy Zhou [Thu, 14 Jun 2018 23:28:34 +0000 (23:28 +0000)]
Merge "Revert "Change quickstep onboarding tip window type to"" into pi-dev

6 years agoStatsPullerManager not use singleton
Chenjie Yu [Fri, 8 Jun 2018 17:07:51 +0000 (10:07 -0700)]
StatsPullerManager not use singleton

This is to be consistent with other patterns such as UidMap.
This also makes unit test simpler.

Change-Id: I1558cd609e470481f269ecf2ae616277a95cfbf0
Bug: 72722120
Test: unit test

6 years agoMerge "Have proper permission check in getConfigForSubId"
Xiangyu/Malcolm Chen [Thu, 14 Jun 2018 22:44:55 +0000 (22:44 +0000)]
Merge "Have proper permission check in getConfigForSubId"

6 years agoMake testSplitscreenPortraitAppOrientationRequests pass to unblock release am: cf2d6475f9
Wale Ogunwale [Thu, 14 Jun 2018 22:39:17 +0000 (15:39 -0700)]
Make testSplitscreenPortraitAppOrientationRequests pass to unblock release am: cf2d6475f9
am: 6b99b6e3a3

Change-Id: Ia5697a4cae08cf56f94244db1445b92929e4dde9

6 years agoMake testSplitscreenPortraitAppOrientationRequests pass to unblock release
Wale Ogunwale [Thu, 14 Jun 2018 22:18:36 +0000 (15:18 -0700)]
Make testSplitscreenPortraitAppOrientationRequests pass to unblock release
am: cf2d6475f9

Change-Id: I93ac74e692e5d0f7f78d2c431b9e4fd4300aec09

6 years ago[automerger] Make testSplitscreenPortraitAppOrientationRequests pass to unblock relea...
Android Build Merger (Role) [Thu, 14 Jun 2018 22:16:14 +0000 (22:16 +0000)]
[automerger] Make testSplitscreenPortraitAppOrientationRequests pass to unblock release am: cf2d6475f9 am: 2dfb03f6f4

Change-Id: Idc3ae3c6d91f93a48a134280e176452ce050f21e

6 years agoMake testSplitscreenPortraitAppOrientationRequests pass to unblock release
Wale Ogunwale [Thu, 14 Jun 2018 22:15:35 +0000 (15:15 -0700)]
Make testSplitscreenPortraitAppOrientationRequests pass to unblock release
am: cf2d6475f9

Change-Id: Ie0862784fd537c0a669d3085b2d86a7ab482db7f

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 14 Jun 2018 21:49:39 +0000 (21:49 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Clear calling identity before doing any work" am: 31686e954a am: 3eb2ad1096
Neil Fuller [Thu, 14 Jun 2018 21:41:41 +0000 (14:41 -0700)]
Merge "Clear calling identity before doing any work" am: 31686e954a am: 3eb2ad1096
am: ed66a8b2a6

Change-Id: I412d623de4ae2c32e0070bcb105010c234fe56b7

6 years agoMerge "Clear calling identity before doing any work" am: 31686e954a
Neil Fuller [Thu, 14 Jun 2018 21:31:23 +0000 (14:31 -0700)]
Merge "Clear calling identity before doing any work" am: 31686e954a
am: 3eb2ad1096

Change-Id: I3a940e1fb84bc04b7b53cbe25111768deb3e6d0c

6 years agoMerge "Clear calling identity before doing any work"
Neil Fuller [Thu, 14 Jun 2018 21:15:04 +0000 (14:15 -0700)]
Merge "Clear calling identity before doing any work"
am: 31686e954a

Change-Id: I144fd2b5f46ce7d7a06195a2dd5207d44cd951f0

6 years agoMerge "Uses autofill callback to throttle performance tests."
TreeHugger Robot [Thu, 14 Jun 2018 20:12:24 +0000 (20:12 +0000)]
Merge "Uses autofill callback to throttle performance tests."

6 years agoMerge "Clear calling identity before doing any work"
Treehugger Robot [Thu, 14 Jun 2018 19:13:29 +0000 (19:13 +0000)]
Merge "Clear calling identity before doing any work"

6 years agoAbbreviate permission labels less aggressively
Philip P. Moltmann [Thu, 14 Jun 2018 18:52:14 +0000 (11:52 -0700)]
Abbreviate permission labels less aggressively

We switched the package installer app to always abbreviate all labels
loaded from foreign packages. This is done so that a foreign app cannot
crorrupt the UI via super-long strings.

The default abbreviation is very aggressive and abbreviates to ~5 cm.

When an app with a targetSDK <= M gets installed, all permissions will
get auto-granted. Hence when a user side-loads such an app, we show the
permissions during install so that the user is aware of this.

Unfortunately most permission labels and restrictions do not fit into a
single line.

This change allows much longer strings for permissions names and
descriptions. It still abbreviates eventually and handles permission
descriptions with weird characters (such as back-space) correctly.

Fixes: 110209410
Test: Side-loaded old app and verified that permission labels and
      descriptions are not abbreviated.

Change-Id: Ie1db240883c9f5cb9c1b74ca7bdcb80625e3f7f2

6 years agoExpose new AppOps API that we had to leave hidden in P.
Dianne Hackborn [Wed, 13 Jun 2018 22:24:04 +0000 (15:24 -0700)]
Expose new AppOps API that we had to leave hidden in P.

Now's the time!

Test: manual
Bug: 109754053
Change-Id: I06c9428b5a133be574061410b4bb7d9c589c1b7c

6 years agoUse the malloc debug heap dumper.
Christopher Ferris [Wed, 13 Jun 2018 20:19:57 +0000 (13:19 -0700)]
Use the malloc debug heap dumper.

Instead of having the malloc debug heap dump code live in frameworks
code, call into malloc debug to do the dump.

Test: Ran am dumpheap -n <PID> <FILE> of a process with and without
Test: malloc debug enabled.
Change-Id: I7911a3ee7dcbc79dd11003a24e27ff99c8301d43

6 years agoMerge "Treating all FileSection files as device specific."
TreeHugger Robot [Thu, 14 Jun 2018 17:37:29 +0000 (17:37 +0000)]
Merge "Treating all FileSection files as device specific."

6 years agoMerge "Don't throw uri exceptions for user chosen sounds"
TreeHugger Robot [Thu, 14 Jun 2018 17:37:22 +0000 (17:37 +0000)]
Merge "Don't throw uri exceptions for user chosen sounds"

6 years agoUses autofill callback to throttle performance tests.
Felipe Leme [Thu, 14 Jun 2018 17:23:31 +0000 (10:23 -0700)]
Uses autofill callback to throttle performance tests.

Currently the Autofill performance tests work fine, but if we change IAutofillManager
to make oneway binder calls, the tests will crash because of the excessive number of
unfinished binder transactions.

We can fix this issue by using the autofill callbacks that are shown when the UI is shown
or hidden.

Test: mmma -j ./frameworks/base/apct-tests/perftests/autofill/ && \
  adb install -r $OUT/data/app/AutofillPerfTests/AutofillPerfTests.apk && \
  adb shell am instrument -w -e class android.view.autofill.LoginTest \
  com.android.perftests.autofill/android.support.test.runner.AndroidJUnitRunner

Bug: 73536867

Change-Id: I216e67ca97cab059851b0873601e82b368a6abea

6 years agoMerge "Remove preference_category_material_settings.xml"
TreeHugger Robot [Thu, 14 Jun 2018 17:06:43 +0000 (17:06 +0000)]
Merge "Remove preference_category_material_settings.xml"

6 years agoClear calling identity before doing any work
Neil Fuller [Wed, 13 Jun 2018 15:56:38 +0000 (16:56 +0100)]
Clear calling identity before doing any work

This makes sure that the system server is credited/blamed
for the logic being executed.

Test: (internal) atest FrameworksServicesTests:com.android.server.timedetector
Bug: 78217059
Change-Id: Ie2586cf0d983e9aef9371d6db285c8420e9c8dc0

6 years agoMake testSplitscreenPortraitAppOrientationRequests pass to unblock release
Wale Ogunwale [Thu, 14 Jun 2018 15:55:42 +0000 (08:55 -0700)]
Make testSplitscreenPortraitAppOrientationRequests pass to unblock release

Work around to unblock the release for failing test
ActivityManagerAppConfigurationTests#testSplitscreenPortraitAppOrientationRequests
which shouldn't be failing since home stack shouldn't be visible. We need
to dig deeper to see why it is failing.
NOTE: Not failing on current master...

Bug: 110159357
Test: atest ActivityManagerAppConfigurationTests#testSplitscreenPortraitAppOrientationRequests
Change-Id: I69423eef3661133b2a032a166745157b3e344751

6 years agoDon't throw uri exceptions for user chosen sounds
Julia Reynolds [Wed, 13 Jun 2018 14:45:21 +0000 (10:45 -0400)]
Don't throw uri exceptions for user chosen sounds

Bug: 109889733
Test: runtest systemui-notification
Change-Id: I5ed599deca83f97899affce44e3ed8fbcacae366

6 years agoMerge "Fix DateTimeViewTest illegal access error"
TreeHugger Robot [Thu, 14 Jun 2018 15:05:34 +0000 (15:05 +0000)]
Merge "Fix DateTimeViewTest illegal access error"

6 years agoMake dumpHexString() tolerate null arrays.
Bernie Innocenti [Thu, 14 Jun 2018 08:55:58 +0000 (17:55 +0900)]
Make dumpHexString() tolerate null arrays.

Rationale: hexdumps are mainly used when verbose logging is enabled,
which means that callers are rarely exercised (let alone tested).
Crashing on unchecked null pointers doesn't make debugging any easier,
nor production code any more robust.

Moreover, this is the behavior of system.out.println() and other
logging APIs.

Test: runtest -x core/tests/coretests/src/com/android/internal/util/HexDumpTest.java
Bug: 110177912
Change-Id: Idccd81a5654ed0f7fee6b27177941bf8c311973e

6 years agoMerge "Add TimestampedValue.toString()" am: bfa58946f7 am: 494665870f
Neil Fuller [Thu, 14 Jun 2018 09:59:40 +0000 (02:59 -0700)]
Merge "Add TimestampedValue.toString()" am: bfa58946f7 am: 494665870f
am: 252382bede

Change-Id: If79479053e5139da52be2c004203077537613d40

6 years agoMerge "Add emergency dialer option on power menu"
TreeHugger Robot [Thu, 14 Jun 2018 09:52:27 +0000 (09:52 +0000)]
Merge "Add emergency dialer option on power menu"

6 years agoPerform layout after removing the focused window
Tiger Huang [Thu, 7 Jun 2018 11:24:09 +0000 (19:24 +0800)]
Perform layout after removing the focused window

This change fixes a bug that navigation bar didn't show after the
hide-nav-bar window had been removed.

Bug: 81118995
Test: 1. go/wm-smoke
      2. a. Open an app which can show a window which hides nav bar.
         b. Make the app show the window which hides nav bar.
         c. Dismiss the window and see if nav bar shows.
      3. atest CtsWindowManagerDeviceTestCases:LayoutTests

Change-Id: I859b467b44bab8ea30dd5c4b03aa1673a30534fa

6 years agoMerge "Add TimestampedValue.toString()" am: bfa58946f7
Neil Fuller [Thu, 14 Jun 2018 09:49:13 +0000 (02:49 -0700)]
Merge "Add TimestampedValue.toString()" am: bfa58946f7
am: 494665870f

Change-Id: Iedd2ce7207cb8c74e9a109e8cdb6c687f45072ec

6 years agoMerge "Add TimestampedValue.toString()"
Neil Fuller [Thu, 14 Jun 2018 09:40:17 +0000 (02:40 -0700)]
Merge "Add TimestampedValue.toString()"
am: bfa58946f7

Change-Id: I38760ef47ba04f20882a467857e7c57c088d4391

6 years agoMerge "Add TimestampedValue.toString()"
Neil Fuller [Thu, 14 Jun 2018 08:21:27 +0000 (08:21 +0000)]
Merge "Add TimestampedValue.toString()"

6 years agoAdd emergency dialer option on power menu
Wesley.CW Wang [Mon, 28 May 2018 08:39:27 +0000 (16:39 +0800)]
Add emergency dialer option on power menu

Add a button on power menu to launch emergency dialer.
Add FASTER_EMERGENCY_PHONE_CALL_ENABLED to SettingsBackupTest blacklist.

Test: Manually
Change-Id: I9c920e31433c0ac23165f917d8dd2befaaa4938d
Bug: 80376488

6 years agoFix DateTimeViewTest illegal access error
Riddle Hsu [Thu, 7 Jun 2018 14:36:16 +0000 (22:36 +0800)]
Fix DateTimeViewTest illegal access error

Even package path is the same, different classpath (bootclass vs test)
will be considered as different package that does not allow package access.
Also correct to verify twice detach.

Bug: 78506836
Test: atest FrameworksCoreTests:DateTimeViewTest
Change-Id: If60fe89049f5e4b8366c6e1e4d4e2d7e38a57b7c

6 years agoMerge "Smoother wake-up animation" into pi-dev am: f910fdb1da
Lucas Dupin [Thu, 14 Jun 2018 04:36:47 +0000 (21:36 -0700)]
Merge "Smoother wake-up animation" into pi-dev am: f910fdb1da
am: e5c34648c6

Change-Id: If6691910c0f7ca80329ebd6c89530380e30a92a0

6 years ago[automerger] Merge "Smoother wake-up animation" into pi-dev am: f910fdb1da am: 62f380c409
Android Build Merger (Role) [Thu, 14 Jun 2018 04:30:32 +0000 (04:30 +0000)]
[automerger] Merge "Smoother wake-up animation" into pi-dev am: f910fdb1da am: 62f380c409

Change-Id: Ifa386f9fe4bf2053fb0f8eba5e83a935330a13de

6 years agoMerge "Smoother wake-up animation" into pi-dev
Lucas Dupin [Thu, 14 Jun 2018 04:29:10 +0000 (21:29 -0700)]
Merge "Smoother wake-up animation" into pi-dev
am: f910fdb1da

Change-Id: Ia0e6618b47a0daea89e4e17a1b3565ed9c7439c7

6 years agoMerge "Smoother wake-up animation" into pi-dev
Lucas Dupin [Thu, 14 Jun 2018 04:29:09 +0000 (21:29 -0700)]
Merge "Smoother wake-up animation" into pi-dev
am: f910fdb1da

Change-Id: I47833b22c573b67978cb327e8a5b73756618ac0c

6 years agoMerge "Smoother wake-up animation" into pi-dev
TreeHugger Robot [Thu, 14 Jun 2018 04:18:20 +0000 (04:18 +0000)]
Merge "Smoother wake-up animation" into pi-dev

6 years agoSmoother wake-up animation
Lucas Dupin [Tue, 12 Jun 2018 22:05:28 +0000 (15:05 -0700)]
Smoother wake-up animation

Removed overlapping interpolators and made the "screen off" animation
slower when more than 1 notifications are visible.

Fixes: 110081253
Bug: 109809484
Test: visual
Change-Id: I355ac94d4e6a880f37ce1d68c15c693b6f09f7f8

6 years agoMerge "Config to enable/disable AOD via overlay" into pi-dev am: b784e6f7bc
Lucas Dupin [Thu, 14 Jun 2018 01:41:46 +0000 (18:41 -0700)]
Merge "Config to enable/disable AOD via overlay" into pi-dev am: b784e6f7bc
am: 89cdaab2ab

Change-Id: Iaf6cf6e0c493bb878f9219e2112dea8f90639d7c

6 years ago[automerger] Merge "Config to enable/disable AOD via overlay" into pi-dev am: b784e6f...
Android Build Merger (Role) [Thu, 14 Jun 2018 01:31:22 +0000 (01:31 +0000)]
[automerger] Merge "Config to enable/disable AOD via overlay" into pi-dev am: b784e6f7bc am: dbaa859020

Change-Id: I28f94afdf78fd73fb32963106ba0ab36d6f30cdd

6 years agoMerge "Config to enable/disable AOD via overlay" into pi-dev
Lucas Dupin [Thu, 14 Jun 2018 01:30:25 +0000 (18:30 -0700)]
Merge "Config to enable/disable AOD via overlay" into pi-dev
am: b784e6f7bc

Change-Id: Ice4c1384b236f6d1fe2756ff44fdaec4200f4218

6 years agoMerge "Config to enable/disable AOD via overlay" into pi-dev
Lucas Dupin [Thu, 14 Jun 2018 01:30:24 +0000 (18:30 -0700)]
Merge "Config to enable/disable AOD via overlay" into pi-dev
am: b784e6f7bc

Change-Id: I7e6d629b9ca6e87a48c332dab470771c4564985d

6 years agoMerge "Config to enable/disable AOD via overlay" into pi-dev
Lucas Dupin [Thu, 14 Jun 2018 01:16:44 +0000 (01:16 +0000)]
Merge "Config to enable/disable AOD via overlay" into pi-dev

6 years ago[automerger skipped] Merge changes from topic "clean" am: 9f2362bb82 am: fdad4c89fb...
Pengquan Meng [Thu, 14 Jun 2018 00:23:07 +0000 (17:23 -0700)]
[automerger skipped] Merge changes from topic "clean" am: 9f2362bb82 am: fdad4c89fb  -s ours
am: 9358f30965  -s ours

Change-Id: Icc09020534a0499a9753c03982efc4223592d70e

6 years ago[automerger skipped] Docs: noted that setting proxy hostnames on an ApnSetting requir...
Benjamin Miller [Thu, 14 Jun 2018 00:16:26 +0000 (17:16 -0700)]
[automerger skipped] Docs: noted that setting proxy hostnames on an ApnSetting requires an internet connection for DNS. am: ce3d429832  -s ours am: 8efa35360f  -s ours
am: ad6bf64742  -s ours

Change-Id: I232623a4871585963763580094ac8464ac48b701

6 years agoMerge "Avoid showing bouncer when in a launch transition" into pi-dev am: a102591e13
Lucas Dupin [Wed, 13 Jun 2018 23:56:25 +0000 (16:56 -0700)]
Merge "Avoid showing bouncer when in a launch transition" into pi-dev am: a102591e13
am: 89e7eed953

Change-Id: I5f87d1fec738358eace3bb64a5e3159425fbd7af

6 years ago[automerger skipped] Merge changes from topic "clean" am: 9f2362bb82
Pengquan Meng [Wed, 13 Jun 2018 23:18:27 +0000 (16:18 -0700)]
[automerger skipped] Merge changes from topic "clean" am: 9f2362bb82
am: fdad4c89fb  -s ours

Change-Id: If0c0f3bfdc0793d07ded76a4d01fec0d439b939e

6 years ago[automerger skipped] Docs: noted that setting proxy hostnames on an ApnSetting requir...
Benjamin Miller [Wed, 13 Jun 2018 23:12:39 +0000 (16:12 -0700)]
[automerger skipped] Docs: noted that setting proxy hostnames on an ApnSetting requires an internet connection for DNS. am: ce3d429832  -s ours
am: 8efa35360f  -s ours

Change-Id: Iee13564cbfd41b291ec4eb1020ba76d141ce244b

6 years ago[automerger] Merge "Avoid showing bouncer when in a launch transition" into pi-dev...
Android Build Merger (Role) [Wed, 13 Jun 2018 23:11:09 +0000 (23:11 +0000)]
[automerger] Merge "Avoid showing bouncer when in a launch transition" into pi-dev am: a102591e13 am: 39f8dee83f

Change-Id: Ie39a5dc0b09501102c2a9e99bb70b0ea9faee1fd

6 years agoMerge "Avoid showing bouncer when in a launch transition" into pi-dev
Lucas Dupin [Wed, 13 Jun 2018 23:10:23 +0000 (16:10 -0700)]
Merge "Avoid showing bouncer when in a launch transition" into pi-dev
am: a102591e13

Change-Id: I74f40e19035a1c27f0120d93af23e64a296fbf15

6 years agoMerge "Avoid showing bouncer when in a launch transition" into pi-dev
Lucas Dupin [Wed, 13 Jun 2018 23:07:52 +0000 (16:07 -0700)]
Merge "Avoid showing bouncer when in a launch transition" into pi-dev
am: a102591e13

Change-Id: I0f3e3be4e7bbd931f8b2ae122276c707f20c153b

6 years agoMerge "Prevent NPE when profile is null"
TreeHugger Robot [Wed, 13 Jun 2018 23:03:29 +0000 (23:03 +0000)]
Merge "Prevent NPE when profile is null"

6 years agoConfig to enable/disable AOD via overlay
Lucas Dupin [Wed, 13 Jun 2018 19:54:29 +0000 (12:54 -0700)]
Config to enable/disable AOD via overlay

Bug: 109894567
Test: mp droid; fastboot -w
Change-Id: I3fda0bf486ae0c4b795ce34ba6823d8dc36a3796

6 years agoMerge changes from topic "clean"
Pengquan Meng [Wed, 13 Jun 2018 22:33:08 +0000 (15:33 -0700)]
Merge changes from topic "clean"
am: 9f2362bb82

Change-Id: I9a0554d7cacd8c02d78ad08b7d05b074720dfe2a