OSDN Git Service
Louis Chang [Wed, 27 Feb 2019 04:56:18 +0000 (12:56 +0800)]
Remove custom lifecycle transitions for onNewIntent callback
Rebased from ag/
3785659. This CL switches to using post-execution
state resolution for new intent delivery. Also removes some
unnecessary code needed for old logic.
Bug:
65236456
Bug:
77974794
Test: atest ActivityLifecycleTests
Change-Id: I734ad50de498cd2a6b9514c8ef6cb1eeb08e4ec5
TreeHugger Robot [Mon, 8 Apr 2019 00:35:13 +0000 (00:35 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
TreeHugger Robot [Sun, 7 Apr 2019 22:23:51 +0000 (22:23 +0000)]
Merge "Revert "Fix lifecycle issue in CommonPool"" into qt-dev
Bill Yi [Sun, 7 Apr 2019 20:58:46 +0000 (13:58 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: I120e035377ab67c16f3173921065deabad07c2e3
TreeHugger Robot [Sun, 7 Apr 2019 10:33:28 +0000 (10:33 +0000)]
Merge "Add provisioning extra definition to skip education screens" into qt-dev
TreeHugger Robot [Sun, 7 Apr 2019 06:24:23 +0000 (06:24 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-dev
David James [Sun, 7 Apr 2019 04:27:56 +0000 (04:27 +0000)]
Revert "Fix lifecycle issue in CommonPool"
This reverts commit
5ff61f32a78dca0c722c8ac2685874a26190ceed.
Reason for revert: causes global presubmit to be very flaky, see b/
130081457
Fixes: b/
130081457
Change-Id: I93aa5d6686cd6b5bf831766c9e47c291749526a9
Mathieu Chartier [Sat, 6 Apr 2019 19:21:30 +0000 (19:21 +0000)]
Merge "Enabled the USAP Pool by default." into qt-dev
Bill Yi [Sat, 6 Apr 2019 17:26:49 +0000 (10:26 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
64712476
Change-Id: If83787f9703cc88c8f7b24357360b2c88379e614
TreeHugger Robot [Sat, 6 Apr 2019 16:49:20 +0000 (16:49 +0000)]
Merge "Don't update process-level configutaion for MSIME process" into qt-dev
Yunfan Chen [Sat, 6 Apr 2019 15:10:02 +0000 (15:10 +0000)]
Merge "Move no longer flaky tests into pre-submit" into qt-dev
TreeHugger Robot [Sat, 6 Apr 2019 11:55:48 +0000 (11:55 +0000)]
Merge "Do not start jit profile in app zygote" into qt-dev
TreeHugger Robot [Sat, 6 Apr 2019 11:43:39 +0000 (11:43 +0000)]
Merge "Java code for mainline modules to log to statsd." into qt-dev
lumark [Tue, 2 Apr 2019 06:56:46 +0000 (14:56 +0800)]
Don't update process-level configutaion for MSIME process
Currently, process-level display configuration change for IME process
is only for single-client IME window moving to another display to update
UI layout according display configuration.
It's not applicable for MSIME use case since other IMEs on other displays
will also receive this configuration change due to IME services use
the same application config/context, so add a check to fix this issue.
Fix:
129723692
Test: atest MultiDisplaySystemDecorationTests
Test: manual
1. Enable config_perDisplayFocusEnabled config,
2. Install MultiClientInputMethod app
3. Set multi client IME component by "adb shell setprop persist.debug.multi_client_ime \
com.example.android.multiclientinputmethod/.MultiClientInputMethod"
4. Reboot device to initiate MultiClientInputMethod
5. In Settings -> developer options -> Enable Simulated display &
Force desktop mode.
6. Reboot device to enable multi-display test environment.
7. In primary & external display, launch app with EditText.
8. Focus EditText in both displays and see if keyboard can displayed
with correct layout.
Change-Id: Ic556ca212d285de183e3709b032427d5d97e0623
(cherry picked from commit
7234a64355adaea72f566e15cdca62eefd7e6515)
Lyn Han [Tue, 2 Apr 2019 23:27:32 +0000 (16:27 -0700)]
Update color for permission, settings, pointer
Fix bug where we created inset drawable from adaptive icon
drawable, instead of the original settings drawable.
And refactors.
Test: manual
Bug:
123829494
Bug:
123663905
Change-Id: I9342213365cf3679facd22da8592325777d3d17f
Tej Singh [Sun, 24 Mar 2019 00:26:32 +0000 (17:26 -0700)]
Java code for mainline modules to log to statsd.
Adds support for generating app code to allow java mainline modules to
call the StatsLog.writeRaw public API. Supports primitives, enums,
attribution chains, MODE_BYTES. Does not support key value pairs,
worksource methods (because worksource uses hidden apis in the
worksource object).
Test: manually tested atom logging from DocumentsUI
Test: existing autogenerated code is not modified
Test: cts will follow
Bug:
126134616
Change-Id: Ia321cf2d9952e3875ed0c7a28db1f4113711513f
Christine Franks [Sat, 6 Apr 2019 01:25:41 +0000 (01:25 +0000)]
Merge "Add display white balance enabled methods to CDS" into qt-dev
TreeHugger Robot [Sat, 6 Apr 2019 01:20:24 +0000 (01:20 +0000)]
Merge "Fix LaTeX formatting in Android documentation" into qt-dev
TreeHugger Robot [Sat, 6 Apr 2019 01:11:24 +0000 (01:11 +0000)]
Merge "Change elapsedRealtimeUncertaintyNanos from long to double" into qt-dev
TreeHugger Robot [Sat, 6 Apr 2019 00:29:11 +0000 (00:29 +0000)]
Merge "Run end actions immediately if there are no children to animate." into qt-dev
TreeHugger Robot [Sat, 6 Apr 2019 00:23:39 +0000 (00:23 +0000)]
Merge "Guard CDS settings against USER_NULL" into qt-dev
Xiangyu/Malcolm Chen [Sat, 6 Apr 2019 00:05:15 +0000 (00:05 +0000)]
Merge "Opportunistic Sub Grouping Keys in CarrierConfig" into qt-dev
Yohei Yukawa [Fri, 5 Apr 2019 23:53:32 +0000 (16:53 -0700)]
Fix a bug in RegisterStatusBarResult parceling
This is a follow up CL to my previous CL [1], which introduced
RegisterStatusBarResult to consolidate return values from
StatusBarManagerService#registerStatusBar().
It turns out that the following fields are not correctly unmarshalled.
- RegisterStatusBarResult#mFullscreenStackBounds
- RegisterStatusBarResult#mDockedStackBounds
This is because those two fields were written with
Parcel#writeParcelable() while we were reading them directly with
Rect.CREATOR#createFromParcel(). Parcel#writeParcelable() needs to be
used with Parcel#readParcelable() for null handling and custom
class-loader handling.
With this CL, we now read/write these two fields with the following
methods, which can also be used to write/read Parcelable objects in a
bit more simpler style unless as long as we can rely on the default
class-loader.
- Parcel#writeTypedObject()
- Parcel#readTypedObject()
This CL also adds unit tests for StatusBarIcon and
RegisterStatusBarResult to make sure that these classes can be sent
over Parcel.
[1]: Ib1c0ae8f591ca09d0bce7a39f85ba57aad386e47
49efa718a86959e1fe996f05669c462c98f836f0
Bug:
122439339
Test: atest FrameworksCoreTests:StatusBarIconTest
Test: atest FrameworksCoreTests:RegisterStatusBarResultTest
Change-Id: I0f41cbcb4c2f1222f18e1e34e3cf40bb0dfdfdb3
TreeHugger Robot [Fri, 5 Apr 2019 23:33:16 +0000 (23:33 +0000)]
Merge "Remove mainline settings feature flag." into qt-dev
Nader Jawad [Fri, 5 Apr 2019 20:55:26 +0000 (13:55 -0700)]
Fix LaTeX formatting in Android documentation
Added missing usesMathJax tag within Javadoc for
each BlendMode enum value. This should ensure that the
blending formulas are rendered properly in the android documentation
Test: N/A
Bug:
130041190
Change-Id: I6c6dcc1804d8399468191bf758bf6cc7685918b5
(cherry picked from commit
39055b05e023a76941eb601d2c18df6b6db88117)
TreeHugger Robot [Fri, 5 Apr 2019 23:24:01 +0000 (23:24 +0000)]
Merge "Add cooling device into thermal service" into qt-dev
Yu-Han Yang [Tue, 26 Mar 2019 00:00:03 +0000 (17:00 -0700)]
Change elapsedRealtimeUncertaintyNanos from long to double
Bug:
129166160
Fixes:
129166160
Test: builds and existing tests passed
Change-Id: I948382a9e486b8ddc1ba6a9fe0fd9bb88e9bfb71
TreeHugger Robot [Fri, 5 Apr 2019 23:11:21 +0000 (23:11 +0000)]
Merge "DO NOT MERGE: Fix issue #
129936402: Runtime restart occurs when suspending an app..." into qt-dev
Chris Wailes [Tue, 26 Mar 2019 00:56:27 +0000 (17:56 -0700)]
Enabled the USAP Pool by default.
Set the default value for the USAP Pool to true for devices that don't
receive DeviceConfig profiles.
Bug:
128851983
Test: m & boot & check log for USAP creation
Change-Id: Id171336671a4fb8b8ad59c5b0e2e725657361107
(cherry picked from commit
0f7bce31a8c98d5f6735f5c82213730e0e64d03d)
TreeHugger Robot [Fri, 5 Apr 2019 22:17:25 +0000 (22:17 +0000)]
Merge "Add additional custom accent colors." into qt-dev
Dianne Hackborn [Thu, 4 Apr 2019 18:01:41 +0000 (11:01 -0700)]
DO NOT MERGE: Fix issue #
129936402: Runtime restart occurs when suspending an app...
NPE at com.android.server.appop.AppOpsService.notifyOpChanged(AppOpsService.java:1431)
Wasn't checking for a null callback list, and also fixed threading
issues.
Fixes:
129936402
Test: Manual
Change-Id: I9c39429421643ebc10e78679c2bec52827603da1
Merged-In: I9c39429421643ebc10e78679c2bec52827603da1
TreeHugger Robot [Fri, 5 Apr 2019 22:00:44 +0000 (22:00 +0000)]
Merge "Allow non-references to be copied between AssetManagers" into qt-dev
Christine Franks [Tue, 2 Apr 2019 17:43:10 +0000 (10:43 -0700)]
Guard CDS settings against USER_NULL
Bug:
129421955
Test: manual
Change-Id: I25b2255d903a5448cfee1e24e03ac75652ce7733
(cherry picked from commit
8f4a54c693968c2e07f8fdd23ffe509a8bd1b703)
Christine Franks [Thu, 28 Mar 2019 18:45:56 +0000 (11:45 -0700)]
Add display white balance enabled methods to CDS
There needs to be a single source of truth about whether DWB is
enabled or disabled.
Bug:
123930917
Test: atest FrameworksServicesTests:DisplayWhiteBalanceTintControllerTest
Change-Id: If634b46c2d0da123901bd5833e2114d958957540
(cherry picked from commit
ff6770d669399f2cbb8723fe1079e82ee0d9d232)
Wei Wang [Wed, 3 Apr 2019 21:58:42 +0000 (14:58 -0700)]
Add cooling device into thermal service
This is for statsd to log new metrics, as statsd has moved to use
thermal service in framework instead of connecting to HAL directly.
Bug:
119688911
Test: Build and dumpsys thermalservice
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/power/ThermalManagerServiceTest.java
Change-Id: Ib334c448c3615bf9d1cb0f1b6c2dd8a83d44f371
Fan Zhang [Fri, 5 Apr 2019 21:30:31 +0000 (14:30 -0700)]
Remove mainline settings feature flag.
Fixes:
123648279
Test: rebuild
Change-Id: Iec229482cc249b9fcf1b3e7ec4a3d3c6f7fa8e2c
Joe Onorato [Fri, 5 Apr 2019 21:29:24 +0000 (21:29 +0000)]
Merge changes I9706478e,I3fe2dea3,Ic65566c0 into qt-dev
* changes:
Make libplatformprotos-static, which is safe to use when you don't have shared libraries.
Add additional system properties that can disable the face debugging codepath
Fix mMaxOffset not initialized.
Makoto Onuki [Fri, 5 Apr 2019 20:49:54 +0000 (20:49 +0000)]
Merge "Add DeviceConfig namespace for contacts provider" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 20:05:40 +0000 (20:05 +0000)]
Merge "Send a broadcast for grayscale changed" into qt-dev
Amin Shaikh [Fri, 5 Apr 2019 17:16:18 +0000 (13:16 -0400)]
Add additional custom accent colors.
Fixes:
129874396
Test: make
Change-Id: I72ee7cfe2b970128838c27b37e9bee0e099a921f
Eric Biggers [Fri, 5 Apr 2019 19:46:35 +0000 (12:46 -0700)]
Revert "With native FBE, lock user directories when framework is started"
This reverts commit
171217cb379a67bbd57790b9118b94cab61ad41c.
Somehow, users may be started before this runs. Revert it for now.
Bug:
129956131
Test: none (clean revert)
Change-Id: I609162d0c449376e2026c8db18ffb39152e10027
Nathan Harold [Tue, 12 Mar 2019 22:51:42 +0000 (15:51 -0700)]
Opportunistic Sub Grouping Keys in CarrierConfig
Add two keys to allow new subscriptions to be added
into subscription groups before carrier config changes
are broadcast.
Bug:
123721160
Test: atest SubscriptionInfoUpdaterTest
Merged-In: Ib6f811b70e41eba897b9bde0c0aeb0c880169f66
Change-Id: Ib6f811b70e41eba897b9bde0c0aeb0c880169f66
(cherry picked from commit
c24e219fc17565c643305d90773d7f71bd168e4e)
Ryan Mitchell [Sat, 9 Mar 2019 01:26:28 +0000 (17:26 -0800)]
Allow non-references to be copied between AssetManagers
Hard-coded values in styles can be copied between AssetManagers even if
the source package is not present in the destination AssetManager. Only
references and strings should be prevented from being copied over
because they would be invalid in the destination AssetManager.
Bug:
126400561
Test: manual
Change-Id: I970a3e961763b2c003c15b950d864a9a0b615022
TreeHugger Robot [Fri, 5 Apr 2019 19:40:28 +0000 (19:40 +0000)]
Merge "Set config_dialogCornerRadius to square icon shape" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 19:36:23 +0000 (19:36 +0000)]
Merge "Sharesheet - Content preview polish" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 19:30:29 +0000 (19:30 +0000)]
Merge "Perform initial grants on package change asynchronously" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 19:25:36 +0000 (19:25 +0000)]
Merge "Fix documentation of CallRedirectionService" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 19:18:36 +0000 (19:18 +0000)]
Merge "Disable a wakeup alarm in car." into qt-dev
Zimuzo Ezeozue [Fri, 5 Apr 2019 19:06:47 +0000 (19:06 +0000)]
Merge "Add supported PackageInfo to ExplicitHealthCheckService API" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 19:04:19 +0000 (19:04 +0000)]
Merge "Disable ScheduledJobConstraintChanged logging for now." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 19:02:29 +0000 (19:02 +0000)]
Merge "Volume dialog should show the volume for the group id that is being changed." into qt-dev
Bo Liu [Fri, 5 Apr 2019 18:54:52 +0000 (14:54 -0400)]
Do not start jit profile in app zygote
Bug:
130031692
Test: Scenario in bug works.
Change-Id: Ia28e8fc60cdf4afd2215b9f2239ca215694fc76c
TreeHugger Robot [Fri, 5 Apr 2019 18:53:49 +0000 (18:53 +0000)]
Merge "Re-inflate views in onOverlayChanged." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 18:50:23 +0000 (18:50 +0000)]
Merge "Update action bar dark theme style" into qt-dev
Rob Carr [Fri, 5 Apr 2019 18:47:40 +0000 (18:47 +0000)]
Merge "SurfaceFlinger: Add exclusion list for captureLayers." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 18:33:24 +0000 (18:33 +0000)]
Merge "Fix metadata surfacecontrol api/jni" into qt-dev
Joshua Tsuji [Fri, 5 Apr 2019 18:21:53 +0000 (14:21 -0400)]
Run end actions immediately if there are no children to animate.
This fixes several issues around dismissing the last bubble while in the expanded state, since end actions passed to collapseToStack were never run.
Test: atest SystemUITests
Fixes:
128603791
Fixes:
129359745
Change-Id: I6840c6b0f417c96f7927e96261c9d9436b13c426
TreeHugger Robot [Fri, 5 Apr 2019 18:22:25 +0000 (18:22 +0000)]
Merge "Format all IconPack overlay resources." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 18:13:30 +0000 (18:13 +0000)]
Merge "Don't set sehash when calling restoreconRecursive" into qt-dev
Philip P. Moltmann [Fri, 5 Apr 2019 18:13:14 +0000 (18:13 +0000)]
Merge "Remove Gallery and Music role" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 18:04:23 +0000 (18:04 +0000)]
Merge "Add getTextClassifier perf test" into qt-dev
John Reck [Fri, 5 Apr 2019 17:59:10 +0000 (17:59 +0000)]
Merge "Fix lifecycle issue in CommonPool" into qt-dev
Mill Chen [Fri, 5 Apr 2019 17:36:56 +0000 (10:36 -0700)]
Send a broadcast for grayscale changed
Add android.settings.action.GRAYSCALE_CHANGED to protected broadcast
list.
Bug:
118387886
Test: manual
Change-Id: I67c49ead44c81880bceef708315ed98c8a69508a
TreeHugger Robot [Fri, 5 Apr 2019 17:50:52 +0000 (17:50 +0000)]
Merge "Ensure getParentSurfaceControl and getSurfaceControl return valid or null SC" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 17:44:25 +0000 (17:44 +0000)]
Merge "Adding a level of indirection. Dimens value should live in the framework/base and not the overlay." into qt-dev
Eugene Susla [Thu, 4 Apr 2019 17:07:33 +0000 (10:07 -0700)]
Perform initial grants on package change asynchronously
Fixes:
129048190
Test: manual; presubmit
Change-Id: I9cfa3c312bb4d620516c3420831c8ed55c28b59c
Matt Pietal [Fri, 5 Apr 2019 17:20:31 +0000 (13:20 -0400)]
Sharesheet - Content preview polish
1. Add ripple feedback to clipboard copy even though the sharesheet
disappears really fast and you may not see it.
2. Make sure file icon is gray and not influence by the overlay.
3. Default multiple file sharing to file preview area and not image
preview area when there are mixed file types
Bug:
129979196
Test: Visual inspection
Change-Id: Ia86d418ccaca9a122f00dbc3e9c3b30785fb2abd
TreeHugger Robot [Fri, 5 Apr 2019 17:26:53 +0000 (17:26 +0000)]
Merge "Support profileable application action" into qt-dev
Hyunyoung Song [Fri, 5 Apr 2019 17:22:48 +0000 (10:22 -0700)]
Set config_dialogCornerRadius to square icon shape
Bug:
130028929
Test: flashed and used developers options / square to test it out
Change-Id: I9bdae337be36ce775b50ad859ea557e1c3ef8e93
Chong Zhang [Fri, 5 Apr 2019 17:18:04 +0000 (17:18 +0000)]
Merge "make libmedia_jni_utils depends on libgui" into qt-dev
David Su [Fri, 5 Apr 2019 17:15:01 +0000 (17:15 +0000)]
Merge "wifi.proto: Add link probe event to StaEvent" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 17:06:51 +0000 (17:06 +0000)]
Merge "zygote: initialize ashmem early" into qt-dev
Salvador Martinez [Thu, 28 Mar 2019 22:14:54 +0000 (15:14 -0700)]
Update action bar dark theme style
Sets the background colors for action bars in the dark theme
style for DeviceDefault to use a black background. Settings
was overriding it locally so other apps weren't getting the
correct color.
Test: visual inspection
Bug:
120422008
Change-Id: Ic2b0235b7825a5651d1db52265dea5e74af7c2fe
Amin Shaikh [Fri, 5 Apr 2019 16:43:19 +0000 (12:43 -0400)]
Format all IconPack overlay resources.
Ran vendor/google_experimental/users/ashaikh/IconPack/format_icon_pack_xml.sh
which formats all drawable resources using the same ordering as android
studio. All future icon pack updates will include formatting resources this way.
Bug:
118757293
Test: make
Change-Id: I8978dc72369ec98a8a29ba9ec787fd8de860cb73
Nick Kralevich [Thu, 4 Apr 2019 22:54:58 +0000 (15:54 -0700)]
Don't set sehash when calling restoreconRecursive
restorecon_recursive updates the SELinux label of the files in the
filesystem, and then attempts to write the xattr "security.sehash" as an
optimization for future restorecons. Writing security.* extended
attributes requires CAP_SYS_ADMIN, which system_server doesn't have (and
shouldn't have).
Suppress the computation and writing of the hash value. It's not
needed.
This bug has been around for a long time, but due to the fix for
bug
62302954, the error message is being generated more frequently
now.
TODO: It would be better if the default for restorecon was to suppress
the hash computation, since otherwise it encourages programs to be
overprivileged with CAP_SYS_ADMIN. I'll plan on doing that in a followup
commit.
Bugs where this error message has been called out:
Bug:
129766333
Bug:
129271240
Bug:
128700692
Bug:
129925723
Test: install an APK and ensure that no "SELinux: setxattr failed"
error messages are generated.
(cherry picked from commit
cb1dddad27b86e675f7141ca429e9bb8ab8ac410)
Change-Id: Ifc5be24d14029cb616d5564366fc10a0b93c9939
Chavi Weingarten [Fri, 5 Apr 2019 16:41:43 +0000 (16:41 +0000)]
Merge "Only switch task focus to window's task that was tapped outside current focus" into qt-dev
Courtney Goeltzenleuchter [Fri, 5 Apr 2019 16:37:25 +0000 (16:37 +0000)]
Merge "EGLAttrib requires special handling in JNI" into qt-dev
sqian [Fri, 5 Apr 2019 16:21:31 +0000 (09:21 -0700)]
Fix documentation of CallRedirectionService
Test: sanity
Bug:
130026756
Change-Id: I48f60b3c4a465e22250aa513a4d7d73f82375426
Evan Rosky [Thu, 4 Apr 2019 02:27:18 +0000 (19:27 -0700)]
Fix metadata surfacecontrol api/jni
This was wrong
Bug:
122925737
Test: Using setMetadata doesn't crash anymore
Change-Id: I75216ca9778e356b3f2a76555367e2563d9a29e0
Robert Carr [Thu, 4 Apr 2019 19:02:51 +0000 (12:02 -0700)]
Ensure getParentSurfaceControl and getSurfaceControl return valid or null SC
Many places (like SurfaceAnimator#reset) expect that these SC will be valid or
null, but various implementors of Animatable were not fulfilling this contract.
Fulfill the contract and update the java-doc. Since everyone follows function
documentation this will never happen again.
Test: Existing tests pass. go/wm-smoke
Bug:
129949355
Change-Id: I5acb6b3209158c4c5b258a06c5d60d9e06bb6db1
Zimuzo [Fri, 29 Mar 2019 17:42:19 +0000 (17:42 +0000)]
Add supported PackageInfo to ExplicitHealthCheckService API
With the change in I4f13638598037acaeb30d61c8d5178f45882fcba
to separate the PackageWatchdog package expiry deadline from the explicit
health check deadline. It would be cleaner for ExtServices to supply
this deadline per-package. We now do that as a field in
PackageInfo.
Bug:
120598832
Test: Builds
Change-Id: I29e2d619a5296716c29893ab3aa2f35f69bfb4d7
Eric Laurent [Fri, 5 Apr 2019 16:00:00 +0000 (16:00 +0000)]
Merge "fix AudioAttributes matching rule in AudioProductStrategy" into qt-dev
Eric Laurent [Fri, 5 Apr 2019 16:00:00 +0000 (16:00 +0000)]
Merge "Revert "Revert "Mute haptic channels by default.""" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 15:52:17 +0000 (15:52 +0000)]
Merge "Flag to configure model parameters" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 15:41:25 +0000 (15:41 +0000)]
Merge "Set system gesture exclusion rects for Bubbles" into qt-dev
Priyank Singh [Fri, 29 Mar 2019 22:00:16 +0000 (15:00 -0700)]
Volume dialog should show the volume for the group id that is being changed.
Bug:
117938620
Test: Manual
Change-Id: Ib32c1ac996c2f444d815390fc928381c8f781c2b
Priyank Singh [Wed, 27 Mar 2019 22:40:05 +0000 (15:40 -0700)]
Adding a level of indirection. Dimens value should live in the framework/base and not the overlay.
Bug:
129080865
Test: Manual
Change-Id: Ic6bc3b254c32afad4230351fe9dd33217a7a86a4
TreeHugger Robot [Fri, 5 Apr 2019 15:27:05 +0000 (15:27 +0000)]
Merge "Catch ArrayIndexOutOfBoundsException in StateMachine.toString()" into qt-dev
Jeff Sharkey [Fri, 5 Apr 2019 15:18:23 +0000 (15:18 +0000)]
Merge "Fix isExternalStorageSandboxed() bug." into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 15:05:15 +0000 (15:05 +0000)]
Merge "Expose notification guts on menu shown" into qt-dev
Robert Snoeberger [Fri, 5 Apr 2019 14:37:21 +0000 (10:37 -0400)]
Re-inflate views in onOverlayChanged.
onThemeChanged had been used to re-inflate changes, but
ag/
6670184 modified onThemeChanged to exit early if the
ThemeResId hasn't changd. A style change doesn't change
the ThemeResId, so re-inflating views in onOverlayChanged
so that font, etc. will update.
Fixes:
129870891
Test: Lock screen font changes with style change.
Change-Id: Ib4aecb017012d5035753fdc3a71615cb7b5216ce
TreeHugger Robot [Fri, 5 Apr 2019 14:26:14 +0000 (14:26 +0000)]
Merge "Update icon for Calendar permission." into qt-dev
Todd Kennedy [Fri, 5 Apr 2019 14:16:37 +0000 (14:16 +0000)]
Merge "fix nullability" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 14:10:41 +0000 (14:10 +0000)]
Merge "Sharesheet - Limit EXTRA_INITIAL_INTENTS to 2" into qt-dev
TreeHugger Robot [Fri, 5 Apr 2019 14:08:52 +0000 (14:08 +0000)]
Merge "Update theme icon packs." into qt-dev
Mark Renouf [Mon, 1 Apr 2019 18:17:37 +0000 (14:17 -0400)]
Set system gesture exclusion rects for Bubbles
When there is at least one Bubble on-screen, the bounds
of the first (top) bubble are set to exclude system
navigation gestures.
Test: manually w/fully gesture nav enabled
Bug:
126360272
Change-Id: I47a3c69fdc89476805d48b5214a7f05f5d033306
Tony Mak [Fri, 22 Mar 2019 15:35:15 +0000 (15:35 +0000)]
Flag to configure model parameters
The objective is to allow us to push model parameters by using a settings flag,
without the need of pushing a new model file.
Settings.Global#TEXT_CLASSIFIER_ACTION_MODEL_PARAMS stores a comma
separated string that contains these three fields:
1. required_model_version
2. required_locales
3. serialized_preconditions
To ensure serialized_preconditions is applied to the target model file,
TextClassifierImpl only applies the serialized_preconditions when
required_model_version and required_locales are both met.
Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/
Test: adb shell settings put global text_classifier_action_model_params 'required_model_version=0,required_locales=en,serialized_preconditions=FAAAAAAADgAIAAAAAAAAAAAABAAOAAAAAAAAAA=='
Observe that the flag is actually applied in the model.
Test: Ensure that finalize is called when the activity is dead.
BUG:
123616497
Change-Id: Ie42dcfeee705c83bbb693a5c1a0fedd0821df5e7
TreeHugger Robot [Fri, 5 Apr 2019 13:26:20 +0000 (13:26 +0000)]
Merge "Stores serialized entity data to the extras" into qt-dev
Narayan Kamath [Fri, 5 Apr 2019 12:39:42 +0000 (12:39 +0000)]
Merge "Fix rollbacks in multi-user case." into qt-dev
Matt Pietal [Fri, 5 Apr 2019 12:32:47 +0000 (08:32 -0400)]
Sharesheet - Limit EXTRA_INITIAL_INTENTS to 2
Will eventually merge with suggested apps
Bug:
129979509
Test: ChooserActivityTest
Change-Id: I0e5f5a42155c83c77c6f6e355289218bc88033e7