Commit Graph

309172 Commits

Author SHA1 Message Date
TreeHugger Robot
84528ef8e0 Merge "Fix NotificationManagerServiceTest hangs." 2017-01-26 21:32:48 +00:00
TreeHugger Robot
c24bb2c4a6 Merge "Fix shared dim layer not cleared when all users removed" 2017-01-26 21:20:10 +00:00
Rob Carr
c12176a881 Merge "Correct screenshot JNI code." 2017-01-26 21:16:17 +00:00
Dongwon Kang
be3c77bfc6 Merge changes I50bf7c36,Ibb40ed39
* changes:
  TIF: Add types and "watch next" types for programs
  TIF: Add more fields needed for new content recommendation
2017-01-26 21:14:59 +00:00
Robert Carr
fb09bcf969 Correct screenshot JNI code.
Missed change to frameworks/base when changing type to signed int.
Previous code was relying on implicit cast of -1 to unsigned being INT_MAX.

Test: Rotate screen make sure no flash.
Change-Id: I779d851bdc211f24aed0095a4b6df38fd53153b4
Fixes: 34735633
2017-01-26 13:09:23 -08:00
Amith Yamasani
eea27893c1 Merge "Clear up /data/misc_ce/user folder on delete and reboot" 2017-01-26 20:57:59 +00:00
Doris Liu
1f6c3fb286 Merge "Work around a bug in an An app" 2017-01-26 20:56:51 +00:00
Jeff Schumacher
b3ecbe1fa1 Merge "Make ACTION_APP_NOTIFICATION_SETTINGS a @SystemApi" 2017-01-26 20:53:17 +00:00
jackqdyulei
6913496a5b Change the theme to light for help activity.
Help activity is in gmscore, so we need to change the intent
theme parameter to light theme.

Bug: 34690364
Test: Manual - take a screenshot
Change-Id: I8fb71ab461d97d1461e017d3de8290ac19730897
2017-01-26 12:52:08 -08:00
Jack Yu
fff5f48dce Renamed voiceNetworkStateChanged and dataNetworkStateChanged
The misleading voiceNetworkStateChanged should be renamed
to networkStateChanged to reflect either voice or data
network changes will trigger this indication.
And dataNetworkStateChanged should be renamed to
dataCallListChanged as well.

Test: Build
Change-Id: Icf20ceb3718794f7aa62650816714ac8679d101a
2017-01-26 12:45:57 -08:00
Peter Qiu
834695d78a Merge "wifi: WifiManager API change for supporting Passpoint Release 2" am: 8150581742 am: 358fe50e4d am: afc65709ee
am: 331f6a2b74  -s ours

Change-Id: I3b94e58bf1357149926288bc2d4940c3ff56266b
2017-01-26 20:41:09 +00:00
Sergio Sancho
b0cde2caba Ensure default pitch is used when none is specified.
Test: Manual
Change-Id: I09ab4ccea439d01c65a06c3c44b4ff210ddf7f54
2017-01-26 20:39:05 +00:00
Amith Yamasani
a28071306e Clear up /data/misc_ce/user folder on delete and reboot
Clean up the folder to avoid leaving residue behind when
a user is removed. This was causing issues with reusing
the userid. Also check on reboot for incomplete cleanup
and remove the folders.

Change-Id: Icd21d2669249d5f87032ef0fe95bad49537fa477
Fixes: 34736064
Test: Manual
2017-01-26 12:36:55 -08:00
Peter Qiu
331f6a2b74 Merge "wifi: WifiManager API change for supporting Passpoint Release 2" am: 8150581742 am: 358fe50e4d
am: afc65709ee

Change-Id: If5b97a53b453c6ee347ce4667b3bcba4ee24dd9e
2017-01-26 20:35:03 +00:00
Peter Qiu
afc65709ee Merge "wifi: WifiManager API change for supporting Passpoint Release 2" am: 8150581742
am: 358fe50e4d

Change-Id: Idc004300acfc3db7036ea31466fe392454fd144c
2017-01-26 20:31:19 +00:00
Peter Qiu
358fe50e4d Merge "wifi: WifiManager API change for supporting Passpoint Release 2"
am: 8150581742

Change-Id: I71e7bd9ccdb20ca78e4c8e1b2f653363d668425c
2017-01-26 20:25:06 +00:00
Doris Liu
66c564e390 Work around a bug in an An app
An app has Animators (NoPauseAnimatorWrapper) that does not
check their listeners against null before cloning. The previous
implementation of AnimatorSet has masked this issue. But the
underlying bug should be fixed in this app.

For now, work around the bug by adding a listener to all the child
animators.

BUG: 34736819
Test: Manual

Change-Id: I968450aab62cf5d308e3b64e76dcf018178af67e
2017-01-26 12:21:20 -08:00
Jason Monk
2a6ea9c2a1 Delete BaseStatusBar
It is a relic of a more complex time, but has passed out of all
knowledge for too long.

