OSDN Git Service
TreeHugger Robot [Thu, 11 Jan 2018 16:36:31 +0000 (16:36 +0000)]
Merge "Dispatch DisplayCutout from DisplayAdapter"
TreeHugger Robot [Thu, 11 Jan 2018 16:02:25 +0000 (16:02 +0000)]
Merge "Allow IME windows to use light navigation bar"
TreeHugger Robot [Thu, 11 Jan 2018 15:30:00 +0000 (15:30 +0000)]
Merge "Add WindowContainer proto definitions"
Bryce Lee [Thu, 11 Jan 2018 15:27:10 +0000 (15:27 +0000)]
Merge "Pause activity when making visible from stopped state."
Bryce Lee [Thu, 11 Jan 2018 15:26:45 +0000 (15:26 +0000)]
Merge "Allow modifiers to specify windowing mode and preferred display."
Adrian Roos [Wed, 3 Jan 2018 17:43:27 +0000 (18:43 +0100)]
Dispatch DisplayCutout from DisplayAdapter
Adds a config resource to configure the main display's cutout and
dispatches it from the LocalDisplayAdapter.
WindowManager's DisplayContent then transforms it to match the current
rotation.
Also fixes an issue in EmulatedDisplayCutout where the Path was never
reset and changes the color to black. Also fixes the RoundedCorners
overlay such that it can layout within the cutout area.
Test: atest CoordinateTransformsTest DisplayContentTests
Bug:
65689439
Change-Id: If39c8ea3cb55c761517f270dcca292682c0918ad
TreeHugger Robot [Thu, 11 Jan 2018 13:30:05 +0000 (13:30 +0000)]
Merge "Rename ownership transfer related constants from "*OWNER" to "*OWNERSHIP"."
Erik Kline [Thu, 11 Jan 2018 12:52:19 +0000 (12:52 +0000)]
Merge changes I47ccfa99,I5db1de3e am:
08498c32f4 am:
03f3294103
am:
805104f40f
Change-Id: Ic774b944238d6df07511df8e467d66cefcd4fa81
Erik Kline [Thu, 11 Jan 2018 12:43:38 +0000 (12:43 +0000)]
Merge changes I47ccfa99,I5db1de3e am:
08498c32f4
am:
03f3294103
Change-Id: I311f6c299daf1c8d21731187d8e78e55c5767564
Erik Kline [Thu, 11 Jan 2018 12:31:31 +0000 (12:31 +0000)]
Merge changes I47ccfa99,I5db1de3e
am:
08498c32f4
Change-Id: I8077e06fc9eeccbb776a3b09a117c66eb9074140
Treehugger Robot [Thu, 11 Jan 2018 11:33:30 +0000 (11:33 +0000)]
Merge changes I47ccfa99,I5db1de3e
* changes:
Extract DNS setting logic into DnsManager class
Add minimal test for setting DNS properties
arangelov [Thu, 11 Jan 2018 11:26:36 +0000 (11:26 +0000)]
Rename ownership transfer related constants from "*OWNER" to "*OWNERSHIP".
Change-Id: I70180c66d546521c95488bfbebed1b03fe69422c
Test: None
Antoan Angelov [Thu, 11 Jan 2018 11:18:05 +0000 (11:18 +0000)]
Merge "Call PROFILE/DEVICE_OWNER_CHANGED broadcast and onTransferCompleted callback upon a successful transfer."
TreeHugger Robot [Thu, 11 Jan 2018 10:31:24 +0000 (10:31 +0000)]
Merge "Add virtual dtor for virtual classes"
Erik Kline [Wed, 13 Dec 2017 10:40:49 +0000 (19:40 +0900)]
Extract DNS setting logic into DnsManager class
In future, managing DNS-over-TLS hostname lookup and netd programming
can be encapsulated here.
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
Bug:
64133961
Change-Id: I47ccfa99c30c780524c45c4af605e720ccba34a0
Erik Kline [Thu, 11 Jan 2018 07:11:10 +0000 (16:11 +0900)]
Add minimal test for setting DNS properties
Test: as follows
Change-Id: I5db1de3ee8e179edd56c93988b821242b81c2387
TreeHugger Robot [Thu, 11 Jan 2018 08:43:18 +0000 (08:43 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 08:26:16 +0000 (08:26 +0000)]
Merge "Add a test for updateLightNavigationBarLw()"
Sehee Park [Thu, 11 Jan 2018 07:04:10 +0000 (07:04 +0000)]
Merge "Add checking permission at the setDataSaverModeEnabled()" am:
639fe64ce0 am:
a83bbf3516
am:
3bf5ea8778
Change-Id: Ifa7686fe91612b05e2d37321e799db5dccf13d7d
Erik Kline [Thu, 11 Jan 2018 06:56:55 +0000 (06:56 +0000)]
Merge "Move DhcpClient SM thread onto IpClient's SM thread" am:
4a352dd5e0 am:
a6c594847d
am:
473ed27a6c
Change-Id: Idb865394bc15591c8c84745c9de5662a928ed618
Sehee Park [Thu, 11 Jan 2018 06:55:39 +0000 (06:55 +0000)]
Merge "Add checking permission at the setDataSaverModeEnabled()" am:
639fe64ce0
am:
a83bbf3516
Change-Id: I6f712ec5774287af1740f2e74a4bc5cbca0cba6c
Erik Kline [Thu, 11 Jan 2018 06:48:31 +0000 (06:48 +0000)]
Merge "Move DhcpClient SM thread onto IpClient's SM thread" am:
4a352dd5e0
am:
a6c594847d
Change-Id: Id124d26e03d3d91a234e78b5fad1aca682cf9f6d
Sehee Park [Thu, 11 Jan 2018 06:46:25 +0000 (06:46 +0000)]
Merge "Add checking permission at the setDataSaverModeEnabled()"
am:
639fe64ce0
Change-Id: Ic62ff6f6b85b2df86074557ed662227b3a7fd9b1
Erik Kline [Thu, 11 Jan 2018 06:43:13 +0000 (06:43 +0000)]
Merge "Move DhcpClient SM thread onto IpClient's SM thread"
am:
4a352dd5e0
Change-Id: I19f1606e017b8c4e92c4575b9e39c1b5198c31aa
Jeff Sharkey [Thu, 11 Jan 2018 06:31:47 +0000 (06:31 +0000)]
Merge "Define broadcasts for refreshing data plans."
Treehugger Robot [Thu, 11 Jan 2018 05:52:59 +0000 (05:52 +0000)]
Merge "Add checking permission at the setDataSaverModeEnabled()"
TreeHugger Robot [Thu, 11 Jan 2018 05:52:17 +0000 (05:52 +0000)]
Merge "Import translations. DO NOT MERGE"
Treehugger Robot [Thu, 11 Jan 2018 05:48:20 +0000 (05:48 +0000)]
Merge "Move DhcpClient SM thread onto IpClient's SM thread"
TreeHugger Robot [Thu, 11 Jan 2018 05:44:52 +0000 (05:44 +0000)]
Merge "More adjustments to the loadtest app."
Dmitry Dementyev [Thu, 11 Jan 2018 05:31:47 +0000 (05:31 +0000)]
Merge "Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock."
yuemingw [Thu, 11 Jan 2018 05:21:32 +0000 (05:21 +0000)]
Merge "Add public ApnSetting in android.telephony." am:
f9063b378b am:
f68992a6a7
am:
e3d4b7d3d2
Change-Id: Ia4100787507887692c6aa5df4e331fba59993255
yuemingw [Thu, 11 Jan 2018 05:12:34 +0000 (05:12 +0000)]
Merge "Add public ApnSetting in android.telephony." am:
f9063b378b
am:
f68992a6a7
Change-Id: I959e4cc4f252b1a503dca11d83672257b93f97a4
yuemingw [Thu, 11 Jan 2018 05:06:13 +0000 (05:06 +0000)]
Merge "Add public ApnSetting in android.telephony."
am:
f9063b378b
Change-Id: I6608e1666b3e078f3b5786638e9050a2d2d3b762
TreeHugger Robot [Thu, 11 Jan 2018 04:24:28 +0000 (04:24 +0000)]
Merge "Added runtime flag for forced-app-standby"
Lorenzo Colitti [Thu, 11 Jan 2018 04:17:51 +0000 (04:17 +0000)]
Merge "Move more core networking tests to framework/base/tests/net." am:
d6c3813c08 am:
8f852c341f
am:
56dba0323a
Change-Id: I1eb98a82426d7b7e085316f8a67cdd1e81912538
Lorenzo Colitti [Thu, 11 Jan 2018 04:10:01 +0000 (04:10 +0000)]
Merge "Move more core networking tests to framework/base/tests/net." am:
d6c3813c08
am:
8f852c341f
Change-Id: Iab87e7ce5b62a1ff21c7aee5d0f25597713f6c65
Erik Kline [Thu, 11 Jan 2018 04:09:49 +0000 (04:09 +0000)]
Merge "Refactor to InterfaceParams utility class" am:
6a91687bcd am:
fe83298cd5
am:
2be133a54e
Change-Id: I878be7b33afcad9544515e90da4db02fe85b92cc
Erik Kline [Thu, 11 Jan 2018 04:02:15 +0000 (04:02 +0000)]
Merge "Refactor to InterfaceParams utility class" am:
6a91687bcd
am:
fe83298cd5
Change-Id: Icb708a5ea7c3b41cb9d23885018b088c65ee427b
Treehugger Robot [Thu, 11 Jan 2018 04:01:32 +0000 (04:01 +0000)]
Merge "Add public ApnSetting in android.telephony."
Yi Kong [Wed, 10 Jan 2018 06:31:45 +0000 (22:31 -0800)]
Add virtual dtor for virtual classes
Delete called on non-final virtual classes but non-virtual destructor.
Fixes -Wdelete-non-virtual-dtor warning.
Test: m checkbuild
Change-Id: Ia84c118db1a53f1ac846354a6023726e394a87ed
Lorenzo Colitti [Thu, 11 Jan 2018 03:58:57 +0000 (03:58 +0000)]
Merge "Move more core networking tests to framework/base/tests/net."
am:
d6c3813c08
Change-Id: Ic1ad8ba5a4180ef6a798d4330c72920984d5040c
Erik Kline [Thu, 11 Jan 2018 03:55:41 +0000 (03:55 +0000)]
Merge "Refactor to InterfaceParams utility class"
am:
6a91687bcd
Change-Id: Ia8ea85890c86cf57b0bc701c2624762144af301e
Erik Kline [Fri, 9 Jun 2017 10:20:26 +0000 (19:20 +0900)]
Move DhcpClient SM thread onto IpClient's SM thread
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
- basic wifi usage nominal
Bug:
62476366
Change-Id: I9a74e001bc86972e31b7e0898711628e65d9cf7a
Jeff Sharkey [Thu, 11 Jan 2018 03:47:42 +0000 (20:47 -0700)]
Define broadcasts for refreshing data plans.
We don't hand the Intent out to the Settings app, since we need to
carefully set whitelisting to allow the carrier app to wake up and
respond if it's dozing.
Define new "changed" broadcast that we'll send out whenever plans
are changed internally.
Test: builds, boots
Bug:
64133169
Change-Id: Iacdd06d8e273fd52c8fc83edab13c9c8453b28eb
Lorenzo Colitti [Thu, 11 Jan 2018 03:09:40 +0000 (03:09 +0000)]
Merge "Move more core networking tests to framework/base/tests/net."
TreeHugger Robot [Thu, 11 Jan 2018 03:07:09 +0000 (03:07 +0000)]
Merge changes from topic "messaging_people"
* changes:
Clipping to the top roundness when scrolling
Made the notification side paddings consistent
Changing messaging style and overall visual adoption
Improved the MessagingStyle API with Person
Added People to the Notification API
Dmitry Dementyev [Thu, 11 Jan 2018 02:56:36 +0000 (18:56 -0800)]
Check that recoverySecretTypes contains TYPE_LOCKSCREEN during unlock.
Bug:
66499222
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I55e8518c92704655d96eb1cddf84bb7956ea5912
Treehugger Robot [Thu, 11 Jan 2018 02:52:00 +0000 (02:52 +0000)]
Merge "Refactor to InterfaceParams utility class"
TreeHugger Robot [Thu, 11 Jan 2018 02:51:39 +0000 (02:51 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:43:26 +0000 (02:43 +0000)]
Merge "Support 4k chunk based signature algorithms"
TreeHugger Robot [Thu, 11 Jan 2018 02:28:30 +0000 (02:28 +0000)]
Merge "Import translations. DO NOT MERGE"
Suprabh Shukla [Tue, 9 Jan 2018 00:27:10 +0000 (16:27 -0800)]
Added runtime flag for forced-app-standby
Added a global setting which can be configured to get metrics on the
battery savings from this feature.
Test: atest \
FrameworksServicesTests:\
com.android.server.job.BackgroundRestrictionsTest
Fixes:
70579515
Change-Id: I541f2aac39847f9bf372240cafc4e0f0e5ebdc86
TreeHugger Robot [Thu, 11 Jan 2018 02:18:27 +0000 (02:18 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:05:37 +0000 (02:05 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 11 Jan 2018 02:00:52 +0000 (02:00 +0000)]
Merge "Import translations. DO NOT MERGE"
Bill Yi [Thu, 11 Jan 2018 01:45:11 +0000 (17:45 -0800)]
Import translations. DO NOT MERGE
Change-Id: I28c45387fb290bfaa89b9cded4b213dc28261f16
Auto-generated-cl: translation import
Bill Yi [Thu, 11 Jan 2018 01:39:49 +0000 (17:39 -0800)]
Import translations. DO NOT MERGE
Change-Id: I8582d5451340ebcfcee3abca079ed01d07f3a4cf
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 11 Jan 2018 01:14:35 +0000 (01:14 +0000)]
Merge "Cap the low battery threshold at config_lowBatteryWarningLevel (=15)"
TreeHugger Robot [Thu, 11 Jan 2018 00:53:31 +0000 (00:53 +0000)]
Merge "Add remove method to RecoverableKeyStoreLoader."
Erik Kline [Fri, 8 Dec 2017 08:47:50 +0000 (17:47 +0900)]
Refactor to InterfaceParams utility class
NetworkInterface throws Exceptions every time you look at it askance.
Try to make something we instantiate fully, once, and pass it around.
Partial MacAddress-ification as well, for good measure.
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
- basic IPv6 tethering works
Bug:
32163131
Bug:
62476366
Change-Id: I16c145fddb4e76387370338d792a438eed886d7f
TreeHugger Robot [Thu, 11 Jan 2018 00:18:09 +0000 (00:18 +0000)]
Merge "make incidentd run in its own uid under log group for reading logs."
Bill Yi [Thu, 11 Jan 2018 00:02:50 +0000 (16:02 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ie659c61493a5d9ce4e8c0f62d429b3ad3ea50ad4
Auto-generated-cl: translation import
Bill Yi [Wed, 10 Jan 2018 23:52:38 +0000 (15:52 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ibc676d8c81624d866f00685bf1b1e3cdf1c69a4c
Auto-generated-cl: translation import
TreeHugger Robot [Wed, 10 Jan 2018 23:49:14 +0000 (23:49 +0000)]
Merge "Inline noti blocking is now in the form of a question"
Bill Yi [Wed, 10 Jan 2018 23:32:08 +0000 (15:32 -0800)]
Import translations. DO NOT MERGE
Change-Id: Iba7b49ee731f786e7152b608bdc92a8eb9cd8fb6
Auto-generated-cl: translation import
Bill Yi [Wed, 10 Jan 2018 23:21:36 +0000 (15:21 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id226c480d6ca22d31a995a5149a93aa7ca8c124b
Auto-generated-cl: translation import
Bill Yi [Wed, 10 Jan 2018 23:16:11 +0000 (15:16 -0800)]
Import translations. DO NOT MERGE
Change-Id: I2922e99b328e7ca26cbf00f4debc9a97c42e39dc
Auto-generated-cl: translation import
TreeHugger Robot [Wed, 10 Jan 2018 23:14:51 +0000 (23:14 +0000)]
Merge "DecorView#mNavigationGuard is gone"
TreeHugger Robot [Wed, 10 Jan 2018 23:09:19 +0000 (23:09 +0000)]
Merge "FRP: Make SystemAPI"
Zhi An Ng [Wed, 10 Jan 2018 23:01:35 +0000 (23:01 +0000)]
Merge "Fix links in SERVICE string constants javadoc"
TreeHugger Robot [Wed, 10 Jan 2018 23:00:54 +0000 (23:00 +0000)]
Merge "Allow Voicemails to be inserted as not new."
Selim Cinek [Fri, 22 Dec 2017 00:15:53 +0000 (16:15 -0800)]
Clipping to the top roundness when scrolling
We are now clipping properly to the top roundness,
such that the scrolling works properly and you never
see a hard edge on the top.
Test: add notifications, scroll, observe nice clipping
Bug:
69168591
Change-Id: I991eb33337eee8f0e1cee56e01e4e457146cb145
Qingxi Li [Wed, 10 Jan 2018 22:48:36 +0000 (22:48 +0000)]
Merge "Add API EuiccController#startOtaUpdatingIfNecessary" am:
999d998fb0 am:
a043a1c924
am:
360d2cb494 -s ours
Change-Id: Id461586c002f9862affaa61d8238e368da79ad5a
Wale Ogunwale [Wed, 10 Jan 2018 22:44:04 +0000 (22:44 +0000)]
Merge "Set current frame during status bar layout"
TreeHugger Robot [Wed, 10 Jan 2018 22:42:27 +0000 (22:42 +0000)]
Merge "mediaformat: Expose frame reordering to application."
Qingxi Li [Wed, 10 Jan 2018 22:40:21 +0000 (22:40 +0000)]
Merge "Add API EuiccController#startOtaUpdatingIfNecessary" am:
999d998fb0
am:
a043a1c924
Change-Id: Ibf66b8ee23ad81d4119c5f94ad4caacf5abdf3ec
TreeHugger Robot [Wed, 10 Jan 2018 22:39:28 +0000 (22:39 +0000)]
Merge "Rename onException to onPartialImage"
Qingxi Li [Wed, 10 Jan 2018 22:34:35 +0000 (22:34 +0000)]
Merge "Add API EuiccController#startOtaUpdatingIfNecessary"
am:
999d998fb0
Change-Id: If42a792cf2185452d2e654df7ef059cf88e23221
Dmitry Dementyev [Wed, 10 Jan 2018 20:26:05 +0000 (12:26 -0800)]
Add remove method to RecoverableKeyStoreLoader.
Bug:
66499222
Test: GTS tests will be added.
Change-Id: If352d75fbabe33e3453baed806f569931dbd8ad7
Victor Hsieh [Thu, 4 Jan 2018 21:36:15 +0000 (13:36 -0800)]
Support 4k chunk based signature algorithms
This change makes APK signature verifier accept the 4k-based signature
algorithms.
Test: build, install apk with such algorithm by apksig
Bug:
30972906
Change-Id: I90f32a6779f258605668e44f0d66f53e6890cfa7
Bryce Lee [Wed, 6 Dec 2017 04:51:27 +0000 (20:51 -0800)]
Allow modifiers to specify windowing mode and preferred display.
This changelist extends the parameters that positioners can
provide to include the windowing mode and display for a stack to
launch into. These are provided via the LaunchingParams object, which
replaces the previous bounds Rect as the result. When the values are
provided when laying out a task, the Controller will apply the
result. In other cases, such as in ActivityStarter, the caller of
LaunchingBoundsController#calculate is responsible applying the
result.
Fixes:
70031444
Test: atest FrameworksServicesTests:LaunchingBoundsControllerTests#testLayoutTaskPreferredDisplayChange
Test: atest FrameworksServicesTests:LaunchingBoundsControllerTests#testLayoutTaskWindowingModeChange
Change-Id: I949e2b5047663bfc297aac654f365109f0b1feb1
TreeHugger Robot [Wed, 10 Jan 2018 21:31:19 +0000 (21:31 +0000)]
Merge "Avoid unnecessary division in TextView.Marquee.tick."
Treehugger Robot [Wed, 10 Jan 2018 21:29:02 +0000 (21:29 +0000)]
Merge "Add API EuiccController#startOtaUpdatingIfNecessary"
TreeHugger Robot [Wed, 10 Jan 2018 21:28:41 +0000 (21:28 +0000)]
Merge "Adopt robolectric 3.6.1"
Yi Jin [Tue, 9 Jan 2018 19:29:38 +0000 (11:29 -0800)]
make incidentd run in its own uid under log group for reading logs.
Test: manual
Change-Id: I7106614c0bed1e862fbc80e42a87b43efc063145
Yohei Yukawa [Wed, 10 Jan 2018 21:19:59 +0000 (13:19 -0800)]
Allow IME windows to use light navigation bar
With this CL, a visible IME window that has
FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS is officially allowed to use
SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR like a typical fullscreen
application window that has SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, as
long as FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS is set to the IME window and
there is no dimming window [1] is shown above the IME window layer.
Note that an example of not setting FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS
for IME windows is a flotating IME, where IME window is completely
disjoint from the navigation bar region, like a typical floating
window. In this scenario, the navigation bar background/button color
should be determined by the target application's flags.
[1]: A window that has FLAG_DIM_BEHIND flag
[2]: I4b10a19641bd3ce6c43e7629404b6f202d4186e8
Bug:
69111208
Fix:
69002467
Test: atest android.systemui.cts.LightBarTests
Test: atest com.android.server.policy.PhoneWindowManagerTest
Test: atest CtsInputMethodTestCases
Test: Manually tested with ThemedNavBarKeyboard sample [2]
Change-Id: I40d79f364059d13a7748f4935db17edebaf7ba2d
Yohei Yukawa [Wed, 10 Jan 2018 21:19:54 +0000 (13:19 -0800)]
Add a test for updateLightNavigationBarLw()
As a preparation to allow IME windows to use
SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR, this CL makes
PhoneWindowManager#updateLightNavigationBarLw() testable and adds
several test cases to clarify how this method currently works.
This is a mechanical change and there should be no behavior change.
Bug:
69002467
Test: atest com.android.server.policy.PhoneWindowManagerTest
Change-Id: I2761cc037b013da52507592369a33e86a3138c14
Yohei Yukawa [Wed, 10 Jan 2018 21:18:09 +0000 (13:18 -0800)]
DecorView#mNavigationGuard is gone
With this CL, DecorView#mNavigationGuard that handles navigation bar
only for IME windows [1] is finally gone and replaced with the
standard mechanism to handle navigation bar layout padding /
background color.
This CL addresses multiple anomalies regarding how the following APIs
work for IME windows.
* Window#setNavigationBarColor()
* Previous behavior:
- Only works for Color#TRANSPARENT [2].
- Ignores FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS.
* New behavior:
- Works as documented.
- Requires FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS to work.
* SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flag
* Previous behavior:
- The system automatically sets
SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION to the IME windows [3].
- Does not work as documented. Content area is not extended to the
navigation bar area.
- Manually unsetting SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION can cause
unexpected layout, because the system expects that this flag is
always set to the IME window.
- Had a special logic for FLAG_LAYOUT_IN_OVERSCAN [4].
* New behavior:
- Works as documented.
- Can set/unset as necessary.
From the viewpoint of IME developers, this CL enables IME windows to
* correctly extend the input view to the navigation bar region by
using SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION as documented, instead of
relying on a special hack with FLAG_LAYOUT_IN_OVERSCAN hack.
* use Window#setNavigationBarColor() to easily change the navigation
bar background color, like other non-floating windows.
Note that SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR is not yet supported for
IME windows, which will be implemented in a subsequent CL.
[1]: I6a93f30aec83f1cecfb854073046cbc87ab4aa66
ae3349e1c34f7aceddc526cd11d9ac44951e97b6
[2]: Iea77915ecc55eedaf19899e72c44f704ba9d852c
0a9d1ea015af24056018ec02f6d9afd2f62243ba
[3]: I460912ee7c117480c57b947ed31eca330819f32c
c68d577f29604d205573ee4253704c5b2c5e4f81
[4]: Ic38f204a892bf34e8dae65990d5aa8c95af555d8
9b32a35aa7d47d39da919e777e2fe271cc83fa1c
[5]: I4b10a19641bd3ce6c43e7629404b6f202d4186e8
Fix:
25706186
Bug:
69002467
Test: ThemedNavBarKeyboard sample [5] works for the following cases
* Extended Dark Navigation Bar
* Separate Dark Navigation Bar
* Floating Mode (if the target app uses dark navigation bar)
Change-Id: I664630099b6eb3fe31675444ba94944cb0eb98b0
Dianne Hackborn [Wed, 10 Jan 2018 21:14:31 +0000 (21:14 +0000)]
Merge "Swap "foreground service" and "bound foreground service" proc states."
Victor Hsieh [Wed, 10 Jan 2018 21:11:47 +0000 (21:11 +0000)]
Merge "Revert "Move zygote's seccomp setup to post-fork"" am:
54da93b981 am:
8fffe22ab1
am:
5e1a526cf4 -s ours
Change-Id: I11e888498254518ae3d269bdd0582b3d16fb8959
arangelov [Wed, 20 Dec 2017 20:26:46 +0000 (20:26 +0000)]
Call PROFILE/DEVICE_OWNER_CHANGED broadcast and onTransferCompleted callback upon a successful transfer.
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.MixedProfileOwnerHostSideTransferTest#testTransferOwnerChangedBroadcast
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.MixedProfileOwnerHostSideTransferTest#testTransferCompleteCallback
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.MixedDeviceOwnerHostSideTransferTest#testTransferOwnerChangedBroadcast
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.MixedDeviceOwnerHostSideTransferTest#testTransferCompleteCallback
Bug:
69542936
Bug:
69543044
Change-Id: Ifbe3ac0029794eba185e538e5a490073d5309f0b
Bryce Lee [Tue, 9 Jan 2018 17:45:57 +0000 (09:45 -0800)]
Pause activity when making visible from stopped state.
It is possible for an activity to become visible without gaining
focus. For example, if a paused activity in split-screen finishes
itself, the activity below will become visible. Currently this
activity will not exit the stopped state. This changelist
addresses this inconsistency by cycling the activity to paused if
it becomes visible in the stopped state.
Change-Id: I170d586793dadb0d6ff59d1ad68f2d94699f9ca6
Bug:
71582913
Test: atest ActivityRecordTests#testPausingWhenVisibleFromStopped
Jack Yu [Wed, 10 Jan 2018 21:01:52 +0000 (21:01 +0000)]
Merge "Added Cell identity for TD-SCDMA and a base class CellIdentity" am:
5e90553bcf am:
18bd9922fb
am:
d1cd07afe2
Change-Id: I073ef7a8efb94c64d4640c64463f4088025213f2
TreeHugger Robot [Wed, 10 Jan 2018 20:48:43 +0000 (20:48 +0000)]
Merge "Guard against crash on startup"
Chavi Weingarten [Wed, 10 Jan 2018 20:47:53 +0000 (20:47 +0000)]
Merge changes I9bf357f3,Ia83b74fc
* changes:
Revert "Call prepareSurfaces in applySurfacesChangesTransaction"
Revert "Revert "Revert "Avoid setting size/position on Transaction if not needed"""
Dmitry Dementyev [Wed, 10 Jan 2018 20:47:46 +0000 (20:47 +0000)]
Merge "Use correct lock screen type in KeyStoreRecoveryMetadata constructor."
chaviw [Wed, 10 Jan 2018 20:31:21 +0000 (12:31 -0800)]
Revert "Call prepareSurfaces in applySurfacesChangesTransaction"
This reverts commit
6b0f8461cfcd6eafa31e5bad0c46048a76a2d616.
Fixes:
71789344
chaviw [Wed, 10 Jan 2018 20:31:08 +0000 (12:31 -0800)]
Revert "Revert "Revert "Avoid setting size/position on Transaction if not needed"""
This reverts commit
1e8c4c8c0c9111b7ae90e110c73122c7bff1df81.
Fixes:
71789344
Bryce Lee [Wed, 10 Jan 2018 20:23:35 +0000 (20:23 +0000)]
Merge "Make sure correct default values for ActivityStarter."
Selim Cinek [Thu, 21 Dec 2017 21:03:32 +0000 (13:03 -0800)]
Made the notification side paddings consistent
The rounding and paddings are now consistent
throughout the shade. Before the notifications
were only rounded on the top, but the design
didn't work perfectly in all situations.
Bug:
69168591
Test: add notifications, observe consistent paddings
Change-Id: Idc60cb7d448193c65f77bafebb2d110809ecb725