OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Fixes volume dialog in dark mode."
TreeHugger Robot [Thu, 18 Oct 2018 09:46:34 +0000 (09:46 +0000)]
Merge "Fixes volume dialog in dark mode."

5 years agoMerge "Fixed volume logging on sticky broadcasts"
Alastair Breeze [Thu, 18 Oct 2018 09:43:55 +0000 (09:43 +0000)]
Merge "Fixed volume logging on sticky broadcasts"

5 years agoMerge "Fix unused new stack when bring existing activity to front"
TreeHugger Robot [Thu, 18 Oct 2018 06:18:51 +0000 (06:18 +0000)]
Merge "Fix unused new stack when bring existing activity to front"

5 years agoMerge "Release SurfaceControl native resource when test finishes"
TreeHugger Robot [Thu, 18 Oct 2018 06:08:04 +0000 (06:08 +0000)]
Merge "Release SurfaceControl native resource when test finishes"

5 years agoMerge "Removed references to ActivityRecord and TaskRecord in AM (24/n)"
TreeHugger Robot [Thu, 18 Oct 2018 04:31:20 +0000 (04:31 +0000)]
Merge "Removed references to ActivityRecord and TaskRecord in AM (24/n)"

5 years agoMerge "Remove obsolete AndroidTestCase"
TreeHugger Robot [Thu, 18 Oct 2018 04:09:29 +0000 (04:09 +0000)]
Merge "Remove obsolete AndroidTestCase"

5 years agoMerge "Fix security exception when reading usb serial num"
TreeHugger Robot [Thu, 18 Oct 2018 03:36:06 +0000 (03:36 +0000)]
Merge "Fix security exception when reading usb serial num"

5 years agoMerge "Fixes crash when getting panel before setting components"
TreeHugger Robot [Thu, 18 Oct 2018 03:04:30 +0000 (03:04 +0000)]
Merge "Fixes crash when getting panel before setting components"

5 years agoMerge "Support monitor input per display (2/2)"
TreeHugger Robot [Thu, 18 Oct 2018 02:57:24 +0000 (02:57 +0000)]
Merge "Support monitor input per display (2/2)"

5 years agoRelease SurfaceControl native resource when test finishes
Tadashi G. Takaoka [Mon, 15 Oct 2018 03:59:51 +0000 (12:59 +0900)]
Release SurfaceControl native resource when test finishes

By replacing factory methods, records all SurfaceControl and
Transaction objects created while test is running. Then release native
resources of those after test finishes. This will mitigate resource
presure while running WindowManagerService tests.

Bug: 116449554
Test: atest :presubmit in frameworks/base/services/core/java/com/android/server/wm
Change-Id: Iac99f80ee995bd64a82b965e4ea8a3135b0a5bd5

5 years agoRemove obsolete AndroidTestCase
Tadashi G. Takaoka [Fri, 12 Oct 2018 08:11:16 +0000 (17:11 +0900)]
Remove obsolete AndroidTestCase

This CL also utilize google truth assertion helper.

Test: atest FramewroksServiceTests:ActivityManagerTest
Test: atest FramewroksServiceTests:TaskPersisterTest
Test: atest FramewroksServiceTests:UserControllerTest
Bug: 116449554
Change-Id: I95c3cc2c56be2ce53b95c030edb6370634546b10

5 years agoMerge "MediaPlayer2: pass positions to native"
TreeHugger Robot [Thu, 18 Oct 2018 01:02:43 +0000 (01:02 +0000)]
Merge "MediaPlayer2: pass positions to native"

5 years agoMerge "Add dwkang to OWNERS"
TreeHugger Robot [Thu, 18 Oct 2018 01:02:33 +0000 (01:02 +0000)]
Merge "Add dwkang to OWNERS"

5 years agoMerge "Skip calculating launch params if there is no root activity."
TreeHugger Robot [Thu, 18 Oct 2018 01:00:40 +0000 (01:00 +0000)]
Merge "Skip calculating launch params if there is no root activity."

5 years agoMerge "Removed unused variable (ViewState.mSession)."
TreeHugger Robot [Thu, 18 Oct 2018 00:34:05 +0000 (00:34 +0000)]
Merge "Removed unused variable (ViewState.mSession)."

5 years agoMerge "Remove IInputMethodManager#finishInput(), which is NOP"
TreeHugger Robot [Thu, 18 Oct 2018 00:02:01 +0000 (00:02 +0000)]
Merge "Remove IInputMethodManager#finishInput(), which is NOP"

5 years agoMerge "Fix incorrect proto apk loading"
Ryan Mitchell [Wed, 17 Oct 2018 23:53:04 +0000 (23:53 +0000)]
Merge "Fix incorrect proto apk loading"

