315625 Commits

Author SHA1 Message Date
Julia Reynolds
34bc4af810 Merge "Show misc channel with pre-upgrade fields" into oc-dev 2017-05-12 12:14:11 +00:00
TreeHugger Robot
6bf9b9a5f3 Merge "TRON: Count smart selection events." into oc-dev 2017-05-12 11:54:37 +00:00
TreeHugger Robot
152f6c8e04 Merge "Disable font test temporarily" into oc-dev 2017-05-12 11:21:35 +00:00
Jorim Jaggi
c5b2bf1818 Merge "Fix all issues with SystemUI visibility and transitions" into oc-dev 2017-05-12 11:02:31 +00:00
TreeHugger Robot
fa0b28220b Merge changes from topic 'onarevert' into oc-dev
* changes:
  Create a NotificationChannel for ONA.
  Revert "Delete old WifiNotificationController strings."
2017-05-12 04:40:26 +00:00
TreeHugger Robot
05aa65cfb9 Merge "Allow Recents to rotate freely." into oc-dev 2017-05-12 03:47:21 +00:00
TreeHugger Robot
c3db339987 Merge "System/root/shell need to explicitly ask for static libs to get them" into oc-dev 2017-05-12 03:46:58 +00:00
TreeHugger Robot
bb9218778c Merge "Reduce impact of RenderThread in system_server" into oc-dev 2017-05-12 02:31:19 +00:00
Chris Wren
69ab8e1d56 Merge changes from topic 'b/36021111' into oc-dev
* changes:
  add a global control for badging
  extend TestableSettingsProvider to multiuser
2017-05-12 01:49:06 +00:00
TreeHugger Robot
a8fe244466 Merge "Fix #38218977 : NPE restoring widget mappings" into oc-dev 2017-05-12 01:40:44 +00:00
TreeHugger Robot
46853ab04f Merge "Minor tweak, defer building PiP notification until after transition ends" into oc-dev 2017-05-12 01:38:18 +00:00
Eric Laurent
b0cce1f160 Merge "PhoneWindowManager: allow volume keys in VoIP calls and screen off" into oc-dev 2017-05-12 01:35:41 +00:00
TreeHugger Robot
a3301df508 Merge "Accommodate service disconnect / package update race" into oc-dev 2017-05-12 01:23:16 +00:00
TreeHugger Robot
4c8181cb48 Merge "OtaDexopt: Ensure float format for progress command" into oc-dev 2017-05-12 00:56:14 +00:00
Jorim Jaggi
a41b729f8f Reduce impact of RenderThread in system_server
- Don't try to persist snapshots during window animations. It can
wait and doing it later while decrease the load during window
animations, leading to less jank.
- Lower RT priority to 130 from system_server. It's only used for
background things.

Bug: 37631016
Bug: 36631902
Change-Id: I4fc21b53f257d0194a7f64c3064756ab2426ff17
2017-05-12 02:29:33 +02:00
TreeHugger Robot
19af4cc375 Merge "AAPT: Include empty locale in getLocales" into oc-dev 2017-05-12 00:22:44 +00:00
TreeHugger Robot
120d7b219d Merge "BatteryStats: Stop reading kernel memory stats when unvailable" into oc-dev 2017-05-12 00:20:47 +00:00
Jorim Jaggi
2df228c32c Fix all issues with SystemUI visibility and transitions
- Use win.isVisible again to determine top opaque full screen
window. !goneForLayout isn't really correct as windows that are
just about to draw can already influence SystemUI flags
- Don't coalesce messages in CommandQueue. This messes up ordering!
Bad!

Test: Unlock to Settings
Test: Navigate around in settings, make sure no flashes
Test: Cold launch United app
Test: Go to recents <-> settings 10 times

