OSDN Git Service

android-x86/frameworks-base.git
7 years agorelease-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-4080367 snap...
android-build-team Robot [Thu, 8 Jun 2017 10:00:31 +0000 (10:00 +0000)]
release-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-4080367 snap-temp-L79900000072116775

Change-Id: I7422ea77552b644ee4f20c2b11833367c22bd18d

7 years agoMerge "Overall improvement on Autofill javadocs for autofillable APIs." into oc-dev
Felipe Leme [Thu, 8 Jun 2017 05:21:02 +0000 (05:21 +0000)]
Merge "Overall improvement on Autofill javadocs for autofillable APIs." into oc-dev

7 years agoMerge "Update Android ID (SSAID) to exclude package name in generation." into oc-dev
Mark Rathjen [Thu, 8 Jun 2017 04:43:56 +0000 (04:43 +0000)]
Merge "Update Android ID (SSAID) to exclude package name in generation." into oc-dev

7 years agoMerge "Fix AeModeAndLock test cases. Bug: 36103813" into oc-dev
Yuchen He [Thu, 8 Jun 2017 04:32:31 +0000 (04:32 +0000)]
Merge "Fix AeModeAndLock test cases. Bug: 36103813" into oc-dev

7 years agoMerge "Avoid background getTotalTimeLocked misreporting" into oc-dev
Adam Bookatz [Thu, 8 Jun 2017 02:43:14 +0000 (02:43 +0000)]
Merge "Avoid background getTotalTimeLocked misreporting" into oc-dev

7 years agoMerge changes Iea24e5a1,If71385bc into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 01:40:03 +0000 (01:40 +0000)]
Merge changes Iea24e5a1,If71385bc into oc-dev

* changes:
  expand who can uninstall an instant app
  Final changes to protect the API surface

7 years agoMerge "Confirm a11y shortcut service for correct user" into oc-dev
Phil Weaver [Thu, 8 Jun 2017 01:37:43 +0000 (01:37 +0000)]
Merge "Confirm a11y shortcut service for correct user" into oc-dev

7 years agoMerge "Passing callingUid to internal methods" into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 01:00:47 +0000 (01:00 +0000)]
Merge "Passing callingUid to internal methods" into oc-dev

