summaryrefslogtreecommitdiffstats
path: root/services/core/java/com
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix the empty reason field in connectivity change intent." into mnc-devFeixiong Zhang2015-06-041-1/+1
|\
| * Fix the empty reason field in connectivity change intent.Feixiong Zhang2015-06-041-1/+1
| | | | | | | | | | | | The code set it to null instead of info.getReason. Change-Id: I1b26ad040c23da7080dbfaeb5376181998115805
* | Fix abi detection for system apksDmitriy Ivanov2015-06-041-87/+38
| | | | | | | | | | | | | | | | | | | | Prebuilts open their libraries directly from apk. Because of that abi detection is no longer as special as it was before. Bug: 20810492 Bug: 8076853 Change-Id: Icbd39d6062f3c1fcad2038e712b98fbdd9aa2196
* | Merge "Don't leak windows on removal with dummy animations" into mnc-devAndroid (Google) Code Review2015-06-042-5/+16
|\ \
| * | Don't leak windows on removal with dummy animationsStefan Kuhne2015-06-042-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | Dummy animations might never end. Do not hold a window removal for it. Bug: 21403998 Change-Id: Ie907d31f51e130e245a70249a983d490f3d42b21
* | | Merge "More API changes." into mnc-devDianne Hackborn2015-06-041-2/+2
|\ \ \
| * | | More API changes.Dianne Hackborn2015-06-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Start moving Assist* stuff to android.app.assist. Clean up some more of the VoiceInteractionSession APIs. Clearly document that finish() is not the same as hide(), always call hide() instead, and fix the finish() path to also always do a hide to make sure everything is cleaned up correctly. Change-Id: I962d4069fcb34fe89547a95d395ae1b9fa3b4148
* | | | Merge "Revive ConnectivityServiceTest and add some tests." into mnc-devPaul Jensen2015-06-042-5/+20
|\ \ \ \
| * | | | Revive ConnectivityServiceTest and add some tests.Paul Jensen2015-06-042-5/+20
| | | | | | | | | | | | | | | | | | | | Change-Id: I44740a7b21cff18ac2a67d09c4d0e597add19ee0
* | | | | Don't compile all splits when installing one.Narayan Kamath2015-06-042-8/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch consists of two broad changes : - don't "force" dex2oat when installing a new app. this should never be necessary because we will always compare checksums. - when staging a new install, we "inherit" (hard link) all compiled oat files from the previous install. this will ensure that we compile only those files that have changed, and not all of them bug: 20889739 Change-Id: I3e14335f3bcfe76d1d24d233f53a728a6d90e8a1
* | | | | Merge "Include InputMethodSubtypeSwitchingController in state dump." into ↵Yohei Yukawa2015-06-041-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | mnc-dev
| * | | | | Include InputMethodSubtypeSwitchingController in state dump.Yohei Yukawa2015-06-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to diagnose IME issues in multi-user / multi-profile environment, internal state of InputMethodSubtypeSwitchingController needs to be included in the bugreport. Bug: 19340792 Bug: 19587437 Bug: 21612582 Change-Id: I34aca2c1a4330ec08b5e40441e631809a8bb844e
* | | | | | Merge "Show more logs when switching users and IMMS#DEBUG==true." into mnc-devYohei Yukawa2015-06-041-3/+10
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Show more logs when switching users and IMMS#DEBUG==true.Yohei Yukawa2015-06-031-3/+10
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL changes nothing but adds more logging points in IMMS when switching users and IMMS#DEBUG==true. No impact in production code. Bug: 19340792 Bug: 19587437 Bug: 21612582 Change-Id: Ibaeb77ae50d246fc322cb023da7750d7415a58ab
* | | | | Merge "Disable mDefaultDns to see if we can remove it." into mnc-devLorenzo Colitti2015-06-041-4/+6
|\ \ \ \ \
| * | | | | Disable mDefaultDns to see if we can remove it.Lorenzo Colitti2015-05-201-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21146610 Change-Id: I385f1c8780acc97d955002f469a6c8ad65db1578
* | | | | | Be more conservative about initial keyguard stateAdrian Roos2015-06-041-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents a race condition that could lead to leaking the home screen if Keyguard is too slow at pushing its state to the window manager while booting. Bug: 21128921 Change-Id: I992066c2c4e1bc4f797776c7804408a53b658b03
* | | | | | Merge "Wait for KEY_SLEEP UP event before calling goToSleep()" into mnc-devNick Vaccaro2015-06-041-8/+15
|\ \ \ \ \ \
| * | | | | | Wait for KEY_SLEEP UP event before calling goToSleep()Nick Vaccaro2015-05-151-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling goToSleep() on the KEY_SLEEP DOWN event causes a race condition with the touch driver when the KEY_SLEEP event is generated via a palm press if the touch controller is told to go into AMBIENT_ON mode (touch controller goes into suspend mode) while the user's palm is still on the touch panel. If touch controller gets into suspend mode before user removes their palm, the act of removing the palm from the screen will cause the touch controller to generate a wake event and the device will "wake back up" into interactive mode. Waiting for the KEY_SLEEP UP event before putting the device to sleep assures palm is off the panel and thus removes this race case. Bug: 19951365 Change-Id: Id4e3313caa264f43e37994ed37015de87b8ff662
* | | | | | | Merge "Allow packagemanager checks for secondary user packages" into mnc-devAmith Yamasani2015-06-041-4/+10
|\ \ \ \ \ \ \
| * | | | | | | Allow packagemanager checks for secondary user packagesAmith Yamasani2015-06-031-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear calling identity when calling into package manager for package info. Bug: 21613139 Change-Id: I0655122f69cc886a395b7195d108222697769b06
* | | | | | | | Merge "Fixed outOfBoundsException when logging discarded receiver." into mnc-devWale Ogunwale2015-06-041-10/+8
|\ \ \ \ \ \ \ \
| * | | | | | | | Fixed outOfBoundsException when logging discarded receiver.Wale Ogunwale2015-06-031-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21607321 Change-Id: I6f7ee4581ae2f0a0b7caedb84190fadc0edccfe8
* | | | | | | | | Prevent windows below the keyguard from showingAdrian Roos2015-06-032-4/+18
| |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where windows below the lock screen could become visible if a SHOW_WHEN_LOCKED activity hides the status bar. Bug: 21450145 Change-Id: Ie660394cb96d7e6839bd4fb7c2729133bac2dfc5
* | | | | | | | Lower the priority of the LazyTaskWriter thread.Riley Andrews2015-06-031-0/+2
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This worker thread shouldn't be prioritized at the same level as user tasks, preemptions of ui threads may result. Additionally, if we lower its priority level, it will be scheduled on more efficient cores in big little systems. Change-Id: I49a7df6fb43d6c067aeacf9ff0cbd5477cb42f7d
* | | | | | | Merge "Zen: Mute alarm (vibrations) in total silence." into mnc-devJohn Spurlock2015-06-031-1/+6
|\ \ \ \ \ \ \
| * | | | | | | Zen: Mute alarm (vibrations) in total silence.John Spurlock2015-06-031-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21376328 Change-Id: I00b46e64a0ec8d9b5066b5a9be10fc859dca0126
* | | | | | | | Merge "Audio policy: setting explicit non-zero volume unmutes the stream." ↵John Spurlock2015-06-031-2/+5
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | into mnc-dev
| * | | | | | | Audio policy: setting explicit non-zero volume unmutes the stream.John Spurlock2015-06-031-2/+5
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And vice versa. Bug: 21584884 Change-Id: I2cd6a84ab40edba4c6fc2b219693e0d4f0527d8d
* | | | | | | Delete unsed mDnsLock.Erik Kline2015-06-031-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21449922 Change-Id: I0c9f95c30eaa170d809e86f6505379f34a0a7603
* | | | | | | Merge changes I9b96cdcf,Ib4b29a7f into mnc-devLorenzo Colitti2015-06-032-24/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Remove the IPv4 address from the interface when DHCP fails. Make the dumpsys connectivity shorter and easier to read.
| * | | | | | | Make the dumpsys connectivity shorter and easier to read.Lorenzo Colitti2015-06-032-24/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Print NetworkFactories on one line. - Only print LegacyTypeTracker networks if they are connected, and record supported network types on a separate summary line. - Print all tethering upstreams on one line. - Summarize the state of the transition wakelock on one line. - Don't print Inet condition reports if there are none. (Currently there can never be any.) Bug: 21449922 Change-Id: Ib4b29a7fd882e6c105839a255fffecf4f346cf7e
* | | | | | | | Merge "[LockSettings] migrate patterns to be indexed at '1'" into mnc-devAndres Morales2015-06-032-7/+51
|\ \ \ \ \ \ \ \
| * | | | | | | | [LockSettings] migrate patterns to be indexed at '1'Andres Morales2015-06-022-7/+51
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Base zero patterns (ones where the top left is idx 0) are not handled properly by scrypt. Add logic to re-enroll base zero patterns such that the top left is idx 1. Bug: 21433955 Change-Id: I7f67f2c67d40dd1be6c62117710dc3b0392275a2
* | | | | | | | Merge "Make sure starting windows only draw once" into mnc-devJorim Jaggi2015-06-021-1/+2
|\ \ \ \ \ \ \ \
| * | | | | | | | Make sure starting windows only draw onceJorim Jaggi2015-06-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The panel menu was invalidated, and thus a runnable was posted for the next frame, to update the panel menu, and invalidate the view. We avoid this by not invalidating the panel menu for starting windows. Bug: 20949632 Change-Id: I67ca47e3a7ce3ba1d685c2313efa66fb1cdee312
* | | | | | | | | Merge "Add API to hint whether to show on-board UI before a permission ↵Svetoslav2015-06-021-0/+40
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | request." into mnc-dev
| * | | | | | | | Add API to hint whether to show on-board UI before a permission request.Svetoslav2015-06-021-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:21511988 Change-Id: I9d1d7adf34b68074e65510f53b6e642cf784cf6b
* | | | | | | | | Merge "Temporarily whitelist an app for network during doze" into mnc-devAmith Yamasani2015-06-023-19/+247
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Temporarily whitelist an app for network during dozeAmith Yamasani2015-06-023-19/+247
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API to allow an app to be whitelisted for network and wakelock access for a short period. So even if the device is in idle mode, such apps can be given a chance to download the payload related to a high priority cloud-to-device message. This API is meant for system apps only. A new permission CHANGE_DEVICE_IDLE_TEMP_WHITELIST is required to make this call. Bug: 21525864 Change-Id: Id7a761a664f21af5d7ff55aa56e8df98d15511ca
* | | | | | | | Merge "Fix the NPE when checking mRebootReason" into mnc-devTao Bao2015-06-021-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix the NPE when checking mRebootReasonTao Bao2015-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21584198 Change-Id: Ie11092dbc771b54bd049d258dc705835a3eda494
* | | | | | | | | Merge "Fix calls to Rect.intersect(Rect) in package com.android.server.wm" ↵Doris Liu2015-06-024-5/+19
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | into mnc-dev
| * | | | | | | | Fix calls to Rect.intersect(Rect) in package com.android.server.wmDoris Liu2015-06-014-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL checks for the return value for Rect.intersect(Rect) for whether there is actually an intersection before taking the calling rect as the intersection. In addtion, this CL handles the cases where there is no intersection (Rect.intersect(Rect) returns false). bug: 7368679 Change-Id: I7d5ef7059ac432170470a108c0d6dece230ec0b3
* | | | | | | | | Merge "Make CameraService proxy retry behavior more lenient." into mnc-devRuben Brunk2015-06-021-9/+54
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Make CameraService proxy retry behavior more lenient.Ruben Brunk2015-06-021-9/+54
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 21527760 Change-Id: I70abea66f1d1fafffcfdd8e30b0cff244f814e59
* | | | | | | | | Merge "Enabled WMS.DEBUG_STARTING_WINDOW" into mnc-devWale Ogunwale2015-06-021-1/+1
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | |
| * | | | | | | | Enabled WMS.DEBUG_STARTING_WINDOWWale Ogunwale2015-06-021-1/+1
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To debug starting window issue reported in comment #38 of b/21384482 Bug 21384482 Change-Id: I2fbafda5fa79448057cf27a65d1be9b96894770e
* | | | | | | | Merge "Should reset mDismissKeyguard on keyguard secure change" into mnc-devOlawale Ogunwale2015-06-021-2/+11
|\ \ \ \ \ \ \ \
| * | | | | | | | Should reset mDismissKeyguard on keyguard secure changetingna_sung2015-06-011-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If user sets a non-secure lock screen, launch an activity which appends window flag FLAG_DISMISS_KEYGUARD, then insert a PIN lock SIM card, activity window will become black screen. This is because mDismissKeyguard keeps on DISMISS_KEYGUARD_CONTINUE when keyguard secure changes from non-secure to secure like in the insert PIN lock SIM card case. If mDismissKeyguard is DISMISS_KEYGUARD_CONTINUE and keyguard is secure, there is no chance to launch keyguard unlock window anymore. This patch handles the use case that to reset mDismissKeyguard to a new cycle from DISMISS_KEYGUARD_START to DISMISS_KEYGUARD_CONTINUE again once keyguard secure state change suddenly to let keyguard window has chance to be launched. https://code.google.com/p/android/issues/detail?id=78806 Change-Id: I0d4fd0b9bdf7d0a39f35427bfd4e1b928d9bca6b Signed-off-by: tingna_sung <tingna_sung@htc.com> Conflicts: policy/src/com/android/internal/policy/impl/PhoneWindowManager.java