OSDN Git Service
Nicolas Geoffray [Thu, 3 May 2018 12:04:21 +0000 (12:04 +0000)]
Merge "More light grey apis." into pi-dev
android-build-team Robot [Thu, 3 May 2018 10:08:23 +0000 (10:08 +0000)]
Merge "Turn on QuickStep onboarding" into pi-dev
android-build-team Robot [Thu, 3 May 2018 09:36:52 +0000 (09:36 +0000)]
Merge "Fixes non-matching instant app behavior" into pi-dev
android-build-team Robot [Thu, 3 May 2018 08:19:43 +0000 (08:19 +0000)]
Merge "Add static IpClient logging" into pi-dev
Mathew Inwood [Thu, 3 May 2018 08:12:02 +0000 (08:12 +0000)]
Merge "Pass package name to runtime." into pi-dev
Shaowei Shen [Thu, 3 May 2018 02:05:17 +0000 (02:05 +0000)]
Merge "Fix [kv-3]PerformBackupTask using last package status to decide status sent to IBackupObserver." into pi-dev
Tracy Zhou [Thu, 3 May 2018 01:01:58 +0000 (01:01 +0000)]
Merge "Update QuickScrub tip according to the latest spec." into pi-dev
android-build-team Robot [Thu, 3 May 2018 00:14:23 +0000 (00:14 +0000)]
Merge "Fix a condition to reset the current spell checker" into pi-dev
android-build-team Robot [Wed, 2 May 2018 23:40:06 +0000 (23:40 +0000)]
Merge "Quickscrub will hide the most right buttons on nav bar" into pi-dev
android-build-team Robot [Wed, 2 May 2018 23:31:38 +0000 (23:31 +0000)]
Merge "Fix a race in spell checker session handling" into pi-dev
Yi Jin [Wed, 2 May 2018 21:36:23 +0000 (21:36 +0000)]
Merge "Add a section flag to bypass failure if a specific path can't be found." into pi-dev
Tracy Zhou [Tue, 1 May 2018 23:28:51 +0000 (16:28 -0700)]
Update QuickScrub tip according to the latest spec.
- Treat inreaction to the tip as 1st dismissal.
- Show tip after 1st dismissal based on Overview opened count instead of
app launch count.
Bug:
70180942
Test: manual test
Change-Id: I4410c78ac547ad49bd135dede71e79aaca2e1b10
Farid Zare Seisan [Wed, 2 May 2018 21:29:17 +0000 (21:29 +0000)]
Merge "UserDataPrepare: CE storage property set too early." into pi-dev
Matthew Ng [Thu, 26 Apr 2018 22:23:27 +0000 (15:23 -0700)]
Quickscrub will hide the most right buttons on nav bar
When scrub occurs, it will fade out the container of the navigation bar
menu buttons and animate them back when scrub ends.
Fixes:
77338303
Test: enable magnify in accessibility settings and drag home
Change-Id: Ic5df73b980c2cb20a135b20a9f84002f107db1c0
Jeff Sharkey [Wed, 2 May 2018 21:14:17 +0000 (21:14 +0000)]
Merge "Return to modifying raw /mnt/media_rw paths." into pi-dev
android-build-team Robot [Wed, 2 May 2018 20:58:14 +0000 (20:58 +0000)]
Merge "Preventing zombie process creation." into pi-dev
Selim Cinek [Wed, 2 May 2018 20:36:24 +0000 (20:36 +0000)]
Merge "Fix incorrect icon alignment on shelf" into pi-dev
Ryan Mitchell [Wed, 2 May 2018 20:23:49 +0000 (20:23 +0000)]
Merge "AAPT2: Fix quoted text in res/xml assets" into pi-dev
Lucas Dupin [Wed, 2 May 2018 20:20:51 +0000 (20:20 +0000)]
Merge "Fix NPE when casting" into pi-dev
android-build-team Robot [Wed, 2 May 2018 19:38:43 +0000 (19:38 +0000)]
Merge "Invoke create_recording_canvas correctly in macro bench tests" into pi-dev
android-build-team Robot [Wed, 2 May 2018 19:22:15 +0000 (19:22 +0000)]
Merge "Use Wi-Fi content description in StatusBarWifiView" into pi-dev
android-build-team Robot [Wed, 2 May 2018 19:17:27 +0000 (19:17 +0000)]
Merge changes from topic "ifaceStatsDetail" into pi-dev
* changes:
Remove the unused file parsing function
Use eBPF map data for per iface stats
Chia-I Wu [Wed, 2 May 2018 19:15:11 +0000 (19:15 +0000)]
Merge "Update Configuration#isScreenWideColorGamut doc" into pi-dev
android-build-team Robot [Wed, 2 May 2018 18:30:13 +0000 (18:30 +0000)]
Merge "Fix DemoMode icon spacing" into pi-dev
Yang Lu [Wed, 2 May 2018 18:25:18 +0000 (18:25 +0000)]
Merge "Lock the pulling alarm handler." into pi-dev
Gopinath Elanchezhian [Wed, 2 May 2018 18:24:30 +0000 (18:24 +0000)]
Merge "Add 'ss' trace category in app launch test." into pi-dev
Lucas Dupin [Wed, 2 May 2018 07:33:17 +0000 (00:33 -0700)]
Fix NPE when casting
We didn't have any tests that guarantee that the keyguard casting flow
wouldn't be broken by updates on KeyguardStatusView.
Such test was created
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardPresentationTest.java
Change-Id: I44f66be770ea2263fbf183bc438d1cedaa6f589a
Fixes:
71696859
Evan Laird [Wed, 2 May 2018 17:58:28 +0000 (13:58 -0400)]
Use Wi-Fi content description in StatusBarWifiView
Test: turn on TalkBack, tap Wi-Fi
Change-Id: Ic8bea2c5643ff44dfb042fceba1e87e12462635f
Fixes:
78172399
Ryan Mitchell [Fri, 27 Apr 2018 21:53:04 +0000 (14:53 -0700)]
AAPT2: Fix quoted text in res/xml assets
AAPT2 aggressively processed xml nodes and regressed from the behavior
of AAPT. This change restores AAPT's processing of xml nodes with
quotations.
Bug:
71805084
Test: Created tests in XmlFlattener_test.cpp and ran the test in the
Android Studio project given in the bug
Change-Id: Idedb4f1002e9fd705ceb5feae35289235b754b02
android-build-team Robot [Wed, 2 May 2018 17:47:15 +0000 (17:47 +0000)]
Merge "Work on issue #
77931346: The notification that should not be named appeared" into pi-dev
android-build-team Robot [Wed, 2 May 2018 17:44:17 +0000 (17:44 +0000)]
Merge "Fixed that some notifications were expandable by just a few pixels" into pi-dev
Chia-I Wu [Wed, 2 May 2018 17:13:22 +0000 (10:13 -0700)]
Update Configuration#isScreenWideColorGamut doc
Clarify that the method does not imply the screen is color-managed.
A global color transform may still be applied depending on the user
settings, such as night light, accessibility, Boosted, or Stretched.
Bug:
78012876
Test: builds
Change-Id: Ie9cdf455cf4ca93be2357a5313cd63555ab91ff9
Jack Yu [Wed, 2 May 2018 17:11:09 +0000 (17:11 +0000)]
Merge "Enabled area info update for India" into pi-dev
android-build-team Robot [Wed, 2 May 2018 16:55:15 +0000 (16:55 +0000)]
Merge "Fix issue #
78230210: Strobe: Need separate runtime permission group for READ_CALL_LOG and WRITE_CALL_LOG" into pi-dev
Hyunyoung Song [Wed, 2 May 2018 16:52:45 +0000 (16:52 +0000)]
Merge "Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep Test: is done on ub-launcher3-edmonton branch that uses this library function Bug:
77920179" into pi-dev
Evan Laird [Wed, 2 May 2018 16:47:26 +0000 (12:47 -0400)]
Fix DemoMode icon spacing
- Use the same margin on the left of Wi-Fi (2.5dp)
- DemoMode uses the padding of the view it's replacing, and WRAP_CONTENT
for the width of its children
- Fix DemoMode etc dot color
- Don't constrain number of icons if DemoMode is replacing an
unconstrained container
Test: visual;
adb shell settings put global sysui_demo_allowed 1 && \
adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 0900 && \
adb shell am broadcast -a com.android.systemui.demo -e command network -e wifi show -e level 4 && \
adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e datatype none -e level 4 && \
adb shell am broadcast -a com.android.systemui.demo -e command status -e bluetooth disconnected && \
adb shell am broadcast -a com.android.systemui.demo -e command battery -e level 100 -e plugged false
Change-Id: I1d1389f9c6d6cb7d6078af5bbe4bc21e42771560
Fixes:
79094455
Victor Hsieh [Mon, 23 Apr 2018 21:43:19 +0000 (14:43 -0700)]
Avoid using 0 for fs-verity extension ID
Also:
* Adjust size and order of some fields
* Fix Merkle tree size calculation bug
Test: Verify fs-verity works with kernel patch
Bug:
67380979
Change-Id: I58f14cfe9630c1ff62ed64dbf333bb1c9bfe0fb1
Ryan Mitchell [Wed, 2 May 2018 16:27:03 +0000 (16:27 +0000)]
Merge "AAPT2: Fixed id parsing error" into pi-dev
Rohan Shah [Wed, 2 May 2018 16:21:38 +0000 (16:21 +0000)]
Merge "[Notif] Update guts/blocking helper UI" into pi-dev
Selim Cinek [Wed, 2 May 2018 16:15:06 +0000 (09:15 -0700)]
Fixed that some notifications were expandable by just a few pixels
The minimum height for the content with an image was
incorrect and was unnecessarily leading to the notification
being expandable even though it shouldn't need to
Test: add notification with single line, no actions, image, observe not expandable
Change-Id: Ia0b5c976ccbee9d7419bb809123c348b310bc148
Fixes:
77823428
Adrian Roos [Wed, 2 May 2018 15:46:04 +0000 (08:46 -0700)]
[automerger skipped] Fix build more
am:
d9d5f654c7 -s ours
Change-Id: Id7d1d5f358c21e010530c0158ba72f4ccb8c6bf9
Adrian Roos [Wed, 2 May 2018 15:44:36 +0000 (08:44 -0700)]
[automerger skipped] Fix build
am:
3e0fd90693 -s ours
Change-Id: I814a48bdab01da6aab05b08ff58c688f4909170a
Adrian Roos [Wed, 2 May 2018 15:42:33 +0000 (08:42 -0700)]
[automerger skipped] OC-MR1 DisplayCutout XML API
am:
361580459e -s ours
Change-Id: Ibff9a5fd9396eb54264970f02c832a7d085a9648
android-build-team Robot [Wed, 2 May 2018 15:23:25 +0000 (15:23 +0000)]
Merge "Greylist updates from bugreports, Wednesday edition." into pi-dev
Mihai Popa [Wed, 2 May 2018 14:50:41 +0000 (14:50 +0000)]
Merge "[Magnifier-43] Refactor to remove code duplication" into pi-dev
android-build-team Robot [Wed, 2 May 2018 14:42:49 +0000 (14:42 +0000)]
Merge "Fix RTL TileLayout." into pi-dev
David Brazdil [Wed, 25 Apr 2018 10:15:07 +0000 (11:15 +0100)]
Merge non-SDK @removed API and light greylist
@removed APIs are not part of the public SDK but we do not want
to block access to them. Use the recently added removed-dex.txt
list of @removed API signatures and merge it into the hidden API
light greylist programmatically.
Note that due to Doclava's rule precedence, @removed APIs which
override a public SDK method are considered public and are
whitelisted. We have to intersect removed-dex.txt with private-dex.txt
to satisfy the rule that light greylist is a subset of private-dex.txt.
Bug:
78182899
Test: make out/target/common/obj/PACKAGING/removed-dex.txt
Change-Id: I44e54c405fc667d54a990b9ded1de8456802545e
David Brazdil [Wed, 2 May 2018 14:28:18 +0000 (14:28 +0000)]
Merge "Build list of @removed API's dex signatures" into pi-dev
Nicolas Geoffray [Wed, 2 May 2018 13:58:07 +0000 (14:58 +0100)]
More light grey apis.
bug:
79110492
Test: m
Change-Id: Ic83c6cfe28828f5c0b1a45eabfaa3e8ec3d54d81
android-build-team Robot [Wed, 2 May 2018 14:24:28 +0000 (14:24 +0000)]
Merge "Flip the cross profile apps animation" into pi-dev
Mathew Inwood [Wed, 2 May 2018 14:06:06 +0000 (15:06 +0100)]
Greylist updates from bugreports, Wednesday edition.
Bug:
78309612
Bug:
78471731
Bug:
78479712
Bug:
78596948
Bug:
78786637
Bug:
78906153
Bug:
79129056
Test: m
Change-Id: I1f6eb4e8de51ebf223b6863606a0a6401be03d9d
Nicolas Geoffray [Wed, 2 May 2018 13:22:48 +0000 (13:22 +0000)]
Merge "Add more light grey APIs." into pi-dev
Daniel Sandler [Wed, 2 May 2018 13:03:20 +0000 (13:03 +0000)]
Merge "SystemUI heap monitor & hprof dump tile." into pi-dev
Milo Sredkov [Wed, 2 May 2018 12:57:17 +0000 (12:57 +0000)]
Merge "Keep the notification shade open for smart replies" into pi-dev
Erik Kline [Tue, 1 May 2018 07:51:44 +0000 (16:51 +0900)]
Add static IpClient logging
Support keeping IpClient logs around and dumping them
during dumpsys. Previously we got this benefit for
wifi by virtue of WifiStateMachine's long-lived nature.
Now that this is changing we need to be sure we have
logs, and this method gets us Ethernet logs as well.
Bug:
62476366
Bug:
77999594
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
- dumpsys connmetrics [ipclient] works
Change-Id: I1136a83de8097fdb4130debe1eaf689be7132fe5
Adrian Roos [Wed, 2 May 2018 12:30:35 +0000 (12:30 +0000)]
Fix build more
Bug:
78122614
Test: m checkbuild
Change-Id: Ia69eca72a2982c6417bcd30bf806ef8c18616251
Merged-In: I226622533a1b406ba26c161cba13721080b4baca
Eran Messeri [Wed, 2 May 2018 12:31:06 +0000 (12:31 +0000)]
Merge "Save password requirements on the right user" into pi-dev
android-build-team Robot [Wed, 2 May 2018 12:02:46 +0000 (12:02 +0000)]
Merge "WindowStateAnimator: Hide preserved surface when showing new Surface" into pi-dev
Mihai Popa [Wed, 2 May 2018 12:02:18 +0000 (12:02 +0000)]
Merge changes I63f2b185,I0d749c1a into pi-dev
* changes:
[Magnifier-42] Fix bug in window positioning
[Magnifier-41] Fix behavior in windows with insets
Adrian Roos [Mon, 23 Apr 2018 16:54:37 +0000 (18:54 +0200)]
Fix build
Bug:
78122614
Test: m checkbuild
Change-Id: Ifd908fc91dc89d33a2b88fcfaed48480315991c6
Merged-In: I226622533a1b406ba26c161cba13721080b4baca
Adrian Roos [Tue, 20 Mar 2018 13:58:29 +0000 (14:58 +0100)]
OC-MR1 DisplayCutout XML API
Bug:
78122614
Test: m checkbuild
Change-Id: I974d3d4385ba66477e0932d40d0af7bcd32ddfb1
Merged-In: I226622533a1b406ba26c161cba13721080b4baca
Nicolas Geoffray [Wed, 2 May 2018 10:35:54 +0000 (11:35 +0100)]
Add more light grey APIs.
bug:
64382372
Test: m
Change-Id: Ia6f389ffb22f052409fc307de89cfef8d2fbeee4
Mihai Popa [Mon, 30 Apr 2018 18:08:57 +0000 (19:08 +0100)]
[Magnifier-43] Refactor to remove code duplication
Since Ic5b5f6ca687db8b5d842f0ab20eac70f1fd2f85e, the magnifier can be
the child of a diffent surface than the one its content is copied from.
This initially led to much code duplication accross different methods,
making the code quite difficult to understand. This CL performs a small
refactoring, removing some of the TODOs and making the code a bit
cleaner.
Bug:
78876353
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: Ifa26f94ba2e4983446f058f016af6010c1017ea7
Mihai Popa [Fri, 27 Apr 2018 15:32:44 +0000 (16:32 +0100)]
[Magnifier-42] Fix bug in window positioning
The position of the magnifier surface is always clamped inside its
parent surface. As of Ic5b5f6ca687db8b5d842f0ab20eac70f1fd2f85e, we are
always trying to make the magnifier surface a child of the main
application window, if possible (before, if the magnified view was a
SurfaceView, we were making the magnifier a child of the SurfaceView's
surface). However, the CL did not also update the clamping, continuing
to clamp to the SurfaceView space when the magnified view was a
SurfaceView (even if the magnifier was child of the main window). This
was making the magnifier window to be wrongly positioned on the screen
when the magnified view is a SurfaceView. The current CL fixes this.
Bug:
78876353
Test: manual testing
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I63f2b185f58e62e8ad6eadf788e641fb1de07b04
Mihai Popa [Fri, 27 Apr 2018 12:09:12 +0000 (13:09 +0100)]
[Magnifier-41] Fix behavior in windows with insets
The CL fixes the magnifier's behavior when its parent window has
positive insets in its surface:
- we compute the content copy coordinates sent to the pixel copy request
relative to the surface the content is copied from. We were clamping
them inside the visible region of the magnified view as returned by
belonging to the view which is magnified. However, the method returns
coordinates relative to the window. Therefore, the CL offsets the
visible rectangle with the window insets, to account for them.
Otherwise, when the insets were non-zero, on a text line we were
allowing the magnifier to display content from the left outside of the
text line, while a certain region at the end of the text line could have
never been magnified
- when clamping against the visible view region, when the surface we
copy from is a SurfaceView, #getGlobalVisibleRect is still returning
coordinates relative to the main window, whereas the coordinates we are
trying to clamp are relative to the surface of the SurfaceView. In order
to make the visible rectangle relative to the surface of the SurfaceView
instead, this CL negatively offsets the visible rectangle with the
SurfaceView position in the parent surface
- the selection/insertion handles are hidden when they overlap the
magnifier. To check this, we intersect the magnifier rectangle with the
rectangle of each handle. However, when we were performing this check,
the magnifier rectangle was relative to the surface, whereas the
handles' rectangle was relative to the main window. The CL negatively
offsets the magnifier position with the surface insets, to make both
rectangles relative to the window.
Bug:
78621162
Test: manual testing
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I0d749c1abb38520fe8fc477d22d6523f470e9abc
Mathew Inwood [Wed, 2 May 2018 09:42:23 +0000 (10:42 +0100)]
Pass package name to runtime.
When binding an application in ActivityThread, pass the package name to
the runtime so it knows which package is running in the process.
Bug:
77517571
Test: m
Change-Id: Ia646599ca45b76ebcd068fcc50df23659e89b82b
Milo Sredkov [Tue, 1 May 2018 21:45:38 +0000 (22:45 +0100)]
Keep the notification shade open for smart replies
Currently when the user taps on a smart reply button from a locked
screen, we ask for a pattern/password and then close the notification
shade. This is inconsistent with the unlocked case and with how inline
replies are handled.
Set mLeaveOpenOnKeyguardHide to true when handling smart reply clicks.
Also simplify and rename the method in KeyguardDismissHandler to make
this new behaviour clearer.
Bug:
77841506
Test: Tap on a smart reply from the lockscreen, then unlock.
Change-Id: If1dab2a4b0d93a512c27e6d8a870289f64c7b63d
android-build-team Robot [Wed, 2 May 2018 09:10:45 +0000 (09:10 +0000)]
Merge "Remove margin from first line of remote history" into pi-dev
David Brazdil [Thu, 26 Apr 2018 15:10:35 +0000 (16:10 +0100)]
Build list of @removed API's dex signatures
CL Iba8869ce6e4f401a8e420ad83ab459d25bbbaae0 added Doclava support
to generate a list of @removed API. Add a rule which builds that
list.
Bug:
78182899
Test: make out/target/common/obj/PACKAGING/removed-dex.txt
Merged-In: Ifa912f8751025b7de24a982a1a227a9c27d18267
Merged-In: I80860c2b9f7213db65d0a9ca65bd645187aa0ce0
Change-Id: I688c14e0d2fbfafe9ac212e6abdc3593cb744ef9
android-build-team Robot [Wed, 2 May 2018 07:28:33 +0000 (07:28 +0000)]
Merge "Request focus when pin is visible" into pi-dev
Dianne Hackborn [Wed, 2 May 2018 06:54:54 +0000 (06:54 +0000)]
Merge "Work on issue #
78480444: Start tracking uid state in app ops" into pi-dev
Felka Chang [Wed, 2 May 2018 06:51:05 +0000 (06:51 +0000)]
Merge "Fix "Clear all" tap ripple is cut off" into pi-dev
Lucas Dupin [Mon, 30 Apr 2018 22:56:52 +0000 (15:56 -0700)]
Request focus when pin is visible
Change-Id: Idfa7f0ea7f989de95030ed9dbd0ac4b45abc8155
Fixes:
77963692
Fixes:
78187153
Fixes:
78235570
Fixes:
78887466
Test: atest tests/src/com/android/keyguard/KeyguardPinBasedInputViewTest.java
Test: atest tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Test: atest android.server.am.ActivityManagerDisplayLockedKeyguardTests#testDismissKeyguard_whileOccluded_secondaryDisplay
Test: atest -dt android.server.am.KeyguardLockedTests#testEnterPipOverKeyguard
Test: go/sysui-bouncer-tests
Dianne Hackborn [Mon, 30 Apr 2018 23:23:26 +0000 (16:23 -0700)]
Work on issue #
77931346: The notification that should not be named appeared
Keep track of whether a foreground service has been shown in a
notification channel and, the first time one is, make sure the channel
is sufficiently important regardless of what the user or app last
set for it.
Bug:
77931346
Test: runtest systemui-notification
Change-Id: Idecad2dceb8cc918feec91ca1ee26edf3d3ab7de
Remi NGUYEN VAN [Wed, 2 May 2018 05:32:43 +0000 (05:32 +0000)]
Merge "Add NETWORK_BYPASS_PRIVATE_DNS permission" into pi-dev
felkachang [Fri, 27 Apr 2018 08:55:40 +0000 (16:55 +0800)]
Fix "Clear all" tap ripple is cut off
The view parent of "Clear all" button's view parent is FooterView.
FooterView has the paddingEnd that is 8dp. The "Clar all" button's
view parent is a Framelayout with android:layout_width="match_parent".
Because the layout parameter of Framelayout tells FooterView
"match_parent" and FooterView's super class is ExpandableView doesn't
consider the FooterView's paddings, the "Clear all" button right
boundary is cut off by FooterView.
To use paddingStart + paddingEnd instead of 0 padding in the onMeasure
phase. After considerating the padding of Expandableview-self padding,
the children of ExpandableView doesn't have the wrong drawing area.
The left boundary of "Manage notifications" should align with the left
bottom round corner end of the notification list. The first charactor
of "Manage notifications" should align the any of the first charactor
of the notification. The alignment is 16dp defined in
notification_content_margin_start.
The right boundary of "Clear all" should align with the right bottom
round corner end of the notification list. The total of padding that
counted from right boundary of notification list to the right text
boundary should be 16dp defined in notification_content_margin_end.
Bug:
77631994
Test: atest SystemUITests
Change-Id: I64a3489891bee993a1a2a0fd29e8d65823a36d63
shawnlin [Mon, 30 Apr 2018 12:32:40 +0000 (20:32 +0800)]
Fix incorrect icon alignment on shelf
ExpandableNotificationRow set the scrollX of notification icon in shelf while the notification is
swiped, but didn't set it back when reset without animation(ex: screen
off device).
Reset the scrollX of icon in shelf.
Test: runtest systemui
Change-Id: I05a428a7502de1618a7929b71a832c9e945a6aff
Fixes:
77569193
Chenbo Feng [Tue, 1 May 2018 20:51:13 +0000 (13:51 -0700)]
Remove the unused file parsing function
With the new xt_bpf support for iface stats. We no longer need to parse
the per interface stats from /proc/net/dev. And since the old xt_qtaguid
code path also not depend on it, we can completly remove that helper
function since no caller is depending on it now.
Bug:
72111305
Test: runtest frameworks-net -c com.android.internal.net.NetworkStatsFactoryTest
Change-Id: Icb7eaeef0eeb9fdffd32a90316c76ee05bafffbe
Merged-In: Icb7eaeef0eeb9fdffd32a90316c76ee05bafffbe
(cherry picked from aosp commit
b815c978b81eee4b1494bd0b9d25bfad52f08b72)
Chenbo Feng [Wed, 18 Apr 2018 22:44:46 +0000 (15:44 -0700)]
Use eBPF map data for per iface stats
After adding the xt_bpf module and ifaceStatsMap, eBPF tool can now
support reading per interface data. So networkStatsFactory should move
away from parsing proc/net/dev and use the eBPF map stats instead.
Bug:
72111305
Test: atest com.android.server.net.NetworkStatsServiceTest
Change-Id: Ibcc6150d00835b3bd33af22a72e4a86e172581cf
Merged-In: Ibcc6150d00835b3bd33af22a72e4a86e172581cf
(cherry picked from aosp commit
dcc56783f5b945b16c9f5e50333fba557a7c3603)
android-build-team Robot [Wed, 2 May 2018 02:40:06 +0000 (02:40 +0000)]
Merge "Default keyguard scrim should be 45% transparent" into pi-dev
Remi NGUYEN VAN [Wed, 25 Apr 2018 08:46:10 +0000 (17:46 +0900)]
Add NETWORK_BYPASS_PRIVATE_DNS permission
Have the captive portal app and the MMS service use this new permission
to bypass private DNS.
Bug: b/
78494660
Test: manual: captive portal login & MMS sending works
Change-Id: I0a4a8d0105becf6957fd44099bd84eca51e6716f
Yi Jin [Mon, 16 Apr 2018 23:13:04 +0000 (16:13 -0700)]
Add a section flag to bypass failure if a specific path can't be found.
This is a temporary solution to bypass failure of reading cpu info or
battery type in P if the path doesn't exist on some devices. See bug for
details. However in Q, incidentd should implement reading from the
common Linux kernel interfaces.
Bug:
78028767
Bug:
78239764
Test: atest incidentd_test
Change-Id: I08ffcb21709efe5478d2ac46121deb5795af1024
Merged-In: I08ffcb21709efe5478d2ac46121deb5795af1024
android-build-team Robot [Wed, 2 May 2018 00:45:51 +0000 (00:45 +0000)]
Merge "Reduce statsd log data size." into pi-dev
Dianne Hackborn [Thu, 26 Apr 2018 20:46:22 +0000 (13:46 -0700)]
Work on issue #
78480444: Start tracking uid state in app ops
Introduce new app op mode that uses uid state to determine whether
the caller has access. This will determine what noteOp() and
startOp() return, based on the state of the uid.
Bug:
78480444
Test: atest FrameworksServicesTests:AppOpsServiceTest
Test: atest CtsPermissionTestCases:AppOpsTest
Change-Id: I12b744b74f3129782dbda9567043f5170919b5d3
Merged-In: I55fd74023cc4dae8151372e28c3afc7d259c7a1c
android-build-team Robot [Wed, 2 May 2018 00:27:20 +0000 (00:27 +0000)]
Merge "Fixes primary stack being visible when minimizing 3rd party launcher" into pi-dev
Michael Wachenschwanz [Wed, 2 May 2018 00:23:23 +0000 (00:23 +0000)]
Merge "Add Stable Charging Threshold for AppStandby" into pi-dev
Hyunyoung Song [Wed, 2 May 2018 00:20:50 +0000 (17:20 -0700)]
Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep
Test: is done on ub-launcher3-edmonton branch that uses this library function
Bug:
77920179
Change-Id: I3b96adc176acf81008fe78e646c4f960fa926bb8
android-build-team Robot [Tue, 1 May 2018 23:56:12 +0000 (23:56 +0000)]
Merge "Add OP_PLAY_AUDIO to control shutter sound." into pi-dev
Kevin Chyn [Tue, 1 May 2018 23:22:09 +0000 (23:22 +0000)]
Merge "refactored Log statements to Slog" into pi-dev
Brad Ebinger [Tue, 1 May 2018 23:10:40 +0000 (23:10 +0000)]
Merge "Clean up old Context references in ImsConfig" into pi-dev
Matthew Ng [Tue, 1 May 2018 21:24:38 +0000 (14:24 -0700)]
Fixes primary stack being visible when minimizing 3rd party launcher
When using 3rd party launcher, the home stack is not merged with
overview then when minimizing, it will not be secondary split screen
stack. Then the primary stack will be presumed invisible even though
it is on the screen. The added check will make sure that the docked
stack is visible when minimizing.
Test: use 3rd party launcher, minimize
Change-Id: I5837ac6339352cae926c970f7453f5564abafb70
Fixes:
77818300
Lucas Dupin [Tue, 1 May 2018 22:43:06 +0000 (15:43 -0700)]
Default keyguard scrim should be 45% transparent
Wallpapers were barely visible on lock screen because value was set to
70%. The unlocked scrim (on the notification shade) was kept at 70% to
improve readability.
Also fixed a bug where scrim opacity wouldn't be overridden via overlay.
Bug:
63868547
Test: visual
Test: atest ScrimControllerTest
Change-Id: I17f277c917dc55604762420c0027b552993f1916
Selim Cinek [Tue, 1 May 2018 22:42:53 +0000 (22:42 +0000)]
Merge "Fixed an issue where the messaging layout could appear empty" into pi-dev
Selim Cinek [Tue, 1 May 2018 22:38:09 +0000 (22:38 +0000)]
Merge "Fixed the messaging clipping for RTL languages" into pi-dev
Ryan Mitchell [Tue, 1 May 2018 22:35:38 +0000 (22:35 +0000)]
Merge "RRO: Don't update overlays when target changes" into pi-dev
Yohei Yukawa [Tue, 1 May 2018 22:22:27 +0000 (15:22 -0700)]
Fix a condition to reset the current spell checker
TextServicesManagerService has had a logic to reset
Settings.Secure.SELECTED_SPELL_CHECKER when the current spell checker
service is uninstalled, but it had not been working until we fixed a
bug that had prevented that logic from running [1]. However, there
has been another bug in that logic itself that resets
Settings.Secure.SELECTED_SPELL_CHECKER also when the current spell
checker service APK is updated.
With this CL, Settings.Secure.SELECTED_SPELL_CHECKER will be reset
only when the package disappears, not when it is just being replaced
with a new APK.
[1]: I30902a3d94f2ddef33f4a8067799e98322ae3a03
34a04e40bd1f4a2e5aa7f15def0da626137fc64a
Fix:
79110151
Test: Manually verified as follows.
1. adb install -r SampleSpellCheckerService.apk
2. adb shell settings get secure selected_spell_checker
-> com.android.inputmethod.latin/.spellcheck.AndroidSpellCheckerService
3. adb shell "settings put secure selected_spell_checker 'com.example.android.samplespellcheckerservice/.SampleSpellCheckerService'"
4. adb shell settings get secure selected_spell_checker
-> com.example.android.samplespellcheckerservice/.SampleSpellCheckerService
5. adb install -r SampleSpellCheckerService.apk
6. adb shell settings get secure selected_spell_checker
-> com.example.android.samplespellcheckerservice/.SampleSpellCheckerService
Test: Manually verified that Bug
67412078 is still fixed.
Change-Id: Ic07fc2f418f051b2825d993fa959ed36f9b0f3c7
android-build-team Robot [Tue, 1 May 2018 22:04:05 +0000 (22:04 +0000)]
Merge "Avoid redundant getAllocatableBytes() calls." into pi-dev
Rohan Shah [Mon, 30 Apr 2018 20:50:13 +0000 (13:50 -0700)]
[Notif] Update guts/blocking helper UI
Polishing UI based on UX phase 3.
Updated font style, spacing, header alignment, button tap target (8dp
onsides, 14dp on top/bottom for 48dp touch target).
Double checked that other views that share in the button tap
targets/styles weren't affected negatively.
Test: visually
Bug:
77318740
Change-Id: I71cd0187b6d9d6cce62e0051af84922594bc5a9a
Dan Sandler [Fri, 23 Mar 2018 20:29:06 +0000 (16:29 -0400)]
SystemUI heap monitor & hprof dump tile.
Adding the tile to your active set will start a continuous memory tracker,
updating the tile every minute with the latest pss value. Tapping the tile
will pull a full heap dump, zip it, and share it via ACTION_SEND.
Additionally, @integer/watch_heap_limit can be set to the heap size (in KB)
at which ActivityManager will automatically generate a heap dump and notify
the user when it's ready.
Available only on IS_DEBUGGABLE builds. Supplies limited. Order now!
Bug:
76208386
Test: atest com.android.systemui.util.leak.GarbageMonitorTest
Test: runtest systemui
Change-Id: I0434dd7dc330784c750469b013e40b31ef92638d
Yu-Han Yang [Tue, 1 May 2018 21:45:30 +0000 (21:45 +0000)]
Merge "Handle Gnss Hal service death gracefully" into pi-dev