Commit Graph

33136 Commits

Author SHA1 Message Date
Evan Laird
bb11b77523 Merge "Fix qs_signal icon clipping" 2017-02-23 20:14:16 +00:00
Evan Laird
8b72643b12 Fix qs_signal icon clipping
Test: visual
Change-Id: If212eefc9303590b7168432120c46bf07ac184d1
Fixes: 34799892
2017-02-23 15:00:46 -05:00
Jason Monk
0288de0e56 Fix data disabled icon from not showing in status bar
The NetworkController seemed to think the user wasn't set up since
the DeviceProvisionedController didn't send an initial callback
on add.

Also add some extra listening to data disabled state to avoid race
conditions there.

Change-Id: I17f759894a283da08eb0da7ceb5181355c8f4d55
Fixes: 35708363
Fixes: 35632846
Test: runtest systemui
2017-02-23 14:51:17 -05:00
Guang Zhu
df0824ad4c Merge "Revert "OMS: integrate OverlayManagerService into framework"" 2017-02-23 07:36:16 +00:00
Guang Zhu
9545980692 Revert "OMS: integrate OverlayManagerService into framework"
Bug: 31052947
Bug: 35697944

This reverts commit 21a3d1ad68.

Change-Id: I2d86931020301524c26cf8c8e80d557c97fdd6c3
2017-02-23 07:35:39 +00:00
TreeHugger Robot
798cccb659 Merge "Don't copy ringtones when profile sync goes off" 2017-02-23 04:21:39 +00:00
Chen Xu
44fa5c3346 Merge "renaming telephony internal hidden intents" am: 09c663a84c am: 979e4690ec
am: 201320492c

Change-Id: I4e37359a98fb8ecdff63b45a54f08b61e7be25ad
2017-02-23 04:15:28 +00:00
TreeHugger Robot
0f09817859 Merge "OMS: integrate OverlayManagerService into framework" 2017-02-23 03:59:01 +00:00
Robin Lee
7af9a74431 Don't copy ringtones when profile sync goes off
Experimentally, it makes more sense to more people to have the parent
setting as an overlay not a concrete thing.

Test: make cts -j30 && cts-tradefed run cts --module CtsDevicePolicyManagerTestCases --test 'com.android.cts.devicepolicy.ManagedProfileTest#testRingtoneSyncAutoDisableRingtone' </dev/null 2>&1
Bug: 34730524
Change-Id: I5f804713def9e54921b90e4f5cea742ba8aaa685
2017-02-23 02:47:24 +00:00
Chen Xu
979e4690ec Merge "renaming telephony internal hidden intents"
am: 09c663a84c

Change-Id: Ic20ae9e6816d629c979859a7d18f1827bafcc034
2017-02-23 02:03:00 +00:00
Chen Xu
09c663a84c Merge "renaming telephony internal hidden intents" 2017-02-23 01:55:25 +00:00
TreeHugger Robot
8f1a1dd0fc Merge "Don't show the percentage twice when charging." 2017-02-22 21:11:34 +00:00
TreeHugger Robot
ab7bc7afd7 Merge "Updated some internal apps to use TYPE_APPLICATION_OVERLAY" 2017-02-22 20:53:33 +00:00
TreeHugger Robot
3ebd2b6bca Merge "Ensure that we tint PiP actions to be consistent." 2017-02-22 20:52:54 +00:00
TreeHugger Robot
120f971679 Merge "Disable settings nav drawer entirely." 2017-02-22 20:08:37 +00:00
TreeHugger Robot
1f58d0b83c Merge "AOD: readd AOD settings on debuggable builds" 2017-02-22 19:39:46 +00:00
TreeHugger Robot
78e63bd64a Merge "Import translations. DO NOT MERGE" 2017-02-22 19:36:41 +00:00
Julia Reynolds
7d4d8e2dd3 Merge "Grant notification listener access to overlay pkgs" 2017-02-22 19:35:15 +00:00
TreeHugger Robot
b6eb3ebf26 Merge "Import translations. DO NOT MERGE" 2017-02-22 19:34:01 +00:00
TreeHugger Robot
db82159669 Merge "Import translations. DO NOT MERGE" 2017-02-22 19:27:07 +00:00
Winson Chung
56fe8833c7 Ensure that we tint PiP actions to be consistent.
Test: Launch PiP with actions, ensure they are white
Bug: 34281934
Change-Id: I3d301928af80a14ee6d161492c55a62b720d3cca
2017-02-22 11:05:11 -08:00
Wale Ogunwale
791a887701 Updated some internal apps to use TYPE_APPLICATION_OVERLAY
TYPE_SYSTEM_ALERT is deprecated as of O.

