OSDN Git Service
Michal Karpinski [Tue, 16 Apr 2019 13:02:46 +0000 (14:02 +0100)]
Don't allow PI-based starts and trampolines when sender
is SYSTEM_UID and it happens to pass foregroundness check
at the time of sending
It could lead to abuses like directing the user to Settings app
and then giving a PI through any API, so that app could open
activity/trampoline due to Settings app (SYSTEM_UID) being fg.
PI-based starts where sender is SYSTEM_UID will no longer be
supported based on foregroundness check. Any such starts need
to now be explicitly whitelisted (see b/
124858756).
Also, ignore windows of type TYPE_APPLICATION_STARTING in
isAnyNonToastWindowVisibleForUid() check.
Bug:
129563343
Test: atest WmTests:ActivityStarterTests
Test: atest BackgroundActivityLaunchTest
Test: atest CtsActivityManagerDeviceTestCases:ActivityStarterTests
Test: atest WmTests:RootWindowContainerTests
Change-Id: I563f71f0b1c7922d8c675d2e4feed909f43446be
Leon Scroggins [Tue, 16 Apr 2019 12:15:16 +0000 (12:15 +0000)]
Merge "Do not cache AVDs that are off screen" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 11:20:45 +0000 (11:20 +0000)]
Merge "ActivityThread: Preserve windows when relaunching all activities" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 09:38:25 +0000 (09:38 +0000)]
Merge "If the calling process isn't whitelisted for background activity start, check the other processes of calling UID too" into qt-dev
Tarandeep Singh [Tue, 16 Apr 2019 07:37:06 +0000 (07:37 +0000)]
Merge "Allow MSIME to set inactive when window loses focus." into qt-dev
Jin Seok Park [Tue, 16 Apr 2019 06:47:18 +0000 (06:47 +0000)]
Merge "Rename Session2Command methods" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 06:37:50 +0000 (06:37 +0000)]
Merge "Defer top process state for VM" into qt-dev
Sean Stout [Tue, 16 Apr 2019 05:50:30 +0000 (05:50 +0000)]
Merge "Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API" into qt-dev
Kevin Chyn [Tue, 16 Apr 2019 04:43:32 +0000 (04:43 +0000)]
Merge "Cache and log enrollment settings" into qt-dev
Jin Seok Park [Tue, 16 Apr 2019 01:35:14 +0000 (10:35 +0900)]
Rename Session2Command methods
Bug:
130580655
Test: atest CtsMediaTestCases:android.media.cts.Session2CommandTest
Change-Id: I89509ddc1b10d47a01f7227ae60c5529718d39de
Jeff Sharkey [Tue, 16 Apr 2019 03:26:18 +0000 (03:26 +0000)]
Merge "Allow failures of applyBatch() operations." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 03:14:29 +0000 (03:14 +0000)]
Merge "Remove MediaItem2" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 02:50:09 +0000 (02:50 +0000)]
Merge "Don't cancel injected event when mouse event arrives" into qt-dev
NT Tsai [Tue, 16 Apr 2019 02:27:02 +0000 (02:27 +0000)]
Merge "Fix a deadlock WMG->WMS, WMS->WMG" into qt-dev
Winson Chung [Tue, 16 Apr 2019 02:13:58 +0000 (02:13 +0000)]
Merge "Don't wait until next fetch of recent tasks to reset the task list" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 01:41:41 +0000 (01:41 +0000)]
Merge "Log for pending activities launch" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 01:20:05 +0000 (01:20 +0000)]
Merge "Ui should be UI in the javadoc" into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 01:11:23 +0000 (01:11 +0000)]
Merge "Restore navbar transparency state on config change" into qt-dev
Hall Liu [Tue, 16 Apr 2019 01:01:59 +0000 (01:01 +0000)]
Merge "Add EHPLMN and HPLMN to SubscriptionInfo" into qt-dev
Jeff Sharkey [Tue, 16 Apr 2019 00:54:58 +0000 (18:54 -0600)]
Allow failures of applyBatch() operations.
In some cases, the supplier of ContentProviderOperation is okay
if certain operations fail, and they'd like ContentProviderResult
to tell them about the failures instead of aborting the remainder
of the transaction.
Start using this for ModernMediaScanner, where we probably raced
with someone when building an UPSERT-style operation. We'll
pick up any changes to those files during the next scan.
Bug:
128494336
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: Ida8230ff2bbb3bab56eb83928e49e7097bfbc9fd
TreeHugger Robot [Tue, 16 Apr 2019 00:49:21 +0000 (00:49 +0000)]
Merge "Remove the disableSelf() api" into qt-dev
Matt Pape [Tue, 16 Apr 2019 00:34:31 +0000 (00:34 +0000)]
Merge "Annotate single property listener from DeviceConfig as removed. Will remove entirely after all references (esp. Play Services) are cleaned up." into qt-dev
Mehdi Alizadeh [Tue, 16 Apr 2019 00:34:13 +0000 (00:34 +0000)]
Merge "Add new constructors for mandatory fields in AppTarget.Builder" into qt-dev
Sungsoo Lim [Tue, 16 Apr 2019 00:21:56 +0000 (09:21 +0900)]
Remove MediaItem2
Bug:
130579223
Test: build
Change-Id: Ie772b508b51a12eb4e96f1f19c08ecdec4a9959b
TreeHugger Robot [Tue, 16 Apr 2019 00:17:10 +0000 (00:17 +0000)]
Merge "Add missing set/getExtras to ConversationActions.Request." into qt-dev
Sean Stout [Mon, 15 Apr 2019 18:17:43 +0000 (11:17 -0700)]
Add android.settings.ACTION_APP_BATTERY_SETTINGS to public API
Test: cts-tradefed run cts -m CtsSystemIntentTestCases -t \
android.systemintents.cts.TestSystemIntents
Bug:
129901520
Change-Id: I710867f6d6fffb86d7f3991f39bde4bf9d62e5f7
TreeHugger Robot [Tue, 16 Apr 2019 00:06:38 +0000 (00:06 +0000)]
Merge "Migrate to the new ro property for headless multiuser check." into qt-dev
TreeHugger Robot [Tue, 16 Apr 2019 00:06:21 +0000 (00:06 +0000)]
Merge changes I06a74c84,I2cf9d3aa into qt-dev
* changes:
Do not fail idmap scan if one idmap fails to generate
Run idmap2 static-checks and fix formatting issues
Winson Chung [Mon, 15 Apr 2019 23:57:01 +0000 (23:57 +0000)]
Merge "Add nullable annotations" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 23:42:14 +0000 (23:42 +0000)]
Merge "DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit." into qt-dev
Harry Slatyer [Mon, 15 Apr 2019 23:38:24 +0000 (23:38 +0000)]
Merge "Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220" into qt-dev
jiayuzhou [Mon, 15 Apr 2019 23:04:31 +0000 (16:04 -0700)]
Ui should be UI in the javadoc
Fixes:
124883615.
Test: pre-submit.
Change-Id: I4cdc6353a3d4382a53a8e6d7c65a447acb90ee2c
Kevin Chyn [Mon, 15 Apr 2019 23:03:50 +0000 (23:03 +0000)]
Merge "Add logging for KeyguardUpdateMonitor visibility and biometric state" into qt-dev
Alex Salo [Thu, 11 Apr 2019 21:45:42 +0000 (14:45 -0700)]
Remove the disableSelf() api
No longer needed, the logic will be handled in AttentionDetector which
implements the feature. Settings app makes sure to grey out the setting
if does not have sufficient permissions.
Bug:
130350903,
130246574
Test: manually confirmed, atest AttentionDetectorTests, make RunSettingsRoboTests
Change-Id: I324223af01b5198e3af0b84d47120f307f3aa71a
Jean-Michel Trivi [Mon, 15 Apr 2019 22:46:46 +0000 (22:46 +0000)]
Merge "AudioManager: test API for dynamic audio policy" into qt-dev
Hall Liu [Thu, 11 Apr 2019 22:28:20 +0000 (15:28 -0700)]
Add EHPLMN and HPLMN to SubscriptionInfo
Add EHPLMN and HPLMN fields to SubscriptionInfo. These fields are read
from the ICC card.
Bug:
130253962
Test: manual
Change-Id: If98c57c14e39b917a5e7e8bbc59c2170989b63a7
Amin Shaikh [Thu, 11 Apr 2019 21:34:51 +0000 (17:34 -0400)]
Restore navbar transparency state on config change
Restore systemUIVisibility flags upon NavBarFragment recreation.
Ensure back button visibility is also restored.
Fixes:
130281802
Test: make; adb shell am update-appinfo 0 com.android.systemui
Change-Id: I74bf1717bc434b32490b9c6c66b6c88e3bb226e9
Tyler Gunn [Mon, 15 Apr 2019 22:15:57 +0000 (22:15 +0000)]
Merge "Telecom API doc cleanup." into qt-dev
Ryan Mitchell [Fri, 12 Apr 2019 19:29:36 +0000 (12:29 -0700)]
Do not fail idmap scan if one idmap fails to generate
If one static overlay fails to have its idmap generated, continue
scanning other overlays.
Bug:
130324774
Test: idmap2_tests and manual
Change-Id: I06a74c844ebc81dcfb5b50e8c9a30a68c7e4ffb0
Matt Pape [Mon, 15 Apr 2019 20:17:21 +0000 (13:17 -0700)]
Annotate single property listener from DeviceConfig as removed.
Will remove entirely after all references (esp. Play Services) are cleaned up.
Test: atest FrameworksCoreTests:DeviceConfigTest
Bug:
128902955
Change-Id: I1ab11fa2a2bbdb673841364c36b87a7356ba1e28
Mehdi Alizadeh [Fri, 12 Apr 2019 18:36:33 +0000 (11:36 -0700)]
Add new constructors for mandatory fields in AppTarget.Builder
Test: it builds
Test: atest AppPredictionServiceTest
Bug:
129901111
Change-Id: Ifacf5b86d5f436b02191af58541a403198840f18
Christine Franks [Mon, 15 Apr 2019 21:44:37 +0000 (21:44 +0000)]
Merge "Move DisplayTransformManagerTest" into qt-dev
Harry Slatyer [Mon, 8 Apr 2019 22:58:02 +0000 (08:58 +1000)]
Add DENSITY_140, DENSITY_180, DENSITY_200, DENSITY_220
This gives supported densities every 20dpi at the low end of densities,
which is where all current automotive screens sit.
BUG:
127714569
Test: None, just adding constants.
Change-Id: I6dd96493bf4474a55f22ce4ddbe27566d4ab9deb
Shuo Qian [Mon, 15 Apr 2019 21:39:02 +0000 (21:39 +0000)]
Merge "Fix Emergency Number API doc" into qt-dev
Kevin Chyn [Mon, 15 Apr 2019 21:11:58 +0000 (14:11 -0700)]
Cache and log enrollment settings
Bug:
130370995
Test: Builds
Change-Id: Id23b6befe62cf5ea3a4468169f36da191ae97cc9
Jean-Michel Trivi [Mon, 15 Apr 2019 21:17:12 +0000 (21:17 +0000)]
Merge "AudioTrack: offload is not tied to USAGE_MEDIA" into qt-dev
Jiuyu Sun [Mon, 15 Apr 2019 21:02:42 +0000 (21:02 +0000)]
Merge "Address comments from API review." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 21:02:19 +0000 (21:02 +0000)]
Merge "Fix for unexpected scale factors in ScaleGestureDetector" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 21:00:08 +0000 (21:00 +0000)]
Merge "Fix set_buffers_damage in VulkanSurface" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 20:56:29 +0000 (20:56 +0000)]
Merge "End button fade animation when its visiblity changes" into qt-dev
Kevin Chyn [Mon, 15 Apr 2019 20:47:25 +0000 (13:47 -0700)]
Add logging for KeyguardUpdateMonitor visibility and biometric state
Bug:
130095380
Test: Builds, logs are seen
Change-Id: If311f552e716a3ea164eda13c2fc8638adb26fb0
Tony Mak [Mon, 15 Apr 2019 16:22:54 +0000 (17:22 +0100)]
Add missing set/getExtras to ConversationActions.Request.
All requests / result objects from TextClassifier have get/setRequest,
so ConversationActions.Request should have them as well.
BUG:
130529981
Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/ConversationActionsTest.java
Change-Id: I19719b009d4f34df8650c669cc24cb304293407a
TreeHugger Robot [Mon, 15 Apr 2019 19:49:28 +0000 (19:49 +0000)]
Merge "Revert "Make notification effects for automotive configurable."" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 19:49:19 +0000 (19:49 +0000)]
Merge "Add AppPredictionServiceExists check." into qt-dev
Winson Chung [Wed, 10 Apr 2019 21:10:07 +0000 (14:10 -0700)]
Add nullable annotations
Bug:
126700764
Test: None
Change-Id: If0a8904033bc8c7204450b058a307be9b51b2605
Rob Carr [Mon, 15 Apr 2019 19:44:08 +0000 (19:44 +0000)]
Merge "More SurfaceAnimator lifetime fixes." into qt-dev
Jorim Jaggi [Mon, 15 Apr 2019 19:14:41 +0000 (19:14 +0000)]
Merge "Revert "Fix issue in attached layouting"" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 19:06:19 +0000 (12:06 -0700)]
AudioTrack: offload is not tied to USAGE_MEDIA
Offload support check now supports passing AudioAttributes.
Do not require AudioTrack usage to be USAGE_MEDIA, check of use
case will be done in AudioSystem.isOffloadSupported().
Bug:
129133576
Test: use offload for USAGE_ASSISTANT
Change-Id: I00065fb936600cfcdf29bc019173699db7ec5a2f
Nathan Harold [Mon, 15 Apr 2019 18:51:37 +0000 (18:51 +0000)]
Merge "Remove key_ prefix from CarrierConfig Strings" into qt-dev
Jean-Michel Trivi [Sun, 14 Apr 2019 00:11:50 +0000 (17:11 -0700)]
AudioService: more stringent on dropping ACTION_AUDIO_BECOMING_NOISY
Drop ACTION_AUDIO_BECOMING_NOISY only when there is no more audio
focus users.
Bug:
129983099
Test: see bug
Change-Id: I899301754ba1506598b1be1cb5605bc3b53e3942
TreeHugger Robot [Mon, 15 Apr 2019 18:38:14 +0000 (18:38 +0000)]
Merge "Bluetooth: Make ScanRecord.getServiceSolicitationUuids NonNull" into qt-dev
David Anderson [Mon, 15 Apr 2019 18:28:38 +0000 (18:28 +0000)]
Merge "Load /metadata/password_slots/slot_map lazily." into qt-dev
John Reck [Mon, 15 Apr 2019 18:20:28 +0000 (18:20 +0000)]
Merge "Support render-ahead in vulkan" into qt-dev
Jorim Jaggi [Mon, 15 Apr 2019 17:58:52 +0000 (17:58 +0000)]
Revert "Fix issue in attached layouting"
This reverts commit
36dcd2e34be3c1a8b48270a06c5e69162a92a2e2.
Bug:
130553898
Reason for revert: Breaks other CTS (PopupWindowTests)
Change-Id: Ib3a0a189db25d72e85a52dcefa9e1f52a976f3fb
Qiao (Adora) Zhang [Mon, 15 Apr 2019 17:45:43 +0000 (17:45 +0000)]
Revert "Make notification effects for automotive configurable."
This reverts commit
4dae2857df4e9322c7bf2e64d7445fe9ed8bf928.
Reason for revert: b/
130513450
Fix:
130513450
Change-Id: Ie2f7c5e66f1436c0a540fb86b1886978d72cb7c7
Amy Zhang [Mon, 15 Apr 2019 17:46:49 +0000 (17:46 +0000)]
Merge "Resolve CEC related API requests from API Council" into qt-dev
Martijn Coenen [Mon, 15 Apr 2019 17:38:08 +0000 (17:38 +0000)]
Merge "Catch all exceptions when calling startCheckpoint()." into qt-dev
Calvin Pan [Mon, 15 Apr 2019 17:33:37 +0000 (17:33 +0000)]
Merge "Add NonNull in Carriers constant" into qt-dev
Holly Jiuyu Sun [Wed, 10 Apr 2019 21:34:07 +0000 (14:34 -0700)]
Address comments from API review.
1) The newly added onDownloadSubscription should not be abstract.
2) The old onDownloadSubscription should not throw exception.
Bug:
124325362
Test: on phone
Change-Id: Ic905b5d317e10aefe5dca013948cd7d340149368
Kevin Chyn [Mon, 15 Apr 2019 16:59:03 +0000 (16:59 +0000)]
Merge "Ensure strings are consistent with HIDL documentation" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 16:42:06 +0000 (16:42 +0000)]
Merge "AudioService: better vol adjustment logs" into qt-dev
Jean-Michel Trivi [Mon, 15 Apr 2019 16:38:09 +0000 (16:38 +0000)]
Merge "AudioPolicy: fix test API for focus policy" into qt-dev
Felipe Leme [Fri, 12 Apr 2019 18:53:16 +0000 (11:53 -0700)]
DO NOT MERGE - Removed ContentCapture support from standard SDK toolkit.
Test: atest CtsContentCaptureServiceTestCases
Test: m update-api
Test: make ds-docs
Fixes:
129982633
Change-Id: I5a0fa4231d0222638830c1abd8015d9f2635996a
Fabian Kozynski [Mon, 15 Apr 2019 16:35:10 +0000 (16:35 +0000)]
Merge "Fix tinting of battery percentage" into qt-dev
Kevin Rocard [Mon, 15 Apr 2019 16:02:07 +0000 (16:02 +0000)]
Merge "Add getters to AudioPlaybackCaptureConfiguration" into qt-dev
Yunfan Chen [Mon, 15 Apr 2019 15:52:44 +0000 (15:52 +0000)]
Merge "Mark flaky pre-submit tests" into qt-dev
Ryan Mitchell [Fri, 12 Apr 2019 19:31:42 +0000 (12:31 -0700)]
Run idmap2 static-checks and fix formatting issues
Bug:
130324774
Test: builds
Change-Id: I2cf9d3aa268ffe38e525fadee9d81fc6aefe19b1
Michal Karpinski [Fri, 12 Apr 2019 15:22:55 +0000 (16:22 +0100)]
If the calling process isn't whitelisted for background
activity start, check the other processes of calling UID
too
Since looking at whitelisted processes can be computationally
more expensive than other checks in the barrier, move them
to be last - if callingUid is allowed to open bg activity via
other means, like permission, we'll bail quicker, especially
for apps like gmscore.
Bug:
129853314
Test: atest WmTests:ActivityStarterTests
Test: atest BackgroundActivityLaunchTest
Test: atest CtsActivityManagerDeviceTestCases:ActivityStarterTests
Test: atest WmTests:WindowProcessControllerMapTests
Test: manual (repro the quoted bug, and see that while
com.google.android.googlequicksearchbox:search isn't
whitelisted, AGSA had other whitelisting process,
com.google.android.googlequicksearchbox:interactor)
Change-Id: Ic7d6c12e76cb707f06e0f216c9958d5d2f21a840
TreeHugger Robot [Mon, 15 Apr 2019 15:44:32 +0000 (15:44 +0000)]
Merge "Add AudioManager.getAllowedCapturePolicy" into qt-dev
Kevin Rocard [Tue, 9 Apr 2019 23:25:26 +0000 (16:25 -0700)]
Add getters to AudioPlaybackCaptureConfiguration
Unfortunately AudioMixingRule being in a different package,
some of its members had to be made public @hide to be used
by AudioPlaybackCaptureConfiguration.
Bug:
129948989
Test: atest AudioAttributesTest
Change-Id: Ie8cdf67aee9ff7cf9144a66d47c301712516cf87
Signed-off-by: Kevin Rocard <krocard@google.com>
Yohei Yukawa [Mon, 15 Apr 2019 15:16:58 +0000 (08:16 -0700)]
Fix '-u <user id>' handling in 'adb ime enable' and 'adb ime set'
This is a follow up CL to my previous CLs [1][2], which added
'-u <user id>' option to
adb shell ime enable <ime id>
and
adb shell ime set <ime id>
respectively.
Those CL had a bug that was introduced during the last round of the
code review when I was addressing a review comment. As a result,
those two commands simply fail if '-u' or '--user' option is
specified. With this CL, those we can finally start specifying the
user ID for those two commands.
This CL also fixes a bug that output for
adb shell ime set -u all <ime id>
are not correctly formatted.
Note that this CL only fixes a bug in debug shell commands. There
should be no user-visible behavior change in end-user use cases.
[1]: Ia0f873e4589a9fc3f549469e3d1d966640dc2df5
e177170f6432631d54788a37f4fb468a02468ed0
[2]: I397cf0fb418a395dcafc0ab0d8d4e553b0f2eaab
099f80ce9762e8b20998759fd6082bdcd6291103
Bug:
120784635
Test: Manually tested as follows:
1. Build aosp_blueline-userdebug and flash it
2. make -j SoftKeyboard
3. adb install -r $OUT/system/app/SoftKeyboard/SoftKeyboard.apk
4. adb shell pm create-user test
5. adb shell am switch-user 10
6. adb shell ime disable -u 0 com.example.android.softkeyboard/.SoftKeyboard
-> Input method com.example.android.softkeyboard/.SoftKeyboard: now disabled for user #0
7. adb shell ime enable -u 0 com.example.android.softkeyboard/.SoftKeyboard
-> Input method com.example.android.softkeyboard/.SoftKeyboard: now enabled for user #0
8. adb shell ime set -u 0 com.example.android.softkeyboard/.SoftKeyboard
-> Input method com.example.android.softkeyboard/.SoftKeyboard selected for user #0
Test: Manually tested as follows.
1. Build aosp_blueline-userdebug and flash it
2. adb shell pm create-user test
3. adb shell pm create-user restricted_test
4. adb root
5. adb shell pm set-user-restriction --user 11 no_debugging_features 1
6. adb shell am switch-user 10
7. adb shell am switch-user 11
8. adb shell am switch-user 0
9. adb shell ime set -u all com.android.inputmethod.latin/.LatinIME
-> Input method com.android.inputmethod.latin/.LatinIME selected for user #0
Input method com.android.inputmethod.latin/.LatinIME selected for user #10
User #11 is restricted with DISALLOW_DEBUGGING_FEATURES.
10. adb shell ime disable -u all com.android.inputmethod.latin/.LatinIME
-> Input method com.android.inputmethod.latin/.LatinIME: now disabled for user #0
Input method com.android.inputmethod.latin/.LatinIME: now disabled for user #10
User #11 is restricted with DISALLOW_DEBUGGING_FEATURES.
Change-Id: I4e396519400c0ccd17322fe085b45456621714e7
TreeHugger Robot [Mon, 15 Apr 2019 14:36:46 +0000 (14:36 +0000)]
Merge "DO NOT MERGE Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView" into qt-dev
Evan Laird [Tue, 2 Apr 2019 16:56:00 +0000 (12:56 -0400)]
DO NOT MERGE Turn off LAYER_TYPE_SOFTWARE on BatteryMeterView
We still need to save a layer for the BlendMode.CLEAR paint to do the
right thing. But with this we can save just the layer needed to draw the
battery instead of the whole battery meter view.
Test: visual
Bug:
130536257
Change-Id: I9d5844440250ccd9174e6c001e051c9adf62a2d0
(cherry picked from commit
b4c703b8e30e50fa451171be563c556704db5ef4)
TreeHugger Robot [Mon, 15 Apr 2019 14:15:53 +0000 (14:15 +0000)]
Merge "Don't hold mPackages when clearing package state" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 12:42:30 +0000 (12:42 +0000)]
Merge "Fix wrong MSIME check in onImeWindowSetOnDisplay." into qt-dev
Jorim Jaggi [Mon, 15 Apr 2019 12:33:57 +0000 (12:33 +0000)]
Merge "Fix issue in attached layouting" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 12:25:32 +0000 (12:25 +0000)]
Merge "Add new metrics for ManagedProvisioning." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 12:18:30 +0000 (12:18 +0000)]
Merge "Reduce transactions for acquiring and releasing provider" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 11:01:49 +0000 (11:01 +0000)]
Merge "Catch exceptions thrown from UpdateEngine#applyPayload." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 10:05:21 +0000 (10:05 +0000)]
Merge "Tighten rules for blocking activity starts." into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 09:45:00 +0000 (09:45 +0000)]
Merge "Add AudioAttributes.getAllowedCapturePolicy" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 08:00:31 +0000 (08:00 +0000)]
Merge "Ensure to update top process state when launching activity" into qt-dev
Kevin Rocard [Mon, 15 Apr 2019 08:00:05 +0000 (08:00 +0000)]
Merge "Add documentation for the APC feature" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 07:59:34 +0000 (07:59 +0000)]
Merge "Reduce system calls of ThreadPriorityBooster" into qt-dev
Martijn Coenen [Mon, 15 Apr 2019 07:11:36 +0000 (07:11 +0000)]
Merge changes Iac75e4f7,I6569bb45 into qt-dev
* changes:
Fix Application Zygote use for external services.
Refactor hostingType/hostingName/hostingNameStr.
nttsai [Wed, 3 Apr 2019 07:50:06 +0000 (15:50 +0800)]
Fix a deadlock WMG->WMS, WMS->WMG
In ImmersiveModeConfirmation, the WindowManager operations shouldn't be
called while holding the WM lock. Thus, I remove the assigned operation of
mWindowManager member in the constructor function. Next, I add a private
function to get a valid mWindowManager member in 3 functions (handleHide,
handleShow, onAttachedToWindow). The 3 functions are called by a different
thread by specific events. It should avoid the deadlock we saw now.
Bug:
129101307,
128520392
Test: local build and manually test it for 2 times
Test Steps: 1. Boot up the device 2. Start Photo to view a photo in full
screen and exit full screen
Change-Id: If42f4fd6a31869d5eefa8b445c32665aef1ee07d
Riddle Hsu [Fri, 12 Apr 2019 12:42:05 +0000 (20:42 +0800)]
Defer top process state for VM
The top state will make JIT compilation easier to be triggered.
To reduce the impact of startup time, if there is launching activity,
the top state will be deferred to apply until idle or 1s timeout.
The cold launch time of Contacts, Phone, Calculator are reduced ~15ms.
Test: AppLaunchTest
Bug:
123043091
Change-Id: I8a235e18ea6b508c9aa192445c9ea22d9d12f177
Sungsoo Lim [Mon, 15 Apr 2019 05:55:27 +0000 (05:55 +0000)]
Merge "Tweak the selection of media button session" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 05:47:22 +0000 (05:47 +0000)]
Merge "DO NOT MERGE: Revert "Media: Add MediaRouterManager to control media route of other apps"" into qt-dev
TreeHugger Robot [Mon, 15 Apr 2019 03:53:09 +0000 (03:53 +0000)]
Merge "Add SD card support for AOT" into qt-dev