| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Add a flag so that when a foreground client binds to a service,
disallow the bound service to launch activity from background.
Modify the WallpaperManagerService to take advantage of the new flag.
Test: atest BackgroundActivityLaunchTest WallpaperManagerServiceTests
Bug: 298094386
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8efec2c0958ef8316cd24f7c79de818a7ca4cde9)
Merged-In: Id4e4cb6144597cf3638f2aaa34ea455a239fa1a7
Change-Id: Id4e4cb6144597cf3638f2aaa34ea455a239fa1a7
|
| |\
| |
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 release 35
Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Context service name for accessing AudioDeviceVolume manager.
Add support in VolumeInfo to know whether it carries an explicit
mute/unmute information (vs just default value of isMuted()).
Bug: 244326361
Test: atest android.media.audio.cts.AudioDeviceVolumeManagerTest
Test: atest android.media.audio.cts.VolumeInfoTest
Change-Id: Id718fbd7e0d5795ac480d9188faad4a70fba9808
Merged-In: Id718fbd7e0d5795ac480d9188faad4a70fba9808
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ZeNiXxX
* Bring to Android 10
DennySPb: adapt to 11, 12
Change-Id: I33153b451f5d38d83e226be0f76bda1ed022dd48
policy: introduce pocket lock
* Block touch screen and keys inputs when device is in pocket.
* Safe-door to disable pocket lock within long press power button
if sensors do not behave correctly after PocketManager.isDeviceInPocket()
returns true.
* Window uses TYPE_SYSTEM_ERROR flag with ensure high
priority over the lockscreen and other high priority windows.
* Do not illuminate buttons when pocket lock is showing.
* Disable fingerprint events and gestures when in pocket
* Be friendly towards Keypress Boost
Contributors:
Carlo Savignano <carlosavignano@aospa.co>
Chris Lahaye <dev@chrislahaye.com>
Anas Karbila <anaskarbila@aospa.co>
Alex Naidis <alex.naidis@linux.com>
Park Ju Hyung <qkrwngud825@gmail.com>
Ticket: NOUGAT-15
ZeNiXxX
* Fix booting issues
* Fix NPEs
* Bring to Android 10
DennySPb: adapt for 11, 12
Change-Id: I34108fa38f28f15b0b99c8ebb6551dcc4dabad14
pocket: Add hardware acceleration and properly maintain SYSTEM_UI flags
Change-Id: I585598242beec34bd92c5df5836ab395b36cea05
PocketService: Adjust light sensor rate to 400ms
We already adjusted the proximity sensor rate to
400ms, so adjust the rate for the light sensor
accordingly and create a tunable.
Change-Id: Ie6dda80df8cdc677eb6cdb873a5ce1e888572fe7
pocket: introduce pocket bridge
This service communicates pocket state to the pocket judge kernel driver.
It maintains the pocket state by binding to the pocket service.
Ticket: NOUGAT-49
Change-Id: Iee77f767f23d3f77a0d1d871f9305f3b3c6d6630
pocket: Adjust sleep timeout for pocket lock view to 10 secs
- Fix the case where user sets a high value for sleep timeout in display settings
and the pocket view is also displayed for that much duration.
Change-Id: If6c4daa1fd98992141f22db70e0e86d5d990f789
pocket: Fix pocket lock view for display cutouts
- Use LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES layout
flag to extend pocket lock view for display cutout mode.
Change-Id: I21e4e47cf999b3a0f3d6ebf9165ba9f5596ece0e
Pocket lock improvements
* Fix auto hide not working correctly
* Restore systemui visibility when hidden
ZeNiXxX
* remove faceunlock logic and adapt for android 10
Change-Id: I61b38798d01775b252af88abb01dd2423b3a7638
pocket: Use MD2 lock drawable
Change-Id: Ifb89a68505a9f9b401a2474b5179ea65e9c0e3ce
pocket: Reduce sleep timeout for pocket lock
*if the proximity value changes within 10s, pocketlock exits to lockscreen. Inorder to avoid that reduce timeout to 3s
Change-Id: Iee08801534bebacc2fc62f0bc6e3a0712ce12712
Pocket lock: Add config_pocketModeSupported overlay
Change-Id: I6768c9f8cdd40b2a62df3bd9ddfa04022d69ce10
PocketLock: fix flickering on animations
Change-Id: I4b5499042d0e9ae8f73ecf5c32030d146f640362
PocketJudge: allow register vendor pocket sensor
Some devices (ie OnePlus) have own pocket sensor. This change allow to use
native pocket sensor instead of proximity and light.
Sensor name must be specified in device tree overlay.
In this case PocketService will try to use vendor sensor first.
If sensor wasn't found, fallback sensors (proximity and light) will be in use.
Example for OnePlus sensor:
<string name="config_pocketJudgeVendorSensorName">oneplus.sensor.pocket</string>
Change-Id: Ibe423478cfd9d49e0831e2df0af793178f62c0e0
Fix an edge case in KeyguardUpdateMonitor pocket callback
Change-Id: If872c365ab22bd744c610b136b442ff161c65522
base: Redo Pocket mode view like OOS
Change-Id: I037f5120315581cade60b6c11a64b07cc47ba376
SystemUI: Improve pocket mode layout
Change-Id: I590bc187a5e205102b129fbb9e3625f51b532afd
PocketLock: Make using light sensor optional
* On some devices using light sensor may break autobrightness
Change-Id: I2bb4aad1ecc6808a4546dfdcada4335074d0d40e
PocketJudge: Allow to register vendor proximity sensor
Some devices (ie OnePlus) have bunch of proximity sensors
and default one may not work properly. This change allow to use
particular proximity sensor.
Example for OnePlus infrared proximity sensor:
<string name="config_pocketJudgeVendorProximitySensorName">oneplus.sensor.infrared.proximity</string>
Change-Id: I208bcd1ac68bae805c9848175edc8d598e550b7e
pocket lock: Increase to 15 sec the pocket lock screen
during a call, vibration stop working when pocket lock screen turn off
15 seconds should be enough to feel the vibration
Change-Id: Iebfc61b4c3f31119e126f70475b1d1ed0f6812c2
Co-authored-by: Chris Lahaye <dev@chrislahaye.com>
Co-authored-by: Anas Karbila <anaskarbila@aospa.co>
Co-authored-by: Alex Naidis <alex.naidis@linux.com>
Co-authored-by: Park Ju Hyung <qkrwngud825@gmail.com>
Co-authored-by: TheStrix <parthbhatia98@gmail.com>
Co-authored-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
Co-authored-by: Anushek Prasal <anushekprasal@gmail.com>
Co-authored-by: RadixCube <radixcube@gmail.com>
Co-authored-by: DennySPb <dennyspb@gmail.com>
Co-authored-by: paphonb <paphonb@gmail.com>
Co-authored-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Co-authored-by: Laker <lakerman1987@gmail.com>
Co-authored-by: Hikari-no-Tenshi <kyryljan.serhij@gmail.com>
Signed-off-by: Semavi Ulusoy <doc.divxm@gmail.com>
Change-Id: I25029f02eff7e5f65b4c135762e53278d2e308e6
|
| |
|
|
|
|
|
|
| |
Commit I47d6f86fd159aa993971366ee9d7d334644d391e changed how bindServiceAsUser behaves with INTERACT_ACROSS_USERS. This was a change in T, but the documentation accidentally referred to S. So we fix that.
Bug: 209989958
Change-Id: Ib8f614bfa4ae1b4333c56dec3e6cae731e4137ee
Test: N/A
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This parameter is useful for when a broadcast's intent is not targeting
specific package and it is not wanted to be delievered to a specific
one.
Test: Install two apps and create shell command argument to exlude
packages, verify the correct packages can receive or get
skipped. Verified with manifest and registered receivers.
Bug: 231635380
Bug: 210118427
Merged-In: I9a331f71c7052b294d4eada0f0f658dba989d881
Change-Id: I9a331f71c7052b294d4eada0f0f658dba989d881
|
| |/
|
|
|
|
|
|
|
|
|
|
|
| |
Repurpose the legacy BIND_VISIBLE to this new flag, as the BIND_VISIBLE
was actually never implemented.
This new flag is for use by the system or persistent processes,
the process state of the service process will be bumped to
the PROCESS_STATE_FOREGROUND_SERVICE, with oom adj score "visible".
Bug: 230897753
Test: atest MockingOomAdjusterTests
Change-Id: If86ec9281ec482a0916c78338ae88cf2199256e4
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
33c901faa0 am: 87f1412190
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2065471
Change-Id: I073708caa4a94b4b17d444e977fc464518ce0cfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | |
| |
| |
| |
| | |
Test: n/a
Change-Id: I5c5853cfb88c69e5cf39456fbc163af522410331
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since we're no longer planning on enforcing the flag requirement for
exported/not exported in T, we should update the compat change so that
it's disabled, which will allow developers to still test it, change the
error message so it doesn't reference Android T, and remove the
additional system property that enabled stricter enforcement.
Test: atest ContextText
Bug: 225057637
Change-Id: Ibdc079ef7e92954422ddde715b3a4ae358f552e3
|
| | |
| |
| |
| |
| |
| | |
Test: Builds
Bug: 218553530
Change-Id: I8685909ddb838b3a0535fc1e38c736f3ae9f4411
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Introduces layer mirorring of a single task, given the task is both
identified (future work - dependency on setup flow in SysUI) and the
flag is enabled (currently disabled).
Error handling (tearing down the VirtualDisplay if task recording setup failed)
will come in a future change
Bug: 216625226
Test: atest WmTests:DisplayContentTests
Test: atest WmTests:ContentRecorderTests
Change-Id: I16abd55ce75537ff8fbbb379e4970668ea02a230
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 215555831
Test: atest android.permission.cts.RevokeSelfPermissionTest
Change-Id: I887e2b8a86868352e772537addd8cd20ef305d7b
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes a bug where self-revocation didn't work in multi-user
settings. Now the correct context is used throughout the call stack and
the permission for the calling user will be revoked.
Also added a checked IllegalArgumentException (previously unchecked
SecurityException) when trying to revoke a permission that is not
currently granted.
Test: manual using two users and
atest android.permission.cts.RevokeOwnPermissionTest
Bug: 218788609
Change-Id: I3dce34b8b956b4d1eb0ac1e34b6fdbf1795aa269
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 07f7f3ff5b1ec96cb8a9e7e0bfcbb0769157a3a2.
Currently, Context#startActivityAsUser(Intent, UserHandle) has
already been a System API. This CL furthur makes
startActivityAsUser with ActivityOptions a System API.
This is enssential to launch an Activity to the secondary display
by setting launched display ID in ActivityOptions.
This also align the behavior of startActivity. We made all versions
of startActivity public APIs.
Bug: 199829817
Change-Id: I334c2a98483e709559162ad64f3b69cbd3b615d2
Test: atest AnnotationTest
CTS-Coverage-Bug: 222189824
|
| |\|
| |
| |
| |
| |
| |
| |
| | |
am: 7756ed8db8 am: 2348bd2d17
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1995510
Change-Id: Ice2ac318fa773a406a416316e66e92bbca5b5b1e
|
| | |\
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1995510
Change-Id: I5868cc709613ee77b9cd40866582b58614dcc249
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Staged: https://android.devsite.corp.google.com/reference/android/content/Context#bindService(android.content.Intent,%20int,%20java.util.concurrent.Executor,%20android.content.ServiceConnection)
Test: Built API documentation
Signed-off-by: joneckenrode <joneckenrode@google.com>
Change-Id: I9b5466441b7b5cb4deb5a8cc25cfd01a83be80ca
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
b/213625234." am: 08bb407612 am: e5a25d1d7c am: 5577fb24aa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1975966
Change-Id: I5b946df3374fc6ab223378d018135f78806cd001
|
| | |\|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
b/213625234." am: 08bb407612
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1975966
Change-Id: I608e10bbd7208ed90f23ab25ac28c5512a3ea4ca
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
See b/213625234.
Test: Built API documentation
Signed-off-by: joneckenrode <joneckenrode@google.com>
Change-Id: Icb2eb3eb13c291dca9fc6857db3a8657a23856f7
|
| | |\ \
| | |/
| |/|
| | |
| | |
| | | |
Bug: 214455710
Merged-In: I8cfa435bb6233818adb9cc99dadeeb06a03443d5
Change-Id: Ib93992d88fd1704179009a3872798b9e7b83a6d1
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(cherry-pick from downstream branch)
Merged-In: Ie9fb547e166e6c881dfd04383050375a11f84a9b
Test: Built successfully
Bug: 189954300
Change-Id: I5ee56ddd84d38ee24b559fea278c263d424508ed
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(cherry-pick from downstream branch)
Test: loaded on device.
Bug: 189954300
Merged-In: I399cdba08846a3eca1d7cd9378607b30fa8fd72d
Change-Id: Ib9ef2a7b34abe18b1a7a4b48f9a09bc2d5856ac6
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
KeyguardManager#isDeviceSecure() shall return false when called on a virtual display
Bug: 210153811
Test: atest CtsVirtualDevicesTestCases:DefaultDisplayIsDeviceSecureTest CtsVirtualDevicesTestCases:StreamedAppBehaviorTest#isDeviceSecure_shouldReturnFalseOnVirtualDisplay
Change-Id: I5149b08fde8d3a09e484ea965035bd5e7d2bff7b
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Does not remove Support Library artifacts from docs classpath (ApiDocs.bp)
because they are still used in development/samples, which is not as easy
to migrate as javadoc.
Bug: 158779503
Test: make docs
Exempt-From-Owner-Approval: Mass find/replace for androidx migration
Change-Id: Icf7f53ec36a0e970413352e2ebf40ce9d60ed17e
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This CL is mainly from the requirements to receive WindowMetrics
updates in Jetpack Library. It also benefits the developers if
they want to listen to Activity's configuration changes outside
Activity
Test: atest RegisterComponentCallbacksTest
Bug: 199442549
Change-Id: Iff5c0a4d9c61d30b84ff9aee465f1b6b06f1a48d
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Test: None, this is just a doc update
Bug: 210387494
Change-Id: Ib6555c9c419e2f5b890d31c249f09207632d7724
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In the previous CL (Ib53e2cdf45a10454), I mistakenly deprecated the wrong
flag. This CL fixes it.
Bug: 189235490
Test: prebuilt
Change-Id: I79c1f63475d80e0b077b577f32ae2cbca37edad2
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: Make
Bug: 216474405
Change-Id: I272e15cba8c09d5ce7f28d219f91e07cdee048bb
|
| |\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | | |
* changes:
Server implementation of WallpaperEffectsService API.
Data class and interface for wallpaper effects generation api.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: manual build and run cts on devices
Bug: 213238425
CTS-Coverage-Bug: 213238425
Change-Id: I8c3d579a5123aaa99999f9d0df92998cec9dec34
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
be stale."
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
be stale.
Test: None
Bug: 165859619
Change-Id: I0fb642c310ac33a4a79bff94683864d1fc80824a
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 216731966
Test: Compile and Test
Change-Id: Ic8e9c2db0743738b2b6649451c79a559c3b8edc5
|
| |\ \ \ \ \ |
|
| | | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Sample of results:
history
0
class=class android.content.res.Resources
resourcesImpl
class=class android.content.res.ResourcesImpl
assets
class=class android.content.res.AssetManager
apkAssets=
0
class=class android.content.res.ApkAssets
debugName=<empty> and /system/framework/framework-res.apk
assetPath=/system/framework/framework-res.apk
1
class=class android.content.res.ApkAssets
debugName=/product/overlay/GoogleConfigOverlay.apk
assetPath=/product/overlay/GoogleConfigOverlay.apk
Fixes: 206615535
Test: Called from custom app to confirm format and info
Change-Id: I19a9fc60b61fff86e5b41a2d789d6dde8acf51a3
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
CTS-Coverage-Bug: 210528288
Bug: 216507592
Test: RBE Built redfin-eng and tested on a physical device
Change-Id: Ic9505f659befa01938b413e1e1944c3aaa0e8a0c
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 197684182
Created a new system service that aggregates information about:
1) signed partitions on device
2) APEXs installed on device
3) Modules installed on device
Introduces new adb shell commands as below:
adb shell cmd transparency get image_info [-a]
adb shell cmd transparency get apex_info [-v]
adb shell cmd transparency get module_info [-v]
Test: Built and tested locally on a bramble - the device boots.
Issuing adb shell commands as above provides correct outputs.
Change-Id: I2cae1bd794456688779c70c65b3f5ec8bcd7c6b3
|
| | |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
CTS-Coverage-Bug: 210528288
Bug: 210528288
Test: RBE Built redfin-eng and tested on a physical device
Change-Id: I640be77dbf05633b7a17ada73ea261dbd0027697
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
apps to subscribe for AmbientContextEvents, and a provider API for AiAi to implement and provide the detected events."
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
to subscribe for AmbientContextEvents, and a provider API for AiAi to implement and provide the detected events.
Client apps need the ACCESS_AMBIENT_CONTEXT_EVENT permission to use the service. The permission protection level is internal|role.
API overview: http://go/ambient-framework-api
PRD: http://go/ambient-attribution-prd
Design doc: http://go/ambient-service-api
Test: CTS test
Bug: 192476579
Change-Id: I9daede83af34f215c278cb0530238faba1be5c70
Ignore-AOSP-First: to prevent new feature leak.
|
| |\ \ \ \ \ |
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
based on advice from API Council
And unhide TvInteractiveAppView and TvInteractiveAppInfo
Bug: 213836031
Bug: 205738783
Test: atest android.media.tv.interactive.cts.TvInteractiveAppViewTest
Change-Id: I6b97f89dd29efed1b4248faae366fbf1a56b0614
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Test: atest android.permission.cts.RevokeOwnPermissionTest
Bug: 215555831
Bug: 210575642
Bug: 210387494
Change-Id: I94e29f66d13ac76669fab2ccc08879c30c26b7ea
|