Change-Id: I15d37b35344d955c45591386182c5266bba74f01
Fixes: 37926053
Fixes: 37433095
Fixes: 37923474
2017-05-12 02:16:26 +02:00
TreeHugger Robot
89d64cbbd9 Merge "Make batterystats less chatty" into oc-dev 2017-05-12 00:15:56 +00:00
TreeHugger Robot
33b4964874 Merge "Cleanup API that is already @removed" into oc-dev 2017-05-12 00:13:56 +00:00
TreeHugger Robot
cd32b42e1c Merge "Suppress AppCacheTest tests that cause am instrument failure." into oc-dev 2017-05-11 23:59:54 +00:00
TreeHugger Robot
4116913e3a Merge "Fix app bounds for pinned stack" into oc-dev 2017-05-11 23:38:24 +00:00
Christopher Tate
c349e59f33 Accommodate service disconnect / package update race
Ordering of delivery of package monitoring messages and service
disconnect callbacks is indeterminate, but we need to make decisions
about service disconnect based on the package update state.  We
address the race by explicitly deferring our reset/timeout logic by
a short time to allow the package monitor to process any pending
updates on the same looper thread before we take action.

Bug 34356215
Test: manual

Change-Id: Icffedbaf19b8eac8830c22fc05f299eb96b54acd
2017-05-11 16:26:00 -07:00
Svet Ganov
9e77977ffa System/root/shell need to explicitly ask for static libs to get them
Test: manual - settings no longer shows static shared libs
      all shared lib CTS tests pass

bug:36632271

Change-Id: If3363059b5f5300e309b61899af8c2559af317fe
2017-05-11 15:41:39 -07:00
TreeHugger Robot
ffb563d82d Merge "AudioCapabilities: handle non-standard codec max input channels" into oc-dev 2017-05-11 22:40:38 +00:00
Christopher Tate
b98bcce37c Fix #38218977 : NPE restoring widget mappings
Remember that we might not be able to resolve historical
widget provider references, so don't access them unchecked.

Test: manual
Change-Id: I01c6c68461b6d15aa8fee402a4bfb0f21bf1ddbb
2017-05-11 15:39:34 -07:00
TreeHugger Robot
203ec51e2b Merge "Decrease default number of partitions from 64 to 10." into oc-dev 2017-05-11 22:37:47 +00:00
Evan Rosky
f14aea9f8b Merge "Only save focus in keyboard navigation clusters when appropriate" into oc-dev 2017-05-11 22:26:18 +00:00
Martijn Coenen
b1edc48db0 Merge "Only spawn one binder thread for screencap." into oc-dev 2017-05-11 22:07:37 +00:00
Abodunrinwa Toki
1d77557517 TRON: Count smart selection events.
Logs:
 - Smart selection occured
 - TextView menu item activated on smart selection
 - Smart selection reset
 - Smart selection modified

Test: Manually checked logging happens as per go/tron-howto and verified
nothing is broken in related classes by running:
bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
bit FrameworksCoreTests:android.widget.TextViewActivityTest

Bug: 32572232
Change-Id: Ia9081d92ae9aea50d863455be770eecd0c73be1a
2017-05-11 23:04:29 +01:00
TreeHugger Robot
7d75f49175 Merge "Fix support for @empty in style resolution" into oc-dev 2017-05-11 21:55:24 +00:00
TreeHugger Robot
8d0ba598cf Merge "Finish issue #37815224: DeviceManagementService is incorrectly..." into oc-dev 2017-05-11 21:38:04 +00:00
Aurimas Liutikas
6b771ce3c3 Suppress AppCacheTest tests that cause am instrument failure.
These tests runs a command to clear application data and by
doing so causes the application that is being instrumented
to restart, which in turn "am instrument' thinks is an app
crash, thus aborting the rest of the tests.

Bug: 38238448
Change-Id: Ida69b828a9950a83d790a3a7628e32c14a04a772
Test: bit FrameworksCoreTests:android.content.pm.AppCacheTest
2017-05-11 21:32:31 +00:00
Chris Wren
89aa226190 add a global control for badging
Content observer callbacks don't specify the user,
so scan all the users we know about. User switches
will also trigger an update which will explicitly
check the setting for the (now) current user.

Migrate tests to TestableContext to allow the test
to safely override secure settings.

