OSDN Git Service
TreeHugger Robot [Thu, 18 Oct 2018 01:02:43 +0000 (01:02 +0000)]
Merge "MediaPlayer2: pass positions to native"
TreeHugger Robot [Thu, 18 Oct 2018 01:02:33 +0000 (01:02 +0000)]
Merge "Add dwkang to OWNERS"
TreeHugger Robot [Thu, 18 Oct 2018 01:00:40 +0000 (01:00 +0000)]
Merge "Skip calculating launch params if there is no root activity."
TreeHugger Robot [Thu, 18 Oct 2018 00:34:05 +0000 (00:34 +0000)]
Merge "Removed unused variable (ViewState.mSession)."
TreeHugger Robot [Thu, 18 Oct 2018 00:02:01 +0000 (00:02 +0000)]
Merge "Remove IInputMethodManager#finishInput(), which is NOP"
Ryan Mitchell [Wed, 17 Oct 2018 23:53:04 +0000 (23:53 +0000)]
Merge "Fix incorrect proto apk loading"
Wale Ogunwale [Wed, 17 Oct 2018 23:35:32 +0000 (23:35 +0000)]
Merge "Moved appNotResponding handling into ProcessRecord (23/n)"
TreeHugger Robot [Wed, 17 Oct 2018 22:50:27 +0000 (22:50 +0000)]
Merge "Removing douple lookup when calling startActivityAsUser"
Chen Xu [Wed, 17 Oct 2018 22:45:38 +0000 (22:45 +0000)]
Merge "Revert "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
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."
Dongwon Kang [Wed, 17 Oct 2018 21:04:30 +0000 (14:04 -0700)]
Add dwkang to OWNERS
Test: n/a
Change-Id: I98245fe411295b6112cdc73a13baf2ac70edeb9d
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
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
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
TreeHugger Robot [Wed, 17 Oct 2018 20:08:41 +0000 (20:08 +0000)]
Merge "Removed AMS.mStackSuperivor (22/n)"
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
Yu-Han Yang [Wed, 17 Oct 2018 18:38:08 +0000 (18:38 +0000)]
Merge "Apply requirements when enabling provider"
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
Dongwon Kang [Wed, 17 Oct 2018 17:40:33 +0000 (17:40 +0000)]
Merge "Add RingtoneManager.openDefaultRingtoneUri()"
Fabian Kozynski [Wed, 17 Oct 2018 17:20:43 +0000 (17:20 +0000)]
Merge "Guarded against ArrayOutOfBounds"
Sudheer Shanka [Wed, 17 Oct 2018 17:03:21 +0000 (17:03 +0000)]
Merge "Update CoreSettingsObserver internal state correctly."
Eran Messeri [Wed, 17 Oct 2018 16:59:57 +0000 (16:59 +0000)]
Merge "Enterprise Policy for Private DNS Setting"
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
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
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
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
TreeHugger Robot [Wed, 17 Oct 2018 16:30:55 +0000 (16:30 +0000)]
Merge "Snapshot memory state for some native processes"
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
Mihai Popa [Wed, 17 Oct 2018 15:21:31 +0000 (15:21 +0000)]
Merge "Move ViewGroup#mChildren[Count] to dark-grey list"
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.
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
Fabian Kozynski [Wed, 17 Oct 2018 13:21:15 +0000 (13:21 +0000)]
Merge "DO NOT MERGE Fixes clipping on PagedTileLayout" into pi-dev
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"
Przemyslaw Szczepaniak [Wed, 17 Oct 2018 11:04:14 +0000 (11:04 +0000)]
Merge "Revert "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
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
TreeHugger Robot [Wed, 17 Oct 2018 08:36:56 +0000 (08:36 +0000)]
Merge "Private DNS: Add user restriction"
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
TreeHugger Robot [Wed, 17 Oct 2018 07:34:36 +0000 (07:34 +0000)]
Merge "Move displayId into MotionEvent"
TreeHugger Robot [Wed, 17 Oct 2018 04:57:55 +0000 (04:57 +0000)]
Merge "Change the feature flag for Hearing Aid behavior"
TreeHugger Robot [Wed, 17 Oct 2018 04:24:25 +0000 (04:24 +0000)]
Merge "Polish InputMethodManagerService#startInputUncheckedLocked()"
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
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
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
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
TreeHugger Robot [Wed, 17 Oct 2018 02:37:14 +0000 (02:37 +0000)]
Merge "Unextract InputMethodManagerService#startInputInnerLocked()"
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
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
Dongwon Kang [Wed, 17 Oct 2018 02:28:15 +0000 (02:28 +0000)]
Merge "MediaPlayer2: remove hidden api, setMetadataFilter and getMetadata"
Treehugger Robot [Wed, 17 Oct 2018 01:50:35 +0000 (01:50 +0000)]
Merge "iorap: Remove blank newline in TEST_MAPPING"
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
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
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
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
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
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
Shuo Qian [Wed, 17 Oct 2018 00:54:52 +0000 (17:54 -0700)]
Merge "Make SubscriptionManager.getSlotIndex public"
am:
719310cd2c
Change-Id: Ia942ecfefef8f26ff0b1f140c0692c81aebd11fa
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
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
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
Shuo Qian [Wed, 17 Oct 2018 00:37:35 +0000 (00:37 +0000)]
Merge "Make SubscriptionManager.getSlotIndex public"
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
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"
TreeHugger Robot [Wed, 17 Oct 2018 00:22:02 +0000 (00:22 +0000)]
Merge "Clean-up removed RecoveryController API"
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
Yiwei Zhang [Wed, 17 Oct 2018 00:18:52 +0000 (00:18 +0000)]
Merge "[GraphicsEnvironment] Add whitelist support."
Treehugger Robot [Wed, 17 Oct 2018 00:18:07 +0000 (00:18 +0000)]
Merge "Stop using DIST_DIR directly, use dist-for-goals instead"
Chen Xu [Wed, 17 Oct 2018 00:14:45 +0000 (00:14 +0000)]
Merge "refactor radioPowerstate"
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
Treehugger Robot [Tue, 16 Oct 2018 23:49:35 +0000 (23:49 +0000)]
Merge "audioservice: fix a2dp connection race condition"
TreeHugger Robot [Tue, 16 Oct 2018 23:45:07 +0000 (23:45 +0000)]
Merge "Do not bind IME until an IME client is recognized"
TreeHugger Robot [Tue, 16 Oct 2018 23:42:13 +0000 (23:42 +0000)]
Merge "Minor Autofill improvements:"
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
TreeHugger Robot [Tue, 16 Oct 2018 23:07:29 +0000 (23:07 +0000)]
Merge "Make SubscriptionManager.getSlotIndex public"
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
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."
Igor Murashkin [Tue, 16 Oct 2018 22:51:19 +0000 (15:51 -0700)]
Merge "iorap: Add presubmit/postsubmit support"
am:
7cbabff3f0
Change-Id: I5f5afb05cde2894fb62728e67943a3dc38f26594
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
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
Treehugger Robot [Tue, 16 Oct 2018 22:21:33 +0000 (22:21 +0000)]
Merge "iorap: Add presubmit/postsubmit support"
Igor Murashkin [Tue, 16 Oct 2018 22:15:21 +0000 (15:15 -0700)]
iorap: Remove blank newline in TEST_MAPPING
Change-Id: I378e86327951daa05512efd2ac491d27f9995ddd
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
Fan Zhang [Tue, 16 Oct 2018 22:04:51 +0000 (22:04 +0000)]
Merge "Refactor the nativePtr validation code to a method."
TreeHugger Robot [Tue, 16 Oct 2018 21:46:49 +0000 (21:46 +0000)]
Merge "Add pulled atom subscription for shell."
TreeHugger Robot [Tue, 16 Oct 2018 21:28:15 +0000 (21:28 +0000)]
Merge "Adjusted tracing of reportFullyDrawn() API call."
Steve Elliott [Tue, 16 Oct 2018 21:05:23 +0000 (21:05 +0000)]
Merge "Add configurable default setting for assistant componentname"
Chenjie Yu [Tue, 16 Oct 2018 20:48:57 +0000 (20:48 +0000)]
Merge "Pull process cpu stats into statsd"
chen xu [Thu, 11 Oct 2018 20:18:26 +0000 (13:18 -0700)]
refactor radioPowerstate
1. new System API for getRadioPowerState with permision check
2. new System API for onRadioPowerStateChanged in PhoneStateListener
3. replace radioState enum in CommandsInterface to telephonyMgr defined
int.
Bug:
117349311
Test: telephony unit test
Change-Id: I502568280fbf9213ca6bf1f7fb204d0d4ce86580
Fan Zhang [Tue, 16 Oct 2018 17:21:09 +0000 (10:21 -0700)]
Refactor the nativePtr validation code to a method.
This will make testing much easier.
Bug:
117828816
Test: robotests
Change-Id: I1ca81e2005e559c0ec1e5f468cdd4bc0c21edbea
TreeHugger Robot [Tue, 16 Oct 2018 20:24:49 +0000 (20:24 +0000)]
Merge "Pass in window layout when setting initial state."
TreeHugger Robot [Tue, 16 Oct 2018 20:23:46 +0000 (20:23 +0000)]
Merge "Only skip stacks behind home when not in multi-window mode."
Garfield Tan [Tue, 16 Oct 2018 16:42:02 +0000 (09:42 -0700)]
Only skip stacks behind home when not in multi-window mode.
Split screen primary stack is behind home (though visible to user), and
needs to respond to user tapping when out of touch region.
This doesn't cover the case where split screen stacks and freeform
stacks both exist in the display, but that's not a very common case on
any form factor.
Bug:
117777954
Bug:
117824834
Test: IME is brought up when Gmail is in split screen primary stack.
Tapping on home won't focus on home stack.
atest android.autofillservice.cts.MultiWindowLoginActivityTest#testSplitWindow
Change-Id: I44e17d9a0eba3ab6669ef75223c982ae0e811fc6
Peiyong Lin [Fri, 12 Oct 2018 22:34:15 +0000 (15:34 -0700)]
[GraphicsEnvironment] Add whitelist support.
This patch adds the ability to load whitelist from updatable graphcis driver
apk. Typically a whitelist is part of the graphics driver apk, and the name is
set by overwriting ro.gfx.driver.whitelist.0
BUG:
117241379
Test: Build, flash and boot, whitelist an app and verify.
Change-Id: Ie36ca0173a90a8e48acaca2979ab64bbf92eeaed
TreeHugger Robot [Tue, 16 Oct 2018 19:46:21 +0000 (19:46 +0000)]
Merge "Trust session id only if started with ACTION_CONFIRM_INSTALL"
Suprabh Shukla [Wed, 10 Oct 2018 21:30:08 +0000 (14:30 -0700)]
Trust session id only if started with ACTION_CONFIRM_INSTALL
InstallStart was reading sessionInfo whenever the starting intent had
the extra EXTRA_SESSION_ID. This could happen even if an external app
inserted a valid session id into its own REQUEST_INSTALL_PACKAGE intent.
This allows apps to potentially spoof the calling package.
Test: Existing tests pass:
atest GtsPackageInstallTestCases GtsNoPermissionTestCases \
GtsNoPermissionTestCases25
Bug:
112031362
Change-Id: Icdab1deeaf6b0afe7a61709cd87305336c467e33
TreeHugger Robot [Tue, 16 Oct 2018 19:32:37 +0000 (19:32 +0000)]
Merge "Run alarms on a custom thread."
TreeHugger Robot [Tue, 16 Oct 2018 19:32:06 +0000 (19:32 +0000)]
Merge "Fixes ignoring interaction flags from launcher from race"
TreeHugger Robot [Tue, 16 Oct 2018 19:12:43 +0000 (19:12 +0000)]
Merge "Test deep transitions when an alarm is imminent."
TreeHugger Robot [Tue, 16 Oct 2018 19:11:04 +0000 (19:11 +0000)]
Merge "DeviceIdleController light state transition tests."