Commit Graph

9823 Commits

Author SHA1 Message Date
android-build-team Robot
1cd00f3c8a Merge changes I5ed0feb5,I33faa3c8,Id2ee2e55,Iad0d4e94,I3ae5e544
* changes:
  Revert "Rotate IMEs (subtypes) by Meta+Space."
  Revert "Show toast when subtype is rotated by Meta-Space."
  Revert "Shift+Meta+Space should reverse-rotate subtypes."
  Revert "Shift+Meta+Space should reverse-rotate subtypes part 2."
  Revert "Make sure that Toast is always shown by Meta-Space."
2018-05-07 02:13:23 +00:00
Calin Juravle
66f7bff6d7 Merge "Properly prepare system server profiles" into pi-dev am: cd319fc094
am: 67d2efe0f3

Change-Id: I717b51fd98c81a8ea7a247c44cf9812045a12bcc
2018-05-04 16:02:48 -07:00
Calin Juravle
cd319fc094 Merge "Properly prepare system server profiles" into pi-dev 2018-05-04 22:46:15 +00:00
android-build-team Robot
4a10072c84 Merge "Fixed an animation issue with Smart Replies" into pi-dev am: 12bae55fbc
am: e74dc3cfdd

Change-Id: Ia363a381aa2a35a930a8029a49c625c7f95944bf
2018-05-04 14:43:31 -07:00
android-build-team Robot
12bae55fbc Merge "Fixed an animation issue with Smart Replies" into pi-dev 2018-05-04 21:17:18 +00:00
Calin Juravle
3f3a08ad0d Properly prepare system server profiles
Update the logic for system server profiles to work without disabling
SELinux policies.

Test: check that system_server profile is created without disabling
SElinux

Bug: 74081010
Change-Id: I8aa1e57da0f8059bcfb149fe7366d8278b4bf516
2018-05-04 13:45:20 -07:00
Yohei Yukawa
136b6ceca8 Revert "Shift+Meta+Space should reverse-rotate subtypes."
This reverts commit d39ae85482 [1].

Reason for revert: to deprecate Meta-Space.

 [1]: I3694edd80be6dfe18b90360e24ae4d451b331928

Bug: 79150878
Test: manual
Change-Id: Id2ee2e552ffec009722525a56c65767bda46a63b
2018-05-04 12:53:19 -07:00
Yohei Yukawa
c7cc0ca7d4 Revert "Shift+Meta+Space should reverse-rotate subtypes part 2."
This reverts commit b1e2f4fc3a [1].

Reason for revert: to deprecate Meta-Space.

 [1]: I246223c0856382d68323f22987b998cd1613e98c

Bug: 79150878
Test: manual
Change-Id: Iad0d4e940e7fbc29d2fbcffaa7bd4030e478c244
2018-05-04 12:53:08 -07:00
Selim Cinek
73f1be9388 Fixed an animation issue with Smart Replies
Updating a remoteInputHistory message to non-history
was generating a weird animation because we would
not reuse the view if the remoteInputHistory state
changed.

Bug: 77957392
Test: visual, observe normal animations
Change-Id: Iac869159411cc57c90476ef684a05e8547c14aa4
2018-05-04 12:18:32 -07:00
Selim Cinek
bcf17cb415 Merge "Changed the way the ellipsizing of text is measured" into pi-dev am: 497fa8b8ab
am: de0ec73030

Change-Id: Iac49fa43c932e66f1f437c06cab9f32cb16dcab1
2018-05-03 18:26:41 -07:00
Selim Cinek
497fa8b8ab Merge "Changed the way the ellipsizing of text is measured" into pi-dev 2018-05-04 00:54:13 +00:00
android-build-team Robot
87d531ed05 Merge "Fixes a visual issue with the Messaging Layout" into pi-dev am: 8e4b8ea38a
am: f0f0746747

Change-Id: I93da4f1495f292b831ca66098c6c383c02a45007
2018-05-03 16:14:27 -07:00
Selim Cinek
4fefed2b5e Changed the way the ellipsizing of text is measured
This also fixed the paddings for the bigtext layout
by remeasuring it after the initial measure.

Test: runtest systemui
Change-Id: I4b974645606691e6faf2b99b8e52c791e69ee6ea
Fixes: 79111092
2018-05-03 16:13:11 -07:00
android-build-team Robot
8e4b8ea38a Merge "Fixes a visual issue with the Messaging Layout" into pi-dev 2018-05-03 22:20:04 +00:00
Selim Cinek
5572657366 Fixes a visual issue with the Messaging Layout
A messaging group would still look visible if all of its children
were hidden, which is incorrect. We instead regard it as measured too
small.

Test: add message notification with smart reply, click on smart reply
Change-Id: If5174f95038bf16022d935fd05f337969984f0c2
Fixes: 78214933
2018-05-03 14:14:34 -07:00
android-build-team Robot
7c9ec58363 Merge "In place split install native support" into pi-dev am: f4e0438a46
am: 3bc573f375

