OSDN Git Service
Liefu Liu [Wed, 21 Mar 2018 17:25:49 +0000 (10:25 -0700)]
Updated the javadoc of ContentResolver.addPeriodicSync to correct the minimum interval of periodic sync.
Bug:
76033438
Change-Id: I1ccb7ae174f8f13dae24296a3fb7e9dfcd77c7fa
Fixes:
76033438
Test: javadoc only. presubmit only.
TreeHugger Robot [Wed, 21 Mar 2018 20:09:10 +0000 (20:09 +0000)]
Merge "Enable sanitizer on statsd eng build." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 20:07:41 +0000 (20:07 +0000)]
Merge "add car volume dialog" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:50:40 +0000 (19:50 +0000)]
Merge "Screenshot: extend scrim under cutout" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:45:59 +0000 (19:45 +0000)]
Merge "Suppress all background-state services in user-forced app standby" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:34:52 +0000 (19:34 +0000)]
Merge "Return a boolean from the mandatory backup transport setter." into pi-dev
Jovana Knezevic [Wed, 21 Mar 2018 19:34:32 +0000 (19:34 +0000)]
Merge "Adding UserManagerHelper class to SettingsLib." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 19:12:14 +0000 (19:12 +0000)]
Merge "Document Job Scheduler internal "calling" vs "source" package" into pi-dev
Bryce Lee [Wed, 21 Mar 2018 19:01:36 +0000 (19:01 +0000)]
Merge "Ignore non-existent displays in #topRunningActivityLocked." into pi-dev
Brad Ebinger [Wed, 21 Mar 2018 18:56:00 +0000 (18:56 +0000)]
Merge "Added Locking for MmTelFeature" into pi-dev
Winson Chung [Wed, 21 Mar 2018 18:47:41 +0000 (18:47 +0000)]
Merge "Fix issue with slippery state for quickstep button case." into pi-dev
Chavi Weingarten [Wed, 21 Mar 2018 18:30:13 +0000 (18:30 +0000)]
Merge "Don't add stopping apps in relaunch based on stopped flag." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 18:05:21 +0000 (18:05 +0000)]
Merge "Add metric ACTION_ANOMALY_TRIGGERED" into pi-dev
Lucas Dupin [Wed, 21 Mar 2018 18:04:49 +0000 (18:04 +0000)]
Merge "Renamed config_dozeAfterScreenOff" into pi-dev
Yao Chen [Wed, 21 Mar 2018 18:00:53 +0000 (11:00 -0700)]
Enable sanitizer on statsd eng build.
Bug:
74946342
Test: manual
Change-Id: I287def435d077670814db50e4d8398ecee539b74
TreeHugger Robot [Wed, 21 Mar 2018 17:45:25 +0000 (17:45 +0000)]
Merge "Update material_deep_teal_500 to #008577." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:43:40 +0000 (17:43 +0000)]
Merge "Category message is sufficient for message notif" into pi-dev
Adrian Roos [Wed, 21 Mar 2018 17:33:27 +0000 (17:33 +0000)]
Merge "Preserve letterbox while dragResizing" into pi-dev
Fyodor Kupolov [Wed, 21 Mar 2018 17:25:28 +0000 (17:25 +0000)]
Merge "Include additional information in the dumpsys" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:14:47 +0000 (17:14 +0000)]
Merge "WebView Tracing API: remove LARGE_BUFFER, make RECORD_CONTINUOUSLY the default mode" into pi-dev
Tim Volodine [Mon, 19 Mar 2018 20:07:23 +0000 (20:07 +0000)]
WebView Tracing API: remove LARGE_BUFFER, make RECORD_CONTINUOUSLY the default mode
This patch:
- remove the RECORD_UNTIL_FULL_LARGE_BUFFER tracing option, because
this does not appear really useful in the production setting as
the buffer size limit exceeds the device memory and can grow
uncontrollably large.
- make RECORD_CONTINUOUSLY the default mode for tracing, to make
sure the least memory is used by default (typically 4x less than the
previous default RECORD_UNTIL_FULL).
- add some missing IntDef values (to make them match with the constants)
BUG:
63750258
Test: CTS
Change-Id: Ib3698273dee776ebc7a8388fc1bd8c80255e3b63
TreeHugger Robot [Wed, 21 Mar 2018 17:09:25 +0000 (17:09 +0000)]
Merge "Make autofill save UI RTL compliant" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 17:06:40 +0000 (17:06 +0000)]
Merge "Some Slices API refinement" into pi-dev
Benedict Wong [Wed, 21 Mar 2018 17:03:52 +0000 (17:03 +0000)]
Merge "Added implementation for VTI add/remove address" into pi-dev
Benedict Wong [Wed, 21 Mar 2018 17:03:48 +0000 (17:03 +0000)]
Merge "Add support for auth-only transforms" into pi-dev
Chavi Weingarten [Wed, 21 Mar 2018 17:02:09 +0000 (17:02 +0000)]
Merge "Merge transactions to parent if layer is going to be removed." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 16:50:32 +0000 (16:50 +0000)]
Merge "DisplayCutout: Add back always resource" into pi-dev
Leon Scroggins [Wed, 21 Mar 2018 16:48:19 +0000 (16:48 +0000)]
Merge "Report native allocation size of AnimatedImageDrawable" into pi-dev
David Brazdil [Wed, 21 Mar 2018 16:28:17 +0000 (16:28 +0000)]
Merge "Add new hidden API uses to light greylist" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 16:26:12 +0000 (16:26 +0000)]
Merge "Get rid of upperbound on wireless charging anim" into pi-dev
Salvador Martinez [Wed, 21 Mar 2018 16:23:26 +0000 (16:23 +0000)]
Merge "Update logging util to not crash on null" into pi-dev
Bryce Lee [Tue, 20 Mar 2018 20:58:53 +0000 (13:58 -0700)]
Ignore non-existent displays in #topRunningActivityLocked.
Previous changes aimed at driving display creation through
ActivityManagerService. However, there are still cases where
WindowManagerService will encounter the display first (such as add
window). A subsequent changelist enabled this out of band creation.
As a result the WindowManagerService and ActivityManagerService can
still have different lists of displays. This mismatch leads to
#topRunningActivityLocked processing null ActivityDisplays.
This changelist skips over displays not yet encountered by
ActivityManagerService in #topRunningActivityLocked. Such displays
have no stacks and therefore no activities that could be the top
running activity.
Test: atest FrameworksServicesTests:com.android.server.am.ActivityStackSupervisorTests#testTopRunningActivityLockedWithNonExistentDisplay
Fixes:
74593710
Change-Id: I316e5305f7ce233a04ecf18d605eebdf723b0920
TreeHugger Robot [Wed, 21 Mar 2018 16:07:32 +0000 (16:07 +0000)]
Merge "UsageEvents for slices pinning" into pi-dev
Mike Digman [Wed, 21 Mar 2018 16:03:00 +0000 (16:03 +0000)]
Merge "Ensure rotate disable2 flag can be set on boot" into pi-dev
Mike Digman [Wed, 21 Mar 2018 16:02:45 +0000 (16:02 +0000)]
Merge "Update IME/keyboard switcher navbar icon to GM" into pi-dev
Bryce Lee [Wed, 21 Mar 2018 15:58:08 +0000 (15:58 +0000)]
Merge "Distinguish between bringing stack to front and delivering to top." into pi-dev
Bryce Lee [Wed, 21 Mar 2018 15:57:48 +0000 (15:57 +0000)]
Merge "Add unit test for ActivityStackSupervisor#testApplySleepTokensLocked." into pi-dev
David Brazdil [Tue, 20 Mar 2018 19:48:01 +0000 (19:48 +0000)]
Add new hidden API uses to light greylist
From common apps.
Bug:
64382372
Bug:
74430927
Test: make
Change-Id: I81c38a78fcdc7c33f54cd25823b301ba29638019
TreeHugger Robot [Wed, 21 Mar 2018 15:41:34 +0000 (15:41 +0000)]
Merge "Restore state if password change fails" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 15:33:49 +0000 (15:33 +0000)]
Merge "Update QS customizer add tiles string." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 15:31:38 +0000 (15:31 +0000)]
Merge "Intercept touches in the emulated DisplayCutout" into pi-dev
Annie Meng [Wed, 21 Mar 2018 15:18:35 +0000 (15:18 +0000)]
Merge "DO NOT MERGE Update references to backup/restore agent timeouts" into pi-dev
David Brazdil [Wed, 21 Mar 2018 15:14:54 +0000 (15:14 +0000)]
Merge "More APIs on hidden API light greylist / vendor list" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 15:09:25 +0000 (15:09 +0000)]
Merge "Rename persist.traced.enable to sys.traced.enable_override" into pi-dev
Lucas Dupin [Wed, 21 Mar 2018 15:02:44 +0000 (15:02 +0000)]
Merge "Animate clock after unlocking" into pi-dev
Lenka Trochtova [Fri, 9 Mar 2018 14:47:50 +0000 (15:47 +0100)]
Return a boolean from the mandatory backup transport setter.
Bug:
73813043
Bug:
64012357
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.DeviceOwnerTest#testGetAndSetMandatoryBackupTransport
Test: cts-tradefed run cts -m CtsBackupHostTestCase --test android.cts.backup.BackupDeviceOwnerHostSideTest
Change-Id: I7f47a41070b767a6be8b986be485b4ad782690cf
Beverly [Tue, 20 Mar 2018 19:42:12 +0000 (15:42 -0400)]
Category message is sufficient for message notif
If a notification is marked with category message, then
it is sufficient enough to be deemed a "message" notification.
However, to be considered an important message, we still
check if the message is from the default messaging app and has
category = message.
Change-Id: I4f2b502634b805919bdf8b82e3bdf475c0992bdd
Fixes:
76019310
Test: AttentionManagementVerifierActivity
Test: atest services/tests/uiservicestests/src/com/android/server/notification/NotificationComparatorTest.java
Beverly [Mon, 19 Mar 2018 14:42:06 +0000 (10:42 -0400)]
Get rid of upperbound on wireless charging anim
Previously, if the battery percentage was above 95%, then
wireless charging wouldn't turn the screen on nor play the
wireless charging animation. Now the charging
animation will trigger even if battery percentage is above 95%.
Test: manual
Change-Id: I531334548d41cba8a1a4c28dff484d3f2dfefe01
Fixes:
75029514
David Brazdil [Wed, 21 Mar 2018 14:27:20 +0000 (14:27 +0000)]
More APIs on hidden API light greylist / vendor list
New scan after updates.
Bug:
64382372
Bug:
76062566
Test: make
Change-Id: Ia2c67222bddccb0b7f607ee0ce8951611a668dc3
Jason Monk [Wed, 14 Mar 2018 13:20:39 +0000 (09:20 -0400)]
UsageEvents for slices pinning
Test: atest frameworks/base/services/tests/servicestests
Bug:
73455786
Change-Id: I6a37f5525c29d3f47aa37e262c8834840309ba44
Adrian Roos [Wed, 21 Mar 2018 13:46:10 +0000 (14:46 +0100)]
Screenshot: extend scrim under cutout
Change-Id: I931f1017650240583eac3423d257e9385a7af097
Fixes:
76012211
Test: Enable cutout, take screenshot, verify scrim does extend under status bar
Adrian Roos [Wed, 21 Mar 2018 13:44:13 +0000 (14:44 +0100)]
DisplayCutout: Add back always resource
Temporarily adds back "always" value for layoutInDisplayCutoutMode
until all usages have been migrated to "shortEdges".
Bug:
74983661
Test: make droid
Change-Id: I27189d17129a8dd6e5e9ac3aaf997967df21e8ef
Hector Dearman [Wed, 21 Mar 2018 11:55:19 +0000 (11:55 +0000)]
Rename persist.traced.enable to sys.traced.enable_override
Allowing for both a default in the system
image and an override form the server requires at least two properties.
Given that we're using two properties anyway we can change the
server override to match the pattern of the other flags and not be
a persisted setting.
Test: Manual.
Bug: b/
76077784
Merged-In: I98932085430cdeaf4ccd036a0751f119c0cdeb3c
Change-Id: I98932085430cdeaf4ccd036a0751f119c0cdeb3c
TreeHugger Robot [Wed, 21 Mar 2018 13:29:37 +0000 (13:29 +0000)]
Merge "Correct exiting pip animation state." into pi-dev
Leon Scroggins III [Tue, 20 Mar 2018 15:11:13 +0000 (11:11 -0400)]
Report native allocation size of AnimatedImageDrawable
Bug:
73641604
Test: infeasible
Fix nNativeByteSize's return value to be jlong, instead of long.
Add up the bytes used by the SkAnimatedImage and SkPictures and store
them on the AnimatedImageDrawable for registration.
Note that this is an approximation, and it assumes it will be drawn to a
hardware canvas and animated.
TreeHugger Robot [Wed, 21 Mar 2018 12:52:46 +0000 (12:52 +0000)]
Merge "Amend package whitelist." into pi-dev
Adrian Roos [Wed, 21 Mar 2018 12:52:15 +0000 (12:52 +0000)]
Merge "DisplayCutout: make dock divider cutout aware" into pi-dev
Adrian Roos [Wed, 21 Mar 2018 12:48:26 +0000 (13:48 +0100)]
Preserve letterbox while dragResizing
Fixes an issue where the letterbox would disappear while entering
and leaving dragResizing, because this clears the hasDrawnState.
To fix this, also treat preserved surfaces as ready to show for
letterboxing purposes.
Change-Id: I4d6e1b1a27d99542370fde8924f126eca1ea80d5
Fixes:
76008154
Test: Enable double cutout, enter split screen, go home, touch slider verify the letterbox does not flicker.
Robert Berry [Wed, 21 Mar 2018 12:25:37 +0000 (12:25 +0000)]
Merge "Add RecoverySession importKeyChainSnapshot method" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 12:10:23 +0000 (12:10 +0000)]
Merge "Use the new root cert file under the core/ folder" into pi-dev
Rubin Xu [Wed, 21 Mar 2018 09:13:44 +0000 (09:13 +0000)]
Restore state if password change fails
Bug:
73299306
Fixes:
73299306
Test: Call LockPatternUtils.clearLock() with wrong password,
make sure device still unlocks after reboot
Change-Id: I640fc62cbe0c0c57e980455d4f499df02dee0832
TreeHugger Robot [Wed, 21 Mar 2018 11:59:28 +0000 (11:59 +0000)]
Merge "Add API WebView.getWebViewLooper()" into pi-dev
Amin Shaikh [Wed, 21 Mar 2018 11:39:24 +0000 (07:39 -0400)]
Update QS customizer add tiles string.
Change-Id: Iddea2dd8bd48b980e083fac447e905616031b365
Fixes:
27961533
Test: visual
Nicolas Geoffray [Wed, 21 Mar 2018 10:50:30 +0000 (10:50 +0000)]
Merge "Enable hidden API blacklist" into pi-dev
David Brazdil [Wed, 21 Mar 2018 10:33:07 +0000 (10:33 +0000)]
Merge "Add hidden API uses to light greylist" into pi-dev
Robert Berry [Mon, 19 Mar 2018 18:00:46 +0000 (18:00 +0000)]
Add RecoverySession importKeyChainSnapshot method
This imports the keys directly into the keystore of LockSettingsService,
allowing them to be accessed via the RecoveryController getKey method.
This is better as it does not expose raw key material to any app.
Bug:
74345822
Test: runtest frameworks-services -p \
com.android.server.locksettings.recoverablekeystore
Change-Id: I4991b0cff1d2fa2e5bd0b53a71c096499e93e98b
David Brazdil [Wed, 21 Mar 2018 10:12:57 +0000 (10:12 +0000)]
Merge "Temporarily whitelist platform test packages for hidden API" into pi-dev
Mathew Inwood [Thu, 15 Mar 2018 14:05:53 +0000 (14:05 +0000)]
Amend package whitelist.
Now that Antons cleanup of all packages is complete, we can generate this
whitelist from those packages that specify
LOCAL_PRIVATE_PLATFORM_APIS := true
This is the resulting list of packages. This change also includes fixes to
the method; previously, packges that didn't specify any certificate may
have been exluded.
Test: Verify that device boots.
This is a cherry-pick of change I1f578322135274b80708d4bb7664f7732ac33cc7
from AOSP.
Bug:
64382372
Change-Id: Iada043cb85f9b3281893ed9a2828771b8f1ef045
Ben Lin [Wed, 21 Mar 2018 06:07:45 +0000 (06:07 +0000)]
Merge "Add new Intent start a package's Open By Default page directly." into pi-dev
Bo Zhu [Wed, 21 Mar 2018 05:44:18 +0000 (22:44 -0700)]
Use the new root cert file under the core/ folder
This CL also adds an alias param to the RecoverySession#start method.
Bug:
76033708
Test: runtest frameworks-services -p \
com.android.server.locksettings.recoverablekeystore
Change-Id: I870f4f89bd6e319e1687a981aa04af0d23f3c922
TreeHugger Robot [Wed, 21 Mar 2018 05:34:16 +0000 (05:34 +0000)]
Merge "Allow statsd to be given empty config." into pi-dev
Winson Chung [Wed, 21 Mar 2018 04:37:02 +0000 (04:37 +0000)]
Merge "Create task record with window container controller when adding task" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 04:28:54 +0000 (04:28 +0000)]
Merge "Stop creating PrecomputedText in StaticLayout" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 03:27:56 +0000 (03:27 +0000)]
Merge changes from topic "SoundTriggerJobService-steps" into pi-dev
* changes:
Throttle number of sound trigger operations / day
Add SoundTriggerDetectionService
Expose SoundTriggerManager and SoundTrigger APIs
TreeHugger Robot [Wed, 21 Mar 2018 03:25:49 +0000 (03:25 +0000)]
Merge "Fix confusing Log.e message in SpellCheckerSession" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 02:57:19 +0000 (02:57 +0000)]
Merge "Screen off animation" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 02:31:19 +0000 (02:31 +0000)]
Merge "Get current and default brightness configs." into pi-dev
Lucas Dupin [Tue, 20 Mar 2018 04:32:19 +0000 (21:32 -0700)]
Animate clock after unlocking
Change-Id: I660e493e3909bf74a9d6b8f60009899ebf5dffe5
Fixes:
74586970
Test: visual
TreeHugger Robot [Wed, 21 Mar 2018 02:20:10 +0000 (02:20 +0000)]
Merge "Fix docs for LocationRequest#setLowPowerMode()" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 02:05:12 +0000 (02:05 +0000)]
Merge "Use AsyncTask.SERIAL_EXECUTOR as the default executor for scan" into pi-dev
Seigo Nonaka [Tue, 20 Mar 2018 22:18:59 +0000 (15:18 -0700)]
Stop creating PrecomputedText in StaticLayout
No performance regressions are expected
android.text.PrecomputedTextPerfTest:
create NoStyled Hyphenation : 17,849,966 -> 17,858,570: (+0.0%)
create NoStyled Hyphenation WidthOnly : 17,814,338 -> 17,801,205: (-0.1%)
create NoStyled NoHyphenation : 7,123,449 -> 7,068,308: (-0.8%)
create NoStyled NoHyphenation WidthOnly : 7,108,169 -> 7,074,908: (-0.5%)
create Styled Hyphenation : 12,179,203 -> 12,131,020: (-0.4%)
create Styled Hyphenation WidthOnly : 12,112,347 -> 12,241,311: (+1.1%)
create Styled NoHyphenation : 11,870,126 -> 11,880,442: (+0.1%)
create Styled NoHyphenation WidthOnly : 11,836,742 -> 11,860,292: (+0.2%)
android.text.StaticLayoutPerfTest:
create PrecomputedText Balanced Hyphenation : 697,713 -> 691,148: (-0.9%)
create PrecomputedText Balanced NoHyphenation: 517,113 -> 498,106: (-3.7%)
create PrecomputedText Greedy Hyphenation : 468,243 -> 455,015: (-2.8%)
create PrecomputedText Greedy NoHyphenation : 479,514 -> 461,617: (-3.7%)
create RandomText Balanced Hyphenation : 17,183,044 -> 17,049,811: (-0.8%)
create RandomText Balanced NoHyphenation : 7,183,745 -> 7,025,070: (-2.2%)
create RandomText Greedy Hyphenation : 7,130,841 -> 6,995,785: (-1.9%)
create RandomText Greedy NoHyphenation : 7,122,398 -> 7,037,074: (-1.2%)
draw PrecomputedText NoStyled : 520,306 -> 551,465: (+6.0%)
draw PrecomputedText NoStyled WithoutCache : 545,773 -> 566,956: (+3.9%)
draw PrecomputedText Styled : 826,044 -> 838,979: (+1.6%)
draw PrecomputedText Styled WithoutCache : 829,958 -> 841,749: (+1.4%)
draw RandomText NoStyled : 537,079 -> 545,428: (+1.6%)
draw RandomText NoStyled WithoutCache : 6,473,166 -> 6,445,194: (-0.4%)
draw RandomText Styled : 995,033 -> 1,015,913: (+2.1%)
draw RandomText Styled WithoutCache : 2,725,313 -> 2,770,604: (+1.7%)
android.widget.TextViewPrecomputedTextPerfTest:
newLayout PrecomputedText : 754,311 -> 718,130: (-4.8%)
newLayout PrecomputedText Selectable : 17,716,239 -> 17,484,046: (-1.3%)
newLayout RandomText : 16,657,952 -> 16,511,625: (-0.9%)
newLayout RandomText Selectable : 17,675,222 -> 17,520,653: (-0.9%)
onDraw PrecomputedText : 1,307,123 -> 1,280,009: (-2.1%)
onDraw PrecomputedText Selectable : 17,613,031 -> 17,404,379: (-1.2%)
onDraw RandomText : 17,369,256 -> 17,295,363: (-0.4%)
onDraw RandomText Selectable : 18,207,392 -> 18,077,660: (-0.7%)
onMeasure PrecomputedText : 748,537 -> 739,128: (-1.3%)
onMeasure PrecomputedText Selectable : 17,842,953 -> 17,784,459: (-0.3%)
onMeasure RandomText : 16,633,454 -> 16,549,182: (-0.5%)
onMeasure RandomText Selectable : 18,022,286 -> 17,873,919: (-0.8%)
setText PrecomputedText : 120,769 -> 119,496: (-1.1%)
setText PrecomputedText Selectable : 162,411 -> 150,809: (-7.1%)
setText RandomText : 11,096 -> 10,956: (-1.3%)
setText RandomText Selectable : 48,852 -> 48,593: (-0.5%)
Bug:
72998298
Test: atest CtsWidgetTestCases:EditTextTest
CtsWidgetTestCases:TextViewFadingEdgeTest
FrameworksCoreTests:TextViewFallbackLineSpacingTest
FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
CtsTextTestCases FrameworksCoreTests:android.text
CtsWidgetTestCases:TextViewPrecomputedTextTest
Change-Id: I3af758ecc5a15975c4e59c6378faf7c14c3bd65b
Fyodor Kupolov [Wed, 21 Mar 2018 01:48:22 +0000 (18:48 -0700)]
Include additional information in the dumpsys
Test: adb shell dumpsys dbinfo system
Bug:
64262688
Change-Id: I43d76e505e4d5598994c9af3e615c572017f120c
Yohei Yukawa [Tue, 20 Mar 2018 23:28:59 +0000 (16:28 -0700)]
Fix confusing Log.e message in SpellCheckerSession
With this CL, calling SpellCheckerSession#close() multiple times will
no longer show the following error message in logcat, which was quite
confusing.
E SpellCheckerSession: ignoring processOrEnqueueTask due to
unexpected mState=TASK_CLOSE scp.mWhat=TASK_CLOSE
Note that with a recent CL [1], we now more often see the above
message. A typical scenario is:
1. App creates SpellCheckerSession x.
2. App calls x.close().
3. x is garbage-collected. ART calls x.finalize(), which internally
calls x.close() again.
[1]: I4e00c3a2cec93d1dacff20546e481fe757279661
9b64367193ffb252f869fb9f65a60b51a654119e
Bug:
72974646
Fix:
72974646
Test: Made sure that no error message in question with a test app
that calls SpellCheckerSession#close() multiple times then
trigger SpellCheckerSession#finalize().
Change-Id: Ie9690860e6d0406dc6746cd03c28f693e65c1dde
TreeHugger Robot [Wed, 21 Mar 2018 01:13:21 +0000 (01:13 +0000)]
Merge "Disable app_stacks and last_kmsg until they get selinux permissions." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 01:04:15 +0000 (01:04 +0000)]
Merge "heif: address api review comments" into pi-dev
Selim Cinek [Wed, 21 Mar 2018 00:53:50 +0000 (00:53 +0000)]
Merge changes from topic "heads_up_redesign" into pi-dev
* changes:
Added new appear and disappear animations for heads up
Polished the heads up experience
Removed the heads up scrim and replaced it with more elevation
Insetting heads up notifications
Ensured that the heads-up notifications are always rounded
Winson Chung [Wed, 21 Mar 2018 00:51:39 +0000 (17:51 -0700)]
Fix issue with slippery state for quickstep button case.
Bug:
76033653
Test: Swipe up with quickstep fallback activity
Change-Id: I417b9f2fadeb87cbf2daac57a53e7ff9990335a0
TreeHugger Robot [Wed, 21 Mar 2018 00:40:19 +0000 (00:40 +0000)]
Merge "Distinguish between createSurface error codes." into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:38:35 +0000 (00:38 +0000)]
Merge "Move the trusted root CA certs for RecoverableKeyStore to our own folder" into pi-dev
Howard Ro [Wed, 21 Mar 2018 00:31:23 +0000 (00:31 +0000)]
Merge "Fix recovery of stats data from previous input while using ProtoOutputStream" into pi-dev
Christopher Tate [Tue, 13 Mar 2018 00:57:09 +0000 (17:57 -0700)]
Suppress all background-state services in user-forced app standby
Foreground services are treated as normal services when the user has
placed the app under FAS restrictions. The API contract for the app
is unchanged -- for example, if the app calls startForegroundService()
in this state it will still ANR if it fails to call startForeground()
as promised. All service starts are quietly suppressed unless the app
is showing foreground UI.
If an app is already running a foreground service when FAS is applied,
that service is taken out of the fg state and thereafter treated like an
ordinary background service in a background state: after 1 minute, the
service is summarily stopped by the OS.
Bug:
73559697
Test: ApiDemos fg service suite
Test: atest CtsAppTestCases
Change-Id: Icc5fb180b90cb5d902e96aeb92a93f6daf00bd9b
TreeHugger Robot [Wed, 21 Mar 2018 00:08:28 +0000 (00:08 +0000)]
Merge "API Review: Documentation improvement for standby buckets" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:07:03 +0000 (00:07 +0000)]
Merge "GPS metrics collection" into pi-dev
TreeHugger Robot [Wed, 21 Mar 2018 00:06:40 +0000 (00:06 +0000)]
Merge "Introduce new constructor for not copying NoCopySpan" into pi-dev
Yu-Han Yang [Tue, 20 Mar 2018 22:43:56 +0000 (15:43 -0700)]
Fix docs for LocationRequest#setLowPowerMode()
Bug:
74218111
Change-Id: Ib77a58c21e2cc3601221c8b5cc13eb416dccfbc9
Fixes:
74218111
Test: N/A
TreeHugger Robot [Tue, 20 Mar 2018 23:54:01 +0000 (23:54 +0000)]
Merge "Fingerprint vibrate doesn't change based on DND" into pi-dev
Annie Meng [Thu, 15 Mar 2018 14:45:46 +0000 (14:45 +0000)]
DO NOT MERGE Update references to backup/restore agent timeouts
With the newly created Global setting for backup/restore agent timeouts
(backup_agent_timeout_parameters introduced in ag/
3731401), update
references in backup and restore code to get the timeout values from
the setting instead of referencing constants in BMS.
This makes these timeouts configurable outside of the framework.
The default value of the setting is the same as the constants in BMS so
this should have no change on the timeout values used in the backup and
restore flow.
Bug:
70276070
Test: 1) m -j RunFrameworksServicesRoboTests
Change-Id: I0259bba76d0fed48158b8316f430b315ea98086e
chaviw [Tue, 20 Mar 2018 23:47:43 +0000 (16:47 -0700)]
Don't add stopping apps in relaunch based on stopped flag.
The activity was getting added to the list of activities that should be
moved to stopped. This was causing the window to get removed and then
re-added, which is where the flicker was coming from.
The check to add stopping apps when the flag r.stopped is set was a
fix for a lifecycle issue with relaunch. However, this issue is now
fixed without this. The stopped flag is not set appropriately because
activities that are paused can still be considered stopped if they never
went through completeResumeLocked, like in multi-window.
Change-Id: I2e49bfa031caa189cc1e440749d0a22b30b76792
Fixes:
75276931
Test: Tested original issue to make sure it still works from b/
30060825
Test: Split screen no longer flickers when moving divider
TreeHugger Robot [Tue, 20 Mar 2018 23:46:06 +0000 (23:46 +0000)]
Merge "Fingerprint navigation settings is a secure setting" into pi-dev
TreeHugger Robot [Tue, 20 Mar 2018 23:38:36 +0000 (23:38 +0000)]
Merge "Ability to hide/unhide suspended app notifications" into pi-dev