2592 Commits

Author SHA1 Message Date
Wink Saville
39542d116c am 21f9be76: am 70d5a344: am 3a9bab72: Change TelephonyRegistry to use phoneId as a callback condition.
* commit '21f9be768e5d98f7f2081540c7029e7e9b71f705':
  Change TelephonyRegistry to use phoneId as a callback condition.
2014-07-27 02:11:59 +00:00
Wink Saville
ea5e6e79c7 am 70d5a344: am 3a9bab72: Change TelephonyRegistry to use phoneId as a callback condition.
* commit '70d5a344499c25ef23540061e8b4a08d5abb4b70':
  Change TelephonyRegistry to use phoneId as a callback condition.
2014-07-27 02:08:38 +00:00
Wink Saville
e380b98667 Change TelephonyRegistry to use phoneId as a callback condition.
Previously subId was used but it is currently not consistent and
can take on dummy values thus callbacks would not be called appropriately.
Eventually I hope to remove the dummy value concept but for now this
looks like the best approach.

Bug: 16148026
Bug: 15973975
Change-Id: I450c968bda93767554b5188ee63e10c9f43c5aa4
2014-07-26 18:24:22 -07:00
Jeff Brown
2da6665002 am 8bfbd2f6: am 7798e931: am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '8bfbd2f61ffb8cc9e167b45ae0306f05af54d10d':
  Remove DozeHardware since it will not be used.
2014-07-26 22:56:17 +00:00
Jeff Brown
8090ac3eaa am 7798e931: am 108f9dc2: Merge "Remove DozeHardware since it will not be used." into lmp-dev
* commit '7798e9313106abfcc39808108b35edc2493ebc6a':
  Remove DozeHardware since it will not be used.
2014-07-26 22:52:04 +00:00
John Spurlock
fa8fccf6c7 am 382300fd: am 8ebe80a3: am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev
* commit '382300fd23cda23040c97f2255edb5d6d351b019':
  Doze: Update tease signal to buzz-beep-blink from NoMan.
2014-07-26 21:28:12 +00:00
John Spurlock
aa2a40d57b am 8ebe80a3: am c9dfaff7: Merge "Doze: Update tease signal to buzz-beep-blink from NoMan." into lmp-dev
* commit '8ebe80a3919861e36988f91ef95be2efb4e5836d':
  Doze: Update tease signal to buzz-beep-blink from NoMan.
2014-07-26 21:24:44 +00:00
Jeff Brown
cd26a6a072 am ff415ca8: am d2d80f2e: am 8944771f: Merge "Fix a deadlock due to AMS calling into WMS with its lock held." into lmp-dev
* commit 'ff415ca830964a86399df19968dd2bceff275359':
  Fix a deadlock due to AMS calling into WMS with its lock held.
2014-07-26 02:43:59 +00:00
Jeff Brown
baacadd14d am c1d00de0: am 32019e7e: am dab2b29b: Merge "Don\'t suppress haptic feedback on keyguard anymore." into lmp-dev
* commit 'c1d00de01b5904a6c6e3e5b6160b0b7e628bd880':
  Don't suppress haptic feedback on keyguard anymore.
2014-07-26 02:43:51 +00:00
Jeff Brown
402e888ecb am d2d80f2e: am 8944771f: Merge "Fix a deadlock due to AMS calling into WMS with its lock held." into lmp-dev
* commit 'd2d80f2e401a06564cb03b649582f74c41e1337b':
  Fix a deadlock due to AMS calling into WMS with its lock held.
2014-07-26 02:40:30 +00:00
Jeff Brown
fe841f1c63 am 32019e7e: am dab2b29b: Merge "Don\'t suppress haptic feedback on keyguard anymore." into lmp-dev
* commit '32019e7e463565977bd29715e4a9e357c61d8a29':
  Don't suppress haptic feedback on keyguard anymore.
2014-07-26 02:40:22 +00:00
Ji-Hwan Lee
3d24f17e9d am 7ea51115: am e4160d70: am 9c5d5ad9: TIF: Fix invalid use of serviceStateMap.get()
* commit '7ea51115e98550cc9119187f02daa1a98ae9cd42':
  TIF: Fix invalid use of serviceStateMap.get()