5 years agoFix security exception when reading usb serial num
Pavel Maltsev [Wed, 17 Oct 2018 23:38:39 +0000 (16:38 -0700)]
Fix security exception when reading usb serial num

Bug: 117881221
Test: run projection on mojave board
Change-Id: Ife4c5e18b6d8f7c20b363f40119dfefd8ab008ef

5 years agoMerge "Moved appNotResponding handling into ProcessRecord (23/n)"
Wale Ogunwale [Wed, 17 Oct 2018 23:35:32 +0000 (23:35 +0000)]
Merge "Moved appNotResponding handling into ProcessRecord (23/n)"

5 years agoMerge "Removing douple lookup when calling startActivityAsUser"
TreeHugger Robot [Wed, 17 Oct 2018 22:50:27 +0000 (22:50 +0000)]
Merge "Removing douple lookup when calling startActivityAsUser"

5 years agoMerge "Revert "Revert "refactor radioPowerstate"""
Chen Xu [Wed, 17 Oct 2018 22:45:38 +0000 (22:45 +0000)]
Merge "Revert "Revert "refactor radioPowerstate"""

5 years agoRevert "Revert "refactor radioPowerstate""
Chen Xu [Wed, 17 Oct 2018 17:53:47 +0000 (17:53 +0000)]
Revert "Revert "refactor radioPowerstate""

This reverts commit 05188f3555723bd26522b410109bb1de1b7fbb8c.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Id170063bfdb1e3325f67e8680231ab4deda7d65d

Bug: 117349311

5 years agoMerge "Add a new config table to the settings provider for remotely configured parame...
Matt Pape [Wed, 17 Oct 2018 22:02:14 +0000 (22:02 +0000)]
Merge "Add a new config table to the settings provider for remotely configured parameters. This includes the minimum number of changes necessary to make the table work, but no API surface yet."

5 years agoAdd dwkang to OWNERS
Dongwon Kang [Wed, 17 Oct 2018 21:04:30 +0000 (14:04 -0700)]
Add dwkang to OWNERS

Test: n/a

Change-Id: I98245fe411295b6112cdc73a13baf2ac70edeb9d

5 years agoMediaPlayer2: pass positions to native
Wei Jia [Wed, 17 Oct 2018 01:01:36 +0000 (18:01 -0700)]
MediaPlayer2: pass positions to native

Test: cts
Bug: 112549021
Change-Id: I7576611f94f6538bbb96b95d44cb1d9624c77710

5 years agoRemoved unused variable (ViewState.mSession).
Felipe Leme [Wed, 17 Oct 2018 21:17:43 +0000 (14:17 -0700)]
Removed unused variable (ViewState.mSession).

Bug: no, thanks!
Test: atest CtsAutoFillServiceTestCases

Change-Id: I8810f24e79da5f0d2bc65756280d604cb4f7494c

5 years agoFixes volume dialog in dark mode.
Gus Prevas [Wed, 17 Oct 2018 20:18:43 +0000 (16:18 -0400)]
Fixes volume dialog in dark mode.

This change removes the caching of color values in VolumeDialogImpl such
that the dialog will change its colors correctly when dark mode is
toggled.

Change-Id: I241edc284a33f60e60ec5e54f2e4d6bb0a0eadfd
Fixes: 116860768
Test: manually

5 years agoRemoving douple lookup when calling startActivityAsUser
Sunny Goyal [Tue, 16 Oct 2018 22:32:41 +0000 (15:32 -0700)]
Removing douple lookup when calling startActivityAsUser

Test: atest \
      com.android.cts.devicepolicy.LauncherAppsMultiUserTest \
      com.android.cts.devicepolicy.LauncherAppsProfileTest \
      com.android.cts.devicepolicy.LauncherAppsSingleUserTest
Bug: 117888136

Change-Id: Ia25058b3bb2fb6cf57eedc5eecae4cb99275b4e7

5 years agoMerge "Removed AMS.mStackSuperivor (22/n)"
TreeHugger Robot [Wed, 17 Oct 2018 20:08:41 +0000 (20:08 +0000)]
Merge "Removed AMS.mStackSuperivor (22/n)"

5 years agoMerge changes I3070e95f,Ia500dea6
Selim Cinek [Wed, 17 Oct 2018 19:38:03 +0000 (19:38 +0000)]
Merge changes I3070e95f,Ia500dea6

* changes:
  Fixed groups with min priority children
  Added logging to debug the notification view hierarchy

5 years agoMerge "Apply requirements when enabling provider"
Yu-Han Yang [Wed, 17 Oct 2018 18:38:08 +0000 (18:38 +0000)]
Merge "Apply requirements when enabling provider"