Test: builds
Change-Id: Ic335ff0aa2f0356737c2e67debe8e71ea9eb2f41
2017-02-22 10:47:26 -08:00
Lei Yu
b0833461e4 Merge "Make precentage calculation round up by 0.5%" 2017-02-22 18:44:38 +00:00
Selim Cinek
905af16a9c Merge "Fixed some notification leaks" 2017-02-22 18:40:52 +00:00
Antony Sargent
8b0813c3e4 Merge "Add "Instant apps" filter to app listing" 2017-02-22 18:40:43 +00:00
Fan Zhang
5ba2d3fef9 Disable settings nav drawer entirely.
Change-Id: I3e9bdd3759a47fc09a654b6dad00b611138d5de6
Fix: 34806148
Test: make RunSettingsLibRoboTests
2017-02-22 10:36:30 -08:00
TreeHugger Robot
34e8f75b68 Merge "AOD: Enable double tap in AOD" 2017-02-22 17:11:58 +00:00
Bill Yi
53a972b1c3 Import translations. DO NOT MERGE
Change-Id: I4e9c7bc1aa90188971836506efe48c26b0bc522d
Auto-generated-cl: translation import
2017-02-22 08:15:37 -08:00
Adrian Roos
5cd29e41ac AOD: readd AOD settings on debuggable builds
Bug: 30876804
Test: On user build, verify that "Ambient Display" does not appear in SystemUI Tuner.
Change-Id: I75ba7ce11346f9cb8bf5683b17debe77edca20bf
2017-02-22 16:48:15 +01:00
Julia Reynolds
ad0d9e0157 Grant notification listener access to overlay pkgs
Test: manual
Change-Id: I935b701507cd8eafec991b03ac67364e9830d757
2017-02-22 10:00:28 -05:00
Adrian Roos
8008bd1a21 AOD: Enable double tap in AOD
Bug: 30876804
Test: Enable AOD; turn off phone, double tap; receive notification, double tap outside notification; on lockscreen, tap shade, should still bounce
Change-Id: Ifb32461432f64c333b3a86a29b5ac51dfc27a43d
2017-02-22 15:14:25 +01:00
Bill Yi
4f4d095c90 Import translations. DO NOT MERGE
Change-Id: Ic31eb1a90bdd0d4f3f64c99b10d766202979077f
Auto-generated-cl: translation import
2017-02-22 04:57:10 -08:00
TreeHugger Robot
a1d548024d Merge "Shade: Factor out DoubleTapHelper" 2017-02-22 12:02:49 +00:00
Bill Yi
34d71e48c6 Import translations. DO NOT MERGE
Change-Id: If48c638ad46ea1c051b42cd45446ee8c8b811a61
Auto-generated-cl: translation import
2017-02-22 03:52:56 -08:00
Adrian Roos
28a0de9c5e Shade: Factor out DoubleTapHelper
Factors DoubleTapHelper out of ActivatableNotificationView, such that the
same logic can be reused for the StatusBarWindowView.

Bug: 30876804
Test: have a notification, lock phone, interact with notifications on the lockscreen
Change-Id: I4f3a43859d81677d5168424874b106bbfdea0be5
2017-02-22 11:15:14 +01:00
TreeHugger Robot
fb924fa981 Merge "Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'" 2017-02-22 05:37:37 +00:00
Suprabh Shukla
0b1356ff1f Fix 'Modifying dpm.setSecureSetting call for install_non_market_apps'
The previous change was reverted as it broke work profile provisioning.
Clearing binder calling identity before calling into settings provider
should fix the issue.

Test: runtest managed-provisioning
Test: runtest -x services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java
Test: Manually tested that work profile is inflated with expected values
of install_non_market_apps

Bug: 33947615
Bug: 35590590

Change-Id: I3c31a73fef0c25c0e682e18f637272adad39b28d
2017-02-21 18:36:28 -08:00
TreeHugger Robot
d2876544fb Merge "Deprecate "speak passwords" setting." 2017-02-22 01:57:45 +00:00
TreeHugger Robot
e7473fae80 Merge "Handle location enabled setting null value" 2017-02-22 01:26:57 +00:00
jackqdyulei
5dc1f36599 Make precentage calculation round up by 0.5%
So we will show 1% when actually number is 0.5%

