Conversation
Change-Id: Icd2a8171fee1dbd0ec0f2e4a98cac4ec9cab3ab5 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
*if the proximity value changes within 10s, pocketlock exits to lockscreen. Inorder to avoid that reduce timeout to 3s Signed-off-by: RadixCube <radixcube@gmail.com> Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com> Change-Id: Iee08801534bebacc2fc62f0bc6e3a0712ce12712
Change-Id: I235dadb95dba1d8836546b5398aaa63fd2c07433 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Change-Id: If782918895b1f9b8c8fb391efd347fb9e1e7e759
Change-Id: I0073d00528690cbe3a22808c004d863a11463c57 Signed-off-by: Simao Gomes Viana <xdevs23@outlook.com> Signed-off-by: NurKeinNeid <mralexman3000@gmail.com> Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Change-Id: Ia4cf09bdef39fc95a910c9aea2c22f043fcd7d7d Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
Pulled from Q Beta 3 SystemUI Also remove broken "It's" translations Change-Id: Ib84453605b13b90e1a4219b4e780ade11f1b8c28 Signed-off-by: Harsh Shandilya <harsh@prjkt.io> Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com> Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
* Allow to switch display mode for devices that support multiple mode (Ex.: OnePlus 7 Pro) aosip: remove the omni Change-Id: I76c20b4394a64cf9901cd67faf39eca421465fce Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
aosip edit: remove the omni Change-Id: I9e0b9db44f402be106806b1c45a50a75432f8cf1 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
If Combo Provider is listening for network locations, it will want to screen these locations before they are sent out to clients. Get the package name for combo provider from resouce instead of hardcoding the name. Also, geofence services provider is renamed to differentiate from the hal geofence provider Only screen network locations if Combo provider is the connected network location provider. Resolved issue where MockProvider was being cast to LocationProviderProxy and would cause a fatal exception CRs-fixed: 483398, 608477, 619882 Change-Id: I3156e85307b40aee9fb06b433c83153c84b8ed42
LocationManagerService tries to create an extra bundle and stick it into the location object, but it is not doing it correctly. As a result, combo drops report. Change-Id: I6f5886dd7f14819ecc7a4ed96c867a0ec486faf7 CRs-Fixed: 962746
Change-Id: I4d087827e3e1738c106c560928022be51a7664ab
* We need to pass "false" as another parameter to fix a jboolean check crash on eng builds. F system_server: runtime.cc:566] JNI DETECTED ERROR IN APPLICATION: unexpected jboolean value: 319040960 F system_server: runtime.cc:566] in call to CallStaticObjectMethodV F system_server: runtime.cc:566] from android.graphics.GraphicBuffer android.view.SurfaceControl.nativeCaptureLayers(android.os.IBinder, android.graphics.Rect, float) Change-Id: I7a88225d3ebeb5d74b209cd1f962f1da3c1e8290 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Symptom: When the device language was set to Spanish, "A.M." label was not fully displayed on the time picker widget. "M." was lacked. Root cause: There are unnecessary right paddings on the layout definition of time picker. It uselessly consumes the room for ampm_layout. Bug: 64498105 Change-Id: Ie52fafc0fb7d6d6ea5b0ca2eaeb53755d4aebc19
To control Pip in secondary users, tv/PipManager needs to register the receiver handling ACTION_MEDIA_RESOURCE_GRANTED for all users. Test: manual - start video playback in restricted profile Change-Id: Iefceacf4a65229ab2ffaa0b607171cd6ee8ae272
After typing a wrong PIN, the EditText view will be disabled and lose the focus, as a result, inputs from hardware keyboard won't be sent to PIN EditText. Test: 1. Enable PIN lock Test: 2. Lock the device with Power key Test: 3. Enter wrong PIN from a physical keyboard Test: 4. Try to enter PIN again with physical keyboard Bug: 119287260 Change-Id: I04df523c19c99bef75ea481b44154f7ba2270689 Signed-off-by: Wang, ArvinX <arvinx.wang@intel.com> Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
Restart the navigation bar upon change of density or font scale, then the facet buttons of navigation bar will be scaled properly. Test: Settings->Display->Advanced->Display size->Largest bug: 122563094 Change-Id: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507 Merged-In: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507 Signed-off-by: Lei,RayX <rayx.lei@intel.com> Signed-off-by: Guobin Zhang <guobin.zhang@intel.com> Exempt-from-Owner-Approval: Car specific file
isDataEnabled only reflects user setting of mobile data is on or off. isDataCapable reflects better of whether the data could be setup or not, considering user settings and other restrictions and exceptions. We should use isDataCapable when deciding what to show in signal bar. When non default data SIM is in voice call, there could be an exception that we also setup data on that SIM. Bug: 134981077 Test: manual Change-Id: I54fc4ca104cb451af847d7973fbffc7f0ed97c10 Merged-In: I54fc4ca104cb451af847d7973fbffc7f0ed97c10 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Previously the criteria was to dismiss if: 1. There is no pin/password/pattern set AND 2. the lockscreen is disabled. This behaved incorrectly in the case where the lockscreen is enabled but there is no pin/password/pattern set. We fix the condition so that now we dismiss the SIM lock if: 1. There is no pin/password/pattern set OR 2. the lockscreen is disabled. Fixes: 115780994 Test: manual Change-Id: I88da896add635126934eb0ed22e617ac2607f15a Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Fixes the issue where only one SIM's PIN is checked when unlocking. Test: manual Bug: 135496265 Merged-In: I8db4565c4e5d5bcfb166b5962e878531a84dbafb Change-Id: I8db4565c4e5d5bcfb166b5962e878531a84dbafb (cherry picked from commit 560fe75f696c262fbe12985fe379c1b0868f348c) Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Change-Id: I2b3e6a4c56c91e0bc61edbdb6545f424cb857ab8 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
- Changes for Android-P porting
- Instrument framework files to log events of interest for QSSP.
- Fix the String out of boundary.
- Add optional package verifier to PackageManagerService
- In additional to the required and sufficient package verifiers,
add support for an optional verifier in PackageManager. The
optional verifier will act as a required verifier if a required
verifier is not found in the system. It will act as a secondary
verifier if a required verifier is present.
- Add auth framework for outgoing SMS messages.
- Add the APIs required to register an authorization agent in order
to allow/reject outgoing SMS messages and the core service that
implements the sms security model.
- Do not connect to seempdw socket in zygote
- Do not connect to seempdw socket in zygote. The socket
initialization is skipped if the parent process id is 1, which is
always the case for zygote.
- Moved instrumentation point to PackageInstaller and some
minor fixes.
- Add action for optional package verifier along other legacy
actions to handle tightened StrictMode policy in Android P.
Conflicts:
Android.mk
core/java/android/accounts/AccountManager.java
core/java/android/app/Instrumentation.java
core/java/android/bluetooth/BluetoothAdapter.java
core/jni/Android.mk
core/res/res/values/config.xml
core/res/res/values/symbols.xml
services/core/java/com/android/server/pm/PackageManagerService.java
telephony/java/android/telephony/Telephony.java
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/WindowManagerImpl.java
core/java/android/app/Instrumentation.java
core/res/res/values/config.xml
core/res/res/values/symbols.xml
Change-Id: I38a8ace9943fae0ad2ac7bc2932f3deb790359a6
CRs-Fixed: 2219016
Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
-Add config to disable CDMA call forwarding and call waiting by default Change-Id: I2752cb38d6a6627a14afb892ead5bc3bf4ef00e1 CRs-Fixed: 2172699 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Change-Id: I4a8623148690c206d92d73431c08d37af3bf7c85 CRs-Fixed: 2216310 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Current interface does not take any service class argument. Add a new API for querying call forward status based on service class. This can be useful to query call forwarding information for video calls differently from voice calls. Change-Id: I62904ba59ec2d9175f0e131582d758caec57cc0c CRs-Fixed: 2214326 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
- Supplement the DisconnectCause value for each clear code to support different behavior when the call is disconnected. Change-Id: I5fc90b5535da3f66a77ba4697998f3012a4c46ac CRs-Fixed: 2172717 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
-Adding a new call fail reason code to notify user that CSFB option is not available in CS roaming network. Change-Id: I5fe8c0ed7460e164ac79f851b96ca0f7303b093a CRs-Fixed: 2226273 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Based on the description in "3GPP TS 31.102 clause 4.4.2.3" shown below, Alpha Identifier of EF_ADN of USIM is defined in default 7-bit coded alphabet if bit8 is set to 0 otherwise, it is defined in UCS2 coded. Change-Id: Ifbe06e1dd1cf29692f1201ab27e71250de30b3df CRs-Fixed: 2219692 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
- Adding ProvisionStatus to ImsSsInfo Change-Id: I9c27b912aeeeb22856eb6896bac2c79665a7adca CRs-Fixed: 2234340 Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Adding an API in MmTelFeature to allow IMS Service to report the reasons for implicit call rejections by lower layers. Corresponding ImsReasonInfo codes are also being added. The call rejections are not related to any call session or a call that Framework is aware of. CRs-Fixed: 2208730 Change-Id: I6e60b752884936ed77e45ac5a241fc6f04ab7a9d Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Currently, we keep the process up even if the user switches, meaning that in some cases (if the user is switched while the screenshot UI is up) we will save images to the wrong profile. This change makes ScreenshotHelper listen for user switches and close the screenshot service, so that a new screenshot is guaranteed to be constructed with the correct user's context. Bug: 170474245 Fix: 170474245 Test: manual -- verified bad state occurs if user switches within the timeout period, ensured that screenshots work immediately after switching with this change. Change-Id: I9d32d0928e6c2bda161d04555438d0dd7afef0ba (cherry picked from commit 7ef1a5dd1506075507412626f2533283d9520144) (cherry picked from commit 19f28d7)
…Keyguard. USER_CURRENT is not an acceptable input to isSecure(). The test has also been updated as the use of any() for the mock hid this bug. Test: atest LockTaskControllerTest Bug: 176801033 Change-Id: If7b23426c16f97dccbea1ad7fc0b9f1d39612c2d (cherry picked from commit 26a90c2b820ba40755f9c28efaad2173133868b5)
Test: SnoozeHelperTest Bug: 174493336 Change-Id: I6aaf80a11dcae2eca41d4647411126ed41587027 (cherry picked from commit 6b5813b1f10181f3949386201c4a8f5e6ed4d00f) Merged-In: I6aaf80a11dcae2eca41d4647411126ed41587027 (cherry picked from commit b341523840ed04c01542e476da71c02d1dd5fa8d)
Bug: 169255797 Test: atest StatusBarIconViewTest Test: verified that app crashes instead of SysUI following repro steps Change-Id: I66e3bb873841b5babfd522c82cea7bed361fc14c (cherry picked from commit 4394595debfd3f625b45a8b2280cdbec61f8dc71) (cherry picked from commit c508aed10f739352a7bbf005dea2cb672e74b1ee)
This change enforces that only system, root or shell may call getAllPackages(), a hidden API that shares all package names regardless of user, instant app or package visibility rules. Bug: 174661955 Merged-In: I77460ae19a4d41151577646441f11e2eddbb741a (cherry picked from commit cca5bf9282d37e132f2c4ba80ced5e6c074e8889) Change-Id: I630cfd7c3be9bf6f2a6b8e132f6b8dda6b7fa274 (cherry picked from commit 264dea63b026d1f3e5217db632d3665fdbb3ffae)
Bug: 156090809 Test: atest CtsAppTestCases:NotificationManagerTest Test: atest CtsAppTestCases:android.app.cts.ServiceTest Change-Id: I1c2bb78d86f194585d273661cecf3419f51965df Merged-In: I1c2bb78d86f194585d273661cecf3419f51965df (cherry picked from commit cfd88a8e244c2f89a1a6502e9683deb17692491d)
The previous size was causing some apps to crash which otherwise worked fine. This more closely matches the hard limit in RecordingCanvas (which we need to stay below to prevent SystemUI from crashing). Fixes: 182891864 Fixes: 182232777 Bug: 169255797 Test: atest StatusBarIconViewTest Test: manual - posting notifications with different drawable sizes Change-Id: I8deacc651e05a202ec980eeb8bcdf4f92daea8eb (cherry picked from commit 5cd7976f7d2b702f803f0628f61f02491834cd41) (cherry picked from commit 00b65a29631032fb3d7710f5c5a13d0a15fdda5d)
Work challenge did not show when a work activity is not on top, but still visible after screen turns on. Also show work challenge even if the work activity is behind a top fullscreen activity of another profile because the user can still navigate back to the work activity when top activity finishes. Bug: 177457096 Test: ActivityStackSupervisorTests Change-Id: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21 Merged-In: I5e09b09be547d04fdfd709cb9cd4bcd4a94bbf21 (cherry picked from commit fe5e1432cf1647373a2975435cae4158ba2ebd03)
NetworkMonitor sends "android.net.conn.NETWORK_CONDITIONS_MEASURED" broadcast with Wifi SSID & BSSID. The receiver of this broadcast is only required to have "android.permission.ACCESS_NETWORK_CONDITIONS" permission but not the "android.permission.ACCESS_FINE_LOCATION". It's incorrect because if the apps want to know the Wifi SSID and BSSID, they should get the run-time permission with user consent. Since this broadcast is not used anymore, delete it and the related code. Bug: 175213041 Test: atest NetworkStackNextTests NetworkStackTests Change-Id: I12050737291c7fa0ebff4e7411b91f4c6f57a413 Merged-In: I1b8b6a3f4390adbabf92fb9e48da61c47b08b2ec Merged-In: I7b43940dc32826c70fa82f471b35bc5cb8394aad (cherry picked from commit e97d1f548455e76e4faa7884a5b0fab48e47ca5c)
To android only Test: NotificationManagerTest, NotificationManagerServiceTest Bug: 175614289 Change-Id: I4f8e56729d90f8f5288d08881129b1c45d5790e7 Merged-In: I4f8e56729d90f8f5288d08881129b1c45d5790e7 (cherry picked from commit abf15b731af248f512b7cc31ea99019436841af4) (cherry picked from commit 4056976f1e7556873696e0a23ad612659669ebad) (cherry picked from commit f1e84b42b178f7db7fe1a3d3f19194c8845da130) (cherry picked from commit d61aae299c0ef6377b0c0fe46c29b6232c5c72aa) (cherry picked from commit 4dd5efaed8777f2c856ba866b0142c41856f86e7)
Allow empty tokens in SQLiteQueryBuilder's strict grammar enforcement Bug: 143230980 Test: atest SQLiteQueryBuilderTest, manual Change-Id: Ie82dded77a3eaa75095333b0e77f10e21c9f7caf (cherry picked from commit ea5b2c08df2e01139b8607f6bc0085bc70a17f1d) Merged-In: Ie82dded77a3eaa75095333b0e77f10e21c9f7caf
It's possible for bad atoms to have negative atom ids. This results in an OOB write when we note that the atom was logged. This adds a validation check on the logging. Also added safetynet logging for negative atoms Bug: 187957589 Test: POC in bug no longer led to the OOB write & crash Test: checked event log for safetynet logging Change-Id: I8a6b094c94309d7b02430fb860891ef814efb426 (cherry picked from commit 7f9b0a9fb0f5f1fff9243af7472f0a25cf7af23e)
August Pie Security Patch
If updateLockscreenTimeout gets called before the Runnable queued from lockNow gets executed, lockNow request will be ignored. Fix this by not clearing out the runnable if it's pending lock request. Test: Switch user, ensure lockscreen comes up Bug: 161149543 Change-Id: Ie486396fd7328edf8ca0912df92524bb82a1fb7f (cherry picked from commit 875fa991aac0f3bbd5c66327408ceae60a24a6b3) Merged-In: Ie486396fd7328edf8ca0912df92524bb82a1fb7f (cherry picked from commit 1d31270fd256b50c32f7b5f47ca61d1b96c9b4a7)
These shell commands were implicitly deleting any client-named file for which the system uid had deletion capability. They no longer do this, instead using only the client's own capabilities and file manipulation modes. Bug: 185398942 Test: manual "adb shell cmd activity dumpheap system_server /data/system/last-fstrim" Test: atest CtsPermissionTestCases:ShellCommandPermissionTest Merged-In: Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f Change-Id: Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f (cherry picked from commit 4c0b9a5fbdcd06df8844affd1253a734aaa27392)
Instead of iterate all ellipsized characters, only iterate the necessary ranges for copying. Bug: 188913943 Test: atest CtsTextTestCases CtsGraphicsTestCases CtsWidgetTestCases Change-Id: I3d03b1e3897e427c23fbe51315f412c57a4ce9e9 (cherry picked from commit 2c6121f3e3c52965ae33317e4fe7a273fd1742c6) (cherry picked from commit 0c17ccc4af2b28823a12cf846e9222c3c8b472de)
Fixes: 159624555 Test: manual, atest Change-Id: Ib44f1d3695d2b31bee4f8ccae3f948c83f3b40b6 Merged-In: Ib44f1d3695d2b31bee4f8ccae3f948c83f3b40b6 (cherry picked from commit 54fbccc2934eae844550d851480d5448c2542f1d) (cherry picked from commit 49be6ee46ab8ba3f827d2481c150afaa6f6fb1ac) (cherry picked from commit 96aa3d1784cb810a0ccba9bdc7eb96eea0e63a8c)
September Security Patch
Bug: 158839504 Bug: 185178568 Test: speculative Change-Id: Id9f229f08fe5897dda25441fbaa15c98f8130de9 (cherry picked from commit 6edabc03017fdaa60e99e47fb0da2c297949b671)
Add "Permission requested by Application..." string. Test: manual Bug: 179338675 Change-Id: Ib66ccc1b39bd1f3f8fa3b1efc38a9d413b72a321 (cherry picked from commit 26de0c231ffb9fd8d22e80ca120c766c26276779)
The system is overwhelmed by an enormous label string returned by the load label api. This cl truncates the label string if it exceeds the maximum safe length. Also update the max safe label length to 1000 characters, which is enough. Bug: 67013844 Test: atest PackageManagerTest Change-Id: Ia4d768cc93a47cfb8b6f7c4b6dc73abd801809bd Merged-in: Ia4d768cc93a47cfb8b6f7c4b6dc73abd801809bd (cherry picked from commit b55d314f4685fb459307deff88ddfc704ecc4faa)
Fixes a p0 security bug. We already have the plugin permission defined in our manifest. Ensure that senders of the DISABLE_PLUGIN broadcast have that permission. Bug: 193444889 Test: manual Change-Id: Iebaba435c17c5644c5357c0683858447f5ffb897 Merged-In: Iebaba435c17c5644c5357c0683858447f5ffb897 (cherry picked from commit c279a42a3f2b4dd067074010fd5308d6ec1853f6)
When sending broadcasts ACTION_SNOOZE_WARNING in NPMS, which may contain sensitive information, explicitly set the package name that should receive it to prevent other apps from receiving them. Bug: 177931370 Test: manual Change-Id: I11d736771d859d2af27d5c84a502ab038974e2e2 Merged-In: I11d736771d859d2af27d5c84a502ab038974e2e2 (cherry picked from commit 1494979a6ac772fa49a26748f047a4c3d64baf51) (cherry picked from commit c72848f9fe37892b4c2250724d9546b5c52202d0)
October Security Patch
Do not catch exceptions when we attempt to create the following classes
from a parcel
- OutputConfiguration
- VendorTagDescriptor
- VendorTagDescriptorCache
- SessionConfiguration
This could cause subsequent parcel information to be read incorrectly.
Bug: 188675581
Test: Sample app which tries to write invalid data into an
OutputConfiguration parcel to send in an intent via Broadcast. When read by the receiving app,
gets an exception (not swallowed).
Merged-In: I745ca49daa6ca36b1020d518e9f346b52684f2b1
Change-Id: I745ca49daa6ca36b1020d518e9f346b52684f2b1
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
(cherry picked from commit 6b0bcd60c81003e6a193aeccf44ee03f188e3984)
(cherry picked from commit 8a11538146d894264420d5baa554e3968496b020)
Bug: 180747689 Test: manual Change-Id: Ic309f4aad116fd424d5d0d0e2016d61be8826b78 (cherry picked from commit 3bdad2df2e34c948bde80a51ae232c46848dab06)
Bug: 172251622 Bug: 197035186 Change-Id: Ic3ffcb622af232473adf8a8c8307cce78227bac0 Merged-In: I7e2f95fd85e18127dc481f188ace8ad6effc4831 Test: Manual (cherry picked from commit 95ff59db3b99829cc49afeaeb616004394e09b28)
…ty() Bug: 189824175 Test: atest android.media.tv.cts.TvInputManagerTest Change-Id: Iced6c2245c0099bc4bcdaceb51f8cce4dbc0a392 (cherry picked from commit a2ab2772d70984b1c24d5d4509b9c7a5abea71f9) (cherry picked from commit 05363ef193ae231fc7a1fe666de88861e1084b17)
November Patch
…70bf1a5d0956903ca52dc @maniac103 authored and @semdoc committed on Feb 12, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.