5 years agoSkip calculating launch params if there is no root activity.
Garfield Tan [Wed, 17 Oct 2018 01:07:27 +0000 (18:07 -0700)]
Skip calculating launch params if there is no root activity.

Bug: 117810579
Test: atest FrameworksServicesTests:TaskLaunchParamsModifierTests
Change-Id: Ic4c506ab3221cf8082b15b714c1cd82b26e969d0

5 years agoMerge "Add RingtoneManager.openDefaultRingtoneUri()"
Dongwon Kang [Wed, 17 Oct 2018 17:40:33 +0000 (17:40 +0000)]
Merge "Add RingtoneManager.openDefaultRingtoneUri()"

5 years agoMerge "Guarded against ArrayOutOfBounds"
Fabian Kozynski [Wed, 17 Oct 2018 17:20:43 +0000 (17:20 +0000)]
Merge "Guarded against ArrayOutOfBounds"

5 years agoMerge "Update CoreSettingsObserver internal state correctly."
Sudheer Shanka [Wed, 17 Oct 2018 17:03:21 +0000 (17:03 +0000)]
Merge "Update CoreSettingsObserver internal state correctly."

5 years agoMerge "Enterprise Policy for Private DNS Setting"
Eran Messeri [Wed, 17 Oct 2018 16:59:57 +0000 (16:59 +0000)]
Merge "Enterprise Policy for Private DNS Setting"

5 years agoAdd a new config table to the settings provider for remotely configured parameters...
Matt Pape [Wed, 17 Oct 2018 16:58:28 +0000 (09:58 -0700)]
Add a new config table to the settings provider for remotely configured parameters. This includes the minimum number of changes necessary to make the table work, but no API surface yet.

Test: local tests

bug: 113100523

Change-Id: I47f89f5e6657a2a347e62cb40924bba4547f7dd9

5 years ago[automerger skipped] DO NOT MERGE resolve merge conflicts of c6a1cfda93aac7fc004da73e...
Fabian Kozynski [Wed, 17 Oct 2018 16:51:11 +0000 (09:51 -0700)]
[automerger skipped] DO NOT MERGE resolve merge conflicts of c6a1cfda93aac7fc004da73e3e5921b838e931a7 to pi-dev-plus-aosp
am: bae081d202  -s ours

Change-Id: I604ad31279cb133446327890f516becb3774714d

5 years agoRemoved references to ActivityRecord and TaskRecord in AM (24/n)
Wale Ogunwale [Tue, 16 Oct 2018 22:13:37 +0000 (15:13 -0700)]
Removed references to ActivityRecord and TaskRecord in AM (24/n)

Once ActivityRecord and TaskRecord are moved to the WM package they
can no longer be accessed by classes in the AM package. This CL fixes
up some of the access before the move.
- Moved activity relaunch reasons to ActivityTaskManagerService and made
them public to allow access from the AM side in the future.
- Use task id to reference task in AppErrorDialog and AppErrors vs. the
TaskRecord object.
- Also, removed out-of-date code that tries to re-start a task if it
can't start in through recents. The reent start also looks for the task
in the stacks now so if the task exists it will be started through that
channel and we no longer need this fallback.

Test: Existing test pass
Bug: 80414790
Change-Id: I8df76a4f107fa526d726d7522eb5fcee6958b45d

5 years agoMoved appNotResponding handling into ProcessRecord (23/n)
Wale Ogunwale [Mon, 15 Oct 2018 17:41:05 +0000 (10:41 -0700)]
Moved appNotResponding handling into ProcessRecord (23/n)

Allows for better seperation of AMS and ATMS, also the method mostly
accessed internal variables in ProcessRecord so it make sense for it
to be in that class.
Also, move inputDispatchingTimedOut back to AM side because it involves
lots of process stuff.

Test: Existing test pass
Bug: 80414790
Change-Id: I45b98dc550ff121e9df4bf004b2667af2426b79d

5 years agoRemoved AMS.mStackSuperivor (22/n)
Wale Ogunwale [Sat, 13 Oct 2018 15:29:31 +0000 (08:29 -0700)]
Removed AMS.mStackSuperivor (22/n)

The stack supervisor object should only be accessed through ATMS.

Test: Existing test pass
Bug: 80414790
Change-Id: I0648a95161a6a5c4ad714264d217c7f5e55852d7

5 years agoMerge "Snapshot memory state for some native processes"
TreeHugger Robot [Wed, 17 Oct 2018 16:30:55 +0000 (16:30 +0000)]
Merge "Snapshot memory state for some native processes"

