summaryrefslogtreecommitdiffstats
path: root/services/core/java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | connectivity-service: fix/improve unique hostnameAlexander Wuerstlein2016-09-021-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ConnectivityService should set the net.hostname property to either the current DEVICE_HOSTNAME or android-ANDROID_ID or leave net.hostname unchanged if already set. However, the logic was flawed such that if DEVICE_HOSTNAME was empty but net.hostname was not, net.hostname would always be set to an empty string, leading to DHCP breakage later on. The logic has been fixed, clarified and improved such that: net.hostname will only be changed if it is empty. If net.hostname is empty, it will be set to either (in order): the nonempty value of DEVICE_HOSTNAME, android-ANDROID_ID or android-r-RANDOM_NUMBER. The last option is an addition to have a sensible fallback in case both DEVICE_HOSTNAME and ANDROID_ID are empty. The random number is generated by java.util.Random, because I consider cryptographically strong randomness unnecessary here and think possible blocking in SecureRandom might be undesirable. Thanks to stargo for pointing me to the right place to edit. Thanks to Ethan Chen for his stylistic advice. Change-Id: I603ab4d6a265456bf4fa310939965cfa677fc881
| * | | Prevent invocation of startNavigating() when GPS is offHarikrishnan Hariharan2016-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When system comes back from idle state, GpsLocationProvider invokes startNavigating() even when GPS is turned off in settings. Change-Id: Ie6dbf60a743cce429ab83876a3cb80f7e4b0e0f6 CRs-Fixed: 1022372
| * | | services: core: use proper tags when loggingAlexander Martinz2016-08-211-5/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: Idbcd94ae8004352c5241fc81ac9595173001a58d Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
| * | | Ensure packages on adopted media do not move when updatedSam Mortimer2016-08-181-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Packages not installed with PackageInstaller.Session that are moved to adopted storage via android storage settings will get moved back to private internal storage when the package is later updated. This causes the app to lose it's data (and leaves the data dir dangling on the original adopted location). play market installs do not have this problem (because they use an installer session) but pretty much every other app install route does. eg adb install and other app stores. Change-Id: I0f606b230460f32310921c75e58ccb5b610268e4
| * | | am: Account for time changes when showing recent activitiestao.pei2016-08-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Procedures] 1. Go to Settings->Date&Time Set time backwards, eg. 2016.6.15 -> 2016.6.10 2. Tap recent apps button to show recent activities. There will be no activities shown. Change-Id: Ifd860c0d08fac49f9d3c8eac590b6db9e6afb09d
| * | | [2/2] base: cm custom boot dexopt UIAlexander Martinz2016-08-104-74/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pass app info and number of installed packages to boot message UI * Ui by Asher and Joey, based on Alexander's previous work Change-Id: I9ec9d0cb0e20a9bac73e126f6b6f3965400f05e7
| * | | pm: resolver: Don't hold the lock when calling into the resolverDiogo Ferreira2016-08-101-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lock isn't really needed because the proxy will return false if the resolver package doesn't exist or throws a remote exception. Having this lock causes a deadlock between the PM and the app: resolveIntent holds the PackageManagerService#mPackages lock and then tries to lock on PackageMonitor#mLock. Meanwhile, when packages change, LaodedApk holds onto the PackageMonitor#mLock and then tries to query the intent services and tries to lock on PackageManagerService#mPackages. Relevant traces below: "Binder_4" prio=5 tid=60 Blocked | group="main" sCount=1 dsCount=0 obj=0x136f00a0 self=0x7f743d2a00 | sysTid=949 nice=0 cgrp=default sched=0/0 handle=0x7f74b93440 | state=S schedstat=( 1032333944 663457790 2968 ) utm=74 stm=29 core=3 HZ=100 | stack=0x7f74a97000-0x7f74a99000 stackSize=1013KB | held mutexes= at com.android.server.ServiceWatcher.getBinder(ServiceWatcher.java:368) - waiting to lock <0x083e77c9> (a java.lang.Object) held by thread 9 at org.cyanogenmod.platform.internal.AppSuggestProviderProxy.getService(AppSuggestProviderProxy.java:68) at org.cyanogenmod.platform.internal.AppSuggestProviderProxy.handles(AppSuggestProviderProxy.java:73) at org.cyanogenmod.platform.internal.AppSuggestManagerService$1.handles(AppSuggestManagerService.java:50) at cyanogenmod.app.suggest.AppSuggestManager.handles(AppSuggestManager.java:101) at com.android.server.pm.PackageManagerService.shouldIncludeResolveActivity(PackageManagerService.java:4704) - locked <0x0183dd64> (a android.util.ArrayMap) at com.android.server.pm.PackageManagerService.chooseBestActivity(PackageManagerService.java:4430) at com.android.server.pm.PackageManagerService.resolveIntent(PackageManagerService.java:4353) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:628) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:2754) at android.os.Binder.execTransact(Binder.java:453) "android.bg" prio=5 tid=9 Blocked | group="main" sCount=1 dsCount=0 obj=0x12c04b80 self=0x7f84a7d800 | sysTid=766 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x7f89b3f440 | state=S schedstat=( 1237112536 3291977271 2848 ) utm=62 stm=61 core=2 HZ=100 | stack=0x7f89a3d000-0x7f89a3f000 stackSize=1037KB | held mutexes= at com.android.server.pm.PackageManagerService.queryIntentServices(PackageManagerService.java:5405) - waiting to lock <0x0183dd64> (a android.util.ArrayMap) held by thread 60 at android.app.ApplicationPackageManager.queryIntentServicesAsUser(ApplicationPackageManager.java:731) at com.android.server.ServiceWatcher.bindBestPackageLocked(ServiceWatcher.java:167) at com.android.server.ServiceWatcher.-wrap0(ServiceWatcher.java:-1) at com.android.server.ServiceWatcher$1.onPackageChanged(ServiceWatcher.java:321) - locked <0x083e77c9> (a java.lang.Object) at com.android.internal.content.PackageMonitor.onReceive(PackageMonitor.java:352) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:882) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.os.HandlerThread.run(HandlerThread.java:61) Change-Id: Id4775ca4d12b6cf42bea97bd74e4c38d591a1cf3
| * | | framework: extend provision check to SEARCH intentsRoman Birg2016-08-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | TIcket: CYNGNOS-3242 Change-Id: I61ce295737471ca9bb59f45c616d626bbc4f7784 Signed-off-by: Roman Birg <roman@cyngn.com>
| * | | fw: enforce android.permission.PREVENT_SYSTEM_KEYS in system serverScott Mertz2016-08-052-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since privateFlags can be accessed and modified via reflection due to change 5d927c2d8e, the prevent system keys or prevent power keys flag can be set and deployed without ever calling setPrivateFlags directly. Move enforcing to system server to prevent app tampering. TICKET: CYAN-7921 (open source JIRA) Found by Maciej Krysztofiak Change-Id: I53c2804d0283692036f5cc95e6ad57821bc0655a
| * | | framework: don't allow assist activities while not provisionedRoman Birg2016-08-031-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ticket: CYNGNOS-3233 Change-Id: I40dae6b6fd1da497024965469fea0adc78a661c3 Signed-off-by: Roman Birg <roman@cyngn.com>
| * | | am: Notify zygote of font change in ActivityManagerServiced34d2016-08-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the theme service being moved to its own context, it can no longer set system properties so have ActivityManagerService take care of this when updating the configuration. Change-Id: Ia5cbbf921c7c716631db1e34f5e2b04c5d814328
| * | | Merge tag 'android-6.0.1_r61' into HEADJessica Wagantall2016-08-024-27/+353
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | Android 6.0.1 Release 61 (MOB30Z) Change-Id: Ib003ccb606e0d77209291b757ea36399d3b65814
| | * | Reduce shell power over user management.Sudheer Shanka2016-06-241-5/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove MANAGE_USERS permission from shell and whitelist it for some specific functionality. Bug: 29189712 Change-Id: Ifb37448c091af91991964511e3efb1bb4dea1ff3
| | * | DO NOT MERGE Disable app pinning when emergency call button pressedHall Liu2016-06-242-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also disables app pinning when the "return to call" button is pressed and brings up the in-call screen when app pinning is stopped if there is an existing call. Combination of ag/1091397 and ag/1085584 adapted for MNC. Bug: 28558307 Bug: 28761672 Change-Id: I82ec4042bff387c845ce571b197a4a86e1dd5ec8
| | * | DO NOT MERGE Fix intent filter prioritiesTodd Kennedy2016-06-241-18/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since this is a backport, there is only one rule that guards intent filter priorities: 1) Updates will NOT be granted a priority greater than the priority defined on the system image. Bug: 27450489 Change-Id: Ifcec4d7a59e684331399abc41eea1bd6876155a4
| | * | Don't trust callers to supply app info to bindBackupAgent()Christopher Tate2016-06-241-3/+14
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Get the canonical identity and metadata about the package from the Package Manager at time of usage rather than rely on the caller to have gotten things right, even when the caller has the system uid. Bug 28795098 Change-Id: I215786bc894dedf7ca28e9c80cefabd0e40ca877 Merge conflict resolution for ag/1133474 (referencing ag/1148862) - directly to mnc-mr2-release
| * | mountservice: Don't nuke all volumes when decryptingSteve Kondik2016-07-291-1/+6
| | | | | | | | | | | | | | | | | | | | | * Instead, just unmount the emulated internal volume since it's the only one which can prevent cryptfs from restarting. Change-Id: I757babaf763b4ef789b165d116da0708a3530e99
| * | pm: Skip custom resolver use when mOnlyCoreSteve Kondik2016-07-281-1/+1
| | | | | | | | | | | | | | | | | | * It just throws exceptions. Change-Id: I503a2b787a661b3ab5c52b675e49f2eae92c9ec0
| * | lights: Make sure the lights are outSteve Kondik2016-07-282-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Annoying situation where the battery charging LED comes on in the crypto startup screen, but never gets turned off because of caching. * Explicitly turn off LEDs after the bootanimation completes, and always set the full state to the hardware on the first call regardless if it's all zeros. Change-Id: I8cd2325ec5d8924391e4fc62249f6dd737d52f3e
| * | mountservice: Shut down volumes before restarting frameworkSteve Kondik2016-07-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Vold assumes that when FUSE is killed, the mount is gone. This isn't true with sdcardfs, since the daemon doesn't continue to run. Cryptfs was assuming this behavior, and the system would hang during decryption since the emulated storage doesn't get unmounted. * Send the shutdown command before committing suicide. Change-Id: Ifcfa63f0499a717f34482754cea95b90622290c6
| * | Improve the scan processmqi2016-07-263-42/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use multi task to speed up the scan process CRs-Fixed: 984513 base: fix native crash in system_server Currently PackageManagerService uses multi-thread to scan packages to speed up, when scan each package, it sometimes will call SELinux's restorecon, then libselinux uses global variable fc_sehandle to selabel_lookup and write in compile_regex, so it's not thread-safe, so will cause invalid address with possibility. From backtrace, the final crash happens in pcre_exec. Add one lock in NativeLibraryHelper to make restorecon safe. Change-Id: Ida43fcda01d3450befea6afa0be5da27bb195def CRs-Fixed: 1002406, 1027381
| * | Factory reset: Wipe media by defaultScott Mertz2016-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These hidden APIs are called from some public APIs (DevicePolicyManager), so we shouldn't change the default behavior. The intent API should also be considered public, so change that as well. FEIJ-1610 Change-Id: Ib9591c122dbe6168e7e237444c754b9608be0953
| * | PackageManager: make protected-broadcasts permission awareRoman Birg2016-07-212-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This extends the <protected-broadcast> mechanism to allow protecting actions based on a permission for system apps. For instance: <protected-broadcast android:name="ACTION_A" android:permission="PERMISSION_X" /> will restrict intents with action "ACTION_A" to be only sent with apps holding the "PERMISSION_X" permission. Note that system UIDs will bypass the permission check and always be allowed, just like the normal protected-broadcast mechanism. You must still be a system application to delcare a protected broadcast. Change-Id: Id25cffd233d400800dcb5249c5f487134e1b4152 Signed-off-by: Roman Birg <roman@cyngn.com>
| * | AudioDucking : Check session playback stateDanesh M2016-07-191-23/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use CMAudioManager to listen for session callbacks for STREAM_MUSIC. Fixes issue with youtube videos not being detected as active media. CYNGNOS-3072 Change-Id: Id47d064b28ee6e1ed5320a6a70ec3e3ba5268785
| * | pm: Fix lock insanity with ActivityManagerSteve Kondik2016-07-131-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * It's possible that ActivityManager may be trying to stop a package while the PackageManager is trying to perform a scan during an upgrade. When AM tries to perform the stop, it will attempt to look up the package user, which will try to take the PM lock. This is fine, but while we're holding the lock in PM during the package upgrade we're attempting to call back into AM to get the current theme, which tries to take the AM lock. This results in the entire system locking up until watchdog kills off system server. * Instead of looking up the current theme while holding the lock in PM, look it up before locking the whole place down. Change-Id: If322a7f214218740d73043ff65860ccadd92f01d
| * | pm: Avoid filtering out protected components in implicit queries.Adnan Begovic2016-07-111-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Implicity queries resolve the target component for an intent, the intent (if fired) will be gated by the protected apps feature implementation within the activity stack supervisor. Change-Id: Ib079cfa6093f472d4b85f6b4a986440a764affa3 TICKET: FEIJ-1449
| * | Merge remote-tracking branch 'remotes/android-6.0.1_r52' into HEADJessica Wagantall2016-07-072-0/+27
| |\ \ | | |/ | | | | | | | | | | | | Ticket: CYNGNOS-3020 Change-Id: Ia14b6d0120de0b458c7c249a11041ff121389cfa
| | * Backport of backup transport whitelistChristopher Tate2016-05-271-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sysconfig define a whitelist of permitted backup transports Previously any apk bundled in priv-app could insert a backup transport. Reduce risk surface by giving the OEM explicit control over who is allowed to handle backup data. Bug 28406080 Backport of 494df791728f4d42d67e935c327910975993ad29 from N Change-Id: I9f90e324169a68720d608f74754d284a7e59cf87
| | * Fix missing permission check when saving pattern/passwordJim Miller2016-05-271-0/+2
| | | | | | | | | | | | | | | | | | Fixes bug 28163930 Change-Id: Ic98ef20933b352159b88fdef331e83e9ef6e1f20
| * | SystemConfig: allow app-link to be set to any possible stateWilhelm Fitzpatrick2016-07-052-9/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow app-link entries in /system/etc/sysconfig to set a system apps app-link state to any of the available states, and not just "always" as was previously possible. If the "state" attribute is not present in an app-link declaration, the state will default to "always" to preserve existing behavior. This change is needed to allow certain apps to be set to the "always-ask" state so they'll be sure to participate in intent resolution via the disambugation dialog in the default configuration. These setting can be changed by the user via the standard app-link configuration section in Settings -> Apps. Change-Id: I2f98c69ebbeb40492d7ae8d33327986675b18b65
| * | am: clear protected apps from recentsScott Mertz2016-07-052-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | Remove newly protected apps from recent tasks if any activity in the stack is a restricted component. FEIJ-1361 Change-Id: Ifd337bfe8356613d098ff00c575db117d35f2017
| * | BT: Set persiste Bluetooth State during enable timeout caseGurpreet Ghai2016-07-021-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use case: When enable timeout occurs during S&S testing and Bluetooth state is moved from Turning On to Off. Steps: Changes related to enable timeout case, to test the changes, S&S testing can be done. Failure: Changes done to handle Bluetooth enable timeout case when Bluetooth state changes from Turning On to Off. Root cause: Setting Bluetooth Persist state to handle the enable timeout case so that Bluetooth doesnot self enable after enable timeout case is handled. Fix: Setting the Bluetooth Persist State to Off when enable timeout occurs. Change-Id: I17b3b05020eb7469666e6d8c88c86df7764b4024 CRs-Fixed: 1006444
| * | Encapsulate the unbindService with try catch blockLuke Zhang2016-07-021-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BT got stuck in mContext.unbindService when it tried to recover from error. The best way to fix it is to encapsulate the unbindService with try catch block CRs_fixed: 996389 Change-Id: I51469c312537b31317481096b0f9822e4a611576
| * | Bluetooth: Access mediaplayerlist in synchronized wayAyan Ghosh2016-07-021-67/+73
| | | | | | | | | | | | | | | | | | | | | | | | Access mediaplayerlist in synchronized way to make sure no transient update is tried to be worked upon in multithreaded environment. Change-Id: I0e7810ac89e0ddc19d57b32c679450aa7cb87273 CRs-Fixed: 979840
| * | WifiDisplayController: Fix p2p disconnect before rtsp teardown completesManoj Kumar AVM2016-07-021-16/+81
| | | | | | | | | | | | | | | | | | | | | | | | Disconnect p2p only after onDisplayDisconnected is received which serves as a notification from native layers of WFD that RTSP message sequence as part of teardown sequence is completed Change-Id: I3f678a76d172725d904013476226810faecfbd83
| * | combo bug when location reported by providers do not come with extrasKevin Tang2016-07-021-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Ignore IMS type APN when notify data connectionRichard LIU2016-07-021-1/+2
| | | | | | | | | | | | | | | | | | Do not add IMS type APN in mConnectedApns. Change-Id: I339a2c411f94572c00e9df48deb38aab1046e581
| * | MSIM: Restrict data activity change to listeners with matching subIdMuhammed Siju2016-07-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently data activity change callback is invoked on all listeners irresepctive of subId. This causes wrong data activity value to be updated from other sub. To fix this add subId match before invoking callbacks on listeners. Change-Id: If218ea3ead2b837d9c2d1cac4d353c1d35c5babe CRs-Fixed: 957838
| * | Revert "Revert "Only show keyguard panel if on lockscreen + no activity on top""Danesh M2016-06-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | CYNGNOS-2980 This reverts commit 226797c8e2aba40ecbfb646f2ef5085893dff46a. Change-Id: I0440faf2dd07b427f639277eec2f3cfa89a7de6e
| * | WindowAnimator : Check KEYGUARD_PANEL when deciding to show/hide windowDanesh M2016-06-292-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, if blur is enabled we don't hide the window behind since we want the user to see it. This is not true for when a KEYGUARD_PANEL is active since we can't see anything behind it anyway. Only apply blur logic if KEYGUARD_PANEL is not added. CYNGNOS-2980 Change-Id: Icecae14455d6e68665bb688e3f6dc4ea9d74e88c
| * | PhoneWindowManager : Check CM_SETUP_WIZARD_COMPLETED for isUserSetupCompleteDanesh M2016-06-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During certain flows (such as restoring device data), google's setup wizard sets USER_SETUP_COMPLETED which forces certain things like immersive clings to show when they are not suppose to. Add additional checks to ensure these clings only appear after setup wizard has completed CYNGNOS-3077 Change-Id: I111b3a06e1531bb4265d55bc8a8dcdb02f80cc0b
| * | Disable proximity check on power key properlyLuK13372016-06-281-1/+1
| | | | | | | | | | | | Change-Id: If1ca0fa02805ce2fbe5a9ac1ab56a5e62beca4e1
| * | fw: GlobalActions: Always dismiss any existing dialogTom Marshall2016-06-281-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The check for "mUiContext == null" is always false after the initial dialog is created, causing the dismiss logic to never trigger. All code uses getUiContext() now, so the check is not necessary. Remove it and re-align the create/dismiss logic with AOSP. Jira: BACON-4069 Change-Id: Ibba7b38a5fdc8410824db6d0a6f726f4a2822c9d
| * | Revert "Only show keyguard panel if on lockscreen + no activity on top"Danesh M2016-06-161-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Breaks SHOW_WHEN_LOCKED for secure lockscreen + blur + LLS CYNGNOS-3057 This reverts commit 28e023d0c621f00e357f52264baaedf72c1eeee7. Change-Id: Iccec0129e793b910af02bf0a8f60ec9a2ca226a2
| * | Themes: Expose Power DialogsBryan Owens2016-06-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This will give themes the ability to invert the three power dialogs without editing a main resource Change-Id: Ibeab94add8ce8c18955576dc49c441883feb18d6 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
| * | Merge tag 'android-6.0.1_r46' into HEADJessica Wagantall2016-06-072-4/+4
| |\ \ | | |/ | | | | | | | | | | | | | | | Android 6.0.1 release 46 # gpg: Signature made Mon 06 Jun 2016 10:38:22 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| | * Kill the real/isolated uid group, not the ApplicationInfo uidChristopher Tate2016-05-122-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a direct reimplementation in L of fixes applied to N in these two commits: 8dc8d37c1d7d694016f1ec2b3cea5fb723567be8 e8741d23d2dd05c4cb3fed5ee6a4040ee96a60e3 Bug 19285814 Change-Id: I59bcc8f1d41c426e9da635bea9ad1d7c6756d5aa Resolve merge conflict when cp'ing ag/941553 to mnc-mr1-release branch
| * | powermanager: Extend scope of lock when updating blocked UIDsSteve Kondik2016-06-031-4/+4
| | | | | | | | | | | | | | | | | | | | | * Stop WTFs from the system, we need to hold the lock when calling updatePowerStateLocked as one might expect. Change-Id: I344e93cd4ffef915f1684063a496b9e9bbfcb9a6
| * | Only show keyguard panel if on lockscreen + no activity on topDanesh M2016-06-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug in window manager, where if the keyboard is collapsed, the reference to the window is lost when destroying its surface. This in turn prevents the ime window from being reordered later on. For normal apps this is not an issue, but since we're above normal apps (KEYGUARD_PANEL), this rises an issue for us in this scenario : 1) Set password lockscreen 2) Swipe up to unlock 3) Collapse keyboard 4) Launch emergency dialer (SHOW_WHEN_LOCKED) 5) Press home button Notice that all touch events are going to the external keyguard. If the keyboard is not collapsed in step 3, everything works and the reason is the reference to the input method window in window manager isn't lost and it gets re-ordered behind the windows. To workaround this issue, avoid removing/re-adding the window and instead rely on window manager to control its visibility. Change-Id: I59dd41547902ae5e23bbeb0a01ee27f11fc29dfc
| * | fw: Fix power key interception for PRIVATE_FLAG_PREVENT_POWER_KEYSultanxda2016-06-021-3/+3
| | | | | | | | | | | | | | | TICKET: CYNGNOS-2958 Change-Id: I67a7469257a1617b1c999f5533c5863014595dcc