Test: manual testing on phones and TV
Change-Id: I62a15d9413ea4bda3ac82bf6f7d22c096e2c1cdc
2017-01-26 15:17:45 -05:00
Mady Mellor
1f2df9afac Merge "Fix crash on density / font change in NotificationGuts.gutsContent" 2017-01-26 20:14:32 +00:00
Jean-Michel Trivi
b9a2b54adf Merge "AudioService: remove compile time options for a11y volume" 2017-01-26 20:10:29 +00:00
Sundeep Ghuman
e869d83ea8 Create Settings Flags to Disable Scoring UI changes.
When disabled, this will prevent badges from being shown in the status
bar or wifi picker as well as prevent access points in the picker from
being rearranged based on ranking scores.

Fix missing permission dropped from previous CL to run
NetworkControllerWifiTest and refactored tests to enable new setting.

Bug: 34712533
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
and runtest --path
frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/NetworkControllerWifiTest.java

Change-Id: I79c97f2205ebb70c0f7f5b1f66f7207055e5769b
2017-01-26 12:09:04 -08:00
Geoffrey Pitsch
16594465a3 Fix NotificationManagerServiceTest hangs.
Bug caused by message queue going idle before the handler is added.

Bug: 34719217
Test: runtest systemui-notification
Change-Id: I03ba31e5263a43f3e3faa4a19167dbc998092dfa
2017-01-26 15:08:33 -05:00
TreeHugger Robot
ff73dd9c60 Merge "Splitscreen for minimized state that works with resizable launchers" 2017-01-26 20:07:07 +00:00
TreeHugger Robot
1ab054bc37 Merge "Add assistant-provided snooze options to snooze menu" 2017-01-26 20:01:32 +00:00
Mady Mellor
d0baf3c9a6 Fix crash on density / font change in NotificationGuts.gutsContent
There were two issues:

1) The mGutsMenuItem wasn’t getting nulled out correctly
2) There was no check for guts != null when seeing if there were
   exposed guts, this meant the bind would happen when there were no
   guts exposed, because mGutsMenuItem wasn’t nulled out correctly, it
   would be out of date / still attached to a parent.

Test: Manually tried:
1) Have notifications that *haven’t* had guts revealed
2) Change screen density

1) Have notifications, reveal some of their guts
2) Change screen density

Bug: 34737513
Change-Id: Iff0a782c9377aec973eb07645e852bc320dbb101
2017-01-26 11:58:56 -08:00
Treehugger Robot
8150581742 Merge "wifi: WifiManager API change for supporting Passpoint Release 2" 2017-01-26 19:51:37 +00:00
Pavlin Radoslavov
02e806550c Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb am: f23e80bb9b am: d364208388
am: 78798cc13d

Change-Id: Ic645f9ee2eb090fc805a25a1449642dad021db4e
2017-01-26 19:42:16 +00:00
TreeHugger Robot
5469b3d323 Merge "Add a hidden flag to control Settings UI" 2017-01-26 19:36:33 +00:00
TreeHugger Robot
325026dd5c Merge "allow clearing fields for LogMaker reuse" 2017-01-26 19:33:46 +00:00
Pavlin Radoslavov
78798cc13d Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb am: f23e80bb9b
am: d364208388

Change-Id: Ice6067732c4a94d30410a8f90cbea51b869539eb
2017-01-26 19:31:07 +00:00
Jeremy Joslin
8077e15563 Minor javadoc cleanup.
Test: none
Change-Id: Iaf1206767a6d0dc7a045a8fd6dc2a992ca6f3f1b
2017-01-26 11:30:37 -08:00
Pavlin Radoslavov
d364208388 Merge "Integration of the AAC codec for A2DP source" am: 22f97c83fb
am: f23e80bb9b

Change-Id: If2d85eba17f7ece5b3d19e3ee8fc86b7cf9bc062
2017-01-26 19:25:37 +00:00
Andrii Kulian
367ff7fd52 Fix shared dim layer not cleared when all users removed
For secondary display, shared fullscreen dim layer user is
the only stack that is present on the display. When this stack
is removed the shared dim layer was not cleared. Because of
that it was crashing when trying to obtain DisplayContent from it.

Now when we're removing a dim layer user we check if we've removed
the last one and clear shared fullscreen dim layer if needed.

Bug: 34367817
Test: bit FrameworksServicesTests:com.android.server.wm.DimLayerControllerTests
Change-Id: I415196a345c491eddd26a55370bb819ce6485151
2017-01-26 11:21:38 -08:00
Pavlin Radoslavov
f23e80bb9b Merge "Integration of the AAC codec for A2DP source"
am: 22f97c83fb

Change-Id: I22838db2b87f83a3832f78d74d08a6f988264284
2017-01-26 19:20:08 +00:00
Treehugger Robot
22f97c83fb Merge "Integration of the AAC codec for A2DP source" 2017-01-26 19:12:56 +00:00
Alan Viverette
9ad386b37c Convert native changing config flags to Java flags
Also adds more annotations.

