OSDN Git Service
Doris Liu [Wed, 7 Jun 2017 19:31:09 +0000 (19:31 +0000)]
Merge "Better error message for AVD" 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
Todd Kennedy [Wed, 7 Jun 2017 18:40:53 +0000 (18:40 +0000)]
Merge "always adjust per-user application info" 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
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
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
John Reck [Wed, 7 Jun 2017 16:42:43 +0000 (16:42 +0000)]
Merge "Clear native shader when Paint shader changes" 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
Wale Ogunwale [Wed, 7 Jun 2017 13:45:02 +0000 (13:45 +0000)]
Merge "Fixed NPE in TaskStack.stepAppWindowAnimation" into oc-dev
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
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
TreeHugger Robot [Wed, 7 Jun 2017 07:22:52 +0000 (07:22 +0000)]
Merge "Actually wait until the display is ready." into oc-dev
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
TreeHugger Robot [Wed, 7 Jun 2017 04:12:44 +0000 (04:12 +0000)]
Merge "Fix crash in test" 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
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
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
Evan Rosky [Wed, 7 Jun 2017 01:02:13 +0000 (01:02 +0000)]
Merge "Don't report focusableViewAvailable on add" into oc-dev
Felipe Leme [Wed, 7 Jun 2017 00:30:48 +0000 (00:30 +0000)]
Merge "Fixed autofill filter comparison." 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
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
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
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
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
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
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
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
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
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
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
Rob Carr [Tue, 6 Jun 2017 23:32:59 +0000 (23:32 +0000)]
Merge "SurfaceView: Correct inverted alpha detection condition." into oc-dev
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
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
Todd Kennedy [Tue, 6 Jun 2017 23:29:05 +0000 (23:29 +0000)]
Merge "Handle renamed packages during default grants" into oc-dev
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
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
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
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
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
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
TreeHugger Robot [Tue, 6 Jun 2017 22:53:55 +0000 (22:53 +0000)]
Merge "Close connection before retrying" into lmp-dev
Hyunyoung Song [Tue, 2 May 2017 01:43:07 +0000 (18:43 -0700)]
Change Android default icon
b/
35314247
Test: manual
Change-Id: I50964e616565e2e766f903a2a28de7194908bd7b
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:
38231314,
27992761
Change-Id: I97b24d25599c7f86f9b535689e2f4ecf68261dac
TreeHugger Robot [Tue, 6 Jun 2017 21:56:16 +0000 (21:56 +0000)]
Merge "Disabled task snapshot for TV" into oc-dev
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
Julius D'souza [Tue, 6 Jun 2017 21:29:39 +0000 (21:29 +0000)]
Merge "Add state machine model for skipping initial brightness ramps." into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 21:20:39 +0000 (21:20 +0000)]
Merge "Remove usages of ActionBarActivity." into oc-dev
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
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
Todd Kennedy [Tue, 6 Jun 2017 20:44:09 +0000 (13:44 -0700)]
Handle renamed packages during default grants
If a device has a privileged app on the system image which was
updated and a future OTA renames the app package (supported only for
privileged apps) we end up with a disabled system package setting
with no package information. Since we are not doing a null check
of the package we get from the disabled package settings during
default grants we crash leaving the system in a bad state.
Test: Manual
Change-Id: Id7255c92a4a52e368266739cd331977256eee2d3
Fixes:
62376260
Felipe Leme [Tue, 6 Jun 2017 20:50:27 +0000 (13:50 -0700)]
Fixed autofill filter comparison.
Test: existing CtsAutoFillServiceTestCases pass
Test: filterTextDifferentPrefixes() pass
Fixes:
62377334
Change-Id: I9edaf500adad7e5775994a838410c3f8f6af2b1a
Felipe Leme [Mon, 5 Jun 2017 22:10:31 +0000 (15:10 -0700)]
Use initial value on save when value didn't change.
Otherwise, it will fail to call onSaveRequest() in scenarios where the service
required a field that was pre-populated for the app. For example, when the
service requires both a username and password, the app pre-populates the
username, and the user fills the password.
Test: new LoginActivityTest.testSaveOnlyTwoRequiredFieldsOnePrefilled() pass
Test: existing CtsAutoFillServiceTestCases pass
Bug:
62270740
Change-Id: Idbb11a8c2dab6741c18549c55dfdb71b483c2447
TreeHugger Robot [Tue, 6 Jun 2017 20:18:16 +0000 (20:18 +0000)]
Merge "Fix #
62350081 - annotate permission requirements" into oc-dev
Jorim Jaggi [Thu, 1 Jun 2017 23:07:34 +0000 (16:07 -0700)]
Fix issue with dialer launch transition
Test: Disable assistant, launch dialer on secure keyguard
Test: Launch assistant
Test: Launch camera
Change-Id: Ic3231f5f28fa0cf704b5f5d6e1993b296f14f5a3
Fixes:
38450585
Bryce Lee [Tue, 6 Jun 2017 19:42:40 +0000 (19:42 +0000)]
Merge "Associate freezing display with a target display id." into oc-dev
Keyvan Amiri [Tue, 6 Jun 2017 05:48:26 +0000 (22:48 -0700)]
Disabled task snapshot for TV
This was causing memory leaks when opening/closing Apps view. Will
disable this feature on TV since we are running low on RAM.
Bug:
62040693
Bug:
62359697
Test: go/wm-smoke
Change-Id: Ida290e8babc83a998a55efd10d602eb7f05f3102
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
TreeHugger Robot [Tue, 6 Jun 2017 19:09:12 +0000 (19:09 +0000)]
Merge "Add back recents staggering entrance animation" into oc-dev
Wale Ogunwale [Tue, 6 Jun 2017 17:07:58 +0000 (10:07 -0700)]
Fixed NPE in TaskStack.stepAppWindowAnimation
It is possible for an app token to be removed from the list if its last
window is removed. The problem was probably exposed by ag/
2267916
Change-Id: Ie4f36dfd0977e8a47b987e47a6ca97889bd3ef27
Fixes:
62368998
Test: go/wm-smoke
TreeHugger Robot [Tue, 6 Jun 2017 18:45:11 +0000 (18:45 +0000)]
Merge "Don't show unset score values for AccessPoints." into oc-dev
Jian Sun [Tue, 6 Jun 2017 18:29:58 +0000 (18:29 +0000)]
Merge "Fix visibility issue in AccountManager.getAuthTokenByFeatures." into oc-dev
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
TreeHugger Robot [Tue, 6 Jun 2017 17:46:31 +0000 (17:46 +0000)]
Merge "Don't allow removed DividerView to resize stack" into oc-dev
Evan Rosky [Tue, 6 Jun 2017 16:50:08 +0000 (09:50 -0700)]
Don't report focusableViewAvailable on add
This reverts a part of
2ae1bf568b68ea18431ab10aceeff3ec62aedb7b
RecyclerView relies on the old behavior. Will un-revert this (with
targetSdk check) once we have a solution for RecyclerView
Bug:
38352147
Test: RecyclerView Focus tests now pass
Change-Id: I7b0dfda295cd75e407bbd39a948b5585f8ed6e08
Sundeep Ghuman [Mon, 5 Jun 2017 23:10:38 +0000 (16:10 -0700)]
Don't show unset score values for AccessPoints.
Merged-In: I0fd96da6a06dafd8c8ebb435a2725ab155bd26ed
Bug: b/
3692675
Test: Visual confirmation
Change-Id: I52909bf55e6efabd2be6c17542f2a15135d25c62
Makoto Onuki [Tue, 6 Jun 2017 16:26:05 +0000 (16:26 +0000)]
Merge "Refer to ShortcutManagerCompat in the javadoc" into oc-dev
Felipe Leme [Fri, 2 Jun 2017 22:20:31 +0000 (15:20 -0700)]
Improved debug to diagnose Save issues.
Test: manual verification
Bug:
62272098
Change-Id: Id7a6765fbe4228fcabb6cc0df37c5fde102d7077
Wale Ogunwale [Tue, 6 Jun 2017 15:31:17 +0000 (08:31 -0700)]
Don't allow removed DividerView to resize stack
If a divider view is removed or in the process of been removed, then it
should no longer have any influence on the size of stacks.
Fixes:
62273599
Test: go/wm-smoke
Test: enter split-screen and make sure recents is visible, lock and
unlock the device and verify things look fine.
Change-Id: I79aca82be8a7013328b78e82f508c4ed9fa48a4a
Jeff Sharkey [Tue, 6 Jun 2017 15:19:19 +0000 (15:19 +0000)]
Merge "Give Doclava our manifest; more permission docs." into oc-dev
Aurimas Liutikas [Thu, 18 May 2017 17:51:48 +0000 (10:51 -0700)]
Remove usages of ActionBarActivity.
ActionBarActivity has been deprecated for 2+ years and has been
extending AppCompatActivity for all that time. These changes
should be no-ops.
Bug:
35253513
Test: None
Change-Id: Ica46ccbc2b29a6a3399f7deed6045c1f7e1cd429
(cherry picked from commit
19bda3d9176b02198df4cec807d86e6797f8993e)
Bryce Lee [Tue, 6 Jun 2017 00:25:59 +0000 (17:25 -0700)]
Associate freezing display with a target display id.
Currently, start/stop freezing is always associated with the default
display. As a result, any animations that result from freezing will
occur on the default display. One situation this happens is during a
configuration change, where a screen rotation can be triggered. In
the case of adding a secondary display, a configuration change is
always triggered to apply the override configuration at the display
level. As a result, the default display exhibits a rotation animation
upon unfreezing during surface placement.
This changelist passes down the display id associated with the action
so that the animations may be applied to the right display. In the
scenario described perviously, the secondary display id is passed down
and therefore is the target of the rotation animation during
unfreezing.
Fixes:
35486733
Test: go/wm-smoke
Test: cts-tradefed run singleCommand cts-dev --module CtsViewTestCases --test android.view.cts.SurfaceViewSyncTest#testSmallRect
Change-Id: I87e56f5901934327fc50b3c7e543b5e36b8ff34f
Todd Kennedy [Tue, 6 Jun 2017 14:51:10 +0000 (07:51 -0700)]
always adjust per-user application info
Test: manual; it runs
Change-Id: I98db17ebe9ebe34a5affad44300a55ed68adb565
Fixes:
36561125
Rebecca Silberstein [Tue, 6 Jun 2017 14:42:54 +0000 (14:42 +0000)]
Merge "WifiConfiguration: add local only networkId" into oc-dev
Bryce Lee [Tue, 6 Jun 2017 14:26:28 +0000 (14:26 +0000)]
Merge "Coordinate configuration changes and window frame size." into oc-dev
Bryce Lee [Thu, 27 Apr 2017 20:42:23 +0000 (13:42 -0700)]
Coordinate configuration changes and window frame size.
Previously, it was possible for the view hierarchy to be measured,
laid out, and drawn around a window frame size that did not match
the current configuration. This stems from new configurations not
always propagating back from WindowSession#relayout, which is
called from ViewRootImpl.
This changelist makes WindowManagerService#relayoutWindow always
return the latest configuration. It also adds rotation to the
configuration.
Fixes:
32839232
Test: go/wm-smoke
Test: Open Camera while rotating phone to landscape. Added
temporary logs to detect inconsistencies between measurements
and reported rotation on draw.
Change-Id: I39daca338b4f87eff1a509eb99493f01e710ced1
Guang Zhu [Tue, 6 Jun 2017 03:29:05 +0000 (03:29 +0000)]
Merge "Revert "Disabled task snapshot for TV"" into oc-dev
Guang Zhu [Tue, 6 Jun 2017 03:27:44 +0000 (03:27 +0000)]
Revert "Disabled task snapshot for TV"
Bug:
62360140
Bug:
62040693
This reverts commit
4256422eb6752294a08f4701dd66798652a8059f.
Change-Id: Id89de52c9ad25ef7b3163bd8b4a0c44f97631431
TreeHugger Robot [Tue, 6 Jun 2017 01:41:08 +0000 (01:41 +0000)]
Merge "Don't verify instant apps" into oc-dev
Christopher Tate [Tue, 6 Jun 2017 01:13:52 +0000 (18:13 -0700)]
Fix #
62350081 - annotate permission requirements
The Alarm Manager APIs that allow callers to ascribe wakelock time
to other apps are gated on the UPDATE_DEVICE_STATS permission.
Document this with the appropriate annotation.
Test: N/A
Change-Id: Idf5548089fb7d2235139ae8ba7bf58e7f455eb33
TreeHugger Robot [Tue, 6 Jun 2017 00:30:02 +0000 (00:30 +0000)]
Merge "Add ERI (enhanced roaming indicator) 66 to list of home ERIs for Verizon" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 00:04:31 +0000 (00:04 +0000)]
Merge "Disabled task snapshot for TV" into oc-dev
TreeHugger Robot [Mon, 5 Jun 2017 23:57:01 +0000 (23:57 +0000)]
Merge "Reinstate SurfaceView Background from N" into oc-dev
Jeff Sharkey [Mon, 5 Jun 2017 23:38:17 +0000 (17:38 -0600)]
Give Doclava our manifest; more permission docs.
We've seen some @SystemApi methods protected with non-system
permissions, so give Doclava the platform AndroidManifest.xml so it
can parse the actual permission protection levels to look for APIs
that are letting in non-system apps.
Also document more @SystemApi permissions.
This is purely a docs change; no logic changes are being made.
Test: make -j32 update-api
Bug:
62263906
Change-Id: Ie0f0a5fb0033817bcc95060f2183a52ae4ae7b06
TreeHugger Robot [Mon, 5 Jun 2017 23:29:42 +0000 (23:29 +0000)]
Merge "Fix icon tint on notification shelf" into oc-dev
Doris Liu [Fri, 2 Jun 2017 00:34:13 +0000 (17:34 -0700)]
Better error message for AVD
Moved the error checking to an earlier stage of the AVD, so that
the error message can contain more information.
BUG:
36571432
Test: Follow the repro step in b/
36244835, the error message
is much clear now.
Change-Id: Ibc6a0e666cc4c23c3dfa589755a77a015da2db1c
TreeHugger Robot [Mon, 5 Jun 2017 22:37:02 +0000 (22:37 +0000)]
Merge "Initialize last-orientation to ensure we don't skip loading config." into oc-dev
Jeff Sharkey [Mon, 5 Jun 2017 22:19:41 +0000 (22:19 +0000)]
Merge "Annotate @SystemApi with required permissions." into oc-dev
Erik Wolsheimer [Mon, 5 Jun 2017 21:46:36 +0000 (21:46 +0000)]
Merge "Revert "Fix race condition triggered by quick stop/start of Dream"" into cw-f-dev am:
7a5dd1c3ff
am:
51a89ee90c
Change-Id: I982b94c155849061a667b1bf90f7a511bb81b1c5
Erik Wolsheimer [Mon, 5 Jun 2017 21:38:33 +0000 (21:38 +0000)]
Merge "Revert "Fix race condition triggered by quick stop/start of Dream"" into cw-f-dev
am:
7a5dd1c3ff
Change-Id: Ida35556f6d57113ad06c736ef780580b814f673e
TreeHugger Robot [Mon, 5 Jun 2017 21:26:39 +0000 (21:26 +0000)]
Merge "Fix tinting of guest icon in QS footer" into oc-dev
TreeHugger Robot [Mon, 5 Jun 2017 21:24:44 +0000 (21:24 +0000)]
Merge "Revert "Fix race condition triggered by quick stop/start of Dream"" into cw-f-dev
Sudheer Shanka [Mon, 5 Jun 2017 21:22:32 +0000 (21:22 +0000)]
Merge "Ignore entries for isolated uids if there's no mapping for them." into oc-dev
Matthew Ng [Fri, 2 Jun 2017 19:46:33 +0000 (12:46 -0700)]
Add back recents staggering entrance animation
Since there was a change in ValueAnimator that did not allow setting
initial play time per interpolator grouped in an AnimatorSet, set the
initial play time for each animation to allow the same effect.
Change-Id: I05445bde6e185a99250d7d193bd0e74d5ce98fa0
Fixes:
36175824
Test: manual - launch recents
Selim Cinek [Mon, 5 Jun 2017 20:44:20 +0000 (13:44 -0700)]
Fixed an issue where USER_ALL notifications were showing
The public mode for USER_ALL notifications were always
showing not on the lockscreen and therefore were visible
even if the user decided otherwise.
Test: runtest systemui
Change-Id: Ie4b312b0013df7d5ece81f89f754644efb66fe21
Fixes:
62259623
sunjian [Thu, 11 May 2017 22:42:31 +0000 (15:42 -0700)]
Fix visibility issue in AccountManager.getAuthTokenByFeatures.
Bug:
34679769
Test: manual, APCT
Change-Id: I7270a5a5dd681ad088fa28e48d849ba3541e45cd
Jason Monk [Mon, 5 Jun 2017 19:50:06 +0000 (19:50 +0000)]
Merge "Fix up some jank from unnecessary reinflation" into oc-dev
Jeff Sharkey [Fri, 2 Jun 2017 23:36:26 +0000 (17:36 -0600)]
Annotate @SystemApi with required permissions.
Most @SystemApi methods should be protected with system (or higher)
permissions, so annotate common methods with @RequiresPermission to
make automatic verification easier.
Verification is really only relevant when calling into system
services (where permissions checking can happen on the other side of
a Binder call), so annotate managers with the new @SystemService
annotation, which is now automatically documented.
This is purely a docs change; no logic changes are being made.
Test: make -j32 update-api && make -j32 offline-sdk-docs
Bug:
62263906
Change-Id: I2554227202d84465676aa4ab0dd336b5c45fc651
TreeHugger Robot [Mon, 5 Jun 2017 19:18:05 +0000 (19:18 +0000)]
Merge "Added mising sendToTarget message for dismissing docked stack" into oc-dev
Keyvan Amiri [Sat, 3 Jun 2017 00:28:31 +0000 (17:28 -0700)]
Disabled task snapshot for TV
This was causing memory leaks when opening/closing Apps view. Will
disable this feature on TV since we are running low on RAM.
Bug:
62040693
Test: Compiles
Change-Id: Ifc43118dd072f17a047003d1797004bd441669b8
Daniel Sandler [Mon, 5 Jun 2017 19:03:26 +0000 (19:03 +0000)]
Merge changes from topic 'dungeon' into oc-dev
* changes:
Hide redundant foreground service notifications.
Updates to Dianne's Dungeon.