5 years agoFix incorrect proto apk loading
Ryan Mitchell [Wed, 17 Oct 2018 16:30:01 +0000 (09:30 -0700)]
Fix incorrect proto apk loading

If a proto apk is missing resources.pb, AAPT2 would fail to detrmine the
apk format because of an incorrect check. This fixes that check and
removes the checking fuction from the LoadedApk header.

Bug: 117820549
Test: removed resources.pb from proto apks and confirmed that loading in
apks still works

Change-Id: If3628a821e7b59c7dfcbefb502b6080be083cec1

5 years agoMerge "Move ViewGroup#mChildren[Count] to dark-grey list"
Mihai Popa [Wed, 17 Oct 2018 15:21:31 +0000 (15:21 +0000)]
Merge "Move ViewGroup#mChildren[Count] to dark-grey list"

5 years agoDO NOT MERGE resolve merge conflicts of c6a1cfda93aac7fc004da73e3e5921b838e931a7...
Fabian Kozynski [Wed, 17 Oct 2018 14:28:45 +0000 (10:28 -0400)]
DO NOT MERGE resolve merge conflicts of c6a1cfda93aac7fc004da73e3e5921b838e931a7 to pi-dev-plus-aosp

Change-Id: I1a18690e85f66ff2a25329f9a050cb038fc0bcfb
Bug: None
Test: I solemnly swear I tested this conflict resolution.

5 years agoGuarded against ArrayOutOfBounds
Fabian Kozynski [Mon, 15 Oct 2018 18:25:18 +0000 (14:25 -0400)]
Guarded against ArrayOutOfBounds

In some monkey tests, getAdapterPosition returns -1 (for example, if the
ViewHolder is not bound). In this case, we shouldn't proceed with the
moving operation.

Test: manual
Change-Id: I1eccc2c60136ddf5cc0175d88a3fddbe1d2a5a97
Fixes: 117769352
Fixes: 116871219

5 years agoMerge "DO NOT MERGE Fixes clipping on PagedTileLayout" into pi-dev
Fabian Kozynski [Wed, 17 Oct 2018 13:21:15 +0000 (13:21 +0000)]
Merge "DO NOT MERGE Fixes clipping on PagedTileLayout" into pi-dev

5 years agoFixed volume logging on sticky broadcasts
Alastair Breeze [Tue, 16 Oct 2018 18:17:07 +0000 (19:17 +0100)]
Fixed volume logging on sticky broadcasts

Ringer mode changed is a sticky broadcast and is currently being logged on broadcast attach for normal and vibrate state (not silent). This change instead uses the sticky broadcast to initialise the current state rather than logging.

Test: manual
Change-Id: I09e91ec4b71fbbbfae71d188d9c858675a7e774d
Fixes: 117315582

5 years agoFix unused new stack when bring existing activity to front
Riddle Hsu [Mon, 15 Oct 2018 17:05:16 +0000 (01:05 +0800)]
Fix unused new stack when bring existing activity to front

If a non-top reusable activity is found when starting activity on
secondary display, the condition in
ActivityStarter.setTargetStackAndMoveToFrontIfNeeded will get launch
stack by the reusable activity. But it actually creates a new stack
with the target display which won't be used and seems as a leakage.
That may also disturb focused stack checking when it is on the top of
display (e.g. other tasks are moved to back).

This change gives the preference to use the stack of candidate task
if it already exists on target display. Then it will have the same
behavior as default display that reuses the existing stack.

Bug: 117799939
Test: atest ActivityStarterTests#testBringTaskToFrontOnSecondaryDisplay
Change-Id: I65213386d9802f39ac7ba0d377a06711913c672d

5 years agoMerge "Do not move home task if Recent is not the previous top"
Louis Chang [Wed, 17 Oct 2018 12:14:30 +0000 (12:14 +0000)]
Merge "Do not move home task if Recent is not the previous top"

5 years agoMerge "Revert "refactor radioPowerstate""
Przemyslaw Szczepaniak [Wed, 17 Oct 2018 11:04:14 +0000 (11:04 +0000)]
Merge "Revert "refactor radioPowerstate""

5 years agoRevert "refactor radioPowerstate"
Przemyslaw Szczepaniak [Wed, 17 Oct 2018 11:00:01 +0000 (11:00 +0000)]
Revert "refactor radioPowerstate"

This reverts commit 700c8a0389dc45e729e3797433d03d875556325a.

Reason for revert: Broken master build

Change-Id: Ia0171ff9250228cc03685e7f03da8dd9e374826f

5 years agoSnapshot memory state for some native processes
Rafal Slawik [Mon, 15 Oct 2018 13:53:07 +0000 (14:53 +0100)]
Snapshot memory state for some native processes