2014-07-26 02:07:39 +00:00
Ji-Hwan Lee
6469c41f09 am e4160d70: am 9c5d5ad9: TIF: Fix invalid use of serviceStateMap.get()
* commit 'e4160d70c64632bcb4394ff94b67f13738e63072':
  TIF: Fix invalid use of serviceStateMap.get()
2014-07-26 02:04:24 +00:00
Ji-Hwan Lee
c88f1916b8 TIF: Fix invalid use of serviceStateMap.get()
Change-Id: Ic43ac2697ed459a105e62c81e8cb6d0fb8ff6dd0
2014-07-26 01:56:34 +00:00
Jeff Brown
f0f0f7ca66 Merge "Fix a deadlock due to AMS calling into WMS with its lock held." into lmp-dev 2014-07-26 01:02:19 +00:00
Jeff Brown
4b4971b8a3 Fix a deadlock due to AMS calling into WMS with its lock held.
The full deadlock cycle involved ActivityManagerService,
WindowManagerService, and DevicePolicyManagerService.

Fixed by posting the work of enabling the screen to the handler
instead of doing it immediately while holding the activity manager
lock.

Bug: 16578860
Change-Id: I10514cd2df993c7193747ae823e1990a2c34e196
2014-07-25 19:31:47 -07:00
Jeff Brown
82379ba8dd Don't suppress haptic feedback on keyguard anymore.
This enables haptic feedback from virtual keys, lift-to-wake,
and long-press power to work as expected on the keyguard.

There doesn't seem to be a good reason for us to block haptic feedback
on keyguard anymore.  The PIN, pattern, and password locks already
bypass this check and vibrate and require a swipe to access in
the first place.  So there doesn't seem to be much potential
for accidental vibration anymore.

If this becomes a problem then we can investigate more targeted
means to suppress undesired vibration.

Added some debugging code to VibratorService.

Bug: 16535403
Change-Id: Ia7a5d8c35244009db36c358e5cbcbf8cf5d68768
2014-07-25 19:30:00 -07:00
Ji-Hwan Lee
90c2a962cd am 98eacf02: am 12f642cf: am 5bd81570: TIF: Rename ComponentName variables to "component" consistently
* commit '98eacf02f42ac0b1a6b933d80af2d63b72f4ef68':
  TIF: Rename ComponentName variables to "component" consistently
2014-07-25 23:34:48 +00:00
Ji-Hwan Lee
29ac3533f0 am 12f642cf: am 5bd81570: TIF: Rename ComponentName variables to "component" consistently
* commit '12f642cf1ed42f3c30375ba33925c3b174bc6530':
  TIF: Rename ComponentName variables to "component" consistently
2014-07-25 23:30:00 +00:00
Jinsuk Kim
99f6dde22c am 2b08afab: am 46d2cb78: am 20f25011: Merge "MHL controller for subcommand reception" into lmp-dev
* commit '2b08afabfcb6f09c732a3a6a36d550b1ba4d2742':
  MHL controller for subcommand reception
2014-07-25 23:29:32 +00:00
Jinsuk Kim
37970ac22a am 46d2cb78: am 20f25011: Merge "MHL controller for subcommand reception" into lmp-dev
* commit '46d2cb7870682ee3feb99006b340e2fbfded12d2':
  MHL controller for subcommand reception
2014-07-25 23:25:48 +00:00
Ji-Hwan Lee
9e8ade2eb7 TIF: Rename ComponentName variables to "component" consistently
Currently, it's sometimes "name", or "service".

Change-Id: I91dffe30fd2b873c744dbde2c027f0582f55746f
2014-07-25 23:16:48 +00:00
Sreeram Ramachandran
b2049de027 am 5c478c04: am f87f2fc6: am a6754382: Merge "Implement support for bypassable VPNs." into lmp-dev
* commit '5c478c04a0fa4391d07b50bd460e2b63bb3a138b':
  Implement support for bypassable VPNs.
2014-07-25 23:13:22 +00:00
Sreeram Ramachandran
e0d6374773 am f87f2fc6: am a6754382: Merge "Implement support for bypassable VPNs." into lmp-dev
* commit 'f87f2fc6bd56363f0b8ccb16c4eb959250b63594':
  Implement support for bypassable VPNs.
