Commit Graph

316778 Commits

Author SHA1 Message Date
Yuchen He
3671e9249b Merge "Fix AeModeAndLock test cases. Bug: 36103813" into oc-dev 2017-06-08 04:32:36 +00:00
Adam Bookatz
6029bce3b4 Merge "Avoid background getTotalTimeLocked misreporting" into oc-dev 2017-06-08 02:43:20 +00:00
TreeHugger Robot
3834421c96 Merge changes Iea24e5a1,If71385bc into oc-dev
* changes:
  expand who can uninstall an instant app
  Final changes to protect the API surface
2017-06-08 01:40:07 +00:00
Phil Weaver
03a5b3a509 Merge "Confirm a11y shortcut service for correct user" into oc-dev 2017-06-08 01:37:48 +00:00
TreeHugger Robot
dacdf2e978 Merge "Passing callingUid to internal methods" into oc-dev 2017-06-08 01:00:52 +00:00
Yuchen He
526239e800 Fix AeModeAndLock test cases.
Bug: 36103813

Change-Id: Ie2e9938f6ae607f5fced5048c5ff5e41e4f7836b
(cherry picked from commit e256bc9f66)
2017-06-08 00:32:43 +00:00
Jeff Sharkey
fdb3d31504 Merge "Add timeout to StrictMode flash." into oc-dev 2017-06-08 00:32:35 +00:00
Sudheer Shanka
f34713066e Merge "Update KernelUidCpuFreqTimeReader to handle uid removals." into oc-dev 2017-06-08 00:08:47 +00:00
Ian Pedowitz
695f21a661 Merge "Fixed an issue where the icons had the wrong color" into oc-dev 2017-06-08 00:00:20 +00:00
Adrian Roos
2ff366a39a Merge "Keyguard: Increase clock size" into oc-dev 2017-06-07 23:54:05 +00:00
Bryce Lee
f867733d4f Merge "Revert "Coordinate configuration changes and window frame size."" into oc-dev 2017-06-07 23:23:30 +00:00
TreeHugger Robot
09d06437ad Merge "Remove Wifi Badges from platform." into oc-dev 2017-06-07 23:19:09 +00:00
TreeHugger Robot
584406f8e1 Merge "DO NOT MERGE: Kill Wifi Badging in OC." into oc-dev 2017-06-07 23:18:11 +00:00
Bryce Lee
46b01655b3 Revert "Coordinate configuration changes and window frame size."
This reverts commit afb45bba83.

Bug: 32839232
Fixes: 62424393
Change-Id: Ifaa0176e18100ec85b8c81268a26fb16ffe9b5f3
2017-06-07 23:03:09 +00:00
Todd Kennedy
18211fd8f6 Passing callingUid to internal methods
Sometimes callers want to clear the calling identity [to avoid permission
calls]. In this case, allow passing the original calling identity to
internal methods.

Test: Manual; create profile account and observe launcher still works cross profile
Test: bit FrameworksServicesTests:com.android.server.pm.ShortcutManagerTest{1..10}
Change-Id: I73f8ad4b2dc1895227c3fcb14f3f1f18f600562f
Fixes: 38349978
2017-06-07 15:53:21 -07:00
Selim Cinek
a7c69637f8 Fixed an issue where the icons had the wrong color
The color of the icons was taken from the ambient view
and wasn't updated when dark changed.

Change-Id: I472e76ff9d4d92500faae5517f10bdeb2658936d
Fixes: 62423352
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/ExpandableNotificationRowTest.java
2017-06-07 15:52:30 -07:00
Todd Kennedy
96a7326d90 expand who can uninstall an instant app
More than just those with the ACCESS_INSTANT_APP
permission should be able to uninstall instant apps.
Any uid that can see instant apps [that includes
the shell and some others] should be able to
uninstall them.