Change-Id: I18405fea7c2c0813ab352c6c7a686ebb28c9db13
2018-05-03 10:04:02 -07:00
android-build-team Robot
f4e0438a46 Merge "In place split install native support" into pi-dev 2018-05-03 16:38:54 +00:00
android-build-team Robot
9a63fa95c6 Merge "BackgroundFallback: Cover all cases where the fallback is needed" into pi-dev am: 0d58b9bb64
am: 63180005bb

Change-Id: Ib584f14ae26d3b0ded27d80cab9a408699017e6a
2018-05-03 07:16:11 -07:00
android-build-team Robot
0d58b9bb64 Merge "BackgroundFallback: Cover all cases where the fallback is needed" into pi-dev 2018-05-03 13:55:38 +00:00
Jeff Sharkey
cbfdfa90ad Merge "Return to modifying raw /mnt/media_rw paths." into pi-dev am: f7d3e028ae
am: 1394fd25ca

Change-Id: If6904b6dc431dab74e326b75f37b58ee3c99feef
2018-05-02 18:10:07 -07:00
Jeff Sharkey
f7d3e028ae Merge "Return to modifying raw /mnt/media_rw paths." into pi-dev 2018-05-02 21:14:17 +00:00
android-build-team Robot
e696cf636d Merge changes from topic "ifaceStatsDetail" into pi-dev
* changes:
  Remove the unused file parsing function
  Use eBPF map data for per iface stats
2018-05-02 19:17:27 +00:00
Adrian Roos
786ea783ea BackgroundFallback: Cover all cases where the fallback is needed
Fixes an issue where uncovered regions were not
covered if they are to the right or bottom of the
content view.

Fixes: 78661186
Test: Install test app from bug, enable cuotut, open test app, go to landscape, verify white fallback background is drawn in both landscape and seascape
Test: atest BackgroundFallbackTest
Change-Id: I442f03395a71550a534d64233762aa84002319dd
2018-05-02 12:58:54 +00:00
android-build-prod (mdb)
6f26ca27c8 Merge changes from topic "am-b4a6d70f84a44081adc7240053891656" into pi-dev-plus-aosp
am: 5e5a150dbd

Change-Id: Ice5d3c6c975c0945785332c09a876754441d536d
2018-05-01 20:11:28 -07:00
android-build-prod (mdb)
0e3748ab44 Merge changes from topic "ifaceStats" am: 90c01b0093
am: b86d2b4b84

Change-Id: I460bc25806182bc2dc5fcc2512ab01e776a0e8e6
2018-05-01 19:53:30 -07:00
Chenbo Feng
3ce663a4bd Use eBPF map data for per iface stats am: dcc56783f5
am: 2e13ecc88d

Change-Id: If4944a4a5a0c49235731afb4ae3220cf72240a83
2018-05-01 19:49:53 -07:00
Chenbo Feng
bbabc51b5b 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 b815c978b8)
2018-05-01 19:48:03 -07:00
Chenbo Feng
804be4a3bc 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 dcc56783f5)
2018-05-01 19:46:09 -07:00
android-build-prod (mdb)
b86d2b4b84 Merge changes from topic "ifaceStats"
am: 90c01b0093

Change-Id: I0b564b2d3b13c0e5d033c5cf4aaddad3a750f2c7
2018-05-01 19:41:39 -07:00
Chenbo Feng
2e13ecc88d Use eBPF map data for per iface stats
am: dcc56783f5

Change-Id: I9d6b930c8bb20f0bffd8eecee56ea7d3081b6f54
2018-05-01 19:36:30 -07:00
Selim Cinek
3af768fcfd Merge "Fixed an issue where the messaging layout could appear empty" into pi-dev am: 1e543887f5
am: 9d136e7968

Change-Id: I8982a851a99bc6843849667df049162c1e381ef4
2018-05-01 16:11:20 -07:00
Selim Cinek
298fe15b26 Merge "Fixed the messaging clipping for RTL languages" into pi-dev am: 7a1e03a5fb
am: 54715a409f

Change-Id: I515ffcbf4c7a88d1894bcb1e37a9bbe65d6c3df7
2018-05-01 16:03:47 -07:00
Selim Cinek
1e543887f5 Merge "Fixed an issue where the messaging layout could appear empty" into pi-dev 2018-05-01 22:42:53 +00:00
Selim Cinek
7a1e03a5fb Merge "Fixed the messaging clipping for RTL languages" into pi-dev 2018-05-01 22:38:09 +00:00
android-build-team Robot
3089754d45 Merge "Avoid redundant getAllocatableBytes() calls." into pi-dev am: b2e6d9eee0
am: 6ed4d85637