Which processes to snapshot is controlled by a whitelist.

Benchmark for taking the snapshot:
https://docs.google.com/spreadsheets/d/1vG9ku8Uu8104CmKbO4cNeEKVeeByvHY--p0_dK1GAdA/edit?usp=sharing
(The difference between the first two sheets.)
~20ms constant cost plus ~4ms per process.

Bug: 115968899
Test: manually verified that statsd is included in the report
Change-Id: Iba680531c563ba28fae849e44044313866b2103f

5 years agoSupport monitor input per display (2/2)
Arthur Hung [Thu, 13 Sep 2018 10:41:56 +0000 (18:41 +0800)]
Support monitor input per display (2/2)

To support system gesture per display,
monitor Input should be separated by display.
So each DisplayContent would contain its own
PointerEventDispatcher to detect system gesture.

Bug: b/115602714
Test: atest DisplayContentTests ActivityManagerMultiDisplayTests
Test: atest inputflinger_tests
Change-Id: I7889128af82f0d61dbdc89a84d6ccf0b337e38b4

5 years agoMerge "Private DNS: Add user restriction"
TreeHugger Robot [Wed, 17 Oct 2018 08:36:56 +0000 (08:36 +0000)]
Merge "Private DNS: Add user restriction"

5 years agoRemove IInputMethodManager#finishInput(), which is NOP
Yohei Yukawa [Wed, 17 Oct 2018 08:14:34 +0000 (16:14 +0800)]
Remove IInputMethodManager#finishInput(), which is NOP

Currently InputMethodManagerService#finishInput() does nothing. Until
we fully understand what is the right approach on how and when
InputMethodService#finishInput() (Bug 9216494), let's remove this
unnecessary IPC from the IME client to InputMethodManagerService.

Bug: 9216494
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodManagerTest
Change-Id: I614050d20f4a7d9611dc0502e55e6ca3458a836e

5 years agoMerge "Move displayId into MotionEvent"
TreeHugger Robot [Wed, 17 Oct 2018 07:34:36 +0000 (07:34 +0000)]
Merge "Move displayId into MotionEvent"

5 years agoMerge "Change the feature flag for Hearing Aid behavior"
TreeHugger Robot [Wed, 17 Oct 2018 04:57:55 +0000 (04:57 +0000)]
Merge "Change the feature flag for Hearing Aid behavior"

5 years agoMerge "Polish InputMethodManagerService#startInputUncheckedLocked()"
TreeHugger Robot [Wed, 17 Oct 2018 04:24:25 +0000 (04:24 +0000)]
Merge "Polish InputMethodManagerService#startInputUncheckedLocked()"

5 years agoMerge "iorap: Remove blank newline in TEST_MAPPING" am: 22fe21df93 am: cbe655e781
Igor Murashkin [Wed, 17 Oct 2018 04:12:30 +0000 (21:12 -0700)]
Merge "iorap: Remove blank newline in TEST_MAPPING" am: 22fe21df93 am: cbe655e781
am: d40cb164d5

Change-Id: I6637b6233ce90ec19437465050394232731540bb

5 years agoMerge "iorap: Remove blank newline in TEST_MAPPING" am: 22fe21df93
Igor Murashkin [Wed, 17 Oct 2018 03:54:27 +0000 (20:54 -0700)]
Merge "iorap: Remove blank newline in TEST_MAPPING" am: 22fe21df93
am: cbe655e781

Change-Id: If091c4a00b32263691f4f0f28be6c58e53917715

5 years agoMerge "iorap: Remove blank newline in TEST_MAPPING"
Igor Murashkin [Wed, 17 Oct 2018 03:45:53 +0000 (20:45 -0700)]
Merge "iorap: Remove blank newline in TEST_MAPPING"
am: 22fe21df93

Change-Id: Id1b72f79c242f827ff04acd0deff2c4c9d4fe65d

5 years agoDo not move home task if Recent is not the previous top
Louis Chang [Thu, 11 Oct 2018 01:22:14 +0000 (09:22 +0800)]
Do not move home task if Recent is not the previous top

We shouldn't move the home task to front if Recents was
not the previous top activity on the display where the
task lands.

Bug: 111363427
Test: atest ActivityStackSupervisorTests

Change-Id: I39b51d5eec897bf83b2380dd8b7947c13cc7dd57

5 years agoMerge "Unextract InputMethodManagerService#startInputInnerLocked()"
TreeHugger Robot [Wed, 17 Oct 2018 02:37:14 +0000 (02:37 +0000)]
Merge "Unextract InputMethodManagerService#startInputInnerLocked()"