2014-07-25 23:08:31 +00:00
Jeff Sharkey
e12a125972 am cf85d14e: am bf9964cb: am e52581f6: Offer force-dex-opt when running as root.
* commit 'cf85d14e12824bb51631b2a8d8cd79ff0d0e26fb':
  Offer force-dex-opt when running as root.
2014-07-25 21:26:42 +00:00
Jeff Sharkey
1409834664 am bf9964cb: am e52581f6: Offer force-dex-opt when running as root.
* commit 'bf9964cb8784e2ac6ea5a2274b4ef9288b4d2da9':
  Offer force-dex-opt when running as root.
2014-07-25 21:21:40 +00:00
Jeff Brown
13c726795f Merge "Remove DozeHardware since it will not be used." into lmp-dev 2014-07-25 21:16:23 +00:00
Jeff Brown
0f208eb707 Remove DozeHardware since it will not be used.
Bug: 16516536
Change-Id: I14597d3c9470c94e3bc5b8cff500d2fe6b2fd977
2014-07-26 15:41:21 -07:00
Jeff Sharkey
20e0c50f60 Offer force-dex-opt when running as root.
Recently we removed the PackageManager inotify triggers, meaning the
only supported ways of installing apps were:

-- adb install -r Foo.apk
-- adb shell stop && adb sync && adb shell start

Iterating on most system apps (like Settings) can use the first
approach, but it doesn't work for "persistent" processes like
SystemUI.  (ActivityManager is very particular about how it deals
with persistent apps, and it always sticks with the first
ApplicationInfo found at boot.)

So to enable rapid iteration on persistent apps, we now offer the
one missing piece of forcing a dexopt with a new pm force-dex-opt
command only available to -eng or -userdebug builds.  Typical use
for iterating on persistent apps now looks like this:

$ mmm frameworks/base/packages/SystemUI/ && adb sync &&
    adb shell pm force-dex-opt com.android.systemui &&
    adb shell kill `pid systemui`

Yay!

Change-Id: I0ae2467f1d7cda56c70ba20953cd25fa8ee766ff
2014-07-25 21:11:47 +00:00
Jeff Sharkey
b64fd1957f am 891d3aa9: am a475ef57: am 4d700a9c: Merge "PackageInstaller changes based on feedback." into lmp-dev
* commit '891d3aa977653fb79f544f69fab2d214e58cd2b3':
  PackageInstaller changes based on feedback.
2014-07-25 19:25:10 +00:00
Craig Mautner
4c0ee261d3 am d559647d: am 053ce1e7: am 40185726: am a9c5257a: am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev
* commit 'd559647df21701a4a6fd3d233e33747a3a3a7ed8':
  Finish crashed activities immediately
2014-07-25 19:24:25 +00:00
Jeff Sharkey
53d64de0ac am a475ef57: am 4d700a9c: Merge "PackageInstaller changes based on feedback." into lmp-dev
* commit 'a475ef574492142bdfd9c25c93bd1e87cc9c712a':
  PackageInstaller changes based on feedback.
2014-07-25 19:19:20 +00:00
Craig Mautner
040491594d am 053ce1e7: am 40185726: am a9c5257a: am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev
* commit '053ce1e7a85e3ca7820a3b9e1b2c203d1a1a345b':
  Finish crashed activities immediately
2014-07-25 19:18:05 +00:00
Craig Mautner
5ec618e3c3 am a9c5257a: am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev
* commit 'a9c5257a15f2efb5c017d2ecadb5a7360230bfee':
  Finish crashed activities immediately
2014-07-25 17:43:37 +00:00
Adam Lesinski
54e650196a am 4d5eda90: am 42460fd6: Add Per-User logging of UsageStats
* commit '4d5eda904054382c118622d2d46546189dbbf70b':
  Add Per-User logging of UsageStats
2014-07-25 17:27:27 +00:00
Adam Lesinski
3c153519ca Add Per-User logging of UsageStats
Change-Id: I4518c5d3c56b3821292accb886f9fb21f3a8b25f
2014-07-25 17:18:54 +00:00
Kenny Guy
1d2ea07adc am 2afedc82: am 0f151df6: Add method to launch settings app details page.
* commit '2afedc8225d754f8422c96ae04988d7ce9891aa9':
  Add method to launch settings app details page.