7 years agoMerge cherrypicks of [2374621, 2374525, 2374320, 2374526, 2374587, 2374550, 2374624...
android-build-team Robot [Thu, 8 Jun 2017 00:36:52 +0000 (00:36 +0000)]
Merge cherrypicks of [2374621237452523743202374526237458723745502374624237452723744332374551] into oc-release

Change-Id: I98bcc6d4b6dd25b99bc55244c9a04e0da54d1b73

7 years agoFixed an issue where the icons had the wrong color
Selim Cinek [Wed, 7 Jun 2017 22:51:29 +0000 (15:51 -0700)]
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
(cherry picked from commit a7c69637f8fa7cc8c0e7ac7c4d73659730315841)

7 years agoFix AeModeAndLock test cases.
Yuchen He [Fri, 12 May 2017 01:49:22 +0000 (18:49 -0700)]
Fix AeModeAndLock test cases.
Bug: 36103813

Change-Id: Ie2e9938f6ae607f5fced5048c5ff5e41e4f7836b
(cherry picked from commit e256bc9f66c6812f02326432ed22f7adca47cc9c)

7 years agoKeyguard: Increase clock size
Adrian Roos [Wed, 7 Jun 2017 19:18:05 +0000 (12:18 -0700)]
Keyguard: Increase clock size

Test: observe that keyguard clock looks slightly bigger now
Change-Id: Ic55582abb1cf82bf104afce7d1271e456c78aa1b
Fixes: 62105028
(cherry picked from commit dea3c986bc9ea6f2721abc243a30acfee68e0744)

7 years agoMerge "Add timeout to StrictMode flash." into oc-dev
Jeff Sharkey [Thu, 8 Jun 2017 00:32:30 +0000 (00:32 +0000)]
Merge "Add timeout to StrictMode flash." into oc-dev

7 years agoRevert "Coordinate configuration changes and window frame size."
Bryce Lee [Wed, 7 Jun 2017 23:01:56 +0000 (23:01 +0000)]
Revert "Coordinate configuration changes and window frame size."

This reverts commit afb45bba8379df530182dae882ec70329423dcfe.

Bug: 32839232
Fixes: 62424393
Change-Id: Ifaa0176e18100ec85b8c81268a26fb16ffe9b5f3
(cherry picked from commit 46b01655b3448706797dfadc3d9a7c6495bb6e5c)

7 years agoUpdate strings for modem restricted state.
Sanket Padawe [Tue, 6 Jun 2017 22:12:04 +0000 (15:12 -0700)]
Update strings for modem restricted state.

Test: manual
Bug: 37377132
Change-Id: Iace44143623034c0255d7cceff839a4712972ee2
(cherry picked from commit c14c84c746cca6e63e6f115b5715d109e623344b)

7 years agoRun explicit GC to clear references to bitmaps earlier.
Winson Chung [Tue, 6 Jun 2017 21:01:29 +0000 (14:01 -0700)]
Run explicit GC to clear references to bitmaps earlier.

Bug: 38258699
Test: Open Recents, dump meminfo, close Recents, wait, dump meminfo
Change-Id: Ibdcf94aee4fac9abcde64e30ae1f13cbb551fec0
(cherry picked from commit 69a9c170b39cf26293a5b6d80e9aeed47b17b385)

7 years agoUse correct timebase in fg service notifications.
Dan Sandler [Tue, 6 Jun 2017 18:23:43 +0000 (14:23 -0400)]
Use correct timebase in fg service notifications.

Bug: 36891897
Test: math
Change-Id: If0b922b620ca1b21e10b7fa988f5b3fd5c6a9c29
(cherry picked from commit 886e01636eacce22bf2f3c7436e1d865b576b6aa)

7 years agoMerge "Update KernelUidCpuFreqTimeReader to handle uid removals." into oc-dev
Sudheer Shanka [Thu, 8 Jun 2017 00:08:40 +0000 (00:08 +0000)]
Merge "Update KernelUidCpuFreqTimeReader to handle uid removals." into oc-dev

7 years agoMerge "Fixed an issue where the icons had the wrong color" into oc-dev
Ian Pedowitz [Thu, 8 Jun 2017 00:00:16 +0000 (00:00 +0000)]
Merge "Fixed an issue where the icons had the wrong color" into oc-dev

7 years agoMerge "Keyguard: Increase clock size" into oc-dev
Adrian Roos [Wed, 7 Jun 2017 23:54:00 +0000 (23:54 +0000)]
Merge "Keyguard: Increase clock size" into oc-dev

7 years agoMerge "Revert "Coordinate configuration changes and window frame size."" into oc-dev
Bryce Lee [Wed, 7 Jun 2017 23:23:17 +0000 (23:23 +0000)]
Merge "Revert "Coordinate configuration changes and window frame size."" into oc-dev

7 years agoMerge "Remove Wifi Badges from platform." into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 23:19:04 +0000 (23:19 +0000)]
Merge "Remove Wifi Badges from platform." into oc-dev

7 years agoMerge "DO NOT MERGE: Kill Wifi Badging in OC." into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 23:18:07 +0000 (23:18 +0000)]
Merge "DO NOT MERGE: Kill Wifi Badging in OC." into oc-dev

7 years agoRevert "Coordinate configuration changes and window frame size."
Bryce Lee [Wed, 7 Jun 2017 23:01:56 +0000 (23:01 +0000)]
Revert "Coordinate configuration changes and window frame size."

This reverts commit afb45bba8379df530182dae882ec70329423dcfe.

Bug: 32839232
Fixes: 62424393
Change-Id: Ifaa0176e18100ec85b8c81268a26fb16ffe9b5f3