5 years agoPolish InputMethodManagerService#startInputUncheckedLocked()
Yohei Yukawa [Wed, 17 Oct 2018 02:33:48 +0000 (10:33 +0800)]
Polish InputMethodManagerService#startInputUncheckedLocked()

This CL aims to simplify logic recently added to IMMS to support
multiple displays (Bug 111364446).

With my previous CLs [1][2], now we can simply review what
InputMethodManagerService#startInputUncheckedLocked() is actually
doing.  Things we found and this CL does address are:

 1. Redundant if conditions against null IMMS#mCurMethodId.
 2. Timing to check IMMS#mSystemReady.
 3. Timing to check display id access
 4. Timing to update IMMS#mCurTokenDisplayId.
 5. Unnecessary complexity due to IMMS#mCurFocusedWindowClient, which
    is now guaranteed to equal to |cs| in that method.

Although this CL is not a mechanical safe refactroing, the new
behavior should be more efficient, solid and easier to maintain.

 [1]: I52f6c4cd1e02be3a59e9a87e33b0a44f4ba8d80b
      f91a2b102b4bd28036e7f31f5888f6f4629d9d70
 [2]: I71e259fa447dd06ff02b9ef8c958dc70bbce86ea
      caaa1d3d2d3248dcc1ad1ea4c65d5a8949fb4219

Bug: 117730713
Test: atest ActivityManagerMultiDisplayTests
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodManagerTest
Change-Id: Ic9232d9c3ec9802101df5f0bc511c55465b5bbe6

5 years agoUnextract InputMethodManagerService#startInputInnerLocked()
Yohei Yukawa [Wed, 17 Oct 2018 02:33:13 +0000 (10:33 +0800)]
Unextract InputMethodManagerService#startInputInnerLocked()

With my previous CL [1], IMMS#startInputInnerLocked() is called only
from IMMS#startInputUncheckedLocked().  By unextracting
IMMS#startInputInnerLocked() again, it would be much easier for us to
understand what IMMS#startInputUncheckedLocked() is actually doing.

To decouple actual behavior change from cosmetic code refactorings,
this CL does nothing except for merging IMMS#startInputInnerLocked()
into IMMS#startInputUncheckedLocked().

There should be no behavior change.  Non trivial behavior
simplifications will be done in subsequent CLs.

 [1]: I52f6c4cd1e02be3a59e9a87e33b0a44f4ba8d80b
      f91a2b102b4bd28036e7f31f5888f6f4629d9d70

Bug: 117730713
Test: atest ActivityManagerMultiDisplayTests
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodManagerTest
Change-Id: I71e259fa447dd06ff02b9ef8c958dc70bbce86ea

5 years agoMerge "MediaPlayer2: remove hidden api, setMetadataFilter and getMetadata"
Dongwon Kang [Wed, 17 Oct 2018 02:28:15 +0000 (02:28 +0000)]
Merge "MediaPlayer2: remove hidden api, setMetadataFilter and getMetadata"

5 years agoMerge "iorap: Remove blank newline in TEST_MAPPING"
Treehugger Robot [Wed, 17 Oct 2018 01:50:35 +0000 (01:50 +0000)]
Merge "iorap: Remove blank newline in TEST_MAPPING"

5 years agoMerge "audio: apply volume upon hearing aid device connection" into pi-dev am: 9872b257cd
Eric Laurent [Wed, 17 Oct 2018 01:31:56 +0000 (18:31 -0700)]
Merge "audio: apply volume upon hearing aid device connection" into pi-dev am: 9872b257cd
am: cf7cca0a43

Change-Id: I16d10f8ad3b10c934028cc35ed0fba57de0df3fa

5 years ago[automerger skipped] Merge "Make SubscriptionManager.getSlotIndex public" am: 719310c...
Shuo Qian [Wed, 17 Oct 2018 01:22:43 +0000 (18:22 -0700)]
[automerger skipped] Merge "Make SubscriptionManager.getSlotIndex public" am: 719310cd2c am: a781751b32
am: 59c8b87ad4  -s ours

Change-Id: I8db95a7b701c71caffc78f03ca618036c84cdf5f

5 years agoMerge "audio: apply volume upon hearing aid device connection" into pi-dev
Eric Laurent [Wed, 17 Oct 2018 01:17:20 +0000 (18:17 -0700)]
Merge "audio: apply volume upon hearing aid device connection" into pi-dev
am: 9872b257cd

Change-Id: Ibb0a31b7e4750e904568d328384983979cf774a0

5 years agoMerge "Make SubscriptionManager.getSlotIndex public" am: 719310cd2c
Shuo Qian [Wed, 17 Oct 2018 01:06:09 +0000 (18:06 -0700)]
Merge "Make SubscriptionManager.getSlotIndex public" am: 719310cd2c
am: a781751b32