Bug: 35305983
Test: RunSettingsLibRoboTests
Change-Id: I26f11f25a7d78cc6b09cb358abd82017fa7cea00
2017-02-21 16:40:01 -08:00
Phil Weaver
385912ee2d Deprecate "speak passwords" setting.
This will now be controlled by individual accessibility services.
We'll provide the password information to them, and they can
present or hide the information as it makes sense for their users.

Password information was anyway provided when a headset was
connected.

Bug: 28139568
Test: Manually verified that TalkBack now speaks passwords on the
lock screen and in text views. Since I'm removing functionality
that didn't have tests, it's tricky to have specific tests.
Change-Id: Ic3c724ccce5762ee9dcd9e7dcbd4eae6734dd05e
2017-02-21 15:24:54 -08:00
TreeHugger Robot
a55b7c5558 Merge "AOD: Don't use doze states when unsupported" 2017-02-21 22:34:16 +00:00
Mårten Kongstad
21a3d1ad68 OMS: integrate OverlayManagerService into framework
Hand over ownership of overlays to OverlayManagerService.

Changes to a package's overlays are propagated using the activity life
cycle. Affected activities will be recreated as needed. This provides a
well-defined point to modify an application's assets while the
application is paused.

Consolidate how overlays targeting the system and overlays targeting
regular applications are handled. Previously, system overlays were
handled as a special case. Now, everything is handled identically. As a
side effect, the call to idmap --scan during Zygote boot has become
obsolete and is removed.

Information on what overlays to use is recorded in
ApplicationInfo.resourceDirs. The PackageManagerService is responsible
for the creation of ApplicationInfo objects. The OverlayManagerService
is responsible for informing the PackageManagerService in advance about
what resourceDirs to use.

When launching an application, the ApplicationInfo is already populated
with up-to-date information about overlays.

When enabling or disabling an overlay for a running application, the
OverlayManagerService first notifies the PackageManagerService about the
updated resourceDirs. It then tells the ActivityManagerService to push
the new ApplicationInfo object to the application's ActivityThread.
Finally the application requests its ResourcesManager to create new
ResourcesImpl objects based on the updated paths.

Co-authored-by: Martin Wallgren <martin.wallgren@sonymobile.com>
Signed-off-by: Zoran Jovanovic <zoran.jovanovic@sonymobile.com>
Bug: 31052947
Test: run tests from 'OMS: tests for OverlayManagerService'
Change-Id: Idc96dae6fc075d5373aa055bbf50e919136d7353
2017-02-21 14:29:43 -08:00
Selim Cinek
160bf4cbac Merge "Making the notification always center horizonally" 2017-02-21 22:05:21 +00:00
Svetoslav Ganov
cac64f616f Handle location enabled setting null value
We have the notion of a null value object whose internal
value is null. If it happens that the setting was never
populated we get back the null object whose value is null
and the code does not expect null and crashes.

bug:35368238

Test: manual

Change-Id: I02c3771b94a45b4ee53e2141711eed134542ea0c
2017-02-21 13:28:04 -08:00
Dan Sandler
df14c20be4 Don't show the percentage twice when charging.
The old percentage textview is now gone from the layout.
When the device is charging (but the user doesn't have
percentage display turned on all the time) use the new
percentage built-in to BatteryMeterView.

Bug: 35521962
Test: visual
Change-Id: I91f3350f6203fd007f003ca260ac0ed78e29b771
2017-02-21 16:17:09 -05:00
TreeHugger Robot
4a04f0fb91 Merge "Fix sysui crashing on profile-only app open" 2017-02-21 20:45:36 +00:00
Adrian Roos
26d8184d46 AOD: Don't use doze states when unsupported
Bug: 30876804
Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStatePreventingAdapterTest.java
Change-Id: Iff09aef0733e30f13723208ff4e7605d40449bb2
2017-02-21 21:39:50 +01:00
Selim Cinek
f306d9b498 Fixed some notification leaks
Since we're now allowing heads-up on the lockscreen
the addedHeadsUpChildren list would fill up, even
if animations were not enabled.

This also fixes that the ExpandHelper and the DragDownHelper
would not realease the view on up.

Change-Id: I8c1b54ff4b034a8f4f2219534a707bbd792b8efa
Fixes: 35375214
2017-02-21 11:57:43 -08:00
TreeHugger Robot
7897bb89a9 Merge "Fixing NPE when there is no running activity." 2017-02-21 18:52:24 +00:00