OSDN Git Service
Lucas Dupin [Wed, 14 Feb 2018 00:44:59 +0000 (00:44 +0000)]
Merge "Shorter scrim delay if display is on"
Holly Jiuyu Sun [Wed, 14 Feb 2018 00:37:42 +0000 (00:37 +0000)]
Merge "Public EuiccManager APIs." am:
42339c464f am:
cddc0c12cc
am:
02d43443d0 -s ours
Change-Id: If8b04c28f4e6fe3f32d89f11ca1901baf5857fba
TreeHugger Robot [Wed, 14 Feb 2018 00:27:05 +0000 (00:27 +0000)]
Merge "Zen upgrade notification"
Holly Jiuyu Sun [Wed, 14 Feb 2018 00:24:46 +0000 (00:24 +0000)]
Merge "Public EuiccManager APIs." am:
42339c464f
am:
cddc0c12cc
Change-Id: I01d436c16df678292c8aec1f3ea2d7a65f3e10dd
Malcolm Chen [Wed, 14 Feb 2018 00:23:50 +0000 (00:23 +0000)]
Merge "Add death recipient to TelephonyRegistry." am:
e42d29f31b am:
244804f1b2
am:
8f080dec55
Change-Id: Ia037bc71830226f5b2f6b266af4586233585c138
Malcolm Chen [Wed, 14 Feb 2018 00:12:29 +0000 (00:12 +0000)]
Merge "Add death recipient to TelephonyRegistry." am:
e42d29f31b
am:
244804f1b2
Change-Id: I2494c9affb98b646c74bf4983eebaa1becc62ff7
David Brazdil [Wed, 14 Feb 2018 00:10:28 +0000 (00:10 +0000)]
Merge "Refactor runtime hidden API flag from negative to positive"
Holly Jiuyu Sun [Wed, 14 Feb 2018 00:08:35 +0000 (00:08 +0000)]
Merge "Public EuiccManager APIs."
am:
42339c464f
Change-Id: I95f1713b1a1be188e7eae62adbfc975bfca982c3
Malcolm Chen [Wed, 14 Feb 2018 00:04:57 +0000 (00:04 +0000)]
Merge "Add death recipient to TelephonyRegistry."
am:
e42d29f31b
Change-Id: I20eb0b07a89b6dde2187339e28c0c3b50323370d
Eric Laurent [Tue, 13 Feb 2018 23:46:11 +0000 (23:46 +0000)]
Merge "Add audioserver state callback"
Sudheer Shanka [Tue, 13 Feb 2018 23:44:56 +0000 (23:44 +0000)]
Merge "Update the internal state before sending the deltas to callback."
Jerry Zhang [Tue, 13 Feb 2018 23:30:06 +0000 (23:30 +0000)]
Merge "Don't set functions at registration on boot"
Winson Chung [Tue, 13 Feb 2018 23:23:04 +0000 (23:23 +0000)]
Merge "Fix several issues with RecentsAnimation"
TreeHugger Robot [Tue, 13 Feb 2018 23:18:11 +0000 (23:18 +0000)]
Merge "Fix link-type check warnings for platformprotosnano"
Phil Weaver [Tue, 13 Feb 2018 23:12:16 +0000 (23:12 +0000)]
Merge "Add a11y titles for a few sysui windows"
TreeHugger Robot [Tue, 13 Feb 2018 23:09:52 +0000 (23:09 +0000)]
Merge "Fix opacity of expanded shade during transitions"
Holly Jiuyu Sun [Tue, 13 Feb 2018 22:56:08 +0000 (22:56 +0000)]
Merge "Public EuiccManager APIs."
TreeHugger Robot [Tue, 13 Feb 2018 22:54:53 +0000 (22:54 +0000)]
Merge "Change navbar icons when overview proxy service is enabled (1/2)"
TreeHugger Robot [Tue, 13 Feb 2018 22:50:39 +0000 (22:50 +0000)]
Merge "Don't be so chatty, StatusIconContainer"
Qingxi Li [Tue, 13 Feb 2018 22:41:22 +0000 (22:41 +0000)]
Merge "Add interfact to get phone ID from UiccSlotInfo" am:
909e9d3e49 am:
feba71b4ef
am:
0f804fa225 -s ours
Change-Id: Icf724111cd0848ea072980ba022ed4654b5ecf4e
Beverly [Wed, 7 Feb 2018 17:32:02 +0000 (12:32 -0500)]
Zen upgrade notification
Test: runtest --path /extra/master/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ZenModeHelperTest.java
Change-Id: Ia31f89af74d9bcee40e050bd6cc13f1e6a9a15d9
Fixes:
73000503
Fixes:
72876890
Fixes:
73110052
Qingxi Li [Tue, 13 Feb 2018 22:19:02 +0000 (22:19 +0000)]
Merge "Add interfact to get phone ID from UiccSlotInfo" am:
909e9d3e49
am:
feba71b4ef
Change-Id: I4c65138fd4283c2023737c294f92d82346943157
Qingxi Li [Tue, 13 Feb 2018 22:06:45 +0000 (22:06 +0000)]
Merge "Add interfact to get phone ID from UiccSlotInfo"
am:
909e9d3e49
Change-Id: I610ad9785c419c864a604c2a330e07e56b6a19f2
TreeHugger Robot [Tue, 13 Feb 2018 21:29:58 +0000 (21:29 +0000)]
Merge "Add config overlay flags for ActivityMode in Wear."
Treehugger Robot [Tue, 13 Feb 2018 21:27:39 +0000 (21:27 +0000)]
Merge "Add death recipient to TelephonyRegistry."
TreeHugger Robot [Tue, 13 Feb 2018 21:26:26 +0000 (21:26 +0000)]
Merge "Close print writers"
TreeHugger Robot [Tue, 13 Feb 2018 21:15:23 +0000 (21:15 +0000)]
Merge "Don't write settings just for install status"
TreeHugger Robot [Tue, 13 Feb 2018 21:08:54 +0000 (21:08 +0000)]
Merge "Add @throws clause to getInstallerPackageName"
Sudheer Shanka [Tue, 13 Feb 2018 21:04:08 +0000 (21:04 +0000)]
Merge "check if per-uid cputimes proc file has correct no. of freqs."
TreeHugger Robot [Tue, 13 Feb 2018 21:00:31 +0000 (21:00 +0000)]
Merge "Do not throw an exception if there's no application key to be decrypted"
Jerry Zhang [Tue, 13 Feb 2018 20:58:41 +0000 (12:58 -0800)]
Don't set functions at registration on boot
If onRegistration is called before functions
are received, adb can be kicked on boot. To fix,
don't set functions if they are still being
requested.
Bug:
73168456
Test: adb logcat doesn't dc
Change-Id: I25bfe13604f0ce0c65c3eb82bcfafd9fcae0283f
TreeHugger Robot [Tue, 13 Feb 2018 20:58:14 +0000 (20:58 +0000)]
Merge "Update device default colors for darker UI"
Holly Jiuyu Sun [Wed, 13 Dec 2017 04:17:09 +0000 (20:17 -0800)]
Public EuiccManager APIs.
Public EuiccManager and other related necessary files.
Mark EuiccCardManager and other related necessary files as @SystemApi.
Solve lint errors and warnings.
Bug:
35851809
Test: test on phone
Change-Id: I8a2c78804cae56b679d311d613edca5be4bc2522
Merged-In: I68853e134e1e31fa9b91a83af6c491a2a8cca971
TreeHugger Robot [Tue, 13 Feb 2018 20:44:42 +0000 (20:44 +0000)]
Merge "Fix timeouts caused by destroy() waiting for the same lock on sort."
TreeHugger Robot [Tue, 13 Feb 2018 20:31:22 +0000 (20:31 +0000)]
Merge "Fix race condition with calling stop() before run()"
Makoto Onuki [Tue, 13 Feb 2018 20:14:21 +0000 (20:14 +0000)]
Merge "Sync too many retries"
TreeHugger Robot [Tue, 13 Feb 2018 20:13:04 +0000 (20:13 +0000)]
Merge "Revert "Use ImageDecoder for NinePatchDrawable and BitmapDrawable""
TreeHugger Robot [Tue, 13 Feb 2018 20:07:21 +0000 (20:07 +0000)]
Merge "Fix a bug in vector reverse iteration."
Matthew Ng [Mon, 12 Feb 2018 22:13:18 +0000 (14:13 -0800)]
Change navbar icons when overview proxy service is enabled (1/2)
Changed the home button to a longer bar oval shape and back button to be
outlined instead of filled. Change opalayout to make the home button
larger when connected to launcher. Decrease the nav icons by 2dp in size.
Bug:
67957962
Test: manual
Change-Id: Ia70ea6704278948e333cb9540ff599dbe657de2c
TreeHugger Robot [Tue, 13 Feb 2018 19:39:38 +0000 (19:39 +0000)]
Merge "Import translations. DO NOT MERGE"
Treehugger Robot [Tue, 13 Feb 2018 19:32:01 +0000 (19:32 +0000)]
Merge "Add interfact to get phone ID from UiccSlotInfo"
TreeHugger Robot [Tue, 13 Feb 2018 19:29:32 +0000 (19:29 +0000)]
Merge "Switch to public API version"
Qingxi Li [Wed, 31 Jan 2018 21:54:34 +0000 (13:54 -0800)]
Add interfact to get phone ID from UiccSlotInfo
Bug:
72753162
Test: TreeHugger
Merged-In: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
Change-Id: I7733a5f60cf4535339fe9b44e99178304ccbb2c0
Todd Kennedy [Tue, 13 Feb 2018 19:26:18 +0000 (11:26 -0800)]
Close print writers
Test: Manual
Change-Id: I4fffa9163b3ad7b0f70e15c1adc65370b70df0d3
Calvin On [Thu, 8 Feb 2018 00:16:37 +0000 (16:16 -0800)]
Add config overlay flags for ActivityMode in Wear.
Bug:
70277751
Bug:
67479547
Bug:
67479806
Change-Id: I1219e3ad1a68e82aed75b84aca1988f501a26d3c
Todd Kennedy [Tue, 13 Feb 2018 19:12:35 +0000 (11:12 -0800)]
Add @throws clause to getInstallerPackageName
It's confusing that this method would throw the unchecked
IllegalArgumentException.
Test: Manual
Change-Id: I0e7fbf888d6408783fbcf698db0407e773661968
Fixes:
73279116
Todd Kennedy [Tue, 13 Feb 2018 19:09:50 +0000 (11:09 -0800)]
Don't write settings just for install status
This is an obsolete concept and not necessary. Remove the install status
that's part of the package settings.
Change-Id: I20a567145e579c9588d4392d0ac26ef4b5bbe301
Fixes:
62229032
Test: atest FrameworksServicesTests:PackageManagerSettingsTests
Malcolm Chen [Tue, 13 Feb 2018 03:15:59 +0000 (19:15 -0800)]
Add death recipient to TelephonyRegistry.
Add death recipient to TelephonyRegistry so that all binders that
connect to TelephonyRegistry will be cleaned when they are died.
Test: manual
Bug:
73107019
Change-Id: Ib44f72b769272cef9f36f7b49097091a93bcc70e
Phil Weaver [Tue, 13 Feb 2018 19:01:24 +0000 (11:01 -0800)]
Add a11y titles for a few sysui windows
Adding for status bar, nav bar, and global actions dialog.
Also removing some extra code from global actions dialog
that populated window state changes. Apps in general don't
need this extra information, so we don't need to maintain
it in SysUi either.
In verifying the fix, I noticed that all windows were
considered anchored because of a mismatch between long and
int. Fixing that too.
Bug:
73131182
Test: With the testback a11y service, verified that these
titles do indeed appear in the window information provided
to accessibility services. Also noted that windows are no
longer reporting themselves as anchored.
Change-Id: Ie09fbb88250b3c9663d6c28001e0ce9f70c67954
Winson Chung [Mon, 12 Feb 2018 19:10:04 +0000 (11:10 -0800)]
Fix several issues with RecentsAnimation
- Prevent starting the recents animation while an app transition is already
set, if the animation was canceled before the pending start animation
could be processed, or if there are truly no visible tasks to animate
- Fix case where we were improperly cleaning up the recents animation if it
was canceled while initializing. In particular we need to move the
initialization out of the constructor for the cancel logic to work
(which checks for a non-null controller before cleaning up). Similarly
we were posting the timeout runnable after the initialization of the
recents animation, even if that resulted in the animation being canceled.
Instead, post it before initialization to ensure that canceling the
animation will also remove the timeout.
Bug:
72953248
Test: Introduce artificial delay when starting recents animation such that
it happens after starting an activity
Change-Id: Ie0ec37038822f28327e789e7e5a3c4c36f945ff9
Signed-off-by: Winson Chung <winsonc@google.com>
Bo Zhu [Tue, 13 Feb 2018 18:23:39 +0000 (10:23 -0800)]
Do not throw an exception if there's no application key to be decrypted
Bug:
73287131
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I17fd94a975312abf9b93080318b7c16a4d388237
Makoto Onuki [Tue, 13 Feb 2018 18:50:45 +0000 (18:50 +0000)]
Merge "Fix comment case."
David Brazdil [Tue, 13 Feb 2018 17:04:26 +0000 (17:04 +0000)]
Refactor runtime hidden API flag from negative to positive
There are only two situations in which we want to enable hidden API
access flag checks. Turning the flag from DISABLE_ to ENABLE_
simplifies logic in ART and reduces the number places where the flag
had to be passed down to ART.
Bug:
64382372
Test: boot device, install and run apps, check log messages
Change-Id: Ic5a531834360b614fc93d54221c7395579791184
TreeHugger Robot [Tue, 13 Feb 2018 18:26:11 +0000 (18:26 +0000)]
Merge "pm shell command to uninstall system updates"
Yao Chen [Tue, 13 Feb 2018 17:37:27 +0000 (09:37 -0800)]
Fix a bug in vector reverse iteration.
Bug:
73264895
Test: statsd_test and locally built statsd with
LOCAL_CLANG:=true
LOCAL_SANITIZE:=address
Change-Id: Ifb8e04c5b4908446f553169846a3226db6e02f54
Makoto Onuki [Wed, 7 Feb 2018 17:31:46 +0000 (09:31 -0800)]
Sync too many retries
- When an one-shot sync with app-standby exempt fails too many times in a row,
drop the "exempt from app-standby" flag.
- Also obtain some constants from global settings so we can change them
in CTS.
Bug:
72443754
Test: Manual test (CTS WIP)
Change-Id: Ibdbb348a7ff26a0be04b8f2c256e1f6ead39907d
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"
Niels Egberts [Tue, 13 Feb 2018 13:24:56 +0000 (13:24 +0000)]
Fix race condition with calling stop() before run()
The code assumed that when stop() is called before run(), it's not
neccessary to signal mNotFull, but in rare cases the synthesizer may
already have filled the buffer before run() is called.
Test: manual
Bug:
70887227
Change-Id: I83117f3541d37830b344bc9eda34e1f380b58e76
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"
Todd Lee [Sun, 19 Nov 2017 00:34:18 +0000 (16:34 -0800)]
Update device default colors for darker UI
- implement darker UI for improved glanceability
(while still supporting OEM customization that would provide
for more color depth/separation)
- fix watch-only resources for associated controls
Bugs: b/
69522808
b/
64356423
Change-Id: Ic8475f310f31587087266b2367564811f19b99e4
(cherry picked from commit
97547d905bd40e10f6a5383e99c6821d71a8a91d)
(cherry picked from commit
684a6d328fc5b14cdcf1072cc585b8af1cfcae3e)
Phil Weaver [Tue, 13 Feb 2018 16:59:27 +0000 (16:59 +0000)]
Merge "Migrate notification shade to use the a11y panes"
Makoto Onuki [Tue, 13 Feb 2018 16:52:10 +0000 (08:52 -0800)]
Fix comment case.
Bug:
72659387
Test: build
Change-Id: I547b4e4d436becc7f223570eec37d68ef136002a
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
Evan Laird [Tue, 13 Feb 2018 16:41:00 +0000 (11:41 -0500)]
Don't be so chatty, StatusIconContainer
Test: adb logcat -c; adb logcat -d | grep "StatusIconContainer";
Change-Id: I74608756f020009f371e773a6db1282df8f0ce4b
Fixes:
73257460
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"