Change-Id: Ib7d3dd0f7ce06edf736c493cde6778365c366ae2

5 years agoMerge "Stop using DIST_DIR directly, use dist-for-goals instead" am: a8f2601d28 am...
Dan Willemsen [Wed, 17 Oct 2018 01:01:26 +0000 (18:01 -0700)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead" am: a8f2601d28 am: 9b767e275e
am: fa5b204029

Change-Id: Ic052f5d1de317c2f271f5a2df83c733c79978679

5 years agoMerge "audio: apply volume upon hearing aid device connection" into pi-dev
TreeHugger Robot [Wed, 17 Oct 2018 00:56:19 +0000 (00:56 +0000)]
Merge "audio: apply volume upon hearing aid device connection" into pi-dev

5 years agoMerge "Make SubscriptionManager.getSlotIndex public"
Shuo Qian [Wed, 17 Oct 2018 00:54:52 +0000 (17:54 -0700)]
Merge "Make SubscriptionManager.getSlotIndex public"
am: 719310cd2c

Change-Id: Ia942ecfefef8f26ff0b1f140c0692c81aebd11fa

5 years agoMerge "Stop using DIST_DIR directly, use dist-for-goals instead" am: a8f2601d28
Dan Willemsen [Wed, 17 Oct 2018 00:50:55 +0000 (17:50 -0700)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead" am: a8f2601d28
am: 9b767e275e

Change-Id: I64a04f0c7b9220a8de872526ba37590b71fba458

5 years agoMerge "Stop using DIST_DIR directly, use dist-for-goals instead"
Dan Willemsen [Wed, 17 Oct 2018 00:43:35 +0000 (17:43 -0700)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead"
am: a8f2601d28

Change-Id: Iabb2ddb086dda71887c3d50152db50f813c9556a

5 years ago[automerger skipped] Merge "audioservice: fix a2dp connection race condition" am...
Eric Laurent [Wed, 17 Oct 2018 00:38:18 +0000 (17:38 -0700)]
[automerger skipped] Merge "audioservice: fix a2dp connection race condition" am: e568805209  -s ours am: 6466847321  -s ours
am: d32dca9663  -s ours

Change-Id: I257b73130b71e0223a1c81d217c758a2a7bc1c96

5 years agoMerge "Make SubscriptionManager.getSlotIndex public"
Shuo Qian [Wed, 17 Oct 2018 00:37:35 +0000 (00:37 +0000)]
Merge "Make SubscriptionManager.getSlotIndex public"

5 years agoFixed groups with min priority children
Selim Cinek [Wed, 17 Oct 2018 00:30:05 +0000 (17:30 -0700)]
Fixed groups with min priority children

Previously  min priority  notifications would be
empty on the lockscreen. We're now showing them
if they are part of a group.

Bug: 117349034
Test: add group with min priority children on lockscreen
Change-Id: I3070e95f63c3b2cf227fbefdb53e3a3d09927ae9

5 years agoMerge "Set EXTRA_USER instead of EXTRA_USER_ID for ACTION_SHOW_ADMIN_SUPPORT_DETAILS"
TreeHugger Robot [Wed, 17 Oct 2018 00:26:37 +0000 (00:26 +0000)]
Merge "Set EXTRA_USER instead of EXTRA_USER_ID for ACTION_SHOW_ADMIN_SUPPORT_DETAILS"

5 years agoMerge "Clean-up removed RecoveryController API"
TreeHugger Robot [Wed, 17 Oct 2018 00:22:02 +0000 (00:22 +0000)]
Merge "Clean-up removed RecoveryController API"

5 years ago[automerger skipped] Merge "audioservice: fix a2dp connection race condition" am...
Eric Laurent [Wed, 17 Oct 2018 00:21:43 +0000 (17:21 -0700)]
[automerger skipped] Merge "audioservice: fix a2dp connection race condition" am: e568805209  -s ours
am: 6466847321  -s ours

Change-Id: I583507cfc59c088fab3efa6f71998eb96169c903

5 years agoMerge "[GraphicsEnvironment] Add whitelist support."
Yiwei Zhang [Wed, 17 Oct 2018 00:18:52 +0000 (00:18 +0000)]
Merge "[GraphicsEnvironment] Add whitelist support."

5 years agoMerge "Stop using DIST_DIR directly, use dist-for-goals instead"
Treehugger Robot [Wed, 17 Oct 2018 00:18:07 +0000 (00:18 +0000)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead"

5 years agoMerge "refactor radioPowerstate"
Chen Xu [Wed, 17 Oct 2018 00:14:45 +0000 (00:14 +0000)]
Merge "refactor radioPowerstate"

5 years ago[automerger skipped] Merge "audioservice: fix a2dp connection race condition"
Eric Laurent [Wed, 17 Oct 2018 00:11:33 +0000 (17:11 -0700)]
[automerger skipped] Merge "audioservice: fix a2dp connection race condition"
am: e568805209  -s ours

Change-Id: Ifbb5cc5a8422f73e2f2eb2236d3f2865e4553986

5 years agoMerge "audioservice: fix a2dp connection race condition"
Treehugger Robot [Tue, 16 Oct 2018 23:49:35 +0000 (23:49 +0000)]
Merge "audioservice: fix a2dp connection race condition"

5 years agoMerge "Do not bind IME until an IME client is recognized"
TreeHugger Robot [Tue, 16 Oct 2018 23:45:07 +0000 (23:45 +0000)]
Merge "Do not bind IME until an IME client is recognized"

5 years agoMerge "Minor Autofill improvements:"
TreeHugger Robot [Tue, 16 Oct 2018 23:42:13 +0000 (23:42 +0000)]
Merge "Minor Autofill improvements:"

5 years agoMerge "iorap: Add presubmit/postsubmit support" am: 7cbabff3f0 am: ff3a8bf0f7
Igor Murashkin [Tue, 16 Oct 2018 23:22:28 +0000 (16:22 -0700)]
Merge "iorap: Add presubmit/postsubmit support" am: 7cbabff3f0 am: ff3a8bf0f7
am: eaef91f7aa

Change-Id: Ifa811049b34a90ea607e8d18d423890217dd4b0c

5 years agoMerge "Make SubscriptionManager.getSlotIndex public"
TreeHugger Robot [Tue, 16 Oct 2018 23:07:29 +0000 (23:07 +0000)]
Merge "Make SubscriptionManager.getSlotIndex public"

5 years agoMerge "iorap: Add presubmit/postsubmit support" am: 7cbabff3f0
Igor Murashkin [Tue, 16 Oct 2018 23:03:48 +0000 (16:03 -0700)]
Merge "iorap: Add presubmit/postsubmit support" am: 7cbabff3f0
am: ff3a8bf0f7

Change-Id: Iee75da6b590be3d04c591acce53389ed420190b1

5 years agoMerge "Stop waiting when elapsed time is equal to or greater than the timeout, rather...
Matt Pape [Tue, 16 Oct 2018 23:01:22 +0000 (23:01 +0000)]
Merge "Stop waiting when elapsed time is equal to or greater than the timeout, rather than strictly greater than. This avoids a rare problem where the loop manages to complete at exactly the timeout time and then makes a call to wait(0), which waits indefinitely until another thread notifies it instead of timing out after 0 ms."

5 years agoMerge "iorap: Add presubmit/postsubmit support"
Igor Murashkin [Tue, 16 Oct 2018 22:51:19 +0000 (15:51 -0700)]
Merge "iorap: Add presubmit/postsubmit support"
am: 7cbabff3f0

Change-Id: I5f5afb05cde2894fb62728e67943a3dc38f26594

5 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
(cherry picked from commit 3c4636c7127cd34728050d051ef3bd62829e877d)
Merged-In: Ib81b3805f945f7206b1a60de74e9bbeeef89bdd0

5 years agoApply requirements when enabling provider
Yu-Han Yang [Wed, 3 Oct 2018 04:29:20 +0000 (21:29 -0700)]
Apply requirements when enabling provider

Test: Manually tested on device
Bug: 113087608
Change-Id: I508d3495aca38a45637b2d7d53f3fcf16a3a90c1
Fixes: 113087608

5 years agoMerge "iorap: Add presubmit/postsubmit support"
Treehugger Robot [Tue, 16 Oct 2018 22:21:33 +0000 (22:21 +0000)]
Merge "iorap: Add presubmit/postsubmit support"

5 years agoiorap: Remove blank newline in TEST_MAPPING
Igor Murashkin [Tue, 16 Oct 2018 22:15:21 +0000 (15:15 -0700)]
iorap: Remove blank newline in TEST_MAPPING

Change-Id: I378e86327951daa05512efd2ac491d27f9995ddd

5 years agoAdded logging to debug the notification view hierarchy
Selim Cinek [Tue, 16 Oct 2018 00:37:21 +0000 (17:37 -0700)]
Added logging to debug the notification view hierarchy

Adding more logging to the systemUI tree to get useful
state to debug visual issues.

Test: grab bugreport
Bug: 80525283
Change-Id: Ia500dea632bc66f08c1ce350914ead033aba7383