OSDN Git Service
TreeHugger Robot [Tue, 13 Feb 2018 18:26:11 +0000 (18:26 +0000)]
Merge "pm shell command to uninstall system updates"
Adam Stone [Tue, 13 Feb 2018 18:14:40 +0000 (18:14 +0000)]
Merge "Fix getMetrics to return all relevant metrics"
Rhiannon Malia [Tue, 13 Feb 2018 18:14:31 +0000 (18:14 +0000)]
Merge "Adding suppressShowOverApps to TvExtender"
David Brazdil [Tue, 13 Feb 2018 18:05:28 +0000 (18:05 +0000)]
Merge "Add more hidden APIs into light greylist"
TreeHugger Robot [Tue, 13 Feb 2018 17:51:13 +0000 (17:51 +0000)]
Merge "Reorganize MeasuredText API"
TreeHugger Robot [Tue, 13 Feb 2018 17:47:20 +0000 (17:47 +0000)]
Merge "Reload brightness setting on user switch."
Sunny Goyal [Tue, 13 Feb 2018 17:46:56 +0000 (17:46 +0000)]
Merge "Adding utility method to check the current home app"
Phil Weaver [Tue, 13 Feb 2018 16:59:27 +0000 (16:59 +0000)]
Merge "Migrate notification shade to use the a11y panes"
hansson [Tue, 13 Feb 2018 16:49:00 +0000 (16:49 +0000)]
Merge "fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log" am:
c0c9f53175 am:
78d15fd15a
am:
927afd1edf
Change-Id: I7c90804ed55df27244a25fe0e9075c4ec2147e74
hansson [Tue, 13 Feb 2018 16:39:33 +0000 (16:39 +0000)]
Merge "fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log" am:
c0c9f53175
am:
78d15fd15a
Change-Id: Ie90bccf5aa5fb67e1b4769fcbb1013b1fae71063
hansson [Tue, 13 Feb 2018 16:31:53 +0000 (16:31 +0000)]
Merge "fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log"
am:
c0c9f53175
Change-Id: I25f1aad9e04c22e0cd4ffc848a53c30dd740bdac
Patrick Baumann [Mon, 12 Feb 2018 19:45:23 +0000 (11:45 -0800)]
pm shell command to uninstall system updates
This change introduces a new package manager shell command that
will automatically uninstall any updated system apps, falling back
to the version that is prebaked into the system image.
Change-Id: Ic2952394baadeea6286e0a87343201e564ffdfb9
Fixes:
21088599
Test: manual - run before SUW and after; see updates uninstalled
hansson [Tue, 13 Feb 2018 14:42:03 +0000 (14:42 +0000)]
Merge "fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log"
TreeHugger Robot [Tue, 13 Feb 2018 13:17:21 +0000 (13:17 +0000)]
Merge "Add OWNERS for preferences"
TreeHugger Robot [Tue, 13 Feb 2018 13:11:42 +0000 (13:11 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 13 Feb 2018 13:03:19 +0000 (13:03 +0000)]
Merge "Haptic feedback when ringer set to vibrate"
yuanhuihui [Sat, 18 Mar 2017 11:34:31 +0000 (19:34 +0800)]
fix misleading FATAL EXCEPTION IN SYSTEM PROCESS log
There will be the following situations about mApplicationObject:
1) fork app process will invoke ActivityThread.main(),
then set mApplicationObject.
2) fork system_server, don't set mApplicationObject value.
3) using app_process fork process except zygote, will inovke RuntimeInit,
don't set mApplicationObject value。
For example using command as below:
app_process /system/bin com.android.commands.am.Am "$@",
if this process throw uncaught exception,will output FATAL EXCEPTION IN SYSTEM PROCESS log,
it's not in system process but in normal process。
so should add condition: Process.SYSTEM_UID == Process.myUid()
BUG:
72759350
Test: manual
Change-Id: Ie8d769e4149cd9b938577058de871c4f8db9efe5
Signed-off-by: yuanhuihui <yuanhuihui@xiaomi.com>
Kenny Guy [Tue, 13 Feb 2018 10:47:08 +0000 (10:47 +0000)]
Reload brightness setting on user switch.
Bug:
73147707
Test: manual, switch user set max brightness, switch back brightness unchanged.
Change-Id: I09f350eb175e37ff4bf951afc67bc53d171739b1
Clara Bayarri [Tue, 13 Feb 2018 11:19:34 +0000 (11:19 +0000)]
Add OWNERS for preferences
Test: none
Change-Id: I1679ba3f10a89a4076888936aebf067c371bcf27
TreeHugger Robot [Tue, 13 Feb 2018 11:25:32 +0000 (11:25 +0000)]
Merge "JAudioTrack: Create StreamEventCallback in MediaPlayer2Impl"
Hyundo Moon [Tue, 13 Feb 2018 10:52:06 +0000 (10:52 +0000)]
Merge "MediaBrowser2: Add search related methods"
TreeHugger Robot [Tue, 13 Feb 2018 10:41:03 +0000 (10:41 +0000)]
Merge "Import translations. DO NOT MERGE"
Tyler Gunn [Tue, 13 Feb 2018 10:13:48 +0000 (10:13 +0000)]
Merge "Updates to Telecom API docs for clarity." am:
e845bddb40 am:
8fe8f5fa9b
am:
82d572ed07
Change-Id: I2699c25dd3a309eed0742dc87b636a9b96d32e96
Tyler Gunn [Tue, 13 Feb 2018 10:01:58 +0000 (10:01 +0000)]
Merge "Updates to Telecom API docs for clarity." am:
e845bddb40
am:
8fe8f5fa9b
Change-Id: I0a18edd6dc7347b7b08d59ab89f767b98fde1372
Tyler Gunn [Tue, 13 Feb 2018 09:46:21 +0000 (09:46 +0000)]
Merge "Updates to Telecom API docs for clarity."
am:
e845bddb40
Change-Id: I9b988dc7e70b9b9f1c30fa6991d841183850a49a
TreeHugger Robot [Tue, 13 Feb 2018 09:07:36 +0000 (09:07 +0000)]
Merge "Fix work profile shortcut launch"
Colin Cross [Tue, 13 Feb 2018 08:41:41 +0000 (08:41 +0000)]
Merge "Don't put android.os.Parcelable in framework.aidl" am:
0872f6d5e3 am:
6864210fe2
am:
37ba3de333
Change-Id: Ib8d8277171ede82ea4626b6d2de2fcb9c1a1d307
TreeHugger Robot [Tue, 13 Feb 2018 08:34:43 +0000 (08:34 +0000)]
Merge "Use external/robolectric-shadows/run_robotests.mk"
David Brazdil [Mon, 12 Feb 2018 22:34:49 +0000 (22:34 +0000)]
Add more hidden APIs into light greylist
More APIs from commonly used apps. We also greylist methods used for
serialization. An assertion in the build system that checks all of them
are greylisted will be added in a future CL.
Bug:
73236082
Bug:
73255398
Test: make
Change-Id: Ib66ea9898a2ed7ea2c5a00c73a1a59ae23e22c02
Hyundo Moon [Mon, 5 Feb 2018 08:17:03 +0000 (17:17 +0900)]
MediaBrowser2: Add search related methods
This CL adds following APIs:
- BrowserCallback#onSearchResultChanged
- BrowserCallback#onSearchResultLoaded (previously onSearchResult)
- MediaLibrarySessionCallback#onLoadSearchResult
This CL also fixes conflicting @NonNull/@Nullable annotations in
MediaItem2 methods.
Bug:
72786724
Test: Builds successfully
Change-Id: Ica90ca6b47f33cd3d457a28598a035a00d144dfa
Colin Cross [Tue, 13 Feb 2018 07:51:59 +0000 (07:51 +0000)]
Merge "Don't put android.os.Parcelable in framework.aidl" am:
0872f6d5e3
am:
6864210fe2
Change-Id: I17a5277ece615569670f5f8ea9c2ed42fb473a52
TreeHugger Robot [Tue, 13 Feb 2018 07:48:41 +0000 (07:48 +0000)]
Merge "Remove sending broadcast when StatsLogProcessor is being initialized as its clients have not started to receive broadcasts"
Colin Cross [Tue, 13 Feb 2018 07:29:51 +0000 (07:29 +0000)]
Merge "Don't put android.os.Parcelable in framework.aidl"
am:
0872f6d5e3
Change-Id: I3f6344774b44b43e2ec18f56c0a49fffc58a8629
TreeHugger Robot [Tue, 13 Feb 2018 07:19:18 +0000 (07:19 +0000)]
Merge "Statsd Anomaly Detection fixes"
Treehugger Robot [Tue, 13 Feb 2018 07:09:36 +0000 (07:09 +0000)]
Merge "Updates to Telecom API docs for clarity."
Winson Chung [Tue, 13 Feb 2018 05:55:50 +0000 (05:55 +0000)]
Merge "Enable pause logging."
Etan Cohen [Tue, 13 Feb 2018 05:13:44 +0000 (05:13 +0000)]
Merge "[RTT] Add error code for Responder not support IEEE 802.11mc"
Seigo Nonaka [Fri, 2 Feb 2018 05:39:24 +0000 (21:39 -0800)]
Reorganize MeasuredText API
This CL changes the MeasuredText API:
- Rename MeasuredText to PrecomputedText.
- PrecomputedText is no longer a Spanned.
- Introduce PrecomputedText.Param which holds all text layout parameters.
- Add API to get PrecomputedText.Param from TextView.
- Remove MeasuredText.Builder and add PrecomputedText.create method instead.
- Remove setRange from MeasuredText since it is not for normal use case.
(It can not be used for TextView)
Here is a performance scores: (median, walleye-userdebug, N=20)
StaticLayout creation time (w/o patch -> w/ patch)
PrecomputedText Balanced Hyphenation : 743,615 -> 737,145: (-0.9%)
PrecomputedText Balanced NoHyphenation: 551,544 -> 542,715: (-1.6%)
PrecomputedText Greedy Hyphenation : 500,343 -> 499,601: (-0.1%)
PrecomputedText Greedy NoHyphenation : 497,987 -> 492,587: (-1.1%)
RandomText Balanced Hyphenation : 19,100,592 -> 19,135,289: (+0.2%)
RandomText Balanced NoHyphenation : 8,015,088 -> 7,954,260: (-0.8%)
RandomText Greedy Hyphenation : 7,950,915 -> 7,877,424: (-0.9%)
RandomText Greedy NoHyphenation : 7,939,337 -> 7,863,471: (-1.0%)
PrecomputedText creation time (w/o patch -> w/ patch)
NoStyled Hyphenation : 18,935,638 -> 18,925,422: (-0.1%)
NoStyled Hyphenation WidthOnly : 18,469,726 -> 18,978,413: (+2.8%)
NoStyled NoHyphenation : 7,940,792 -> 7,919,127: (-0.3%)
NoStyled NoHyphenation WidthOnly : 7,463,230 -> 7,922,643: (+6.2%)
Styled Hyphenation : 14,822,501 -> 14,809,017: (-0.1%)
Styled Hyphenation WidthOnly : 13,891,770 -> 14,656,617: (+5.5%)
Styled NoHyphenation : 14,511,134 -> 14,301,503: (-1.4%)
Styled NoHyphenation WidthOnly : 13,495,345 -> 14,264,314: (+5.7%)
StaticLayout draw time (w/o patch -> w/ patch)
PrecomputedText NoStyled : 663,974 -> 661,610: (-0.4%)
PrecomputedText NoStyled WithoutCache : 648,294 -> 648,766: (+0.1%)
PrecomputedText Styled : 879,322 -> 852,770: (-3.0%)
PrecomputedText Styled WithoutCache : 1,084,570 -> 1,110,147: (+2.4%)
RandomText NoStyled : 565,682 -> 555,435: (-1.8%)
RandomText NoStyled WithoutCache : 9,070,533 -> 9,064,825: (-0.1%)
RandomText Styled : 2,955,202 -> 2,962,008: (+0.2%)
RandomText Styled WithoutCache : 12,242,325 -> 12,228,573: (-0.1%)
Bug:
67504091
Bug:
73091756
Test: bit FrameworksCoreTests:android.text.
Test: atest CtsWidgetTestCases:EditTextTest \
CtsWidgetTestCases:TextViewFadingEdgeTest \
FrameworksCoreTests:TextViewFallbackLineSpacingTest \
FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest \
CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest \
CtsTextTestCases
Change-Id: I7db9e2ca4db68a16648cfb8fcf63555f501304c2
TreeHugger Robot [Tue, 13 Feb 2018 04:32:02 +0000 (04:32 +0000)]
Merge "Send SHUTDOWN bc to registered receivers only"
TreeHugger Robot [Tue, 13 Feb 2018 04:22:04 +0000 (04:22 +0000)]
Merge "Allow setting alarm to the same time as an earlier one"
TreeHugger Robot [Tue, 13 Feb 2018 04:18:32 +0000 (04:18 +0000)]
Merge "API Review: Nullability annotation for DeviceAdminReceiver device owner user callback"
TreeHugger Robot [Tue, 13 Feb 2018 03:13:43 +0000 (03:13 +0000)]
Merge "Revert "Add logging to MemoryIntArray""
TreeHugger Robot [Tue, 13 Feb 2018 03:13:10 +0000 (03:13 +0000)]
Merge "MediaBrowser2: Supplement javadoc for getItem/getChildren methods"
TreeHugger Robot [Tue, 13 Feb 2018 03:02:05 +0000 (03:02 +0000)]
Merge "Simplify volume dialog title for a11y"
Phil Weaver [Thu, 18 Jan 2018 20:50:05 +0000 (12:50 -0800)]
Migrate notification shade to use the a11y panes
The new pane API is intended to manage things that
look like windows but aren't formal windows. The
notification shade and quick settings are a great
example of this. I've replaced explicit requests
for announcements with code that just keeps the
pane title up to date. The correct events are then
dispatched automatically.
Bug:
62231686
Test: I've verified that the correct events are
dispatched using the TestBack experimental
accessibility service. I've also run TalkBack with
the events. TalkBack has an issue with the new API
(b/
73126910), so it will be slightly too verbose
until they check the change type.
Change-Id: I8ba130e20b09c69fff65c59af9f08aa6abd2b016
Jack Yu [Tue, 13 Feb 2018 01:05:28 +0000 (01:05 +0000)]
Merge "Added owners" am:
492f249dbb am:
ea014edb58
am:
7532fc8bb9
Change-Id: Ia27fa85e62aa0aff1e63a4eda308f1f491d6f7a3
Jack Yu [Tue, 13 Feb 2018 00:49:42 +0000 (00:49 +0000)]
Merge "Added owners" am:
492f249dbb
am:
ea014edb58
Change-Id: I6c7ff430af33899c534a9f70139ef7cf6cc1cfbf
Jack Yu [Tue, 13 Feb 2018 00:35:49 +0000 (00:35 +0000)]
Merge "Added owners"
am:
492f249dbb
Change-Id: Ib499c266a78bcae2fb779b3782ef82a92d843d4b
David Brazdil [Mon, 12 Feb 2018 23:54:28 +0000 (23:54 +0000)]
Merge "Add more hidden APIs into light greylist"
Makoto Onuki [Tue, 6 Feb 2018 21:36:34 +0000 (13:36 -0800)]
Fix work profile shortcut launch
Shortcuts let the launcher start activities on work profile, so we can't apply
the usual cross-user startActivity check.
LauncherApps already checks the calling user and the target user relationship,
so let's just skip the handleIncomingUser check.
Bug:
72659387
Test: atest CtsShortcutManagerTestCases
Test: atest ${ANDROID_BUILD_TOP}/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ShortcutManagerMultiuserTest.java
Change-Id: I3b6179af0c9d5e54ed8fd57c9c830f7a6ecec9da
Tyler Gunn [Thu, 8 Feb 2018 19:28:33 +0000 (11:28 -0800)]
Updates to Telecom API docs for clarity.
- Update Connection onAnswer/onReject docs to make it more clear for
a self-managed connectionservice that these methods could be called by
the framework or by a car mode in call service.
- Update the Connection onShowIncomingCallUI method to take into account
the new concurrent calling capabilities in P.
Test: Docs only change
Bug:
73112552
Change-Id: Icb47aa15d03d4bfc05380948e30686317124301e
Eino-Ville Talvala [Mon, 12 Feb 2018 23:16:59 +0000 (23:16 +0000)]
Merge "Camera2: Revise MOTION_TRACKING capability"
Felipe Leme [Mon, 12 Feb 2018 23:16:48 +0000 (23:16 +0000)]
Merge "Views with autofill hints should be considered important in auto mode."
Philip P. Moltmann [Mon, 12 Feb 2018 22:50:00 +0000 (22:50 +0000)]
Revert "Add logging to MemoryIntArray"
This reverts commit
6d8f30bee76f5f9cd97697a7aa5108c73df12057.
Reason for revert: No more bug reports, logging not needed anymore
Change-Id: I4b3150ac76f509c5baf75f10b58330d332836b97
Etan Cohen [Mon, 12 Feb 2018 19:25:30 +0000 (11:25 -0800)]
[RTT] Add error code for Responder not support IEEE 802.11mc
Add an error code which will be used when the Responder does not
support IEEE 802.11mc - and by implication when such non-support
results in an error.
Note: @hide for now - will be unhidden in a subsequent CL.
Bug:
72975604
Test: unit tests, integration tests
Change-Id: I903abe6cfe19e771e4e4cdaadec48e82f009cbf3
Treehugger Robot [Mon, 12 Feb 2018 22:44:39 +0000 (22:44 +0000)]
Merge "Don't put android.os.Parcelable in framework.aidl"
Jack Yu [Mon, 12 Feb 2018 22:39:00 +0000 (22:39 +0000)]
Merge "Added owners"
David Brazdil [Mon, 12 Feb 2018 18:29:42 +0000 (18:29 +0000)]
Add more hidden APIs into light greylist
Early results from manual testing of ~600 top apps in app stores.
Test: make
Bug:
64382372
Change-Id: Ie6878e832bd8d38a7149e6e677b8bfc73e95cfe3
TreeHugger Robot [Mon, 12 Feb 2018 22:30:26 +0000 (22:30 +0000)]
Merge "Do not show blocking helper if user likes channel"
yro [Thu, 8 Feb 2018 19:12:28 +0000 (11:12 -0800)]
Remove sending broadcast when StatsLogProcessor is being initialized as
its clients have not started to receive broadcasts
This also fixes broken statsd_test's which happens whenever there are
files in /data/misc/stats-data/ which is generated right before reboots.
This would delay the upload time from right after reboot to next upload
cycle but it should not be an issue.
Bug:
73089712
Test: statsd_test
Change-Id: Ida81099c9c9e54804a0c3b3b349096312ef570bc
Qingxi Li [Mon, 12 Feb 2018 22:09:53 +0000 (22:09 +0000)]
Merge "Public EuiccManager APIs."
Suprabh Shukla [Mon, 12 Feb 2018 20:53:23 +0000 (12:53 -0800)]
Allow setting alarm to the same time as an earlier one
With alarm deferring, we may end up rescheduling an alarm to the exact
time we set the previous kernel alarm to. Removing the optimization to
prevent duplicate sets, as otherwise we may end up being in a bad state
of no kernel alarm set. Also added the field maxWhenElapsed to the alarm
dump for more details in the bugreports.
Test: Builds. Boots. Existing tests pass:
atest CtsAlarmManagerTestCases
Bug:
73069486
Change-Id: Iade4549b399def57902b644b1d50945722e60c28
TreeHugger Robot [Mon, 12 Feb 2018 21:53:48 +0000 (21:53 +0000)]
Merge "Fix FLAG_EXEMPT_FROM_APP_STANDBY check"
Beverly [Mon, 12 Feb 2018 21:45:54 +0000 (16:45 -0500)]
Haptic feedback when ringer set to vibrate
Test: manual
Change-Id: Iaf889f2ee313cc9f16b361928ab8b62a41ef277a
Fixes:
70937425
TreeHugger Robot [Mon, 12 Feb 2018 21:43:08 +0000 (21:43 +0000)]
Merge "Small fix to anomaly tracker in statsd."
Winson Chung [Mon, 12 Feb 2018 21:23:44 +0000 (13:23 -0800)]
Enable pause logging.
Bug:
72927558
Test: None, just enabling debug flags
Change-Id: Ib1b2082ab082f5c6db7b37fd2f4e4864f02af6ca
TreeHugger Robot [Mon, 12 Feb 2018 20:50:24 +0000 (20:50 +0000)]
Merge "STATSD_STARTED broadcast include background"
TreeHugger Robot [Mon, 12 Feb 2018 20:47:48 +0000 (20:47 +0000)]
Merge "Remove battery from bluetooth tile icon"
Android Build Merger (Role) [Mon, 12 Feb 2018 20:40:52 +0000 (20:40 +0000)]
Merge "Merge "Overload setTelephonyProperty without phone ID" am:
f27242dbd6 am:
22189a729a am:
de387f3298"
Jordan Liu [Mon, 12 Feb 2018 20:39:41 +0000 (20:39 +0000)]
Merge "Overload setTelephonyProperty without phone ID" am:
f27242dbd6 am:
22189a729a
am:
de387f3298
Change-Id: I479c3220cd9f9aef1bdf4184a6a268240218657e
TreeHugger Robot [Mon, 12 Feb 2018 20:38:17 +0000 (20:38 +0000)]
Merge "Fix AnimatedImageDrawable drawn in software"
Beverly Tai [Mon, 12 Feb 2018 20:33:28 +0000 (20:33 +0000)]
Merge "Use activity-alias to show usb debugging dialog"
Bill Yi [Mon, 12 Feb 2018 20:33:01 +0000 (12:33 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id44d1390e9b218fc8df8f9de954fce66cb1124dd
Auto-generated-cl: translation import
Bookatz [Thu, 8 Feb 2018 02:51:48 +0000 (18:51 -0800)]
Statsd Anomaly Detection fixes
Minor fixes and notes regarding the setting of refractory periods and
anomaly alarms.
Also changes the anomaly alarms from inexact to exact.
Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.alert.AnomalyDetectionTests
Change-Id: Ia4f4c84dd647ebbbad4bab66164cd7709f8628e8
Jordan Liu [Mon, 12 Feb 2018 20:19:37 +0000 (20:19 +0000)]
Merge "Overload setTelephonyProperty without phone ID" am:
f27242dbd6
am:
22189a729a
Change-Id: I9d8182751f5303258083e0b0d0825902d06225d1
Bill Yi [Mon, 12 Feb 2018 20:13:10 +0000 (12:13 -0800)]
Import translations. DO NOT MERGE
Change-Id: I36d9cf50118ac8babed3973b1b23f59695433e70
Auto-generated-cl: translation import
Jack Yu [Mon, 12 Feb 2018 20:07:34 +0000 (12:07 -0800)]
Added owners
Test: Build
Change-Id: I95104f646bc054e4ad9a6807d6e3df69f1e00d75
Jordan Liu [Mon, 12 Feb 2018 20:06:06 +0000 (20:06 +0000)]
Merge "Overload setTelephonyProperty without phone ID"
am:
f27242dbd6
Change-Id: I75fdeb6067b2917899f8b54d3e2857beb5d13c52
TreeHugger Robot [Mon, 12 Feb 2018 19:53:56 +0000 (19:53 +0000)]
Merge "Statsd CPU optimization."
TreeHugger Robot [Mon, 12 Feb 2018 19:49:29 +0000 (19:49 +0000)]
Merge "Move SignalDrawable to SettingsLib so every can enjoy it"
TreeHugger Robot [Mon, 12 Feb 2018 19:47:35 +0000 (19:47 +0000)]
Merge "Revert "Fix issue #
72116995: Add permission guarding Service#startForeground""
Eino-Ville Talvala [Tue, 6 Feb 2018 00:25:40 +0000 (16:25 -0800)]
Camera2: Revise MOTION_TRACKING capability
Simplify the API for the P release.
Test: Revised Camera CTS passes
Bug:
63629224
Change-Id: I3464bd114a2bf4bd866aaf37e942c01114b75a15
felipeal [Wed, 7 Feb 2018 15:48:38 +0000 (16:48 +0100)]
Views with autofill hints should be considered important in auto mode.
Test: atest CtsAutoFillServiceTestCases:FatActivityTest
Fixes:
72836107
Change-Id: I0b68cd5f5e8b0c382bdd7a648ecc82a3c50c3325
TreeHugger Robot [Mon, 12 Feb 2018 19:17:14 +0000 (19:17 +0000)]
Merge "Revert incorrect NonNull assertions in ColorStateList loading"
Phil Weaver [Mon, 12 Feb 2018 18:40:31 +0000 (10:40 -0800)]
Simplify volume dialog title for a11y
The dialog was asked to essentially self-voice its
transitions a couple of years back. This isn't consistent
with our general guidelines for a11y, and isn't easy to
support. Rather than updating the messages, which will
still leave this dialog inconsistent with others, I'm
just deleting the extra code.
Just setting the dialog's title to the correct string is
enough for GAR, so I've added that back in.
Bug:
73170352
Test: Confirming with TestBack that the correct title is
sent to accessibility services when the window appears.
Change-Id: If219f86e43fa262604a09226a02bdd4c08ae4c1a
TreeHugger Robot [Mon, 12 Feb 2018 19:06:00 +0000 (19:06 +0000)]
Merge "Add performance tests for Service"
TreeHugger Robot [Mon, 12 Feb 2018 19:04:42 +0000 (19:04 +0000)]
Merge "New autofill APIs to get importantForAutofill mode on ViewNodes."
Yao Chen [Thu, 8 Feb 2018 22:50:40 +0000 (14:50 -0800)]
Statsd CPU optimization.
The key change is to revamp how we parse/store/match a log event, especially how we match repeated
field and attribution nodes, and how we construct dimensions and compare them.
+ We use a integer to encode the field of a log element. And also encode the FieldMatcher into an
integer and a bit mask. The log matching becomes 2 integer operations.
+ Dimension is stored as encoded field and value pair. Checking if 2 dimensions are equal is then
becoming checking if the underlying integers are equal. The integers are stored contiguously
in memory, so it's much faster than previous tree structure.
Start review from FieldValue.h
Test: statsd_test + new unit tests
Bug:
72659059
Change-Id: Iec8daeacdd3f39ab297c10ab9cd7b710a9c42e86
Tao Bao [Mon, 12 Feb 2018 18:36:47 +0000 (18:36 +0000)]
Merge "Expose an update_engine API that verifies the given payload metadata."
TreeHugger Robot [Mon, 12 Feb 2018 18:19:38 +0000 (18:19 +0000)]
Merge "Fix issue #
72151749: Lock down 'clear cache' functionality to..."
Julia Reynolds [Mon, 12 Feb 2018 14:55:14 +0000 (09:55 -0500)]
Do not show blocking helper if user likes channel
If a user has previously explicitly set the importance of
a notification, assume the user sentiment is postive regardless of what
the assistant suggests.
Test: runtest systemui, runtest systemui-notification
Change-Id: I646f0878fb5bb2a28ba17fd0ec11c8cdb64b611d
Fixes:
73231297
Jordan Liu [Mon, 12 Feb 2018 18:17:24 +0000 (18:17 +0000)]
Merge "Overload setTelephonyProperty without phone ID"
Sunny Goyal [Fri, 9 Feb 2018 18:41:03 +0000 (10:41 -0800)]
Adding utility method to check the current home app
Test: Verified the libary with Launcher
Change-Id: I37c0c0a6c74484e6a34497168d841e4a92207b5b
TreeHugger Robot [Mon, 12 Feb 2018 18:15:36 +0000 (18:15 +0000)]
Merge "Add more APIs to hidden API greylist"
Chavi Weingarten [Mon, 12 Feb 2018 18:01:21 +0000 (18:01 +0000)]
Merge "Prevent setting negative alpha for dim animations."
TreeHugger Robot [Mon, 12 Feb 2018 17:55:50 +0000 (17:55 +0000)]
Merge "Revert "Revert "Fix MediaDrm security level APIs"""
Beverly Tai [Mon, 12 Feb 2018 17:41:26 +0000 (17:41 +0000)]
Merge "Added DND icon on muted streams on volume dialog"
Arthur Eubanks [Tue, 9 Jan 2018 19:40:58 +0000 (11:40 -0800)]
Add performance tests for Service
Test: m ActivityManagerPerfTestsTestApp ActivityManagerPerfTests
Test: adb install \
$OUT/data/app/ActivityManagerPerfTestsTestApp/ActivityManagerPerfTestsTestApp.apk
Test: adb install \
$OUT/data/app/ActivityManagerPerfTests/ActivityManagerPerfTests.apk
Test: adb shell am instrument -w -e class \
com.android.frameworks.perftests.am.tests.ServiceStartPerfTest \
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner
Test: adb shell am instrument -w -e class \
com.android.frameworks.perftests.am.tests.ServiceBindPerfTest \
com.android.frameworks.perftests.amtests/android.support.test.runner.AndroidJUnitRunner
BUG:
67460485
Change-Id: I16ea5752def13aabd481aeb29f1af0ac04e75f6a
Wyatt Riley [Mon, 12 Feb 2018 17:01:10 +0000 (17:01 +0000)]
Merge "Non-functional refactor of Location Extras"
David Brazdil [Mon, 12 Feb 2018 06:57:01 +0000 (06:57 +0000)]
Add more APIs to hidden API greylist
APIs seen in use by common apps.
Bug:
73211878
Bug:
73211350
Bug:
73211163
Bug:
73211208
Bug:
73103890
Bug:
73103761
Test: make
Change-Id: Ic438f4614f6452b14ea07f4c35b39d3be34ff49d