Bug: 33080269
Test: ResourcesTest#testChangingConfiguration
Change-Id: I08d438821b96e3d74da1c1c34009673c77caf27e
2017-01-26 14:00:20 -05:00
TreeHugger Robot
6ee80f3a65 Merge "Change configuration's color mode based on the display's color mode" 2017-01-26 18:56:23 +00:00
Jason Monk
f62e889394 Add separate roaming icon for status bar + QS
Now data + roaming will be shown at the same time.

Test: runtest systemui
Bug: 31205845
Change-Id: I8fe167a0909c952ad0824e24e178857df2541554
2017-01-26 13:48:16 -05:00
Esteban Talavera
2f897917fd Profile owners on a user can communicate with device owners
Allow device owners and profile owners on a user
to communicate with each other, rather than restricting
it to device owners and managed profile owners as it is
at the moment

Bug: 34429083

Test:  runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest    frameworks-services
Test: cts-tradefed run cts -a armeabi-v7a --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerPlusManagedProfileTest
Change-Id: I81561a9838c3ccb623354a1b718da2fc6a5af1fe
2017-01-26 18:40:59 +00:00
Paul Stewart
e351176716 Add a client chain to WifiEnterpriseConfig
Add a list of supporting certificates to be presented in the process
of presenting client credentials.

Bug: 34688653
Test: Compile, unit tests
Change-Id: I6afd8baf67312e8ddaaeefd26f30dacc51aa33bb
2017-01-26 10:37:41 -08:00
Matthew Ng
e15352e516 Splitscreen for minimized state that works with resizable launchers
If a launcher is resizable, going to minimized mode (dock task and then
press home) would show a cropped height of the task at the top in a
minimized state and the fullscreen stack would show the home launcher
which takes the rest of the remaining height. If the launcher is not
resizable, it will default the original behavior.

To enable this in a launcher, add android:resizeableActivity="true" in
the AndroidManifest.xml in the <application/> tag.

Test: manual - rotating while minimized, minimizing using dragging task
or holding overview nav button, installing resizable launcher with a
non-resizable launcher
Fixes: 32504542
Change-Id: Idf4015b40f9bec81b70f146f0f2d7df8ccfb4cf0
2017-01-26 10:31:50 -08:00
Jean-Michel Trivi
f6324a4b75 AudioService: remove compile time options for a11y volume
Remove test code path for the a11y volume and only rely on
  AccessibilityServicesStateChangeListener. Query whether
  any of the running a11y services expose
  FLAG_ENABLE_ACCESSIBILITY_VOLUME

Test: enable a service that exposes FLAG_ENABLE_ACCESSIBILITY_VOLUME
  (Talkback will do this in the future) and change volume
Bug 30448020

Change-Id: Ib5dff31313c0ec65b3e9982e35c00698adf5b7de
2017-01-26 10:13:38 -08:00
Peter Qiu
4f5c0ccfda wifi: WifiManager API change for supporting Passpoint Release 2
The changes include:
- Split WNM notifications intent to dedicated intent for each
  event: Deauth Imminent Notice and Subscription Remediation
- Add intent for broadcast OSU Providers List
- Update Passpoint icon intent definitions to conform to the
  API guide
- Make WifiManager#queryPasspointIcon public

All added/updated intents will required receiver to have
android.Manifest.permission.ACCESS_WIFI_STATE in order to
receive the intents.

The deprecated hidden intent definitions will be removed once
the WifiService is updated to use the new intents.

Bug: 34198926
Test: make -j32
Change-Id: If28a5710f68271069c663a953538f920512e3240
Merged-In: Ic17eef8364d79144eb530c68c6877712efcb5209
2017-01-26 10:12:19 -08:00
Jae Seo
434602faa9 TIF: Add types and "watch next" types for programs
Test: build
Bug: 34160270
Change-Id: I50bf7c36e33cd24bf80785150a2858cfec683546
2017-01-26 10:08:48 -08:00
TreeHugger Robot
9e77aefe9c Merge "[Frameworks] Add an 'am' cmd option to enable streaming in profiling." 2017-01-26 18:08:40 +00:00
Mady Mellor
754d8226c9 Add assistant-provided snooze options to snooze menu
Test: manual via Assistant app
Change-Id: Ie77181601a20e46774d009c7ecea65e99434ebd3
2017-01-26 18:07:09 +00:00
Mady Mellor
e461db8a7d Merge "Update PIP minimize to edge gesture" 2017-01-26 18:05:44 +00:00
TreeHugger Robot
1457cdcca5 Merge "wifi: WifiManager API change for supporting Passpoint Release 2" 2017-01-26 18:04:47 +00:00
Chris Wren
8b49873764 allow clearing fields for LogMaker reuse
Bug: 34705522
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I00a1ef279740c890ff8b059be97c4463c9f1af0e
2017-01-26 13:01:26 -05:00
Winson Chung
e8ce181efb Merge "Fixing crash in SystemUI fetching task description icons." 2017-01-26 17:40:10 +00:00