7 years agoPassing callingUid to internal methods
Todd Kennedy [Tue, 6 Jun 2017 16:15:46 +0000 (09:15 -0700)]
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

7 years agoFixed an issue where the icons had the wrong color
Selim Cinek [Wed, 7 Jun 2017 22:51:29 +0000 (15:51 -0700)]
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

7 years agoexpand who can uninstall an instant app
Todd Kennedy [Wed, 7 Jun 2017 21:46:02 +0000 (14:46 -0700)]
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

7 years agoMerge "Update strings for modem restricted state." into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 21:42:33 +0000 (21:42 +0000)]
Merge "Update strings for modem restricted state." into oc-dev

7 years agoMerge "Also inherit FLAG_FORCE_DRAWS_STATUS_BAR_BACKGROUND" into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 21:40:00 +0000 (21:40 +0000)]
Merge "Also inherit FLAG_FORCE_DRAWS_STATUS_BAR_BACKGROUND" into oc-dev

7 years agoMerge "Fixed a flicker of group notifications" into oc-dev
Selim Cinek [Wed, 7 Jun 2017 20:47:47 +0000 (20:47 +0000)]
Merge "Fixed a flicker of group notifications" into oc-dev

7 years agoMerge "Run explicit GC to clear references to bitmaps earlier." into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 20:46:15 +0000 (20:46 +0000)]
Merge "Run explicit GC to clear references to bitmaps earlier." into oc-dev

7 years agoAdd timeout to StrictMode flash.
Jeff Sharkey [Wed, 7 Jun 2017 20:34:38 +0000 (14:34 -0600)]
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

7 years agoKeyguard: Increase clock size
Adrian Roos [Wed, 7 Jun 2017 19:18:05 +0000 (12:18 -0700)]
Keyguard: Increase clock size

Test: observe that keyguard clock looks slightly bigger now
Change-Id: Ic55582abb1cf82bf104afce7d1271e456c78aa1b
Fixes: 62105028

7 years agoMerge "Notify registered packages of visible accounts change when authenticators...
Jian Sun [Wed, 7 Jun 2017 20:31:00 +0000 (20:31 +0000)]
Merge "Notify registered packages of visible accounts change when authenticators get uninstalled." into oc-dev

7 years agoAvoid background getTotalTimeLocked misreporting
Bookatz [Wed, 7 Jun 2017 19:30:07 +0000 (12:30 -0700)]
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

7 years agoFinal changes to protect the API surface
Todd Kennedy [Fri, 2 Jun 2017 14:38:20 +0000 (07:38 -0700)]
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

