OSDN Git Service
Matthew Ng [Mon, 13 Feb 2017 19:09:37 +0000 (11:09 -0800)]
Unminimizing after toggle screen on/off shows docked app correctly (1/2)
When turning screen off when in minimized mode with resizable launcher,
then turning screen back on and unminimizing, it would have the
incorrect position of the divider from the started split position and
the docked app would have the wrong task bounds compared to its stack
bounds (so the docked app looks clipped). Block toggling minimized state
when screen turns off when being minimized will fix this.
Fixes:
34937502,
35388501
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases
android.server.cts.ActivityManagerDockedStackTests
Change-Id: I255a56d6b4041586f9125ee39f6e75a3c61f544f
TreeHugger Robot [Wed, 22 Mar 2017 21:27:36 +0000 (21:27 +0000)]
Merge "Adding source bounds hint to support better PiP transition."
Geoffrey Pitsch [Wed, 22 Mar 2017 21:15:59 +0000 (21:15 +0000)]
Merge "AccountManagerService send pkg uid when creating notification channel"
TreeHugger Robot [Wed, 22 Mar 2017 21:14:00 +0000 (21:14 +0000)]
Merge "Prevent downgrade of targetSandboxVersion"
Fyodor Kupolov [Wed, 22 Mar 2017 21:02:08 +0000 (21:02 +0000)]
Merge "Added concurrency test"
Amith Yamasani [Wed, 22 Mar 2017 20:49:27 +0000 (20:49 +0000)]
Merge "Logging to track #
36406078"
Geoffrey Pitsch [Wed, 22 Mar 2017 20:42:43 +0000 (16:42 -0400)]
AccountManagerService send pkg uid when creating notification channel
AccountManager needs to pass the app's uid explicitly in order for the
channel lookup to not fail. Requires separate API that only system can
call.
Bug:
36511867
Test: Install Clankium and reboot device, observe Notification
Change-Id: I6ddd87d755b4b2129565dd275e799b0349a80936
Amith Yamasani [Wed, 22 Mar 2017 20:37:15 +0000 (13:37 -0700)]
Logging to track #
36406078
Bug:
36406078
Test: N/A
Change-Id: I9724fa8511686a342bf25d1979c17c0a4700e292
TreeHugger Robot [Wed, 22 Mar 2017 20:37:44 +0000 (20:37 +0000)]
Merge "AVRCP version interop pereference (3/3)"
Rob Carr [Wed, 22 Mar 2017 20:26:36 +0000 (20:26 +0000)]
Merge "SurfaceView: Fix Surface leak when changing format."
TreeHugger Robot [Wed, 22 Mar 2017 20:04:20 +0000 (20:04 +0000)]
Merge "PlayerBase: more general exception catching in release"
Winson Chung [Thu, 2 Mar 2017 23:40:51 +0000 (15:40 -0800)]
Adding source bounds hint to support better PiP transition.
Bug:
35396882
Test: Start a transition with source bounds hint.
Change-Id: I4897242af84744bc05a093111a15ea52e49815e8
Fyodor Kupolov [Wed, 22 Mar 2017 00:16:17 +0000 (17:16 -0700)]
Added concurrency test
Test 2 threads repeatedly calling getAccounts while 1 thread calls
setAuthToken.
Example output:
I AccountManagerServiceTest: readTotalTime=1468 avg=36.7
I AccountManagerServiceTest: writeTotalTime=813 avg=40
Bug:
36485175
Test: AccountManagerServiceTest
Change-Id: Iee66339ceeb8f149eb9fc0906c537db60465d475
TreeHugger Robot [Wed, 22 Mar 2017 19:25:14 +0000 (19:25 +0000)]
Merge "Update “don’t snooze” in expanded snooze menu to cancel"
TreeHugger Robot [Wed, 22 Mar 2017 19:21:09 +0000 (19:21 +0000)]
Merge "cherry-pick from nyc-mr1-dev docs: Removing Android docs from Gerrit Original Change-Id: I5331cdc968be817ff70ba32dd03fce76493a6ab8 Test: make ds-docs"
Winson Chung [Wed, 22 Mar 2017 18:56:02 +0000 (18:56 +0000)]
Merge "Removing per-user PiP component."
Jerome Gaillard [Wed, 22 Mar 2017 18:55:07 +0000 (18:55 +0000)]
Merge "Update FontFamily_Delegate following Change Ia23ee6a7"
TreeHugger Robot [Wed, 22 Mar 2017 18:41:57 +0000 (18:41 +0000)]
Merge "Fix crash on user switch."
Ajay Panicker [Mon, 20 Mar 2017 21:20:52 +0000 (14:20 -0700)]
AVRCP version interop pereference (3/3)
Add a mechanism to allow the user to select the AVRCP version broadcasted
through SDP in the developer options. This helps solve some interoperability
issues such as with Honda Carkits where broadcasting AVRCP version 1.6 causes
media metadata to fail.
Bug:
35956792
Test: Select AVRCP version through developer option
Change-Id: Ibc271063058b6324b1a0517c6b853f8d7e6eb0f3
Chris Tate [Wed, 22 Mar 2017 18:07:43 +0000 (18:07 +0000)]
Merge "Give shell the CHANGE_DEVICE_IDLE_TEMP_WHITELIST permission"
Bryce Lee [Wed, 22 Mar 2017 18:07:20 +0000 (18:07 +0000)]
Merge "Do not allow Tasks to influence orientation under some conditions."
TreeHugger Robot [Wed, 22 Mar 2017 18:03:40 +0000 (18:03 +0000)]
Merge "Revive old method to prevent crash internal app."
Dan Shi [Wed, 22 Mar 2017 17:55:53 +0000 (17:55 +0000)]
Merge "Add test configs to apct tests under frameworks/base"
Tenghui Zhu [Wed, 22 Mar 2017 17:34:25 +0000 (17:34 +0000)]
Merge "disable versioning for objectAnimator to support path motion"
TreeHugger Robot [Wed, 22 Mar 2017 17:33:55 +0000 (17:33 +0000)]
Merge "Autofill a manual request directly when it only has one dataset."
TreeHugger Robot [Wed, 22 Mar 2017 17:20:51 +0000 (17:20 +0000)]
Merge "Don't call setAutofillId() when populating virtual structure for Assit."
Kirill Grouchnikov [Wed, 22 Mar 2017 17:07:29 +0000 (17:07 +0000)]
Merge "Add support for tinting icon menus"
Jorim Jaggi [Wed, 22 Mar 2017 17:02:55 +0000 (17:02 +0000)]
Merge "When snapshots are disabled, fill it with single color."
Mady Mellor [Wed, 22 Mar 2017 16:57:35 +0000 (09:57 -0700)]
Update “don’t snooze” in expanded snooze menu to cancel
Test: manual - snooze notification, expand menu, note ‘cancel’ option
Bug:
36249627
Change-Id: I6ea834df0b0f93ed89b5b26dc54cc404402cd962
Jerome Gaillard [Wed, 22 Mar 2017 16:55:04 +0000 (16:55 +0000)]
Update FontFamily_Delegate following Change Ia23ee6a7
Test: layoutlib tests
Change-Id: I8815060f9bab65f913a0272e439f6c86a63acbcf
Anthony Chen [Wed, 22 Mar 2017 16:54:37 +0000 (09:54 -0700)]
Fix crash on user switch.
Recent changes in SystemUI expects taht the navigation bar have a parent
view that is not the WindowManager. Inflate navigation_bar_window as the
parent view for the CarNavigationBar as this is the view that the
default StatusBar users.
Test: verified that user switching no longer results in a crash
Bug:
36070562
Change-Id: I3e9c2efd4caa7b36478e621bc2dd6f7e41ad7fbd
Jorim Jaggi [Wed, 22 Mar 2017 16:42:52 +0000 (16:42 +0000)]
Merge "Add API to disable snapshotting of activities"
Bryce Lee [Fri, 10 Mar 2017 22:14:03 +0000 (14:14 -0800)]
Do not allow Tasks to influence orientation under some conditions.
When all AppWindowTokens belonging to a Task are closing, it should
not be considered for orientation. Likewise, if a task is moving to
the bottom, it should also not be considered.
Change-Id: Ie387457c413d5360afbb0ac8edb112f81feab81b
Fixes:
35699615
Test: bit FrameworksServicesTests:com.android.server.wm.TaskStackTests#testClosingAppDifferentStackOrientation
Test: bit FrameworksServicesTests:com.android.server.wm.TaskStackTests#testMoveTaskToBackDifferentStackOrientation
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testTaskCloseRestoreOrientation
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testTaskMoveToBackOrientation
Philip P. Moltmann [Wed, 22 Mar 2017 16:20:35 +0000 (16:20 +0000)]
Merge "Use only official pdfium APIs"
Seigo Nonaka [Wed, 22 Mar 2017 16:14:33 +0000 (09:14 -0700)]
Revive old method to prevent crash internal app.
Bug:
36509029
Test: N/A
Change-Id: I4e04847de7b61a790323257c09da9a960a6689d5
TreeHugger Robot [Wed, 22 Mar 2017 16:11:42 +0000 (16:11 +0000)]
Merge "Don't unlock the work profile if it is turned off."
Winson Chung [Wed, 22 Mar 2017 05:16:42 +0000 (22:16 -0700)]
Removing per-user PiP component.
- This was added in ag/923778 for TV, where the TV recents activity, which
is started per-user, needed to reference the PiP bounds to coordinate the
layout of the PiP UI in recents. As a result of that change, the PiP
manager for both phones and TV was being instantiated multiple times,
once for the primary user, and another for secondary/managed users. With
each instantiation of the PipManager, we were re-registering the input
consumer, and once the process was killed, the input consumer was not
being cleaned up correctly and it not longer was registered with the
primary SystemUI which drives the PiP.
As of ag/
1964066, the TV recents code is removed, so we can now safely
remove the PipUI component for secondary users as well, ensuring only a
single PipManager/InputConsumerController instance.
This does not prevent PiP from working in secondary users, but only
leaves the input consumer and menu controller in the primary user's
SystemUI.
- Fix some crashes when interacting with the PiP in a secondary user,
all communication between the menu controller and the menu activity
should be done in a parcelable way as the menu activity runs per-user
- Adding exception when the PipUI component is not created for the primary
user
- Initial changes to dump input consumers in WM to be able to correlate
them with SysUI's state
Bug:
35792308
Test: Ensure PiP component is not started for secondary user, verify that
it still works on secondary users
Change-Id: I3df10860227498bc37799ad296f0a4b71b87d30e
Signed-off-by: Winson Chung <winsonc@google.com>
TreeHugger Robot [Wed, 22 Mar 2017 15:40:11 +0000 (15:40 +0000)]
Merge "Unhide Typeface construction APIs."
Jean-Michel Trivi [Wed, 22 Mar 2017 15:39:42 +0000 (08:39 -0700)]
PlayerBase: more general exception catching in release
When stopping AppOps watching in the player release, catch
any exception to be safer.
Test: see bug repro steps
Bug:
36240191
Change-Id: I8e11cfc12c305878699dc57131e35e2a98eb7b16
Jorim Jaggi [Tue, 14 Mar 2017 17:21:40 +0000 (18:21 +0100)]
When snapshots are disabled, fill it with single color.
Test: Launch DisableScreenshotsActivity, go to recents, make sure
content is blue. Reopen activity from home, make sure starting
window is blue.
Bug:
31339431
Change-Id: I29689774c3cdcb784d8f5bfa4f947a6f35b91e01
Felipe Leme [Wed, 22 Mar 2017 15:26:29 +0000 (08:26 -0700)]
Don't call setAutofillId() when populating virtual structure for Assit.
Change-Id: Ia96b5fd6ed7b8f7909b9df59cee57f606a0b37da
Fixes:
36503715
Test: manual verification
TreeHugger Robot [Wed, 22 Mar 2017 15:20:31 +0000 (15:20 +0000)]
Merge "Null check! Now with a test"
TreeHugger Robot [Wed, 22 Mar 2017 15:06:42 +0000 (15:06 +0000)]
Merge "Move global actions to sysui and add plugin interface"
Kirill Grouchnikov [Tue, 21 Mar 2017 17:52:09 +0000 (13:52 -0400)]
Add support for tinting icon menus
Test: CTS tests in separate CL (same topic)
Bug:
31545315
Change-Id: I8877c77dab9b7b229b4246012b9380beadeb4790
Jorim Jaggi [Wed, 22 Feb 2017 15:45:48 +0000 (16:45 +0100)]
Add API to disable snapshotting of activities
Test: runtest frameworks-services -c
com.android.server.wm.TaskSnapshotControllerTest
Test: Launch DisableScreenshotsActivity, go to recents, make sure
content is white.
Bug:
31339431
Change-Id: I329925d2fca389e561da3389a67fe888b5bb1033
TreeHugger Robot [Wed, 22 Mar 2017 14:51:24 +0000 (14:51 +0000)]
Merge "Move Accounts NotificationChannel earlier, before clearCallingIdentity"
Todd Kennedy [Wed, 22 Mar 2017 14:27:38 +0000 (14:27 +0000)]
Merge "Allow the Instant App installer to be dynamic"
TreeHugger Robot [Wed, 22 Mar 2017 14:03:56 +0000 (14:03 +0000)]
Merge "Allow channels to have a user visible description."
Jason Monk [Wed, 22 Mar 2017 00:33:59 +0000 (20:33 -0400)]
Move global actions to sysui and add plugin interface
- Move default global actions ui to sysui
- Add fallback legacy interface in case sysui breaks
- Switch to fallback if sysui dies or isn't responding
Test: Long-press power
Change-Id: I943522611de5dbbee61e66c67cf3a56379091e97
TreeHugger Robot [Wed, 22 Mar 2017 13:22:36 +0000 (13:22 +0000)]
Merge "XML Support for non system font providers"
TreeHugger Robot [Wed, 22 Mar 2017 13:18:31 +0000 (13:18 +0000)]
Merge "Explicitly rebind to a transport after timeout"
Andrew Scull [Fri, 3 Mar 2017 15:38:48 +0000 (15:38 +0000)]
Don't unlock the work profile if it is turned off.
Test: Turn off work, lock and unlock device with PIN/password/pattern,
turn on work and now you get a screen lock prompt.
Test: runtest frameworks-services -c com.android.server.LockSettingsServiceTests
Change-Id: I0c6946af4ffb1546ffbd4d80c11fa4b8ab5555bc
Clara Bayarri [Tue, 21 Feb 2017 18:19:11 +0000 (18:19 +0000)]
XML Support for non system font providers
The certs needed to identify non preinstalled providers
can now be declared in XML, using a resources array.
Test: runtest --path frameworks/base/core/tests/coretests/src/android/provider/FontsContractTest.java
runtest --path frameworks/base/core/tests/coretests/src/android/content/res/FontResourcesParserTest.java
Bug:
35025705
Change-Id: Ibf12ad409aa5a873ddb32b1383c147728e664c23
Michal Karpinski [Mon, 6 Mar 2017 17:24:57 +0000 (17:24 +0000)]
Explicitly rebind to a transport after timeout
When a TransportConnection received onServiceDisconnected() we give automatic rebinding
a chance, but if it doesn't happen within a few minutes we take matters into our hands
and attempt to rebind explicitly.
The timeout is significantly lower if the device is still unprovisioned - this is to increase
chances of proper transport binding during the setup process.
Bug:
34464359
Bug:
30964151
Test: manual, by crashing gms and gms.persistent process with "adb shell cmd activity crash #pid"
and waiting for timeout to kick in
Change-Id: Ia7e5b0e54faf48ba8566f50057a3cae8bb3ab137
TreeHugger Robot [Wed, 22 Mar 2017 09:46:44 +0000 (09:46 +0000)]
Merge "Use getPackageInfoAsUser in requestBufferForProcess"
Daichi Hirono [Wed, 22 Mar 2017 08:04:27 +0000 (08:04 +0000)]
Merge "Stop holding mProxyLock while downloading PAC script data." am:
7b26041ccc am:
42d6843aa4
am:
654d7c498c -s ours
Change-Id: I43e6660d0578dcb8f8d9f741466b0b51a8f40605
Daichi Hirono [Wed, 22 Mar 2017 07:59:54 +0000 (07:59 +0000)]
Merge "Stop holding mProxyLock while downloading PAC script data." am:
7b26041ccc
am:
42d6843aa4
Change-Id: Idc1b507555415d467669c7e1d1c9035b449de763
Daichi Hirono [Wed, 22 Mar 2017 07:55:57 +0000 (07:55 +0000)]
Merge "Stop holding mProxyLock while downloading PAC script data."
am:
7b26041ccc
Change-Id: Ie747a28fe588c15789d965d6274cb717ea9a5fb0
Treehugger Robot [Wed, 22 Mar 2017 07:47:19 +0000 (07:47 +0000)]
Merge "Stop holding mProxyLock while downloading PAC script data."
TreeHugger Robot [Wed, 22 Mar 2017 06:15:34 +0000 (06:15 +0000)]
Merge "Remove mediacodec from NATIVE_STACKS_OF_INTEREST."
Daichi Hirono [Fri, 17 Mar 2017 00:12:12 +0000 (09:12 +0900)]
Stop holding mProxyLock while downloading PAC script data.
Holding PacManager#mProxyLock for long time eventually causes ANR when
launching new applications.
1. ActivityThread#handleBindApplication blocks until
ActivityThread#handleBindApplication
-> ConnectivityService#getProxyForNetwork()
-> ConnectivityService#getDefaultProxy()
obtains the lock of ConnectivityService#mProxyLock
2. ConnectivityService#mProxyLock can be held by
ConnectivityService#setGlobalProxy() running on another thread until
ConnectivityService#setGlobalProxy()
-> ConnectivityService#sendProxyBroadcast()
-> PacManager#setCurrentProxyScriptUrl()
obtains the lock of PacManager#mProxyLock
3. Before the CL, PacManager#mProxyLock could be held by
mPacDownloader#run() on mNetThread until downloading a PAC script
completed.
The CL fixes the step 3 so that mPacDownloader#run does not keep the
lock of PacManager#mProxyLock. It eventually fixes long blocking at
ActivityThread#handleBindApplication and ANR when launching an
application.
Bug:
36317236
Test: Build succeeded
Merged-In: I864e41e1142178681f8f1b4fb7750d37e3ab2076
Change-Id: I864e41e1142178681f8f1b4fb7750d37e3ab2076
TreeHugger Robot [Wed, 22 Mar 2017 05:42:53 +0000 (05:42 +0000)]
Merge "Revert "Move expensive TextClock operations to onAttach""
TreeHugger Robot [Wed, 22 Mar 2017 05:09:02 +0000 (05:09 +0000)]
Merge "Stop holding mProxyLock while downloading PAC script data."
Daichi Hirono [Fri, 17 Mar 2017 00:12:12 +0000 (09:12 +0900)]
Stop holding mProxyLock while downloading PAC script data.
Holding PacManager#mProxyLock for long time eventually causes ANR when
launching new applications.
1. ActivityThread#handleBindApplication blocks until
ActivityThread#handleBindApplication
-> ConnectivityService#getProxyForNetwork()
-> ConnectivityService#getDefaultProxy()
obtains the lock of ConnectivityService#mProxyLock
2. ConnectivityService#mProxyLock can be held by
ConnectivityService#setGlobalProxy() running on another thread until
ConnectivityService#setGlobalProxy()
-> ConnectivityService#sendProxyBroadcast()
-> PacManager#setCurrentProxyScriptUrl()
obtains the lock of PacManager#mProxyLock
3. Before the CL, PacManager#mProxyLock could be held by
mPacDownloader#run() on mNetThread until downloading a PAC script
completed.
The CL fixes the step 3 so that mPacDownloader#run does not keep the
lock of PacManager#mProxyLock. It eventually fixes long blocking at
ActivityThread#handleBindApplication and ANR when launching an
application.
Bug:
36317236
Test: Build succeeded and manually set PAC script
Change-Id: I864e41e1142178681f8f1b4fb7750d37e3ab2076
TreeHugger Robot [Wed, 22 Mar 2017 04:22:15 +0000 (04:22 +0000)]
Merge "Explicitly call out email in "social" category."
TreeHugger Robot [Wed, 22 Mar 2017 04:21:40 +0000 (04:21 +0000)]
Merge "Generalize min/max docs."
TreeHugger Robot [Wed, 22 Mar 2017 03:58:32 +0000 (03:58 +0000)]
Merge "Block CE SharedPreferences access before unlocked."
TreeHugger Robot [Wed, 22 Mar 2017 03:51:54 +0000 (03:51 +0000)]
Merge "Deprecate EXTRA_STREAM."
TreeHugger Robot [Wed, 22 Mar 2017 03:16:57 +0000 (03:16 +0000)]
Merge "Better ContentProvider error messages."
TreeHugger Robot [Wed, 22 Mar 2017 02:57:14 +0000 (02:57 +0000)]
Merge "Update PageViewCursor to correctly load window."
Seigo Nonaka [Wed, 22 Mar 2017 02:49:00 +0000 (19:49 -0700)]
Unhide Typeface construction APIs.
These APIs are necessary to construct Typeface from various combination
TTC index, variation settings, etc.
Bug:
33062398
Test: android.graphics.cts.TypefaceTest passes
Change-Id: Ie069700ed4f67efbec55331bef867f94d58e2a61
Jeff Sharkey [Wed, 22 Mar 2017 02:47:56 +0000 (20:47 -0600)]
Generalize min/max docs.
Test: builds, boots
Bug:
35854472
Change-Id: Ic2505978f5872322affdc1a1ec23d84c7f1a1522
TreeHugger Robot [Wed, 22 Mar 2017 02:44:32 +0000 (02:44 +0000)]
Merge "Fix logic errors when checking the caller."
Jeff Sharkey [Wed, 22 Mar 2017 02:31:51 +0000 (20:31 -0600)]
Block CE SharedPreferences access before unlocked.
Otherwise we'll end up "loading" an empty XML file because the errno
is ignored, and then we'll overwrite the real XML data later once
the user is unlocked.
Test: builds, boots
Bug:
36252783
Change-Id: If185e552f661894f79842afaa4e56ab4d796ce2c
Jeff Sharkey [Wed, 22 Mar 2017 02:23:36 +0000 (20:23 -0600)]
Deprecate EXTRA_STREAM.
ClipData is much more flexible, and it should be used instead of
EXTRA_STREAM moving forward. To ensure that legacy apps continue
working, the OS will offer to promote/demote the ClipData value
from/to EXTRA_STREAM. (We already had the promotion logic, but we
were missing the demotion logic.)
Test: builds, boots
Bug:
35293781
Change-Id: I82cd0b95cf021292282649290ab046cc310fe160
TreeHugger Robot [Wed, 22 Mar 2017 02:19:23 +0000 (02:19 +0000)]
Merge "Implement runtime account update notifications."
TreeHugger Robot [Wed, 22 Mar 2017 02:13:46 +0000 (02:13 +0000)]
Merge "Should use getApplicationInfoAsUser instead"
Ian Pedowitz [Wed, 22 Mar 2017 02:09:13 +0000 (02:09 +0000)]
Revert "Move expensive TextClock operations to onAttach"
This reverts commit
dffe6fdfe1e25e3bad52c00ff6c978deb0327852.
Bug:
36472151
Change-Id: I98ba047bd4225d82414425a40e9a2e50c4473bf9
TreeHugger Robot [Wed, 22 Mar 2017 01:56:34 +0000 (01:56 +0000)]
Merge "Declare privileged permissions of Live TV app"
Fyodor Kupolov [Wed, 22 Mar 2017 01:56:02 +0000 (01:56 +0000)]
Merge "Support expiration of preloaded file cache"
TreeHugger Robot [Wed, 22 Mar 2017 01:43:34 +0000 (01:43 +0000)]
Merge "Add custom presentation (RemoteViews) on Dataset values."
TreeHugger Robot [Wed, 22 Mar 2017 01:42:23 +0000 (01:42 +0000)]
Merge "Change WifiTrackerFactory methods to static."
Jeff Sharkey [Wed, 22 Mar 2017 01:40:38 +0000 (19:40 -0600)]
Explicitly call out email in "social" category.
Test: builds, boots
Bug:
35294569
Change-Id: I08b2c1b1b95b6c2fc6fd7be417cd0f9547c8237b
Jeff Sharkey [Wed, 22 Mar 2017 01:25:34 +0000 (19:25 -0600)]
Better ContentProvider error messages.
Help guide developers towards ACTION_OPEN_DOCUMENT and related
APIs when a Uri is backed by a DocumentProvider.
Also help developer understand that we expected a valid
ContentProvider for Uri notifications.
Test: builds, boots
Bug:
32642790,
36075317
Change-Id: I8e0e3cb25b183c4a9a094a53018822a4212bdaf9
Christopher Tate [Wed, 22 Mar 2017 00:43:47 +0000 (17:43 -0700)]
Give shell the CHANGE_DEVICE_IDLE_TEMP_WHITELIST permission
Shell needs to have this permission in order for the deviceidle
tempwhitelist shell command to exist.
Bug
34715096
Test: cts-tradefed run cts -m CtsAppTestCases \
-t android.app.cts.ActivityManagerTest#testBackgroundCheckService
Change-Id: Ic1fdd87b6020649705ba0c9349dd00dd096037f3
Yunlian Jiang [Wed, 22 Mar 2017 00:36:30 +0000 (00:36 +0000)]
Merge "Fix warning: Potential leak of memory pointed to by 'set'" am:
58ba53bd53 am:
0889a8a070
am:
2b53748a21
Change-Id: Icec70d3e3efef0eea9c117911821dfd05bcb2ced
Wei Wang [Wed, 22 Mar 2017 00:34:11 +0000 (00:34 +0000)]
Merge "Remove bg_non_interactive cgroup" am:
c6c19bd6c0 am:
4ff81206e0
am:
98fa720826
Change-Id: If655104c7fcf319155bae82d0a3a2310f119a455
Calvin On [Wed, 22 Mar 2017 00:32:08 +0000 (00:32 +0000)]
Remove the now-empty WearBluetoothService from SystemServer am:
3bcc688bce am:
9a80c1799c
am:
94a93087c6 -s ours
Change-Id: I3d6b17e4bd1b118fd01b917dd9e261a24a8528f6
Yunlian Jiang [Wed, 22 Mar 2017 00:26:09 +0000 (00:26 +0000)]
Merge "Fix warning: Potential leak of memory pointed to by 'set'" am:
58ba53bd53
am:
0889a8a070
Change-Id: I8672f532a2ab43275a9204fe732b6b6ba1604388
Yunlian Jiang [Wed, 22 Mar 2017 00:21:57 +0000 (00:21 +0000)]
Merge "Fix warning: Potential leak of memory pointed to by 'set'"
am:
58ba53bd53
Change-Id: I7186dc35fb7f4a3c226e35447ce9c748164e7bf8
The Android Automerger [Wed, 22 Mar 2017 00:18:03 +0000 (00:18 +0000)]
Treehugger Robot [Wed, 22 Mar 2017 00:17:32 +0000 (00:17 +0000)]
Merge "Fix warning: Potential leak of memory pointed to by 'set'"
Renat Aksitov [Wed, 22 Mar 2017 00:13:30 +0000 (00:13 +0000)]
Merge "Voice Messaging Intent API."
Winson Chung [Wed, 22 Mar 2017 00:04:37 +0000 (00:04 +0000)]
Merge "Revert "Fixing issue with IME not showing after PiP menu is shown.""
TreeHugger Robot [Wed, 22 Mar 2017 00:02:21 +0000 (00:02 +0000)]
Merge "Update display contents when metrics change"
Conrad Chen [Mon, 20 Mar 2017 22:19:11 +0000 (15:19 -0700)]
Declare privileged permissions of Live TV app
Test: build
Bug:
35782070
Change-Id: Ia1e39dcf8fdd3345837ebec1729ad4d02699763b
Eugene Susla [Tue, 21 Mar 2017 23:58:29 +0000 (23:58 +0000)]
Merge "Add system feature for Companion Device Manager"
Winson Chung [Tue, 21 Mar 2017 23:50:28 +0000 (23:50 +0000)]
Revert "Fixing issue with IME not showing after PiP menu is shown."
This reverts commit
d703c63c5f7a7caf1f71515da71276ae90bcbef0.
Reason for revert: Causing b/
36466104
Test: Revert
Change-Id: I04823cc4294ac5da32908a79da1c8da592d71e34
Fyodor Kupolov [Mon, 20 Mar 2017 23:04:57 +0000 (16:04 -0700)]
Support expiration of preloaded file cache
When device is provisioned, we delete all files from /data/preloads
except file_cache. We should do best effort to keep file_cache during
the first config_keepPreloadsMinDays. After that,
persist.sys.preloads.file_cache_expired is set to 1, which indicates
that cache can be deleted when additional storage space is requested.
Bug:
34690396
Test: Manual + RetailDemoModeServiceTest
Change-Id: Ie584a9dd6689bcc5e6b3cb448e95dfe5f73d2eeb
Pawin Vongmasa [Tue, 28 Feb 2017 04:37:12 +0000 (20:37 -0800)]
Remove mediacodec from NATIVE_STACKS_OF_INTEREST.
See also: b/
36414311.
Test: Camera, Photos, YouTube, and Play Movies apps.
Bug:
35328855
Change-Id: I709644669f5bb7a5f3ad686b325f1f9f37f7a3d3