Change-Id: Iea24e5a1cdb369bdf29e7cf5db7977db63faedfc
Fixes: 62406346
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
2017-06-07 14:46:02 -07:00
TreeHugger Robot
58977d1035 Merge "Update strings for modem restricted state." into oc-dev 2017-06-07 21:42:37 +00:00
TreeHugger Robot
fc1753d495 Merge "Also inherit FLAG_FORCE_DRAWS_STATUS_BAR_BACKGROUND" into oc-dev 2017-06-07 21:40:04 +00:00
Selim Cinek
beba1bf936 Merge "Fixed a flicker of group notifications" into oc-dev 2017-06-07 20:47:52 +00:00
TreeHugger Robot
fd6b3c6da3 Merge "Run explicit GC to clear references to bitmaps earlier." into oc-dev 2017-06-07 20:46:20 +00:00
Jeff Sharkey
65ac7619f9 Add timeout to StrictMode flash.
Consider an app that requests that a StrictMode border be shown, and
then immediately crashes.  We'd end up showing the bars indefinitely,
which is a terrible UX.

This CL enqueues a second message to tear down the bars if nobody
asks for them to be taken down within 1 second.

Test: manual app that crashed after showing violation bars
Bug: 37787765
Change-Id: I45d2078d0dcaa94e8f24087d028f5f06d12c4349
2017-06-07 14:36:03 -06:00
Adrian Roos
dea3c986bc Keyguard: Increase clock size
Test: observe that keyguard clock looks slightly bigger now
Change-Id: Ic55582abb1cf82bf104afce7d1271e456c78aa1b
Fixes: 62105028
2017-06-07 20:34:08 +00:00
Jian Sun
8d5b58a660 Merge "Notify registered packages of visible accounts change when authenticators get uninstalled." into oc-dev 2017-06-07 20:31:08 +00:00
Bookatz
6d79993cb3 Avoid background getTotalTimeLocked misreporting
It has been discovered that for background values of
AggregatedWakelock, Sync, Job, and partial wakelocks,
the value of getTotalTimeLocked is wrong and often very
negative. getTotalDurationMsLocked, which should provide the exact same
value in all of these cases (since background data is never pooled),
does not have this problem. So while the source of the bug is sought
out, we should use getTotalDurationMsLocked instead of getTotalTimeLocked for
these data.

Bug: 62352334
Test: cts-tradefed run cts-dev -m CtsDumpsysHostTestCases -t android.dumpsys.cts.BatteryStatsDumpsysTest
Change-Id: I78e84368615578483ab8e9e5f0ee1d067491be08
2017-06-07 13:29:41 -07:00
Todd Kennedy
4e4769c120 Final changes to protect the API surface
This is it. The last set of changes to protect instant apps
from full apps.

Bug: 35871369
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Test: Manual; install instant app and ensure it runs
Change-Id: If71385bcc9a5637590fbd99b0ffcd5ed8809509c
2017-06-07 13:22:51 -07:00
Julia Reynolds
6e96251d92 Merge "Revert "Change default for group alert behavior"" into oc-dev 2017-06-07 20:12:28 +00:00
Sundeep Ghuman
889e961477 DO NOT MERGE: Kill Wifi Badging in OC.
Speed labeling is turned on in O-DR hence this CL should not be merged
into master. Using the merged in tag below which implements speed
labeling (ag/2346102) to prevent this CL from being merged into upstream
branches which need scoring ui.

Merged-In: I0fd96da6a06dafd8c8ebb435a2725ab155bd26ed

Bug: b/35628911
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java

Change-Id: I5740f68be25d5ec297f1f7dc3b3e59203cec2eb5
2017-06-07 12:56:33 -07:00
Jorim Jaggi
d261632710 Also inherit FLAG_FORCE_DRAWS_STATUS_BAR_BACKGROUND
To make sure we won't cause SystemUI to draw the black status bar
background while the starting window is visible.