7 years agoMerge cherrypicks of [2372722, 2371265, 2372622, 2371944, 2372723, 2372703, 2372623...
android-build-team Robot [Wed, 7 Jun 2017 20:14:25 +0000 (20:14 +0000)]
Merge cherrypicks of [2372722237126523726222371944237272323727032372623237222423712662371945] into oc-release

Change-Id: Ieda3b450637699bfb36e2e9c7957f08ffc572805

7 years agoMake DND tile primary toggle remember favorite zen
Jason Monk [Wed, 7 Jun 2017 13:15:54 +0000 (09:15 -0400)]
Make DND tile primary toggle remember favorite zen

Test: manual
Change-Id: I2b589dbabf4bd7704d4df968ecbd986604e3b757
Fixes: 37794901
(cherry picked from commit 62fe3205ba41fe35cccc226b2e76572e7b51a7c8)

7 years agoMerge "Revert "Change default for group alert behavior"" into oc-dev
Julia Reynolds [Wed, 7 Jun 2017 20:12:21 +0000 (20:12 +0000)]
Merge "Revert "Change default for group alert behavior"" into oc-dev

7 years agoClear native shader when Paint shader changes
John Reck [Tue, 6 Jun 2017 19:14:04 +0000 (12:14 -0700)]
Clear native shader when Paint shader changes

Since Recents never goes away that means TaskViewThumbnail
never goes away which in turn means mDrawPaint never goes away.

mDrawPaint has a setShader(null) called on it to release
the BitmapShader it was previously drawn with, but that
change didn't push down to native until the next time the
paint was used. As a result, the Paint held on to a
reference to the bitmap.

The fix is simple, when the shader is changed simply
push down an immediate clear of the native shader. Since
the bitmap of a BitmapShader isn't changeable we don't
need to worry about clearing references for shader mutation,
merely when Paint#setShader() happens.

Bug: 38258699
Test: Open & close recents, observe EGL memory immediately returns
to sub-5MB.

Change-Id: I6742efa8ae8dfca76b62a06bc1a1a00646feba64
(cherry picked from commit fbff7117abac7a335c6bc2e2f8b927a8dac5753e)

7 years agoActually wait until the display is ready.
Michael Wright [Tue, 6 Jun 2017 21:01:20 +0000 (22:01 +0100)]
Actually wait until the display is ready.

When this was rewritten to only wait for display state changes and not
brightness changes, it forgot to take into account whether a change was
already in flight when reporting whether a change was happening. Fix
that so the display appropriately reports when it's ready and when it's
blocked.

Bug: 32559368
Test: Take systrace of device wakeup, see it actually waits until the
      display is actually ready

Change-Id: Ie3bd5c48d109a0fb2628ccc8f67bb52be51fad5c
(cherry picked from commit 640666fcfd4f40ba69dbe459adea7b31407209ac)

7 years agoDO NOT MERGE: Kill Wifi Badging in OC.
Sundeep Ghuman [Tue, 6 Jun 2017 19:27:25 +0000 (12:27 -0700)]
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

7 years agoAlso inherit FLAG_FORCE_DRAWS_STATUS_BAR_BACKGROUND
Jorim Jaggi [Wed, 7 Jun 2017 19:38:19 +0000 (12:38 -0700)]
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

7 years agoMerge "Better error message for AVD" into oc-dev
Doris Liu [Wed, 7 Jun 2017 19:31:09 +0000 (19:31 +0000)]
Merge "Better error message for AVD" into oc-dev

7 years agoMerge "Remove old FUSE bypass now that we have sdcardfs." into oc-dev
Jeff Sharkey [Wed, 7 Jun 2017 19:03:54 +0000 (19:03 +0000)]
Merge "Remove old FUSE bypass now that we have sdcardfs." into oc-dev

7 years agoMerge "always adjust per-user application info" into oc-dev
Todd Kennedy [Wed, 7 Jun 2017 18:40:53 +0000 (18:40 +0000)]
Merge "always adjust per-user application info" into oc-dev

7 years agoMerge "Fix IndexOutOfRange in dumpsys content." into oc-dev
Makoto Onuki [Wed, 7 Jun 2017 18:33:19 +0000 (18:33 +0000)]
Merge "Fix IndexOutOfRange in dumpsys content." into oc-dev

7 years agoMerge "Fixed an issue where USER_ALL notifications were showing" into oc-dev
Selim Cinek [Wed, 7 Jun 2017 18:13:25 +0000 (18:13 +0000)]
Merge "Fixed an issue where USER_ALL notifications were showing" into oc-dev

7 years agoMerge "Make DND tile primary toggle remember favorite zen" into oc-dev
Jason Monk [Wed, 7 Jun 2017 17:17:43 +0000 (17:17 +0000)]
Merge "Make DND tile primary toggle remember favorite zen" into oc-dev

7 years agoUpdate strings for modem restricted state.
Sanket Padawe [Tue, 6 Jun 2017 22:12:04 +0000 (15:12 -0700)]
Update strings for modem restricted state.

Test: manual
Bug: 37377132
Change-Id: Iace44143623034c0255d7cceff839a4712972ee2

7 years agoMerge "Clear native shader when Paint shader changes" into oc-dev
John Reck [Wed, 7 Jun 2017 16:42:43 +0000 (16:42 +0000)]
Merge "Clear native shader when Paint shader changes" into oc-dev

7 years agoMerge "Use correct timebase in fg service notifications." into oc-dev
Daniel Sandler [Wed, 7 Jun 2017 14:56:41 +0000 (14:56 +0000)]
Merge "Use correct timebase in fg service notifications." into oc-dev

7 years agoRevert "Change default for group alert behavior"
Julia Reynolds [Wed, 7 Jun 2017 14:12:09 +0000 (14:12 +0000)]
Revert "Change default for group alert behavior"

This reverts commit 8f7828ebe7fc6d87e0de112cfda2823fd5818cb2.

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

Change-Id: I635b1428ee247c0b7753f58343637e64da1c981d

Fixes: 62387153

7 years agoMerge "Fixed NPE in TaskStack.stepAppWindowAnimation" into oc-dev
Wale Ogunwale [Wed, 7 Jun 2017 13:45:02 +0000 (13:45 +0000)]
Merge "Fixed NPE in TaskStack.stepAppWindowAnimation" into oc-dev

7 years agoMake DND tile primary toggle remember favorite zen
Jason Monk [Wed, 7 Jun 2017 13:15:54 +0000 (09:15 -0400)]
Make DND tile primary toggle remember favorite zen

Test: manual
Change-Id: I2b589dbabf4bd7704d4df968ecbd986604e3b757
Fixes: 37794901

7 years agoMerge "release-request-0ddf2eab-ecaa-4014-951f-9236b1e43859-for-git_oc-release-407559...
android-build-team Robot [Wed, 7 Jun 2017 08:03:41 +0000 (08:03 +0000)]
Merge "release-request-0ddf2eab-ecaa-4014-951f-9236b1e43859-for-git_oc-release-4075595 snap-temp-L43000000071370789" into oc-release

7 years agoMerge "Change Android default icon b/35314247 Test: manual" into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 07:50:14 +0000 (07:50 +0000)]
Merge "Change Android default icon b/35314247 Test: manual" into oc-dev

