OSDN Git Service
Andrew Sapperstein [Mon, 26 Feb 2018 00:25:38 +0000 (16:25 -0800)]
Add attr for customizing progress bar corner radius.
Adds progressBarCornerRadius, a private attr that allows tweaking
the corner radius for progress bars and seek bars.
Also adds default values for Material and DeviceDefault themes
as well as a config_progressBarCornerRadius value for OEM
overlaying.
Updates the backgrounds for SeekBar and determinate ProgressBars
to use the new attr.
Bug:
69314526
Test: ag/
3659018
Change-Id: Ifb16472da8829c484beb7d034b019ba9545696be
Gopinath Elanchezhian [Fri, 23 Feb 2018 22:20:22 +0000 (22:20 +0000)]
Merge "Add support for hot launch in App launch test."
Lucas Dupin [Fri, 23 Feb 2018 22:11:06 +0000 (22:11 +0000)]
Merge "Alignment of clock and shade"
Jeff Davidson [Fri, 23 Feb 2018 21:47:01 +0000 (21:47 +0000)]
Merge "Factor out telephony permission checks into a helper class." am:
fc5d8c8f31 am:
5275c0b123
am:
644c763b0d -s ours
Change-Id: I151703d7cb39b7dca2cbe10a572de5c3c4f00826
TreeHugger Robot [Fri, 23 Feb 2018 21:41:49 +0000 (21:41 +0000)]
Merge "Guard against updateDoze after detach"
Jeff Davidson [Fri, 23 Feb 2018 21:33:07 +0000 (21:33 +0000)]
Merge "Factor out telephony permission checks into a helper class." am:
fc5d8c8f31
am:
5275c0b123
Change-Id: Ieedbcc2f40f70beb43cfb4d0e677d72f6b3ff8f5
Andreas Gampe [Fri, 23 Feb 2018 21:26:02 +0000 (21:26 +0000)]
Merge "Frameworks: Remove bogus test method" am:
c65d52ff78 am:
8120e8616b
am:
dd531adbd2
Change-Id: I0317dedfe5c20c54551f72e6c691dea67dde83ca
Jeff Davidson [Fri, 23 Feb 2018 21:24:36 +0000 (21:24 +0000)]
Merge "Factor out telephony permission checks into a helper class."
am:
fc5d8c8f31
Change-Id: I25cda3c74bb15d5a50414ecb5dbf788ce2d32828
TreeHugger Robot [Fri, 23 Feb 2018 21:21:20 +0000 (21:21 +0000)]
Merge "Use PooledLambda in print code"
TreeHugger Robot [Fri, 23 Feb 2018 21:20:20 +0000 (21:20 +0000)]
Merge "Use android reinterpret hash for float as it is faster."
Gil O'Neil [Fri, 23 Feb 2018 21:18:40 +0000 (21:18 +0000)]
Merge "Allow certificates to be stored in the carrier app whitelist"
Zhi An Ng [Fri, 23 Feb 2018 21:15:32 +0000 (21:15 +0000)]
Merge "Revert "Revert "Log the apk optimization state in the MetricsLogger"""
Andreas Gampe [Fri, 23 Feb 2018 21:15:06 +0000 (21:15 +0000)]
Merge "Frameworks: Remove bogus test method" am:
c65d52ff78
am:
8120e8616b
Change-Id: I1dd4cb24ed7c5afdb9185bacabf7b0a3e8f3a7d8
Andreas Gampe [Fri, 23 Feb 2018 21:08:46 +0000 (21:08 +0000)]
Merge "Frameworks: Remove bogus test method"
am:
c65d52ff78
Change-Id: Iee4a75368b1f8d0cc9cc0594126f29acb0b5a5b7
TreeHugger Robot [Fri, 23 Feb 2018 21:08:38 +0000 (21:08 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 23 Feb 2018 21:05:23 +0000 (21:05 +0000)]
Merge "Provide the option to disable fading the pattern."
Leon Scroggins [Fri, 23 Feb 2018 20:39:21 +0000 (20:39 +0000)]
Merge "Add AnimatedImageDrawable.getLoopCount"
TreeHugger Robot [Fri, 23 Feb 2018 20:25:56 +0000 (20:25 +0000)]
Merge "Make mapIntentToUri understand meta-data hookup"
TreeHugger Robot [Fri, 23 Feb 2018 20:25:36 +0000 (20:25 +0000)]
Merge "Modify framework default app icon for Wear."
TreeHugger Robot [Fri, 23 Feb 2018 20:18:28 +0000 (20:18 +0000)]
Merge "GnssLocationProvider metrics race condition fix"
TreeHugger Robot [Fri, 23 Feb 2018 20:18:23 +0000 (20:18 +0000)]
Merge "Revert "Disabled presubmit for flakey test""
Jeff Davidson [Fri, 23 Feb 2018 20:00:15 +0000 (20:00 +0000)]
Merge "Factor out telephony permission checks into a helper class."
TreeHugger Robot [Fri, 23 Feb 2018 19:53:17 +0000 (19:53 +0000)]
Merge "Update call to null out GrVkAlloc in VulkanManager"
gopinath [Wed, 21 Feb 2018 01:21:18 +0000 (17:21 -0800)]
Add support for hot launch in App launch test.
force-stop-app option is added to control hot launch and
cold launch.
Bug: b/
73091210
Test:
am instrument -w -r -e debug false -e launch_directory /sdcard
-e apps "Calculator^Calculator|Clock^Clock" -e trial_launch true
-e log false -e timeout_msec 300000 -e force-stop-app false
-e launch_order CYCLIC -e simpleperf_cmd "simpleperf stat -a"
-e launch_iterations 10 com.android.tests.applaunch/android.test.InstrumentationTestRunner
Change-Id: I4b0f7a61c46e8091e69cad9fa65b5b34f680252d
Treehugger Robot [Fri, 23 Feb 2018 19:28:55 +0000 (19:28 +0000)]
Merge "Frameworks: Remove bogus test method"
Yangster-mac [Fri, 23 Feb 2018 19:11:36 +0000 (11:11 -0800)]
Use android reinterpret hash for float as it is faster.
Test: statsd test
Change-Id: I593edac1d7dcd0c5e84195602b42b7c6c3072a38
Lucas Dupin [Mon, 19 Feb 2018 03:39:32 +0000 (19:39 -0800)]
Alignment of clock and shade
Test: visual
Change-Id: If7ff8c34a5053d5df8f6dc38c53cc728fef89ede
Fixes:
72968018
Fixes:
72417398
Fixes:
73087486
Fixes:
72566197
Eugene Susla [Tue, 13 Feb 2018 00:17:26 +0000 (16:17 -0800)]
Use PooledLambda in print code
This replaces the usage of handler message types with PooledLambda
Test: atest CtsPrintTestCases
Change-Id: I19b01278b67b5fe18d48a2e0bb8300bbe1413a63
Eugene Susla [Fri, 23 Feb 2018 19:06:14 +0000 (19:06 +0000)]
Merge "Use PooledLambda in A11yManagerService"
Chavi Weingarten [Fri, 23 Feb 2018 19:04:55 +0000 (19:04 +0000)]
Merge "Move performSurfacePlacement after tryStartExitingAnimation"
TreeHugger Robot [Fri, 23 Feb 2018 19:04:11 +0000 (19:04 +0000)]
Merge "MediaCas: use HidlMemory to avoid handle leaks"
TreeHugger Robot [Fri, 23 Feb 2018 18:50:16 +0000 (18:50 +0000)]
Merge "Statsd alerts can inform subscribers probabilistically"
TreeHugger Robot [Fri, 23 Feb 2018 18:47:56 +0000 (18:47 +0000)]
Merge "camera: Add OisSamples synthetic key"
Michal Karpinski [Fri, 23 Feb 2018 18:47:03 +0000 (18:47 +0000)]
Merge "Support bmgr wipe also for full backup apps"
Bryce Lee [Fri, 23 Feb 2018 18:38:37 +0000 (18:38 +0000)]
Merge "Always finish activity when moving to a destroyed state."
Jorim Jaggi [Fri, 23 Feb 2018 18:33:52 +0000 (18:33 +0000)]
Merge "Don't wait keyguard drawn if device has no keyguard" am:
a6e5165b2c am:
94ec9e3e4b
am:
239d74fa19
Change-Id: I19abbe828a0004888143be02fd6ca834d8013a64
TreeHugger Robot [Fri, 23 Feb 2018 18:26:36 +0000 (18:26 +0000)]
Merge "New APIs to let app developers manage autofill semantics when reusing views."
Jorim Jaggi [Fri, 23 Feb 2018 18:20:35 +0000 (18:20 +0000)]
Merge "Don't wait keyguard drawn if device has no keyguard" am:
a6e5165b2c
am:
94ec9e3e4b
Change-Id: I1391b28a04611f4e4445d53d3323fad8fb98528f
Adrian Roos [Fri, 23 Feb 2018 18:19:49 +0000 (18:19 +0000)]
Merge "Follow up to Iff58235b5bdfd0d49df259a91b05e54e3864f41c"
Greg Daniel [Fri, 23 Feb 2018 18:16:12 +0000 (13:16 -0500)]
Update call to null out GrVkAlloc in VulkanManager
Test: manual testing
Change-Id: Ia0af7526cad2dc4614afc73c31bf07e25890c677
Zhizhi Liu [Fri, 23 Feb 2018 18:12:19 +0000 (18:12 +0000)]
Merge "Make SuggestionController guard RuntimeException."
Andrew Zeng [Fri, 19 Jan 2018 19:07:37 +0000 (11:07 -0800)]
Modify framework default app icon for Wear.
Bug:
67707364
Change-Id: I7e88d8822fc041c2187fba76770b98bde6ed22fd
(cherry picked from commit
8299f13e4d63a5ae2df3ede43bb740b496385247)
(cherry picked from commit
b35da3135c797722a04f4cbf9e1f5fa7e27b993f)
Jorim Jaggi [Fri, 23 Feb 2018 18:08:13 +0000 (18:08 +0000)]
Merge "Don't wait keyguard drawn if device has no keyguard"
am:
a6e5165b2c
Change-Id: I8e198596eaec74fb022530544adad8efa0aadf52
Erik Wolsheimer [Wed, 15 Nov 2017 20:08:32 +0000 (12:08 -0800)]
Guard against updateDoze after detach
Bug:
68815183
Change-Id: I147f04af4ea1af59f95757a14de3c34021e048a5
TreeHugger Robot [Fri, 23 Feb 2018 17:53:32 +0000 (17:53 +0000)]
Merge "DisplayCutout: Let dreams always extend under the cutout"
TreeHugger Robot [Fri, 23 Feb 2018 17:49:17 +0000 (17:49 +0000)]
Merge "STOPSHIP: Roll forward: Add UidCpuPower global setting"
Jack Yu [Fri, 23 Feb 2018 17:46:03 +0000 (17:46 +0000)]
Merge "Fixed service state CTS test failing" am:
ab5bc3be50 am:
f535f8108d
am:
09da9870d0
Change-Id: Iac059a0df9bf6c3920327101d4423ef9acc60ebb
TreeHugger Robot [Fri, 23 Feb 2018 17:42:45 +0000 (17:42 +0000)]
Merge "Revert "Add "Unlocked device required" parameter to keys""
Christine Franks [Fri, 23 Feb 2018 17:39:21 +0000 (17:39 +0000)]
Merge "Support forced Night Display auto mode"
Jack Yu [Fri, 23 Feb 2018 17:27:20 +0000 (17:27 +0000)]
Merge "Fixed service state CTS test failing" am:
ab5bc3be50
am:
f535f8108d
Change-Id: Ia3e1e58acda7aa3099c93f1f6c2bef9f53828e4d
Jorim Jaggi [Fri, 23 Feb 2018 17:27:15 +0000 (17:27 +0000)]
Merge "Make the dump of the window hierarchy more readable"
Lucas Dupin [Fri, 23 Feb 2018 17:21:27 +0000 (17:21 +0000)]
Merge "Ensure keyguard slice use correct colors"
Jack Yu [Fri, 23 Feb 2018 17:18:49 +0000 (17:18 +0000)]
Merge "Fixed service state CTS test failing"
am:
ab5bc3be50
Change-Id: I38fc94d366a16acee810fd9336750044508cf766
TreeHugger Robot [Fri, 23 Feb 2018 17:00:52 +0000 (17:00 +0000)]
Merge "In the spirit of writing stuff down"
Pavlin Radoslavov [Fri, 23 Feb 2018 16:48:47 +0000 (16:48 +0000)]
Merge "Removed executable flag for Java source files" am:
9a7c651196 am:
9304dc9f36
am:
38c41a938f
Change-Id: I6b85de3cb0d55bf3dc88ecd39b31228c43e9ab01
Robert Berry [Fri, 23 Feb 2018 16:40:36 +0000 (16:40 +0000)]
Merge "Make it possible to construct a RecoverySession"
Pavlin Radoslavov [Fri, 23 Feb 2018 16:35:36 +0000 (16:35 +0000)]
Merge "Removed executable flag for Java source files" am:
9a7c651196
am:
9304dc9f36
Change-Id: I3123d49a045b91be0b1a22531110b069dfcf8890
Bryce Lee [Fri, 16 Feb 2018 22:34:32 +0000 (14:34 -0800)]
Always finish activity when moving to a destroyed state.
There is a possibility that an activity will not be marked as
finishing when its state is moved to the destroying/destroyed state.
This opens up the possibility of future lifecycle actions that are
gated by the finishing flag. As a result, errant signals can be
sent to the client for a destroyed activity.
This changelist addresses the issue by limiting interaction with
ActivityRecord's state to accessors. When the state is changed to
destroyed or destroying, the activity is subsequently marked as
finished.
Bug:
71506345
Test: atest FrameworksServicesTests:com.android.server.am.ActivityRecordTests#testFinishingAfterDestroying
Test: atest FrameworksServicesTests:com.android.server.am.ActivityRecordTests#testFinishingAfterDestroyed
Change-Id: Iae8766201477103c9d632a16ecb9f6e95f796a45
Jeff Sharkey [Fri, 23 Feb 2018 16:28:58 +0000 (16:28 +0000)]
Merge "Name specific app for rapid data usage."
Jeff Sharkey [Wed, 21 Feb 2018 00:24:55 +0000 (17:24 -0700)]
Name specific app for rapid data usage.
When a single app is responsible for more than half of the data usage
that caused us to trigger a "rapid usage" alert, name that app in the
notification. Tests to verify.
Move NPMS->NSS direct calls to "Internal" pattern, following
best-practices to avoid unnecessary AIDL exposure.
Remove 3G/4G split mobile plan support, which has been deprecated for
years and was never supported in a shipping product.
Move MultipathPolicyTracker in tree to reflect its package name.
Test: bit FrameworksNetTests:*
Test: bit FrameworksServicesTests:com.android.server.NetworkPolicyManagerServiceTest
Bug:
69263587,
64221505,
73431080,
72746951
Exempt-From-Owner-Approval: approved in previous PS
Change-Id: I3e4ec1ae2222d51b232f76f32faca93d4f8cd272
Jeff Sharkey [Fri, 23 Feb 2018 16:26:29 +0000 (16:26 +0000)]
Merge changes Icdb40ee3,I4c239844
* changes:
Knobs for connectivity experiments.
Mechanical refactoring to improve job dumping.
Philip P. Moltmann [Fri, 23 Feb 2018 16:24:41 +0000 (16:24 +0000)]
Merge "Create print job when print activity starts"
Pavlin Radoslavov [Fri, 23 Feb 2018 16:23:45 +0000 (16:23 +0000)]
Merge "Removed executable flag for Java source files"
am:
9a7c651196
Change-Id: Ia14ec1352400d603e51a3eaadd6d3910a10b6dc2
Jorim Jaggi [Fri, 23 Feb 2018 16:06:59 +0000 (16:06 +0000)]
Merge "Don't wait keyguard drawn if device has no keyguard"
chaviw [Fri, 16 Feb 2018 18:53:24 +0000 (10:53 -0800)]
Move performSurfacePlacement after tryStartExitingAnimation
In performSurfacePlacement, there's downstream code to update
the navbar color based on whether the IME is visible. However, IME
is only marked not visible once tryStartExitingAnimation is called.
Therefore, tryStartExitingAnimation needs to happen before the
attempt to update the navbar color so it can know that the IME
is going to be hidden.
Change-Id: I3a337d1b3a2caea8694204111f778924d2fd3ec0
Fixes:
71877162
Test: After closing IME in dialer, navbar color returns to original.
Test: go/wm-smoke
Treehugger Robot [Fri, 23 Feb 2018 15:41:32 +0000 (15:41 +0000)]
Merge "Fixed service state CTS test failing"
Jason Monk [Thu, 22 Feb 2018 19:11:58 +0000 (14:11 -0500)]
In the spirit of writing stuff down
Write some stuff down
Test: none
Change-Id: I9997db5f9c4d75b0c066f002f234dbeaec6932a4
Michal Karpinski [Fri, 23 Feb 2018 15:16:04 +0000 (15:16 +0000)]
Support bmgr wipe also for full backup apps
Previously we'd only really clear data for K/V packages,
now we consult with the journal of ever backed apps.
Bug:
28405555
Test: manual (adb shell bmgr wipe com.google.android.gms/.backup.BackupTransportService com.android.wallpaperbackup
after adb shell bmgr backupnow --all)
Test: m -j RunFrameworksServicesRoboTests
Test: runtest -p com.android.server.backup frameworks-services
Change-Id: If99cb2c8ab9ddc05386d634818f4585ec47efc00
Leon Scroggins [Fri, 23 Feb 2018 14:45:54 +0000 (14:45 +0000)]
Merge "Fixes for inflating AnimatedImageDrawable"
Leon Scroggins III [Fri, 23 Feb 2018 14:38:12 +0000 (09:38 -0500)]
Add AnimatedImageDrawable.getLoopCount
Bug:
73791004
Test: Id0335f15fdf0ebdc16d1edcabca547b9399c506f
Change-Id: I1c048196e45b91a1039c1f89e2176592765d2967
Wale Ogunwale [Fri, 23 Feb 2018 14:25:25 +0000 (14:25 +0000)]
Merge "updateNonSystemOverlayWindowsVisibilityIfNeeded on relayoutWindow"
Jason Monk [Fri, 23 Feb 2018 13:59:31 +0000 (08:59 -0500)]
Make mapIntentToUri understand meta-data hookup
Test: uiservicestests
Bug:
73741418
Change-Id: I399476b94d59996828405d7fbcc4f6aa532f49d8
Treehugger Robot [Fri, 23 Feb 2018 13:38:29 +0000 (13:38 +0000)]
Merge "Removed executable flag for Java source files"
TreeHugger Robot [Fri, 23 Feb 2018 12:50:37 +0000 (12:50 +0000)]
Merge "[Magnifier-25] Fix race condition after #dismiss"
Jorim Jaggi [Fri, 23 Feb 2018 12:28:15 +0000 (13:28 +0100)]
Make the dump of the window hierarchy more readable
Activities weren't indented, making it hard to read.
Test: dumpsys window -a
Change-Id: Ibd39bd34ac128caf67eb07c932913a9078de9439
Robert Berry [Thu, 22 Feb 2018 15:24:05 +0000 (15:24 +0000)]
Make it possible to construct a RecoverySession
These methods are currently inaccessible.
Bug:
73763265
Test: it builds
Change-Id: I8358a8084e1c4fa96b1fe599ef6b17d6196d6a12
Pavlin Radoslavov [Mon, 18 Dec 2017 20:56:18 +0000 (12:56 -0800)]
Removed executable flag for Java source files
Test: Code compilation
Change-Id: Ibfb57c6af54ace94eb9f9915471738f2f09ca70a
Peter Visontay [Fri, 23 Feb 2018 10:25:44 +0000 (10:25 +0000)]
Merge "Add unit tests for AppOpsService."
Bernardo Rufino [Fri, 23 Feb 2018 09:29:21 +0000 (09:29 +0000)]
Merge "Extend XML parser to allow optional requiredFlags attribute for <include /> rules in <full-backup-content> specification"
TreeHugger Robot [Fri, 23 Feb 2018 09:28:33 +0000 (09:28 +0000)]
Merge "Using ParceledListSlice for {get|set}AppStandbyBuckets"
TreeHugger Robot [Fri, 23 Feb 2018 07:53:51 +0000 (07:53 +0000)]
Merge "MediaControlView2: Add Support for Ad"
Cassie [Fri, 23 Feb 2018 07:07:18 +0000 (07:07 +0000)]
Merge "Add comments according to the API review process." am:
e9a215b238 am:
b3b458b9ad
am:
b1b06cbaf5
Change-Id: Ic90fe7f73ae2442e5bd3c8e7f69e70c1b5332ff6
Cassie [Fri, 23 Feb 2018 06:56:56 +0000 (06:56 +0000)]
Merge "Add comments according to the API review process." am:
e9a215b238
am:
b3b458b9ad
Change-Id: Ie9c3ce9bc67c08d99ea1c1ebfce5fbc78575baea
TreeHugger Robot [Fri, 23 Feb 2018 06:51:31 +0000 (06:51 +0000)]
Merge changes from topic "update_mapping"
* changes:
Rework how pinning works
Follow prebuilt/API update
Cassie [Fri, 23 Feb 2018 06:45:24 +0000 (06:45 +0000)]
Merge "Add comments according to the API review process."
am:
e9a215b238
Change-Id: I3c079d96e4f8469b3e40eb7e5a9230544c752d57
TreeHugger Robot [Fri, 23 Feb 2018 06:29:26 +0000 (06:29 +0000)]
Merge "Revert "Comment out CustomEditTextPreferenceTest which is failing...""
TreeHugger Robot [Fri, 23 Feb 2018 06:17:20 +0000 (06:17 +0000)]
Merge "Explicitly restart the killed wallpaper service"
TreeHugger Robot [Fri, 23 Feb 2018 06:10:21 +0000 (06:10 +0000)]
Merge "Reset compat mode settings on settings change."
TreeHugger Robot [Fri, 23 Feb 2018 06:06:47 +0000 (06:06 +0000)]
Merge "DisplayCutout: Fix positioning of NO_LIMITS windows"
TreeHugger Robot [Fri, 23 Feb 2018 05:48:18 +0000 (05:48 +0000)]
Merge "OMS: Make updates to category not reset the overlay's state"
Jin Seok Park [Fri, 9 Feb 2018 07:25:46 +0000 (16:25 +0900)]
MediaControlView2: Add Support for Ad
Add APIs for getting/setting MediaMetadata2 in oder to add support
for Advertising media type.
Bug:
73136129
Test: run VideoViewTest.apk
Change-Id: Iab8e23c1f02f4e2df62a6732112b233541f8f35c
Treehugger Robot [Fri, 23 Feb 2018 05:32:35 +0000 (05:32 +0000)]
Merge "Add comments according to the API review process."
TreeHugger Robot [Fri, 23 Feb 2018 05:27:01 +0000 (05:27 +0000)]
Merge "Import translations. DO NOT MERGE"
Andreas Gampe [Fri, 23 Feb 2018 05:25:25 +0000 (21:25 -0800)]
Frameworks: Remove bogus test method
It's tripping Errorprone's JUnit3 test pattern.
Bug:
73797534
Test: m javac-check RUN_ERROR_PRONE=true
Change-Id: Ib0b9b342e085ba640d60e82ebd9a1bbb4fc4e916
TreeHugger Robot [Fri, 23 Feb 2018 04:11:13 +0000 (04:11 +0000)]
Merge "Dump last 24 hours of UsageStats events"
TreeHugger Robot [Fri, 23 Feb 2018 03:57:05 +0000 (03:57 +0000)]
Merge "Implement brightness slider spec."
Tracy Zhou [Fri, 23 Feb 2018 03:51:02 +0000 (03:51 +0000)]
Merge "Dismiss PIP window when PIP is disabled from settings."
Selim Cinek [Fri, 23 Feb 2018 03:37:31 +0000 (03:37 +0000)]
Revert "Disabled presubmit for flakey test"
This reverts commit
5bdfb4c1bd0e3edbf02fe28151ec4e735c7d0adf.
Reason for revert: fixed the flakyness in ag/
3650459
Change-Id: I4a73a0f82a087fb59da79f286e98f0e1f88693b5
Selim Cinek [Fri, 23 Feb 2018 03:35:40 +0000 (03:35 +0000)]
Merge "Fixed an issue with a test that didn't work properly"
Selim Cinek [Fri, 23 Feb 2018 02:35:53 +0000 (18:35 -0800)]
Fixed an issue with a test that didn't work properly
This was causing tool failures.
Change-Id: Ia29b2b22dc1e0bf53dfd664280fd69dc110e020b
Fixes:
73791701
Test: runtest systemui