Bug: 36021111
Test: runtest systemui-notification
Change-Id: I588068382912955da114cc351df7a1e7b4f0733f
2017-05-11 17:19:01 -04:00
TreeHugger Robot
34480d2ce0 Merge "AOD: Fix wakeup animation duration" into oc-dev 2017-05-11 21:18:37 +00:00
Chris Wren
629c20c999 extend TestableSettingsProvider to multiuser
Bug: 36021111
Test: runtest -x frameworks/base/tests/testables

Change-Id: I13dc2b33a39a01954034fa3d69ae9645d23c3304
2017-05-11 17:17:15 -04:00
Julia Reynolds
6307ac52e5 Merge "Lock relevant fields on channel update" into oc-dev 2017-05-11 20:55:28 +00:00
TreeHugger Robot
a7af385208 Merge "Detect isVisibleToUser post layout" into oc-dev 2017-05-11 20:38:28 +00:00
Andreas Gampe
dbce0ac3da OtaDexopt: Ensure float format for progress command
The progress value will be forwarded to update_engine, which expects
a "."-based float representation. Use Locale.ROOT when printing.

Bug: 37760573
Test: m
Test: adb root && adb shell cmd otadexopt prepare && \
      adb shell cmd otadexopt progress | grep 0.00
Test: Switch to German, reboot, \
      adb root && adb shell cmd otadexopt prepare && \
      adb shell cmd otadexopt progress | grep 0.00

Change-Id: I99ffdd3aefa77d77b73fb7b94accefc0f2eb3c0a
2017-05-11 13:36:30 -07:00
TreeHugger Robot
208711a1e4 Merge "Ensure remote calls to a fill service timeout." into oc-dev 2017-05-11 20:31:00 +00:00
TreeHugger Robot
e35e223a81 Merge "Relax the sharedpreference check to look at StorageManager.isUserKeyUnlocked" into oc-dev 2017-05-11 20:25:52 +00:00
Winson Chung
6c8536c3a2 Allow Recents to rotate freely.
Bug: 37550022
Test: Switch between landscape apps while the device is in landscape
Change-Id: Ic035a1e929f7da0b0a01b11c219a7146aa36f811
2017-05-11 13:07:10 -07:00
Bryce Lee
e53243cb92 Merge "Allow for SDK 26 Activities to specify orientation when not fullscreen." into oc-dev 2017-05-11 20:06:24 +00:00
Adam Lesinski
61d2d37233 BatteryStats: Stop reading kernel memory stats when unvailable
Bug: 37689111
Test: manual
Change-Id: Ib14e4db14870a47da4f4d72bee613486fb976b78
2017-05-11 13:05:46 -07:00
Robert Shih
f31d11341e AudioCapabilities: handle non-standard codec max input channels
Bug: 34073927
Change-Id: Id9b99e572bf9c90fa236b762620fb7f6eb284f1e
2017-05-11 13:03:25 -07:00
Adam Lesinski
fa2fc0b263 AAPT: Include empty locale in getLocales
AAPT dump badging relies on the empty locale being
present when there are no locales.

Bug: 38192121
Test: manual
Change-Id: I2f5c431d4fd07c525a2318e7b93be0e93c32448f
2017-05-11 12:26:52 -07:00
Amith Yamasani
33532e0208 Merge "Fix a security exception when unbinding services" into oc-dev 2017-05-11 19:17:13 +00:00
Dianne Hackborn
06640fea7b Finish issue #37815224: DeviceManagementService is incorrectly...
...starting services from jobs

Remove dmagent from whitelist.

Test: manual

Change-Id: Id13b95b9ca4f8fa890f4e20cf133a6f4bc0e3cc5
2017-05-11 12:15:08 -07:00
Andrii Kulian
cad3c3251c Merge "Organize multi-window enabling" into oc-dev 2017-05-11 19:12:00 +00:00
Adrian Roos
48c8cd41c6 AOD: Fix wakeup animation duration
Wakeup animation duration was introduced in one CL, but was not
visible to the other CL, now that both CLs have been merged fix up
the duration.

Fixes: 34716110
Test: Trigger Ambient Display, turn on device, observe that both the clock and panel animation take the same time.
Change-Id: I310ba9c5be2e6ddd4fdf0a793eadb687e100aacd
2017-05-11 11:57:07 -07:00