7 years agorelease-request-224b654d-e3ad-4f05-a95d-d10d1516b3f6-for-git_oc-release-4075622 snap...
android-build-team Robot [Wed, 7 Jun 2017 07:47:34 +0000 (07:47 +0000)]
release-request-224b654d-e3ad-4f05-a95d-d10d1516b3f6-for-git_oc-release-4075622 snap-temp-L17600000071371496

Change-Id: I5eb4245c3e0fecaa232d97182b3c9a6b2aaaf051

7 years agorelease-request-0ddf2eab-ecaa-4014-951f-9236b1e43859-for-git_oc-release-4075595 snap...
android-build-team Robot [Wed, 7 Jun 2017 07:42:44 +0000 (07:42 +0000)]
release-request-0ddf2eab-ecaa-4014-951f-9236b1e43859-for-git_oc-release-4075595 snap-temp-L43000000071370789

Change-Id: If3c0a9dbe5c4268bc5d8c46ad5d787aeae7e24de

7 years agoMerge "Actually wait until the display is ready." into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 07:22:52 +0000 (07:22 +0000)]
Merge "Actually wait until the display is ready." into oc-dev

7 years agoMerge "Vibrator: Allow priority vibrations in low-power mode for accessibility."...
TreeHugger Robot [Wed, 7 Jun 2017 06:33:03 +0000 (06:33 +0000)]
Merge "Vibrator: Allow priority vibrations in low-power mode for accessibility." into oc-dev

7 years agoMerge "Fix crash in test" into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 04:12:44 +0000 (04:12 +0000)]
Merge "Fix crash in test" into oc-dev

7 years agoMerge "Better handle non-recommended use and warn against it in JavaDoc" into oc-dev
Doris Liu [Wed, 7 Jun 2017 03:43:07 +0000 (03:43 +0000)]
Merge "Better handle non-recommended use and warn against it in JavaDoc" into oc-dev