Change-Id: Iaf38e77a462aa8b8780fe1bdc66d31f2259f13de
2018-05-01 15:28:41 -07:00
android-build-team Robot
b2e6d9eee0 Merge "Avoid redundant getAllocatableBytes() calls." into pi-dev 2018-05-01 22:04:05 +00:00
Chenbo Feng
b815c978b8 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
2018-05-01 14:13:55 -07:00
Chenbo Feng
dcc56783f5 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
2018-05-01 14:13:48 -07:00
Jeff Sharkey
41afa65947 Avoid redundant getAllocatableBytes() calls.
Shuffle around the ordering of resolveInstallVolume() so that we
determine the fitsOnInternal value while doing a drive-by of all
possible target volumes.  This way we only call getAllocatableBytes()
internal storage once.

Bug: 70985520
Test: atest android.content.pm.PackageHelperTests
Change-Id: I8273c239af4a13b1db17f320e15ee0ef2dc89186
2018-05-01 13:09:30 -06:00
Selim Cinek
1110fd776d Fixed the messaging clipping for RTL languages
Because in landscape the width is bigger than the height,
our clipping logic was wrong and clipped off most of the
text.

Test: add messaging style notification, switch to RTL, landscape, observe normal clipping
Change-Id: I8c74a8405280047f8b2a08ecdf3f37b0fbeeec62
Fixes: 73895612
Fixes: 78606052
2018-05-01 10:57:39 -07:00
Selim Cinek
46f589178f Fixed an issue where the messaging layout could appear empty
Change-Id: I0fe6e7a23068f10e6c867424027e7a86c9210186
Fixes: 73952748
Test: send long message, observe normal layout, not cut off
2018-05-01 09:11:26 -07:00
Jeff Sharkey
b00d5ea59a Return to modifying raw /mnt/media_rw paths.
We thought we could push everyone through sdcardfs, but secondary
devices mounted in a stable location don't give full write access to
apps holding WRITE_EXTERNAL_STORAGE, so system internals still need
to reach behind sdcardfs.

To keep sdcardfs in the loop about changes that we make behind its
back, we issue access(2) calls which should be enough for it to
invalidate any cached details.

Bug: 74132243
Test: manual
Change-Id: I727cd179a5a825b16ec4df6e2f41a079758d41c5
2018-05-01 10:03:18 -06:00
android-build-team Robot
16e4b92ce5 Merge "Secondary split screen app will be next to the navigation bar (1/2)" into pi-dev am: 9f88bbc064
am: bd28b0ad7d

Change-Id: Ifb3aa5f765f47f6a7cdc76ac686d7133ed58d536
2018-04-30 18:08:05 -07:00
android-build-team Robot
9f88bbc064 Merge "Secondary split screen app will be next to the navigation bar (1/2)" into pi-dev 2018-05-01 00:40:27 +00:00
Matthew Ng
62c7846bf8 Secondary split screen app will be next to the navigation bar (1/2)
Refactored docked position code into PhoneWindowManager to determine
which side the docked app should go based on the position of the nav bar
in landscape (as portrait will only have top). Fixed the split screen
entrance animation for quick step's overview.

Change-Id: I30f1be9d791c23f4cd197f17487609964f78fac0
Fixes: 73250406
Test: play around with splitscreen and minimized mode
Test: atest com.android.server.policy.PhoneWindowManagerTest
2018-04-30 16:25:15 -07:00
Chavi Weingarten
913f22a7fc Merge "Update DecorContext's Resource cache when calling getResources." into pi-dev am: 33cb3b7204
am: a4a5070d2f

Change-Id: I1c9dc4fd0ea55ffdb33fd0d0190cb1fae9964dce
2018-04-30 13:57:19 -07:00
Chavi Weingarten
33cb3b7204 Merge "Update DecorContext's Resource cache when calling getResources." into pi-dev 2018-04-30 20:38:42 +00:00
Patrick Baumann
1bea237aa2 In place split install native support
This change makes it possible for apps installed with the DONT_KILL flag
set to obtain access to newly installed native libraries while avoiding
double load of existing native libraries prior to the install when
loaded using System.loadLibrary.

Bug: 72047376
Test: manual - used sample app to verify availability of native libs
Change-Id: I331eaa48da1f8dee424584911317ec3fba92f873
2018-04-30 20:33:36 +00:00
Makoto Onuki
1e8294bcaa Merge "Adjust future charge start time." into pi-dev am: 6c2679d55d
am: a103bc51f7

Change-Id: I52ff1e259f17716b6cfeebb32d332116f7b9f790
2018-04-30 11:54:48 -07:00
Makoto Onuki
d2c6d48fba Merge "Log slow message delivery on Looper" into pi-dev am: 14186bfe08
am: d539b18694

Change-Id: I9a5e02f7b18c63e463d6ff3c4c80d74d18ee7a74
2018-04-30 11:13:25 -07:00