OSDN Git Service
Mihai Popa [Fri, 9 Mar 2018 16:02:31 +0000 (16:02 +0000)]
Merge changes from topic "magnifier_expose_size_and_zoom-pi-dev" into pi-dev
* changes:
[Magnifier-31] Do not magnify outside current line
[Magnifier-29] Expose size and zoom in the API
Tomasz Wasilczyk [Fri, 9 Mar 2018 15:46:48 +0000 (15:46 +0000)]
Merge "Fix opening tuner session with HAL 2.0." into pi-dev
Rubin Xu [Fri, 9 Mar 2018 15:38:37 +0000 (15:38 +0000)]
Merge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev am:
a9df845321 am:
8dddc5e1f8
am:
edb8872513 -s ours
Change-Id: Ia1047b019f4ee8844a2dc45be534747d5e799224
Rubin Xu [Fri, 9 Mar 2018 15:33:05 +0000 (15:33 +0000)]
Merge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev am:
a9df845321
am:
8dddc5e1f8
Change-Id: I52e47a1dec4e71c4002d2657cc99e712a39f8d34
Bryce Lee [Fri, 9 Mar 2018 15:18:40 +0000 (15:18 +0000)]
Merge "Add unit test to verify option propagation from starter to modifier." into pi-dev
Bryce Lee [Fri, 9 Mar 2018 15:18:27 +0000 (15:18 +0000)]
Merge "Do not call checkReadyForSleep recursively." into pi-dev
Rubin Xu [Fri, 9 Mar 2018 15:15:07 +0000 (15:15 +0000)]
Merge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev
am:
a9df845321
Change-Id: I0d7f4421d10f977eb9071ba3478da771e58541ca
Rubin Xu [Fri, 9 Mar 2018 14:59:30 +0000 (14:59 +0000)]
Merge "[DO NOT MERGE] Add permission check to setAllowOnlyVpnForUids" into oc-dev
TreeHugger Robot [Fri, 9 Mar 2018 14:56:59 +0000 (14:56 +0000)]
Merge "Move mobile signal indicator to QS footer." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 14:40:41 +0000 (14:40 +0000)]
Merge "Add logging for screen timeout override." into pi-dev
Mihai Popa [Wed, 7 Mar 2018 12:25:21 +0000 (12:25 +0000)]
[Magnifier-31] Do not magnify outside current line
Currently, after the cursor is reaching the end of a line, the magnifier
keeps following the finger even if the cursor cannot move anymore.
This CL limits the movement of the magnifier, ensuring it stays between
the bounds of the text line. Also, when the finger gets too far from the
end of the line, we dismiss the magnifier. We consider it went too far
when the cursor is not visible anymore inside the magnifier.
Bug:
72314536
Test: manual testing (both English and Arabic)
Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest
Test: atest CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I8dafba1fc8e7b8e482526e818831ece2ee20ac27
(cherry picked from commit
dfc752bc745ca272234be41f2b54d49eccece84d)
Merged-In: I8dafba1fc8e7b8e482526e818831ece2ee20ac27
Julia Reynolds [Fri, 9 Mar 2018 13:38:06 +0000 (13:38 +0000)]
Merge changes from topic "jr-viseffects" into pi-dev
* changes:
Make systemui obey new visual effect flags
Expand the visual effects that DND can suppress.
Mihai Popa [Tue, 6 Mar 2018 14:24:07 +0000 (14:24 +0000)]
[Magnifier-29] Expose size and zoom in the API
The CL exposes the size and the zoom of the magnifier in the public API.
These are required for implementing a number of UX requests in WebView
and Chrome - see the two bugs referenced.
Also, the CL fixes a bug in the #getContent() TestApi, which was
returning the bitmap before (instead of after) scaling.
Bug:
70608551
Bug:
72314536
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Idc583b923010d7dca075b05b6f4dbafa74cfec1f
(cherry picked from commit
e1b93ddcbd40334664d6360d60525981cf3a3981)
Merged-In: Idc583b923010d7dca075b05b6f4dbafa74cfec1f
TreeHugger Robot [Fri, 9 Mar 2018 12:42:55 +0000 (12:42 +0000)]
Merge "Update javadoc for WifiConfiguration.setHttpProxy" into pi-dev
Adrian Roos [Fri, 9 Mar 2018 12:40:37 +0000 (12:40 +0000)]
Merge "SysUI: Fix a bunch of hacks around insets and cutouts" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 12:40:22 +0000 (12:40 +0000)]
Merge "Add BaseNetdEventCallback class that provides no-op implementations for INetdEventCallback." into pi-dev
Jorim Jaggi [Fri, 9 Mar 2018 12:05:01 +0000 (12:05 +0000)]
Merge changes I46e93397,Ie0a157a9 into pi-dev
* changes:
Also set calling pid when registering for next activity start
Revert "Revert "Elevate remote/recents animation priority""
dalyk [Thu, 8 Mar 2018 21:33:25 +0000 (16:33 -0500)]
Add BaseNetdEventCallback class that provides no-op implementations for INetdEventCallback.
Test: None
Bug:
71828272
Merged-In: I261015d0d3e7e4159bb514742a6c588bfd34e795
Merged-In: I3a701fc52641615bf197f980022a61518c7347f4
Merged-In: I1ed5ede74ca14718e6d4f8a9a8d57de6026c9e93
Merged-In: Ib0c4b69a24144d27f672ec716fb9a8f06987ce7d
Change-Id: I75e0620f82195f18befe9dc079492a8c69bb764b
(cherry picked from commit
985d89a6e0412a3b0e8b1519de8ebffdbf708d31)
David Brazdil [Fri, 9 Mar 2018 10:07:41 +0000 (10:07 +0000)]
Merge "Whitelist all @SystemApi and @TestApi for hidden API" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 09:22:54 +0000 (09:22 +0000)]
Merge "Display shortcut inline with item title in cascading menu" into pi-dev
Hyundo Moon [Fri, 9 Mar 2018 08:28:08 +0000 (08:28 +0000)]
Merge "MediaSession2: Ensure NonNull/Nullable for parameters of public methods" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 07:37:43 +0000 (07:37 +0000)]
Merge "Add team members in OWNER file" into pi-dev
yro [Fri, 9 Mar 2018 02:41:03 +0000 (18:41 -0800)]
Add team members in OWNER file
Bug:
74415902
Test: no test necessary
Change-Id: I39d0a5cb9c6e8520fd29881442e66961096d52fc
TreeHugger Robot [Fri, 9 Mar 2018 05:15:28 +0000 (05:15 +0000)]
Merge "Documenting some core proto style conventions." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 05:13:22 +0000 (05:13 +0000)]
Merge "Marked testFocusedWindowMultipleDisplays as flaky" into pi-dev
Hyundo Moon [Mon, 5 Mar 2018 04:41:01 +0000 (13:41 +0900)]
MediaSession2: Ensure NonNull/Nullable for parameters of public methods
Bug:
73863865
Test: runtest-MediaComponents
Change-Id: Id40f221ae60b1e63afd9ff71950589fe13a7f526
TreeHugger Robot [Fri, 9 Mar 2018 04:37:29 +0000 (04:37 +0000)]
Merge "MediaSession2: Implement MediaSession2#updatePlayer()" into pi-dev
Mathieu Chartier [Fri, 9 Mar 2018 04:27:18 +0000 (04:27 +0000)]
Merge changes from topic "cdex_commands" into pi-dev
* changes:
Clean up comment
Bump version for OtaDexoptService
Add logic for passing down CompactDex generation flag
Amin Shaikh [Thu, 8 Mar 2018 16:39:01 +0000 (11:39 -0500)]
Move mobile signal indicator to QS footer.
- Change mobile data tile to a static icon with mobile data indicators
- Add the status bar mobile network signal icon to QS footer
- Show SIM status in the carrier text in the QS footer only if the
status is not simply "No SIM card" since that status is shown in the
secondary text of the mobile data tile
Bug:
72540392
Test: visual && runtest systemui
Change-Id: I6fee19887decf68db5084edc8c0e2d23bb1938d1
TreeHugger Robot [Fri, 9 Mar 2018 03:51:41 +0000 (03:51 +0000)]
Merge "Add global setting for auto-battery saver threshold max" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:39:31 +0000 (03:39 +0000)]
Merge "Don't hold AM lock during assist data request." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:23:17 +0000 (03:23 +0000)]
Merge "Fix statsd crash due to bad bucket index" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:19:50 +0000 (03:19 +0000)]
Merge "[RTT] COARSE -> FINE permission requirements" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:10:41 +0000 (03:10 +0000)]
Merge "MediaPlayer2Impl: fix getPlayerState." into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 03:02:22 +0000 (03:02 +0000)]
Merge "Bluetooth: Separate enable and disable Reasons from package name" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 02:53:23 +0000 (02:53 +0000)]
Merge "Remove debug metadata isVrOnly from InputMethodInfo" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 02:01:24 +0000 (02:01 +0000)]
Merge "Make few of the new IMS API methods final" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 01:57:57 +0000 (01:57 +0000)]
Merge "Expose WebView#onCheckIsTextEditor" into pi-dev
TreeHugger Robot [Fri, 9 Mar 2018 01:57:32 +0000 (01:57 +0000)]
Merge "Optimize incidentd memory usage" into pi-dev
Kweku Adams [Tue, 6 Mar 2018 02:06:02 +0000 (18:06 -0800)]
Documenting some core proto style conventions.
Bug:
74206433
Test: Android builds
Change-Id: I90ec796b9a06fdfd9cf1f6d69f217b636472c590
TreeHugger Robot [Fri, 9 Mar 2018 01:18:27 +0000 (01:18 +0000)]
Merge "Write data to file when StatsCompanionSerivice (system_server) crashes" into pi-dev
Wale Ogunwale [Fri, 9 Mar 2018 01:01:08 +0000 (17:01 -0800)]
Marked testFocusedWindowMultipleDisplays as flaky
Bug:
37908381
Test: bit me!
Change-Id: Icc2cccc3468849810df8de8778e1e9dc044b01a4
Jack He [Fri, 2 Mar 2018 21:08:36 +0000 (13:08 -0800)]
Bluetooth: Separate enable and disable Reasons from package name
* Reasons to enable or disable Bluetooth should be in a separate
namespace away from package names that initiated the enable or disable
* Delcare reason code in android/bluetooth/enums.proto as
EnableDisableReasonEnum and use these reason code together with
package names to log Bluetooth enable and disable events
* When reason is ENABLE_DISABLE_REASON_APPLICATION_REQUEST, the external
package name is the real reason why Bluetooth is enabled or disabled
* Change START_CRASH to START_ERROR since it represents a disable event
when Bluetooth failed to start
* Change UNEXPECTED_CRASH to CRASH since no crash is expected
* Add getEnableDisableReasonString() method to covert reason code to
human readable strings in dumpsys output
Bug:
74090881
Test: Toggle Bluetooth, airplane mode, BLE scanning
Change-Id: I06aa413e2a0a5f016c87759a1b694ef643c9cdee
(cherry picked from commit
0dbe66460fa2a5ebb05ca757e58141c213038bc1)
Tarandeep Singh [Fri, 9 Mar 2018 00:11:37 +0000 (16:11 -0800)]
Remove debug metadata isVrOnly from InputMethodInfo
Change-Id: I1e5ae572ab0f8d53b1b8c4ae1e787aff294c82e0
Fixes:
68948291
Test: Manually built and tested. No changes expected for non-dev apps
Vladislav Kaznacheev [Tue, 6 Mar 2018 01:11:11 +0000 (17:11 -0800)]
Display shortcut inline with item title in cascading menu
Bug:
74208750
Test: run android.widget.cts.PopupMenuTest on a large screen device
such as hikey960.
Change-Id: I1c4bca3cfecb012432e6cb89cb4cc0177ccc04f9
Bryce Lee [Thu, 8 Mar 2018 22:28:52 +0000 (14:28 -0800)]
Add unit test to verify option propagation from starter to modifier.
This changelist adds a test, which makes sure that the options
specified when executing an ActivityStarter are properly communicated
to the LaunchParamsModifier if a task is created during start.
Change-Id: Id244006106b72977206d5199c4e508807924d028
Fixes:
69270257
Test: atest FrameworksServicesTests:ActivityStarterTests#testCreateTaskLayout
Michael Wright [Tue, 6 Mar 2018 15:14:06 +0000 (15:14 +0000)]
Add logging for screen timeout override.
Bug:
72312560
Test: flash, see log
Change-Id: I85662b567059d3c9bc2777670cef9a8f47af7465
Wei Jia [Thu, 8 Mar 2018 21:56:42 +0000 (13:56 -0800)]
MediaPlayer2Impl: fix getPlayerState.
Test: MediaPlayer2 plays
Bug:
74204684
Change-Id: Ib27930287485f074be6a8df4a90fb78023153ccd
Android Build Merger (Role) [Thu, 8 Mar 2018 21:53:15 +0000 (21:53 +0000)]
Merge "Merge changes from topic "am-
74e79eb6-59c1-4f9c-a993-
72eeee3859c4" into oc-dev am:
b6b6c01847 am:
bdc573b39b am:
d258da6a80" into pi-dev
Fyodor Kupolov [Thu, 8 Mar 2018 21:52:50 +0000 (21:52 +0000)]
Merge changes from topic "am-
74e79eb6-59c1-4f9c-a993-
72eeee3859c4" into oc-dev am:
b6b6c01847 am:
bdc573b39b
am:
d258da6a80
Change-Id: Ifdaae4a751661cde4019835e067c6516c3d64599
TreeHugger Robot [Thu, 8 Mar 2018 21:51:40 +0000 (21:51 +0000)]
Merge "Add secondary text to mobile data tile." into pi-dev
Winson Chung [Thu, 8 Mar 2018 19:10:27 +0000 (11:10 -0800)]
Don't hold AM lock during assist data request.
Bug:
73992642
Test: Manual, just ensure that we don't hold the lock while requesting
assist data
Change-Id: I38305a0982722669733481b7ef74550f972c85ee
TreeHugger Robot [Thu, 8 Mar 2018 21:43:11 +0000 (21:43 +0000)]
Merge "[QS] Disable hotspot when data saver is enabled" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 21:40:22 +0000 (21:40 +0000)]
Merge "ImageDecoder: Add getters. Rename setAsAlphaMask" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 21:36:59 +0000 (21:36 +0000)]
Merge "[QS] Update Cellular/data usage tile" into pi-dev
Bookatz [Thu, 8 Mar 2018 19:16:48 +0000 (11:16 -0800)]
Fix statsd crash due to bad bucket index
Statsd crashes because predictAnomalyTimestamp requests past buckets
that occurred before time began. That's fine, but statsd needs to know
that the data before time began was 0 (instead of reading before the
beginning of the array and crashing).
AnomalyTracker's use of bucketNumbers is in general risky, and should be
auditted. But this cl will fix the current crashing.
Bug:
73825954
Test: Definitely necessary. Will write during audit.
Change-Id: I990ff134153f290d3089bfe3440d838f47996b63
Lucas Dupin [Thu, 8 Mar 2018 21:31:28 +0000 (21:31 +0000)]
Merge changes Ib8f43601,I61d82dca into pi-dev
* changes:
Show battery percentage on indication field
Revert "Show battery percentage on indication field"
Fyodor Kupolov [Thu, 8 Mar 2018 21:27:20 +0000 (21:27 +0000)]
Merge changes from topic "am-
74e79eb6-59c1-4f9c-a993-
72eeee3859c4" into oc-dev am:
b6b6c01847
am:
bdc573b39b
Change-Id: I42858af9b3a8d5e436ce9bbff0a697290f9803d9
Mathieu Chartier [Thu, 8 Mar 2018 21:11:40 +0000 (13:11 -0800)]
Clean up comment
Bug:
63756964
Bug:
74245837
Test: untested
(cherry picked from commit
28c4c9b04a0de99b4994707a499c3fe46c7a9ccd)
Merged-In: I47a0fbab7da9cd87ec9e7dc03b2bc00e5668eae3
Change-Id: Id126490847c2601bb1584c43147acc89dc8baeff
Mathieu Chartier [Wed, 7 Mar 2018 17:29:21 +0000 (09:29 -0800)]
Bump version for OtaDexoptService
Bug:
63756964
Bug:
74245837
Test: manual
(cherry picked from commit
cbe92f735fb6b2cf569e815a97258e5f0c386e59)
Merged-In: I750e38a02710347a03783b820816eda6958ba0c6
Change-Id: I7658114b90232aa885438d69d396fcbd5f5c56d0
Mathieu Chartier [Wed, 7 Mar 2018 02:28:22 +0000 (18:28 -0800)]
Add logic for passing down CompactDex generation flag
In the cases where we are not install, boot, or first boot, pass down
the flag to generate CompactDex.
Bug:
63756964
Bug:
74245837
Test: manual
(cherry picked from commit
f890c3ea5c62fc44aa84fbd011be249accbaff08)
Merged-In: I4a2ff9383251e67b260cff5ec8a326c7a4f7faca
Change-Id: I857ba57d0821442b2d39e19b0102e62ab5f76f0c
TreeHugger Robot [Thu, 8 Mar 2018 21:16:47 +0000 (21:16 +0000)]
Merge "Stop using finalizer in Typeface and FontFamily" into pi-dev
Fyodor Kupolov [Thu, 8 Mar 2018 20:54:39 +0000 (20:54 +0000)]
Merge changes from topic "am-
74e79eb6-59c1-4f9c-a993-
72eeee3859c4" into oc-dev
am:
b6b6c01847
Change-Id: I3bd011083894e1db22b90d38d71a0807facd151f
Tomasz Wasilczyk [Thu, 1 Mar 2018 16:21:55 +0000 (08:21 -0800)]
Fix opening tuner session with HAL 2.0.
Bug:
73950974
Test: manual
Change-Id: Ic1cddf04250ae9b8c7914d334b981acba9ff6056
Chavi Weingarten [Thu, 8 Mar 2018 20:35:58 +0000 (20:35 +0000)]
Merge "Set canTurnScreenOn to false for any window with flag." into pi-dev
Fyodor Kupolov [Thu, 8 Mar 2018 20:30:06 +0000 (20:30 +0000)]
Merge changes from topic "am-
74e79eb6-59c1-4f9c-a993-
72eeee3859c4" into oc-dev
* changes:
[automerger] Verify last array's length in readFromParcel am:
3b8bc2e450 am:
71478241eb am:
e0b5c2d25e am:
fa32631c63 am:
3a295c1c7f
[automerger] Verify last array's length in readFromParcel am:
3b8bc2e450 am:
71478241eb am:
e0b5c2d25e am:
fa32631c63
[automerger] Verify last array's length in readFromParcel am:
3b8bc2e450 am:
71478241eb am:
e0b5c2d25e
[automerger] Verify last array's length in readFromParcel am:
3b8bc2e450 am:
71478241eb
[automerger] Verify last array's length in readFromParcel am:
3b8bc2e450
Verify last array's length in readFromParcel
Tyler Gunn [Thu, 8 Mar 2018 20:24:36 +0000 (20:24 +0000)]
Merge "Ensure start of call properties are propagated to RemoteConnection." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 20:21:27 +0000 (20:21 +0000)]
Merge "Use bool var judge whether the navi-keys enabled" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 20:14:35 +0000 (20:14 +0000)]
Merge "[QS] Tweak tooltip color & shown count" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 20:14:30 +0000 (20:14 +0000)]
Merge "Remove PowerProfile.POWER_NONE" into pi-dev
Bryce Lee [Thu, 1 Mar 2018 23:38:07 +0000 (15:38 -0800)]
Do not call checkReadyForSleep recursively.
resumeTopActivityUncheckedLocked can be recusively called. There are
currently measures in place to guard against
resumeTopActivityInnerLocked from being called inside recursively.
However, calls to checkReadyForSleep in the same method are not
protected in the same way. This can lead to a stack overflow.
This changelist moves the call to inside the scope protected from
recusive invocations.
Change-Id: Id5a7e04a354032ad10cf285f8d6b26d666734e6e
Fixes:
66344012
Test: go/wm-smoke-auto
Bryce Lee [Thu, 8 Mar 2018 20:10:20 +0000 (20:10 +0000)]
Merge "Couple mResumedActivity to Activity lifecycle." into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 19:51:12 +0000 (19:51 +0000)]
Merge "Initialize mWcdmaRscpAsu and fix invalid value for asu" into pi-dev
Jordan Liu [Thu, 8 Mar 2018 19:49:47 +0000 (19:49 +0000)]
Merge "Support ENVELOPE (EVENT DOWNLOAD - User activity) command" into pi-dev
Amin Shaikh [Mon, 5 Mar 2018 19:34:44 +0000 (14:34 -0500)]
Add secondary text to mobile data tile.
- Update data content description for the mobile data tile to include no
internet connectivity
- Update strings for telephony icons to show that they are no longer
only used for accessibility purposes
Bug:
74192657
Test: runtest systemui
Change-Id: I95f36e871dedfc9caea53326e8ee198f141fb8a8
Tomasz Wasilczyk [Thu, 8 Mar 2018 19:44:04 +0000 (19:44 +0000)]
Merge "Fix basic broadcastradio HAL 1.1/2.0 functionality." into pi-dev
Adrian Roos [Thu, 8 Mar 2018 17:39:20 +0000 (18:39 +0100)]
SysUI: Fix a bunch of hacks around insets and cutouts
PhoneStatusBarView: update correctly on rotation
VolumeUI: properly place window instead of accounting for bars and letterbox
PhoneWindowManager: remove special policy for TYPE_VOLUME_OVERLAY
GlobalActions: Adjust for removal of special policy for volume overlays
Bug:
74195186
Test: Use VolumeUI, GlobalActions, Keyguard and Status bar in all kinds of orientations and cutout configurations
Change-Id: I72281cee202fea0a69766ff0d58ea55dcb5a36e1
TreeHugger Robot [Thu, 8 Mar 2018 19:34:21 +0000 (19:34 +0000)]
Merge "Calculate timestamp using local time zone in system update unit tests" into pi-dev
Tarandeep Singh [Thu, 8 Mar 2018 18:52:03 +0000 (10:52 -0800)]
Make few of the new IMS API methods final
d8d03a8e1b5b7f4b05d7f99a19d356ffd95edb58 added new methods to
InputMethodService.
Allowing IME developers to override some of these methods would introduce
unnecessary complexity. Making these methods final makes sure developers
cannot inject some unexpected behavior when called by system.
Bug:
73701052
Test: atest InputMethodServiceTest
Test: atest CtsInputMethodServiceHostTestCases
Change-Id: I1af4ed05a0b7306d840a21129e921a57b4a5fc33
TreeHugger Robot [Thu, 8 Mar 2018 19:25:07 +0000 (19:25 +0000)]
Merge "Cutout: Fix status bar layout" into pi-dev
Leon Scroggins III [Thu, 8 Mar 2018 15:32:10 +0000 (10:32 -0500)]
ImageDecoder: Add getters. Rename setAsAlphaMask
Bug:
73788928
Test: I1606cbb4e71579160ffaef12c1ed738fad882cd1
This will allow Kotlin developers to treat the setters as properties.
Part of the motivation for the rename is that "getAsAlphaMask" sounds
like it returns an alpha mask itself. Rename both to
_etDecodeAsAlphaMask.
Change-Id: I8f9b04f8381840490b662c3bcd37a95442af8110
Changwan Ryu [Tue, 6 Mar 2018 23:55:19 +0000 (15:55 -0800)]
Expose WebView#onCheckIsTextEditor
WebView was never returning correct return value in
onCheckIsTextEditor(). However, startinput optimization work at
ag/
3455281, requires a correct return value when switching between
windows. Chrome-side change (crrev.com/c/952217) has dropped into
66.0.3359.14.
BUG:
74199870
Test: manually verified
Change-Id: I954365a70f1ff2680ed9a6d76e695c1193a4cfa3
Etan Cohen [Thu, 8 Mar 2018 19:06:08 +0000 (11:06 -0800)]
[RTT] COARSE -> FINE permission requirements
Bug:
74358581
Test: rtt unit tests
Test: acts/sl4a RangeApSupporting11McTest:test_rtt_80211mc_supporting_aps
Change-Id: Ie65efe227663f7b85344607c765eaa1a231a2533
Tyler Gunn [Thu, 8 Mar 2018 18:59:53 +0000 (18:59 +0000)]
Merge "API Documentation and Constant cleanup." into pi-dev
Lucas Dupin [Thu, 8 Mar 2018 18:34:58 +0000 (10:34 -0800)]
Show battery percentage on indication field
Supports two battery formats until all locales are updated
Test: visual
Test: switch language, observe.
Change-Id: Ib8f43601a85f24b8e315d7c67c8693060fc6d32b
Bug:
74386188
Lucas Dupin [Thu, 8 Mar 2018 18:23:17 +0000 (18:23 +0000)]
Revert "Show battery percentage on indication field"
This reverts commit
15ab3693363ca81cd2224018317b8429afd695e9.
Reason for revert: IllegalFormatConversionException
Fixes:
74386188
Change-Id: I61d82dca45a4b0b973c9ea572c63cbbb8125758d
TreeHugger Robot [Thu, 8 Mar 2018 18:28:39 +0000 (18:28 +0000)]
Merge "Don't use android namespaces in docs" into pi-dev
TreeHugger Robot [Thu, 8 Mar 2018 18:17:59 +0000 (18:17 +0000)]
Merge "Remove upper left X icon on mobile signal." into pi-dev
Siarhei Vishniakou [Tue, 6 Mar 2018 04:09:08 +0000 (20:09 -0800)]
Use bool var judge whether the navi-keys enabled
[Performance] if device enabled the system navigation keys,the system
will go to readthe Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED
provider while the driverreport KEYCODE_SYSTEM_NAVIGATION_RIGHT
every times,this operation has a serious impact on performance
Test: cherry-picked from aosp
Bug:
74392035
Change-Id: Ia30d14c136b7798e2997d43bc601cb361c853e0d
Signed-off-by: 周雷 <zhoulei5@xiaomi.com>
(cherry picked from commit
6aed2ee2082c5ae2319a9e0e333e3d030ce75345)
Mike Ma [Thu, 8 Mar 2018 18:14:46 +0000 (10:14 -0800)]
Remove PowerProfile.POWER_NONE
Change-Id: I49b3f3989a675bcb1ef83f5b86a55f3f5a0d3b2f
Fixes:
74389802
Test: com.android.internal.os.PowerProfileTest
Rohan Shah [Wed, 28 Feb 2018 23:13:31 +0000 (15:13 -0800)]
[QS] Update Cellular/data usage tile
Updated intent and API. We were using an explicit intent and there's
changes going on in the Settings team that change the activity name and
enabled states. Updating to an implicit event as with other parts of the
Settings app (e.g. Bluetooth).
Test: Visually
Bug:
73586207
Change-Id: Ifa5125b4770927521d9267569d487319efdb9f9f
Rohan Shah [Thu, 1 Mar 2018 19:57:00 +0000 (11:57 -0800)]
[QS] Tweak tooltip color & shown count
Limiting count to 2 (down from 3). Also updated the text color so it no
longer looks clickable.
Test: visually
Bug:
74075675
Change-Id: I86fbb5ae7481f6d19b7e6722832ac600595ad7ea
(cherry picked from commit
a853aa7fe55d5c2674606891205ce98e0e4f0e75)
Rohan Shah [Thu, 1 Mar 2018 21:15:13 +0000 (13:15 -0800)]
[QS] Disable hotspot when data saver is enabled
Added new callback for data saver and used the data saver enabled state
to determine whether the tile was available (similar to how airplane
mode works).
Test: Visually (via toggling both data saver/hotspot tiles)
Bug:
33003328
Change-Id: I0b0e5e382ab2a9ee13d4412ed059c523795b68c7
(cherry picked from commit
a23980f1d83c07acc933dca552c6e032495288a7)
Tomasz Wasilczyk [Wed, 7 Mar 2018 22:46:34 +0000 (14:46 -0800)]
Fix basic broadcastradio HAL 1.1/2.0 functionality.
This change fixes a few minor gaps preventing the reference radio app
from accessing HAL 1.1 and 2.0 devices:
- createAmFmSelector not detecting the radio band
- don't allow configuration-dependant operations before the configuration
is applied
- allow the initial configuration to be auto-selected
Bug:
74353024
Test: manual
Change-Id: If47872c1bf4cf57c6c39715218d90df9701c372d
Chavi Weingarten [Thu, 8 Mar 2018 17:26:31 +0000 (17:26 +0000)]
Merge "Synchronize all WindowTestsBase and WindowTestUtils methods." into pi-dev
Tyler Gunn [Wed, 7 Mar 2018 18:19:50 +0000 (18:19 +0000)]
Ensure start of call properties are propagated to RemoteConnection.
Some properties were not being propagated to a RemoteConnection when
a Connection is first created. This can cause problems where the
Connection Manager is not aware of these property changes, especially if
they never change again during the lifetime of a call.
The extras set when a Connection is first created using the
RemoteConnectionService API would not be propagated to the
RemoteConnection. This means that Telephony RAT reporting would never
happen if the radio technology never changes during a call.
Bug:
72811636
Test: Manual
Change-Id: Ia523cee477a39c221953cda68c29579cb5f6ed76
Merged-In:
06a96eab13992b7eb36435f2b145756993aed575
(cherry picked from commit
06a96eab13992b7eb36435f2b145756993aed575)
Jorim Jaggi [Thu, 8 Mar 2018 16:47:07 +0000 (17:47 +0100)]
Also set calling pid when registering for next activity start
Test: Share bugreport to Gmail from notification shade
Test: go/wm-smoke
Bug:
73991490
Change-Id: I46e933973f6cd984f7bb1e8231247fdb062a766c
Jorim Jaggi [Thu, 8 Mar 2018 16:27:43 +0000 (17:27 +0100)]
Revert "Revert "Elevate remote/recents animation priority""
This reverts commit
a8b48ab7332f61afe37b2e866e9cb67421fab1c0.
Original issue has been fixed in follow up CL.
Bug:
73555925
Change-Id: Ie0a157a91c3c66df52370adad7b188f59c4749ea
Julia Reynolds [Fri, 2 Mar 2018 18:16:37 +0000 (13:16 -0500)]
Make systemui obey new visual effect flags
Test: runtest systemui
Bug:
74075050
Change-Id: I46a3e762ecdab132edcb81880ef3e4f7f2e55aac
Jason Monk [Thu, 8 Mar 2018 16:35:55 +0000 (11:35 -0500)]
Don't use android namespaces in docs
We don't want to encourage devs to do that.
Test: none
Change-Id: I5633fc2a5b9bddddcc67daaff43798c9b66d036c
Fixes:
73123987