7 years agoMerge cherrypicks of [2365114, 2365092, 2365434, 2365469, 2365278, 2365173, 2365435...
android-build-team Robot [Wed, 7 Jun 2017 02:22:25 +0000 (02:22 +0000)]
Merge cherrypicks of [23651142365092236543423654692365278236517323654352364857] into oc-release

Change-Id: Ic69a89baae445e64fd0a07c9e447989267f6de27

7 years agoSurfaceView: Correct inverted alpha detection condition.
Robert Carr [Tue, 6 Jun 2017 21:04:50 +0000 (14:04 -0700)]
SurfaceView: Correct inverted alpha detection condition.

Careless mistake on my part :). Sorry about that.

Test: Try an app with two SV like Netflix verify top SurfaceView doesn't occlude bottom one.
Bug: 62375611
Bug: 62113351
Change-Id: Ia33aabf8b8e276f70365d62b82f113ecd3bee2fa
(cherry picked from commit 851e7e43941739398d629f86e3affb2866958ee9)

7 years agoBetter handle non-recommended use and warn against it in JavaDoc
Doris Liu [Tue, 6 Jun 2017 21:56:02 +0000 (14:56 -0700)]
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

7 years agoVibrator: Allow priority vibrations in low-power mode for accessibility.
Tyler Freeman [Fri, 5 May 2017 00:23:35 +0000 (17:23 -0700)]
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

7 years agoFixed a flicker of group notifications
Selim Cinek [Wed, 7 Jun 2017 01:07:47 +0000 (18:07 -0700)]
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

7 years agoMerge "Don't report focusableViewAvailable on add" into oc-dev
Evan Rosky [Wed, 7 Jun 2017 01:02:13 +0000 (01:02 +0000)]
Merge "Don't report focusableViewAvailable on add" into oc-dev

7 years agoRemove Wifi Badges from platform.
Sundeep Ghuman [Tue, 6 Jun 2017 20:02:15 +0000 (13:02 -0700)]
Remove Wifi Badges from platform.

This change makes it impossible to return a badged wifi icon, even if
scoring ui is enabled. It also prevents IAE from net badgecurve enums.

Bug: b/35628911
Test: make -j40
Change-Id: I014f27e5c4e42075e7e62da7fffb9ecf38f6eb4c

7 years agoMerge "Fixed autofill filter comparison." into oc-dev
Felipe Leme [Wed, 7 Jun 2017 00:30:48 +0000 (00:30 +0000)]
Merge "Fixed autofill filter comparison." into oc-dev

7 years agoMerge "Improved debug to diagnose Save issues." into oc-dev
Felipe Leme [Wed, 7 Jun 2017 00:26:05 +0000 (00:26 +0000)]
Merge "Improved debug to diagnose Save issues." into oc-dev

7 years agoMerge "Use initial value on save when value didn't change." into oc-dev
Felipe Leme [Wed, 7 Jun 2017 00:25:01 +0000 (00:25 +0000)]
Merge "Use initial value on save when value didn't change." into oc-dev