Test: Warm open chrome
Test: go/wm-smoke
Bug: 38136531
Change-Id: I8dfc0926cafef9d41e78a637523316ac46ce05df
2017-06-07 12:38:19 -07:00
Doris Liu
cabf9cdc2e Merge "Better error message for AVD" into oc-dev 2017-06-07 19:31:14 +00:00
Jeff Sharkey
6746aa8c4d Merge "Remove old FUSE bypass now that we have sdcardfs." into oc-dev 2017-06-07 19:03:57 +00:00
Todd Kennedy
91a9d65e42 Merge "always adjust per-user application info" into oc-dev 2017-06-07 18:42:13 +00:00
Makoto Onuki
28afa23a8f Merge "Fix IndexOutOfRange in dumpsys content." into oc-dev 2017-06-07 18:33:24 +00:00
Selim Cinek
295dd7193e Merge "Fixed an issue where USER_ALL notifications were showing" into oc-dev 2017-06-07 18:13:35 +00:00
Jason Monk
463985178c Merge "Make DND tile primary toggle remember favorite zen" into oc-dev 2017-06-07 17:17:47 +00:00
Sanket Padawe
c14c84c746 Update strings for modem restricted state.
Test: manual
Bug: 37377132
Change-Id: Iace44143623034c0255d7cceff839a4712972ee2
2017-06-07 10:02:24 -07:00
John Reck
d3e78478aa Merge "Clear native shader when Paint shader changes" into oc-dev 2017-06-07 16:42:47 +00:00
Daniel Sandler
630e7841e5 Merge "Use correct timebase in fg service notifications." into oc-dev 2017-06-07 14:56:45 +00:00
Julia Reynolds
2f431e264d Revert "Change default for group alert behavior"
This reverts commit 8f7828ebe7.

Mutes sound on legacy apps that use their summaries to make sound

Change-Id: I635b1428ee247c0b7753f58343637e64da1c981d

Fixes: 62387153
2017-06-07 14:16:05 +00:00
Wale Ogunwale
7925f817d0 Merge "Fixed NPE in TaskStack.stepAppWindowAnimation" into oc-dev 2017-06-07 13:45:10 +00:00
Jason Monk
62fe3205ba Make DND tile primary toggle remember favorite zen
Test: manual
Change-Id: I2b589dbabf4bd7704d4df968ecbd986604e3b757
Fixes: 37794901
2017-06-07 09:15:54 -04:00
TreeHugger Robot
bb4aeb19be Merge "Change Android default icon b/35314247 Test: manual" into oc-dev 2017-06-07 07:50:21 +00:00
TreeHugger Robot
496267f93b Merge "Actually wait until the display is ready." into oc-dev 2017-06-07 07:22:59 +00:00
TreeHugger Robot
ac36c42a86 Merge "Vibrator: Allow priority vibrations in low-power mode for accessibility." into oc-dev 2017-06-07 06:33:10 +00:00
TreeHugger Robot
d5ece513ec Merge "Fix crash in test" into oc-dev 2017-06-07 04:12:50 +00:00
Doris Liu
8d06d8cbf1 Merge "Better handle non-recommended use and warn against it in JavaDoc" into oc-dev 2017-06-07 03:43:13 +00:00
Doris Liu
88bb31b954 Better handle non-recommended use and warn against it in JavaDoc
BUG: 62386748
Test: Follow repro steps in b/62358678. The issue is no
longer reproducible

Change-Id: Ic3cec7c4947296224edb5365d81988d4da7ee5e1
2017-06-07 01:41:34 +00:00
Tyler Freeman
319a34ae87 Vibrator: Allow priority vibrations in low-power mode for accessibility.
This is mainly for Wear devices that don't have speakers.

Bug: 37543478

Test: Manual:
1. Activate low power mode `adb shell dumpsys battery unplug && adb shell settings put global low_power 1`
2. Then see if Alarm/Timer will vibrate.
3. Send a Hangout Test notification, make sure it does NOT vibrate.

On phones there should be no change. Alarms will not vibrate.

Change-Id: Ia6dffa7e528886e7c84390dbb33b44f298c7afa4
2017-06-06 18:12:50 -07:00
Selim Cinek
72fc8db1e2 Fixed a flicker of group notifications
When replacing a supressed group with it's summary, the icon
would flicker. We're now suppressing icon animations of
replaced notifications.

Test: add notification and children 1 by 1 and observe no flickering
Change-Id: I79440e473296e766ab80832ce74f450aee1af8ea
Fixes: 38459207
2017-06-06 18:07:47 -07:00
Evan Rosky
8d4b72c68a Merge "Don't report focusableViewAvailable on add" into oc-dev 2017-06-07 01:02:21 +00:00