OSDN Git Service
Jeff Sharkey [Tue, 21 Feb 2017 17:51:23 +0000 (10:51 -0700)]
Clear cache space when allocating bytes.
Fleshes out remainder of allocation implementation, where we offer
to clear cached data to satisfy the allocation request. To prevent
abuse, we never let apps allocate into either the minimum cache space
or low storage space.
Clean up quota APIs to require the caller to pass in the path they're
interested in, and we resolve the underlying filesystem for them.
Defines settings that can be used to tweak the minimum cache space.
Test: builds, boots
Bug:
34690590
Change-Id: I85bc07399f91ee4aa568a8a54c615646bf748ad4
Paul Duffin [Mon, 20 Feb 2017 13:03:59 +0000 (13:03 +0000)]
Merge "Avoid using JUnit code in production WallpaperCropper" am:
9598c98db0 am:
e4add524e9
am:
1f2955ad0d
Change-Id: I0921dc15784c2aff6b1b1c4ce33fe8aed0eaba98
Paul Duffin [Mon, 20 Feb 2017 12:56:22 +0000 (12:56 +0000)]
Merge "Avoid using JUnit code in production WallpaperCropper" am:
9598c98db0
am:
e4add524e9
Change-Id: I8c22e84feff3fa597403a7de6300528f823268d7
Paul Duffin [Mon, 20 Feb 2017 12:48:55 +0000 (12:48 +0000)]
Merge "Avoid using JUnit code in production WallpaperCropper"
am:
9598c98db0
Change-Id: I15b0bbe22d18feca699ecaf4146dc9e2c279e5b5
Paul Duffin [Mon, 20 Feb 2017 12:40:17 +0000 (12:40 +0000)]
Merge "Avoid using JUnit code in production WallpaperCropper"
Paul Duffin [Mon, 20 Feb 2017 12:33:42 +0000 (12:33 +0000)]
Avoid using JUnit code in production WallpaperCropper
Bug:
30188076
Test: make checkbuild
Change-Id: Ib6fe445a246d15dbabb8b86f9251b0059ed216b5
Philipp Weiß [Mon, 20 Feb 2017 12:04:16 +0000 (12:04 +0000)]
Merge "Remove Quicksettings footer in QuickQSPanel"
Jerome Gaillard [Mon, 20 Feb 2017 11:35:52 +0000 (11:35 +0000)]
Merge "Update FontFamily_Delegate following Change I1d6e1c4c"
Rubin Xu [Mon, 20 Feb 2017 11:03:22 +0000 (11:03 +0000)]
Merge "Normalize empty credential into null"
TreeHugger Robot [Mon, 20 Feb 2017 10:59:34 +0000 (10:59 +0000)]
Merge "Add support for remote views backed auto-fill UI"
Andrei Stingaceanu [Mon, 20 Feb 2017 10:27:03 +0000 (10:27 +0000)]
Merge "AutoSize TextView (part 10) - final APIs"
Svet Ganov [Sun, 19 Feb 2017 08:06:22 +0000 (00:06 -0800)]
Add support for remote views backed auto-fill UI
Test: CTS and manual
Change-Id: Ia09f0208d78439491052e4886a0e71c387b73370
TreeHugger Robot [Mon, 20 Feb 2017 04:05:57 +0000 (04:05 +0000)]
Merge "MediaSessionService: Notify volume key long-presses when the screen is off"
Jaewan Kim [Fri, 17 Feb 2017 14:14:10 +0000 (23:14 +0900)]
MediaSessionService: Notify volume key long-presses when the screen is off
When the screen is off, MediaSessionService doesn't get the volume key
long-press events from the PhoneWindowManager because PhoneWindowManager
intercepts them and only sends initial down and up events.
This is intended because users cannot see the safety warning dialog
which warns users about too loud volume.
This CL assumes that volume key is long-pressed if the key up doesn't
happen after the initial down within the long-press timeout, and notify
them with IOnVolumeKeyLongPressListener.
Bug:
35328001
Test: Manual test
Change-Id: I3b5aec4c2dd66a181bf41786f1417cc65874356c
Phil Weaver [Sun, 19 Feb 2017 04:48:15 +0000 (04:48 +0000)]
Merge "Verify fingerprint exists before using it"
Colin Cross [Sun, 19 Feb 2017 03:27:30 +0000 (03:27 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start""
TreeHugger Robot [Sat, 18 Feb 2017 23:53:07 +0000 (23:53 +0000)]
Merge "AudioService: prevent NPE on an invalid PIID"
TreeHugger Robot [Sat, 18 Feb 2017 23:47:06 +0000 (23:47 +0000)]
Merge "Fix a race in persisting instant cookie"
Colin Cross [Sat, 18 Feb 2017 20:05:47 +0000 (20:05 +0000)]
Revert "Remove outdated emulator check which causes BT to not start"
This reverts commit
d98a4e502165d76d05e095608da3c795bd56eafd.
Change-Id: Ibd1596584928f2aa2c799501536abc9b384d1cda
Svet Ganov [Sat, 18 Feb 2017 04:48:24 +0000 (20:48 -0800)]
Fix a race in persisting instant cookie
Test: CTS passes and manual too
Change-Id: I8beb7edb84e5f7e2a181a9c237d6f0f761805d70
Tetsutoki Shiozawa [Sat, 18 Feb 2017 06:28:47 +0000 (06:28 +0000)]
Merge "Apply RTL layout to the title of ResolverActivity" am:
2122e42e9b am:
add56f7b66
am:
046194a0a7
Change-Id: Ic431cf76e498998b2b9c6d2e40ee46bd00db5a4d
Colin Cross [Sat, 18 Feb 2017 06:27:33 +0000 (06:27 +0000)]
Merge "WallpaperCropper has no tests, it doesn't need junit" am:
a34472b7e6 am:
11436455cf
am:
de523d80d1
Change-Id: Ib567b678baa71884b7d8b5b603cd4a9e3ced1c75
TreeHugger Robot [Sat, 18 Feb 2017 06:19:27 +0000 (06:19 +0000)]
Merge "resolve merge conflicts of
a110feee4cac to master"
TreeHugger Robot [Sat, 18 Feb 2017 04:40:26 +0000 (04:40 +0000)]
Merge "Removes an already defined warning in aapt."
TreeHugger Robot [Sat, 18 Feb 2017 04:23:41 +0000 (04:23 +0000)]
Merge "Fix a race when persisting cookie data"
Pulkit Bhuwalka [Sat, 18 Feb 2017 04:12:29 +0000 (20:12 -0800)]
resolve merge conflicts of
a110feee4cac to master
Test: Resolved merge conflict. Built locally.
Change-Id: If8e439d513ac2242b82f67a4c68bc3adfabe2b9c
TreeHugger Robot [Sat, 18 Feb 2017 02:59:29 +0000 (02:59 +0000)]
Merge "Fix Rgba16fTests@testTransferFunctionsShader test"
TreeHugger Robot [Sat, 18 Feb 2017 02:48:37 +0000 (02:48 +0000)]
Merge "Removing unnecessary call to ArraySet#toArray"
Aurimas Liutikas [Fri, 17 Feb 2017 20:06:41 +0000 (12:06 -0800)]
Removes an already defined warning in aapt.
Apps that expect to use the current SDK don't specify anything in their
manifest and the build system rightfully injects the current SDK.
Any apps that specify their own <uses-sdk> or versionCode are telling
the build system that they are purposely using some other minSdkVersion,
etc (support library demos).
Test: None
Change-Id: I0aba3a71e15703c7bcafcf4d35608a1851dd8567
Fixes:
34901699
TreeHugger Robot [Sat, 18 Feb 2017 02:25:35 +0000 (02:25 +0000)]
Merge "Fixes issues where the PiP menu activity is out of sync."
TreeHugger Robot [Sat, 18 Feb 2017 02:19:12 +0000 (02:19 +0000)]
Merge "Shared library test case addition"
TreeHugger Robot [Sat, 18 Feb 2017 02:18:20 +0000 (02:18 +0000)]
Merge "Minor improvements to help diagnose auth workflow."
Jean-Michel Trivi [Sat, 18 Feb 2017 01:23:36 +0000 (17:23 -0800)]
AudioService: prevent NPE on an invalid PIID
When looking for the AudioPlaybackConfiguration to act on a player,
check that the PIID is valid.
(Note that this is also handled in checkConfigurationCaller())
Test: see bug
Bug
35484407
Change-Id: Ic46ad10f9730593f6600175ab3ca8f496cc6d972
Svet Ganov [Sat, 18 Feb 2017 01:23:29 +0000 (17:23 -0800)]
Fix a race when persisting cookie data
bug:
34983226
Test: CTS passes
Change-Id: I457154fecdc15c057e276358e443d3c941128ab2
Svetoslav Ganov [Sat, 18 Feb 2017 01:22:58 +0000 (01:22 +0000)]
Merge "Use accessibility action for touch exploration"
TreeHugger Robot [Sat, 18 Feb 2017 01:15:04 +0000 (01:15 +0000)]
Merge "resolve merge conflicts of
e86b78a57404 to master"
TreeHugger Robot [Sat, 18 Feb 2017 01:13:59 +0000 (01:13 +0000)]
Merge "Move Badging from ScoredNetwork to NetworkingBadging."
Romain Guy [Sat, 18 Feb 2017 01:09:21 +0000 (17:09 -0800)]
Fix Rgba16fTests@testTransferFunctionsShader test
RGBA16F bitmaps used as an SkBitmapShader would not set the hasLinearTexture
flag in the program description, causing a shader to be generated without
the proper opto-electronic transfer function.
Bug:
35482305
Test: bit -t CtsUiRenderingTestCases:android.uirendering.cts.testclasses.Rgba16fTests
Change-Id: I23354f8189a6b27b677eac9df82677e91282a31d
TreeHugger Robot [Sat, 18 Feb 2017 01:06:48 +0000 (01:06 +0000)]
Merge "Fix background sensor usage counter"
TreeHugger Robot [Sat, 18 Feb 2017 01:04:55 +0000 (01:04 +0000)]
Merge "Change MaskableIconDrawable to AdaptiveIconDrawable"
TreeHugger Robot [Sat, 18 Feb 2017 00:47:29 +0000 (00:47 +0000)]
Merge "Audio focus enforcement: use VolumeShaper for ducking"
TreeHugger Robot [Sat, 18 Feb 2017 00:44:52 +0000 (00:44 +0000)]
Merge "Add escrow token APIs to TrustAgentService Security review: b/
31273740 Design doc: go/auto_login Test: manual Change-Id: Ib11d4146135a58f1dc451ae8e081977a8f8e6ace"
Winson Chung [Fri, 17 Feb 2017 18:46:17 +0000 (10:46 -0800)]
Fixes issues where the PiP menu activity is out of sync.
- When the menu activity is hidden or destroyed by the system, we should
reset the state so that we can restore the input consumer and show again
property next time the PiP is interacted with.
- Also ensuring that non-focused pinned stack windows are not added to the
input window list
Bug:
35462085
Bug:
34281221
Test: Relaunch a PiP activity that is single top.
Test: Launch a new task/activity from a PiP activity after
the menu is visible.
Change-Id: I43829cce50669de704caf5a720c2adf7daf92398
Adam Lesinski [Sat, 18 Feb 2017 00:39:13 +0000 (00:39 +0000)]
Merge "Add ResTable_sparseTypeEntry support"
TreeHugger Robot [Sat, 18 Feb 2017 00:24:53 +0000 (00:24 +0000)]
Merge "Fix instant app resolution"
TreeHugger Robot [Sat, 18 Feb 2017 00:21:19 +0000 (00:21 +0000)]
Merge "Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV"
TreeHugger Robot [Sat, 18 Feb 2017 00:20:48 +0000 (00:20 +0000)]
Merge "Send TIME_SET to manifest receivers, too"
TreeHugger Robot [Sat, 18 Feb 2017 00:11:37 +0000 (00:11 +0000)]
Merge changes Ie28325b6,I4e406a94
* changes:
Display on-going notification for apps using alert windows.
Set importance for processes displaying app-overlays based on visibility
Tetsutoki Shiozawa [Sat, 18 Feb 2017 00:11:27 +0000 (00:11 +0000)]
Merge "Apply RTL layout to the title of ResolverActivity" am:
2122e42e9b
am:
add56f7b66
Change-Id: I00cd1ae9bd14043f6ad893076d4adebb59d4cde5
Suprabh Shukla [Sat, 18 Feb 2017 00:09:47 +0000 (16:09 -0800)]
Removing unnecessary call to ArraySet#toArray
Iterating over ArraySet using iterators is still more efficient than
first calling ArraySet#toArray and then iterating over the array.
Test: Minor optimization. make and existing tests should suffice.
Change-Id: Ifc282bfca98cf89b047dddddd78a6de020f27381
TreeHugger Robot [Sat, 18 Feb 2017 00:08:55 +0000 (00:08 +0000)]
Merge "Add logging constant for settings search result click"
Tetsutoki Shiozawa [Sat, 18 Feb 2017 00:07:27 +0000 (00:07 +0000)]
Merge "Apply RTL layout to the title of ResolverActivity"
am:
2122e42e9b
Change-Id: Ibf9e9d7a0a397e314588322b5c8228cf5fa23957
Fan Zhang [Thu, 16 Feb 2017 01:12:58 +0000 (17:12 -0800)]
Add logging constant for settings search result click
Bug:
34975477
Test: Builds
Change-Id: Ie59fb0639c6aa4044ba4fdb0a71dd489bd2d3b68
TreeHugger Robot [Sat, 18 Feb 2017 00:05:34 +0000 (00:05 +0000)]
Merge "Move volume dialog expander"
Colin Cross [Sat, 18 Feb 2017 00:01:24 +0000 (00:01 +0000)]
Merge "WallpaperCropper has no tests, it doesn't need junit" am:
a34472b7e6
am:
11436455cf
Change-Id: I5c15471c8e98a1a45df669c2d7a6a2956c9227b8
TreeHugger Robot [Sat, 18 Feb 2017 00:00:59 +0000 (00:00 +0000)]
Merge "Frameworks: Re-add tagsoup to preloaded-classes"
Colin Cross [Fri, 17 Feb 2017 23:57:56 +0000 (23:57 +0000)]
Merge "WallpaperCropper has no tests, it doesn't need junit"
am:
a34472b7e6
Change-Id: I1a2c5018f2f85bb21fccdccd3c736fdc844dcf92
Treehugger Robot [Fri, 17 Feb 2017 23:57:24 +0000 (23:57 +0000)]
Merge "Apply RTL layout to the title of ResolverActivity"
Colin Cross [Fri, 17 Feb 2017 23:49:03 +0000 (23:49 +0000)]
Merge "WallpaperCropper has no tests, it doesn't need junit"
Pulkit Bhuwalka [Fri, 17 Feb 2017 23:32:37 +0000 (23:32 +0000)]
Merge "Remove outdated emulator check which causes BT to not start" am:
ad7fb62d4f
am:
806ac5e1dd
Change-Id: I05b90b0f77fa74268f2f92bfa2e4decec3af5745
TreeHugger Robot [Fri, 17 Feb 2017 23:29:06 +0000 (23:29 +0000)]
Merge "Fix leak in NotificationStackScroller by nulling out translatingParent"
Pulkit Bhuwalka [Fri, 17 Feb 2017 23:28:09 +0000 (23:28 +0000)]
Merge "Remove outdated emulator check which causes BT to not start"
am:
ad7fb62d4f
Change-Id: Ia6f9417e6b21ec7911036b8875b9603f8b36152e
TreeHugger Robot [Fri, 17 Feb 2017 23:27:54 +0000 (23:27 +0000)]
Merge "AssetManager2: Various fixes"
Treehugger Robot [Fri, 17 Feb 2017 23:20:23 +0000 (23:20 +0000)]
Merge "Remove outdated emulator check which causes BT to not start"
TreeHugger Robot [Fri, 17 Feb 2017 23:15:22 +0000 (23:15 +0000)]
Merge "Camera: Make CameraMetadataNative compile-time initializable"
TreeHugger Robot [Fri, 17 Feb 2017 23:13:46 +0000 (23:13 +0000)]
Merge "Append entries for real"
Dongwon Kang [Fri, 17 Feb 2017 23:07:37 +0000 (23:07 +0000)]
Merge "TIF: specify the type for COLUMN_INTERACTION_COUNT"
Phil Weaver [Fri, 17 Feb 2017 22:55:13 +0000 (14:55 -0800)]
Use accessibility action for touch exploration
Explore-By-Touch has been dispatching touch events to the screen
rather than using the accessibility API. This was intended as a
workaround for apps that did not properly handle accessibility,
but the workaround itself has been causing bugs in corner cases
where properly accessible Views are partially covered by windows.
This CL first tries to dispatch a click action, and falls back on
the touch dispatch only if the click action fails.
Bug:
35200501
Bug:
26216304
Bug:
20665958
Bug:
34949365
Bug:
34844480
Bug:
29535082
Test: Poking around with first party apps and TalkBack works fine.
This behavior isn't covered by automated testing.
Change-Id: I9cc18399d8f40f7381dfcbef91b5991b711bb7f1
TreeHugger Robot [Fri, 17 Feb 2017 23:06:13 +0000 (23:06 +0000)]
Merge "Catch reentrancy while executing postponed transactions."
TreeHugger Robot [Fri, 17 Feb 2017 23:05:44 +0000 (23:05 +0000)]
Merge "Modifying dpm.setSecureSetting call for install_non_market_apps"
Colin Cross [Fri, 17 Feb 2017 23:05:08 +0000 (15:05 -0800)]
resolve merge conflicts of
e86b78a57404 to master
Test: none
Change-Id: I8bf02f8198d003c4453cc59b7a3bccdff688ca15
TreeHugger Robot [Fri, 17 Feb 2017 22:43:57 +0000 (22:43 +0000)]
Merge "Put package verifier on the power whitelist when invoked"
Android Build Merger (Role) [Fri, 17 Feb 2017 22:40:52 +0000 (22:40 +0000)]
Merge "Merge "Show connection error reason for Passpoint AP" am:
855889b086 am:
4896a04013 am:
012a9c1f6e"
Yuxin Chang [Fri, 17 Feb 2017 22:40:17 +0000 (22:40 +0000)]
Merge "Show connection error reason for Passpoint AP" am:
855889b086 am:
4896a04013
am:
012a9c1f6e
Change-Id: Icde372b38103016deec0670e66ba8bb821a21a4f
Christopher Tate [Fri, 17 Feb 2017 22:33:52 +0000 (14:33 -0800)]
Send TIME_SET to manifest receivers, too
Also expand the slew window for minimizing the effects of time-set
flapping from 500ms to 1000ms.
Bug
35319393
Change-Id: I6d6df1e086115ebe12c0bc4b9d761a11a0267012
Ray Essick [Fri, 17 Feb 2017 22:39:35 +0000 (22:39 +0000)]
Merge "Metrics for android.media.MediaRecorder"
Etan Cohen [Fri, 17 Feb 2017 22:36:42 +0000 (22:36 +0000)]
Merge "[AWARE] Remove enableUsage/disableUsage API" am:
647f2e1493 am:
8e32c1b718
am:
313b7c3613
Change-Id: I4382b1f5e25a15a96a1bca7e1492d3d1791c093e
Etan Cohen [Fri, 17 Feb 2017 22:33:35 +0000 (22:33 +0000)]
Merge "[AWARE] Add discovery window period configuration" am:
17532ec02e am:
f8637d5c04
am:
2fd54ee28a
Change-Id: Iba971429f57c90e0397e06f4d679ef2e3e660f41
Colin Cross [Fri, 17 Feb 2017 22:31:08 +0000 (22:31 +0000)]
Merge changes I82aa8140,Ib62a5dd6,I2c4d64e2 am:
313e645801
am:
3c2c2764d4
Change-Id: I14e60ae916b81d5193d2bc08daa63282d426a49f
Yuxin Chang [Fri, 17 Feb 2017 22:30:16 +0000 (22:30 +0000)]
Merge "Show connection error reason for Passpoint AP" am:
855889b086
am:
4896a04013
Change-Id: I14f9205148adbb1819ed3c40b6536d1c72cd6536
Julia Reynolds [Fri, 17 Feb 2017 22:30:08 +0000 (22:30 +0000)]
Merge "Hide incomplete feature."
Todd Kennedy [Fri, 17 Feb 2017 21:13:42 +0000 (13:13 -0800)]
Fix instant app resolution
Resolving intents with a specified component goes down a different
path than regular resolution. For Instant Apps, that meant that
sometimes the Instant App was not able to resolve it's own
activities. Added some new CTS tests to verify that this works.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest
Change-Id: Ic8a8eaef7eb9e230fdc701c79c85227d0939d974
Etan Cohen [Fri, 17 Feb 2017 22:26:51 +0000 (22:26 +0000)]
Merge "[AWARE] Remove enableUsage/disableUsage API" am:
647f2e1493
am:
8e32c1b718
Change-Id: I52340c790fe638c0baf8d48e5880b1e8ac8e408f
Colin Cross [Fri, 17 Feb 2017 22:25:53 +0000 (22:25 +0000)]
Merge changes I82aa8140,Ib62a5dd6,I2c4d64e2
am:
313e645801
Change-Id: Ia10d20ea4ebabc2cc84524950dec7570104b185f
Etan Cohen [Fri, 17 Feb 2017 22:24:04 +0000 (22:24 +0000)]
Merge "[AWARE] Add discovery window period configuration" am:
17532ec02e
am:
f8637d5c04
Change-Id: Ife1cfc7e027b858844a1a251843e0669d0ce3720
Yuxin Chang [Fri, 17 Feb 2017 22:22:05 +0000 (22:22 +0000)]
Merge "Show connection error reason for Passpoint AP"
am:
855889b086
Change-Id: I164f575dfc5dd69912f433e46b1d70b1fd11b1e6
TreeHugger Robot [Fri, 17 Feb 2017 22:21:01 +0000 (22:21 +0000)]
Merge "fallout of splitting rect.h out of libandroid."
Julia Reynolds [Wed, 15 Feb 2017 20:41:14 +0000 (15:41 -0500)]
Move volume dialog expander
Bug:
33760714
Bug:
32727078
Test: manual
Change-Id: I06934bf140483957b734d5b1b20e3c7c6b7b4497
Etan Cohen [Fri, 17 Feb 2017 22:18:32 +0000 (22:18 +0000)]
Merge "[AWARE] Remove enableUsage/disableUsage API"
am:
647f2e1493
Change-Id: Ic48804f3e2ecac6a817d261f9f9cbfc505b01716
Etan Cohen [Fri, 17 Feb 2017 22:15:29 +0000 (22:15 +0000)]
Merge "[AWARE] Add discovery window period configuration"
am:
17532ec02e
Change-Id: I62ba5123aafb236d756a4cafe7829717e8e542f9
TreeHugger Robot [Fri, 17 Feb 2017 22:09:54 +0000 (22:09 +0000)]
Merge "Allow the shell to set USB functions."
Tony Mantler [Fri, 17 Feb 2017 22:04:00 +0000 (14:04 -0800)]
Move InputMethodAndSubtypeEnabler to SettingsLib and port to TV
Bug:
35315463
Test: adb shell am start -a android.settings.INPUT_METHOD_SUBTYPE_SETTINGS
Change-Id: Ibd62633259fe06b3971130eab158f077ef066a95
Wale Ogunwale [Mon, 13 Feb 2017 17:50:02 +0000 (09:50 -0800)]
Display on-going notification for apps using alert windows.
Allows the user to associate alert windows with specific apps
and revoke the permission if they want.
Test: manual
Bug:
33256752
Change-Id: Ie28325b6bb799b3df253770ebe655f97ebbadd90
Pulkit Bhuwalka [Wed, 15 Feb 2017 00:27:10 +0000 (16:27 -0800)]
Remove outdated emulator check which causes BT to not start
ro.kernel.qemu based check to determine whether Bluetooth should be
started or not was an old hack used when "features" was not available to
determine hardware availability. This was later fixed with the
hasSystemFeature check. However, the old check was not removed.
The presence of the old check causes Bluetooth to not start on Android
Things devices which have ro.kernel.qemu set for graphics usage. It's
also preferable to depend on the system API rather than on build
configs. Related CLs modify the emulator builds to correct the config in
builds.
Bug:
35361545
Change-Id: I219ce5e14709c76dcba43af4693093e985269d43
Test: Verified by launching bluetooth on local devices after removing
the old check. Also verified by booting up the emulator and verifying
that Bluetooth Services do not start.
Colin Cross [Fri, 17 Feb 2017 21:44:21 +0000 (21:44 +0000)]
Merge changes I82aa8140,Ib62a5dd6,I2c4d64e2
* changes:
Enable multidex for SystemUITests
Add missing transitive dependencies
Revert "Remove support of disabling Jack."
Wale Ogunwale [Thu, 16 Feb 2017 03:34:01 +0000 (19:34 -0800)]
Set importance for processes displaying app-overlays based on visibility
We were previously setting this based on when the window was added and
removed. This can lead to issues where an app isn't allowed to show
alert windows so window manager hides the window after the permission is
revoked, but the window still exist in the system so the process
importance will still be high. We now set the process importance based
on if it has visible window surfaces or not.
Bug:
33256752
Test: cts/.../run-test CtsAppTestCases android.app.cts.AlertWindowsTests
Change-Id: I4e406a94683ec0eecc0911d0195e641c693e1c4a
Treehugger Robot [Fri, 17 Feb 2017 21:34:34 +0000 (21:34 +0000)]
Merge "Show connection error reason for Passpoint AP"
Etan Cohen [Fri, 17 Feb 2017 21:33:39 +0000 (21:33 +0000)]
Merge "[AWARE] Remove enableUsage/disableUsage API"
Etan Cohen [Fri, 17 Feb 2017 21:26:03 +0000 (21:26 +0000)]
Merge "[AWARE] Add discovery window period configuration"
Suprabh Shukla [Fri, 10 Feb 2017 02:06:18 +0000 (18:06 -0800)]
Modifying dpm.setSecureSetting call for install_non_market_apps
Starting from O, install_non_market_apps is deprecated and will not be
checked by the package installer. Device admin apps should be using the
user restriction instead.
Since on managed profiles, the default value blocked install from
unknown sources, the system will set the user restriction on behalf of
the profile owners (if the profile has one).
For non-managed profiles, the user had access to the settings to change
the value of install_non_market_apps. So going forward, any request to
change it's value by dpm#setSecureSetting in such users is going to be
ignored.
Test: Manually tested that:
1. For a profile with PO, when install_non_market_apps was set to 0,
user restriction is set on upgrade
2. For a profile with PO, when install_non_market_apps was set to 1,
user restriction is not set on upgrade
3. After upgrade, newly created managed profiles with PO have user
restriction set
Bug:
33947615
Change-Id: I063e9ee608b52086ffdf8ed2b24e2928574c58cd