7 years agoMerge "Don't show AUTOFILL menu when text is selected." into oc-dev
Felipe Leme [Wed, 7 Jun 2017 00:23:59 +0000 (00:23 +0000)]
Merge "Don't show AUTOFILL menu when text is selected." into oc-dev

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Wed, 7 Jun 2017 00:16:34 +0000 (00:16 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546 am: 6d5bc9a3c2 am: 3272cf26c1 am: e18e8c4113 am: 69b6a382a3 am: ce5c72e887 am: 4d9e6150f3 am: d7fe3ea6a8 am: db9d2588b8
am: 9e4e6c4b7c

Change-Id: I1d028759fecc34081daf0be653a1b729e0e048ac

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Wed, 7 Jun 2017 00:10:27 +0000 (00:10 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546 am: 6d5bc9a3c2 am: 3272cf26c1 am: e18e8c4113 am: 69b6a382a3 am: ce5c72e887 am: 4d9e6150f3 am: d7fe3ea6a8
am: db9d2588b8

Change-Id: I8da5c1b0f6fb3d7676c463c354167abce71f8124

7 years agoFix crash in test
Jorim Jaggi [Wed, 7 Jun 2017 00:04:19 +0000 (17:04 -0700)]
Fix crash in test

Test: runtest systemui
Change-Id: I841b6ed21fb101e7873b218521c480c904f361f8
Fixes: 62389344

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Wed, 7 Jun 2017 00:04:12 +0000 (00:04 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546 am: 6d5bc9a3c2 am: 3272cf26c1 am: e18e8c4113 am: 69b6a382a3 am: ce5c72e887 am: 4d9e6150f3
am: d7fe3ea6a8

Change-Id: Ic5a7104241d36e82418ce5a2a43595d2fa4bff47

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Tue, 6 Jun 2017 23:54:55 +0000 (23:54 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546 am: 6d5bc9a3c2 am: 3272cf26c1 am: e18e8c4113 am: 69b6a382a3 am: ce5c72e887
am: 4d9e6150f3

Change-Id: I5ede1388f265920fa5dd835c4a6335380daa9103

7 years agoNotify registered packages of visible accounts change when
sunjian [Mon, 5 Jun 2017 19:16:59 +0000 (12:16 -0700)]
Notify registered packages of visible accounts change when
authenticators get uninstalled.

Bug: 38332496
Test: manual
Change-Id: I877d52d511deb177d07f9e602d84f33fd0fd2c82

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Tue, 6 Jun 2017 23:45:51 +0000 (23:45 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546 am: 6d5bc9a3c2 am: 3272cf26c1 am: e18e8c4113 am: 69b6a382a3
am: ce5c72e887

Change-Id: I081f15c5d6bb16b3f490e53dbc2910a45e6a920b

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Tue, 6 Jun 2017 23:39:57 +0000 (23:39 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546 am: 6d5bc9a3c2 am: 3272cf26c1 am: e18e8c4113
am: 69b6a382a3

Change-Id: I2c599bac680bda5d4dcfa4f3b9fb5f1413839da0

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Tue, 6 Jun 2017 23:33:50 +0000 (23:33 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546 am: 6d5bc9a3c2 am: 3272cf26c1
am: e18e8c4113

Change-Id: I5c34b680b1c7abcfd33c8719406516fe796afebb

7 years agoMerge "SurfaceView: Correct inverted alpha detection condition." into oc-dev
Rob Carr [Tue, 6 Jun 2017 23:32:59 +0000 (23:32 +0000)]
Merge "SurfaceView: Correct inverted alpha detection condition." into oc-dev

7 years agoFix IndexOutOfRange in dumpsys content.
Makoto Onuki [Tue, 6 Jun 2017 23:32:47 +0000 (16:32 -0700)]
Fix IndexOutOfRange in dumpsys content.

The table has 13 columns but the declaration was only 12.

Bug: 62388237
Test: manual test with "dumpsys content"
Change-Id: I8cbc57dde6ff2dbadb64f4d6061298f73fa73119

7 years agoMerge "Catch WindowManager exceptions so they don't crash the system." into oc-dev
Felipe Leme [Tue, 6 Jun 2017 23:30:57 +0000 (23:30 +0000)]
Merge "Catch WindowManager exceptions so they don't crash the system." into oc-dev

7 years agoMerge "Handle renamed packages during default grants" into oc-dev
Todd Kennedy [Tue, 6 Jun 2017 23:29:05 +0000 (23:29 +0000)]
Merge "Handle renamed packages during default grants" into oc-dev

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Tue, 6 Jun 2017 23:28:27 +0000 (23:28 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546 am: 6d5bc9a3c2
am: 3272cf26c1

Change-Id: I92f069aa6f3a897f9bfba4405dcd64dc066db944

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64...
Marco Nelissen [Tue, 6 Jun 2017 23:22:14 +0000 (23:22 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64 am: 4b78a79546
am: 6d5bc9a3c2

Change-Id: I8165c2218d0d5de41468f8acff86a720c03d1f52

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64
Marco Nelissen [Tue, 6 Jun 2017 23:16:24 +0000 (23:16 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb am: 5181a7ab64
am: 4b78a79546

Change-Id: Iceb4edfd80a0a483d28f2624669eff9dd86bfcb8

7 years agoMerge "Close connection before retrying" into lmp-dev am: a8648ecebb
Marco Nelissen [Tue, 6 Jun 2017 23:10:16 +0000 (23:10 +0000)]
Merge "Close connection before retrying" into lmp-dev am: a8648ecebb
am: 5181a7ab64

Change-Id: I34a176a0da235836eaa9e44b843ec5d5654b8db9

7 years agoMerge "Close connection before retrying" into lmp-dev
Marco Nelissen [Tue, 6 Jun 2017 23:02:35 +0000 (23:02 +0000)]
Merge "Close connection before retrying" into lmp-dev
am: a8648ecebb

Change-Id: I744fdb979aa2803b53d3ff6f4e3e72f6f1160d74

7 years agoMerge "Fixed an issue where would could be left with empty notifications" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 22:54:36 +0000 (22:54 +0000)]
Merge "Fixed an issue where would could be left with empty notifications" into oc-dev

7 years agoMerge "Close connection before retrying" into lmp-dev
TreeHugger Robot [Tue, 6 Jun 2017 22:53:55 +0000 (22:53 +0000)]
Merge "Close connection before retrying" into lmp-dev

7 years agoChange Android default icon
Hyunyoung Song [Tue, 2 May 2017 01:43:07 +0000 (18:43 -0700)]
Change Android default icon
b/35314247
Test: manual

Change-Id: I50964e616565e2e766f903a2a28de7194908bd7b

7 years agoUpdate KernelUidCpuFreqTimeReader to handle uid removals.
Sudheer Shanka [Thu, 1 Jun 2017 19:09:03 +0000 (12:09 -0700)]
Update KernelUidCpuFreqTimeReader to handle uid removals.

Bug: 34133340
Test: manual
Change-Id: Iaad2061671d83e1ff6d2797e166ae903f6faec13

7 years agoRemove old FUSE bypass now that we have sdcardfs.
Jeff Sharkey [Tue, 6 Jun 2017 22:03:24 +0000 (16:03 -0600)]
Remove old FUSE bypass now that we have sdcardfs.

This forces everyone to go through sdcardfs, instead of letting them
around the back door.

Test: builds, boots
Bug: 3823131427992761
Change-Id: I97b24d25599c7f86f9b535689e2f4ecf68261dac

7 years agoMerge "Disabled task snapshot for TV" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 21:56:16 +0000 (21:56 +0000)]
Merge "Disabled task snapshot for TV" into oc-dev

7 years agoUpdate AccountManagerService side logic for .getAccountsByTypeForPackage
sunjian [Thu, 1 Jun 2017 19:05:59 +0000 (12:05 -0700)]
Update AccountManagerService side logic for .getAccountsByTypeForPackage
with null type.

Bug: 37987384
Test: manual, APCT
Change-Id: I4d5f735736f1b1d7bbf778aee2ec813071c34f19

7 years agoOverall improvement on Autofill javadocs for autofillable APIs.
Felipe Leme [Wed, 31 May 2017 18:57:46 +0000 (11:57 -0700)]
Overall improvement on Autofill javadocs for autofillable APIs.

Bug: 37567048
Test: ran 'm -j doc-comment-check-docs' and checked resulting HTML

Change-Id: I7eaf0a521c3777baf0dc0002ae814990fd96a14c