2014-07-25 16:06:47 +00:00
Kenny Guy
466d203c4f Add method to launch settings app details page.
Add a method to LauncherApps to allow launchers to
show application details for an app in a managed profile.

Bug: 16371359
Change-Id: I23acb4365c09e4a7b9fa742ae6fc7e04434f45aa
2014-07-25 15:59:51 +00:00
Narayan Kamath
288db80e04 am 1f4a1c58: am a589b67f: Merge "Handle apps that share a UID with the system_server correctly." into lmp-dev
* commit '1f4a1c5823e11dd48a0d076ab88f33a32aef478a':
  Handle apps that share a UID with the system_server correctly.
2014-07-25 14:42:14 +00:00
Narayan Kamath
4e070e33dd am bbe9386f: am 77075e88: Merge "Handle renderscript apps in the system partition correctly." into lmp-dev
* commit 'bbe9386f0f639bde8422c1d02ea9c614cd396117':
  Handle renderscript apps in the system partition correctly.
2014-07-25 14:37:59 +00:00
Adrian Roos
7a2cb299a0 am f8a01f5f: am 6468d5c2: Merge "Restart trust agents when updated or when they are dead" into lmp-dev
* commit 'f8a01f5f011dc9e1324fc2b54fcf4d9e0695da37':
  Restart trust agents when updated or when they are dead
2014-07-25 13:16:13 +00:00
Nicolas Prevot
a8f076e8c3 am e7469eca: am c50bbc02: Merge "Migrate extras to ClipData for image/video capture intents." into lmp-dev
* commit 'e7469eca60b76931830e3679788865ee8582add1':
  Migrate extras to ClipData for image/video capture intents.
2014-07-25 12:26:24 +00:00
Yuncheol Heo
0e2855ae25 am d40418ce: am 0f5a4415: Merge "Check the validity of the port id of HdmiCecMessage only in TV." into lmp-dev
* commit 'd40418ced2a3eaa95d23fce44b32e16a869c6a8a':
  Check the validity of the port id of HdmiCecMessage only in TV.
2014-07-25 12:25:36 +00:00
Ji-Hwan Lee
1e9bc752e2 am 260a9884: am 4f2ba445: TIF: Remove ClientState.mInputIds
* commit '260a988429d96d466168865b9ec6153d6d669569':
  TIF: Remove ClientState.mInputIds
2014-07-25 12:25:32 +00:00
Ji-Hwan Lee
a65118e13b TIF: Remove ClientState.mInputIds
It's no longer used since callback is now global, instead of per-input.

Change-Id: I82e4d9b8999fb9c18819a12e8436cd94e7174206
2014-07-25 06:59:55 +00:00
Jinsuk Kim
45b0ff37f1 am 1e5b3846: am 885c07cf: Merge "Add portID information in HdmiCecDeviceInfo" into lmp-dev
* commit '1e5b38464ff3028064d4d04c60d6a030073d9429':
  Add portID information in HdmiCecDeviceInfo
2014-07-25 04:12:00 +00:00
Jungshik Jang
eefb303e66 am 5e93d5bd: am d0af31ad: Merge "Replace osd message for record status with IHdmiRecordCallback." into lmp-dev
* commit '5e93d5bd9d2331b6b9da03025d9e6634f413acc8':
  Replace osd message for record status with IHdmiRecordCallback.
2014-07-25 02:44:10 +00:00
JP Abgrall
7effe8a4f9 am bac1f926: am ff941249: MountService: Fix android.process.media crash repeatedly problem
* commit 'bac1f9265c9432d8ae19928e3a353c3864052c04':
  MountService: Fix android.process.media crash repeatedly problem
2014-07-25 02:27:32 +00:00
Michael Wright
a74f3e47d7 am 5886d7db: am f5f90d6c: Merge "Flip the permissions checks for video capture." into lmp-dev
* commit '5886d7dba5e8542a6fd87083830f65b09b95e82a':
  Flip the permissions checks for video capture.
2014-07-25 02:27:27 +00:00
Craig Mautner
078a404587 am 068d3b14: am 89539ae5: Create end of animation callback for Activity
* commit '068d3b142f993e80b83752f78dbe74b4c0bd46df':
  Create end of animation callback for Activity
2014-07-25 02:27:22 +00:00