Nicolas Prevot
d1c99b1fe8
Migrate extras to ClipData for image/video capture intents.
...
The intents ACTION_IMAGE_CAPTURE, ACTION_IMAGE_CAPTURE_SECURE and ACTION_VIDEO_CAPTURE are now handled in a way
similar to ACTION_SEND and ACTION_SEND_MULTIPLE.
Migrate the uri in the EXTRA_OUTPUT extra to clipData, and add the flag GRANT_WRITE_URI_PERMISSION.
The userIds are now added to extra uris in the process receiving the intent, (not in the system process), because the
system process may not be able to parcel/unparcel the extras.
BUG: 15534203
Change-Id: I8f79666b726bc6d7745bf777ad3c7518945c5cc3
2014-07-25 10:22:19 +01:00
Narayan Kamath
43327a61eb
Fix regression in renderscript detection.
...
We must persist the selected (32 bit) ABI for legacy
renderscript apps so that we can launch them correctly.
bug: 16569287
Change-Id: I944acd0cf56ddb1f27337e01bca1b24cd369eb8f
2014-07-29 09:33:02 +00:00
Craig Mautner
6714e86a54
Refactor screen blocking logic.
...
Because of the call to turn on the screen introduced in ag/495255
is now made earlier we may not have sent the wakeup broadcast by
the time the windows have all drawn. In such a case onScreenOn()
did not release the wakelock and the screen stayed off.
This change ensures that no matter the timing of onScreenOn()
the wakelock will be released but only for the onScreenOn()
called in response to the most recent screen on transition.
Fixes bug 16404078.
Change-Id: Ic1e3e61e16c1fc34d4ec657e0e53ac49a05ca6a4
2014-07-24 20:49:57 +00:00
Jorim Jaggi
8a9068573c
Merge "Fix status icon reappearing for legacy activities" into lmp-dev
2014-07-24 15:35:58 +00:00
Jinsuk Kim
b26c24fdbe
am a01d3aa4: am 7baf28e3: am 1c937d63: Merge "Give clear distinction between active source/active routing path" into lmp-dev
...
* commit 'a01d3aa48cc1614e9d7c15c293efcf493eecf31a':
Give clear distinction between active source/active routing path
2014-07-28 12:14:38 +00:00
Jinsuk Kim
d5bf66ea8a
am 7baf28e3: am 1c937d63: Merge "Give clear distinction between active source/active routing path" into lmp-dev
...
* commit '7baf28e39e8ab8ebcb03390bee2b42ff9bdab78e':
Give clear distinction between active source/active routing path
2014-07-28 12:09:23 +00:00
Christopher Tate
4b111442d7
am 8ac64af6: am 9cd88b91: am 7c98ecd3: Schedule full backups
...
* commit '8ac64af6236b03e0af6ee95bd579612a6d1ef4d4':
Schedule full backups
2014-07-28 01:31:47 +00:00
Christopher Tate
083bdc68a9
am 9cd88b91: am 7c98ecd3: Schedule full backups
...
* commit '9cd88b9105742ffa15584183d3b3337d98f750be':
Schedule full backups
2014-07-28 01:29:20 +00:00
Christopher Tate
5eeb59cceb
Schedule full backups
...
Initial policy: at most daily; backups only run when the
device is idle + charging + on an unmetered network.
Bug 16485874
Change-Id: I5665d890a943bac765adcef14be79d7dba6ce078
2014-07-28 01:21:48 +00:00
Jeff Brown
e468f29992
am 501cdb21: am 3efb37d2: am 636e6b73: Minor tweak to screen dimming policy.
...
* commit '501cdb21024050ec44ef9fbfcf8c4ce0a248666a':
Minor tweak to screen dimming policy.
2014-07-27 22:37:18 +00:00
Jeff Brown
a621dc5a92
am 3efb37d2: am 636e6b73: Minor tweak to screen dimming policy.
...
* commit '3efb37d23c14682b2958399ac05332e6eee2cdc2':
Minor tweak to screen dimming policy.
2014-07-27 22:32:52 +00:00
Jeff Brown
5c8ea084e6
Minor tweak to screen dimming policy.
...
Avoid accidentally raising the brightness above the normal minimum
if for some reason we already decided it should be less.
Change-Id: Ib47385287be3ef8719c25148575b1f59589add8c
2014-07-27 15:19:20 -07:00
Robert Greenwalt
61a9c9478c
am 15ab3fab: am ea444fe7: am 0280963e: Move Alarm setup to systemReady.
...
* commit '15ab3fabac91e64cf4ef13fb6060882e4d94c533':
Move Alarm setup to systemReady.
2014-07-27 19:58:45 +00:00
Robert Greenwalt
0d5ac0b208
am ea444fe7: am 0280963e: Move Alarm setup to systemReady.
...
* commit 'ea444fe795e00f793dda5e380e55beb178e83ef7':
Move Alarm setup to systemReady.
2014-07-27 19:55:06 +00:00
Robert Greenwalt
f9b5c26309
Move Alarm setup to systemReady.
...
Don't register alarms before the system is ready.
bug:16484913
Change-Id: Iae5c75ff8d40d4d39dbb23ff65a600b4a00cd1f0
2014-07-27 12:30:51 -07:00
John Spurlock
d8ec2c85bb
am f11f938f: am 7ad3fea6: am 80be3129: Handle special users in default app check.
...
* commit 'f11f938fa4be5a326b29975e60d53b6565711720':
Handle special users in default app check.
2014-07-27 16:04:43 +00:00
John Spurlock
3f2db8e4b9
am 7ad3fea6: am 80be3129: Handle special users in default app check.
...
* commit '7ad3fea65b792b20870bb60052c405582b8f7b0d':
Handle special users in default app check.
2014-07-27 16:00:56 +00:00
John Spurlock
b5e767b509
Handle special users in default app check.
...
Change-Id: I3d1828f143a677bf48cc3caeff125196b6d315e3
2014-07-27 11:53:20 -04:00
Sreeram Ramachandran
917a2aa147
am 022adc96: am 7618c339: am c52817e9: Fix issues with noticing that a VPN interface is gone.
...
* commit '022adc9668b8dee2e05738a3cedfeafa6a2835b8':
Fix issues with noticing that a VPN interface is gone.
2014-07-27 15:43:03 +00:00
John Spurlock
1b67448fcf
am d1518fe6: am 592226f6: am e6de13b1: Merge "Zen: Remove hardcoded package name filters." into lmp-dev
...
* commit 'd1518fe697c71c321a550ce847772bdcc0014177':
Zen: Remove hardcoded package name filters.
2014-07-27 15:38:37 +00:00
Sreeram Ramachandran
49acdf6846
am 7618c339: am c52817e9: Fix issues with noticing that a VPN interface is gone.
...
* commit '7618c3396e7d047117528fd9aea06eca6dbae71c':
Fix issues with noticing that a VPN interface is gone.
2014-07-27 15:36:50 +00:00
John Spurlock
6d37b59c6a
am 592226f6: am e6de13b1: Merge "Zen: Remove hardcoded package name filters." into lmp-dev
...
* commit '592226f656da40d795523ef4cf46f90b26f0ce40':
Zen: Remove hardcoded package name filters.
2014-07-27 15:32:38 +00:00
Sreeram Ramachandran
030a6b9234
Fix issues with noticing that a VPN interface is gone.
...
The root cause of both bugs linked below is the same. In establish(), we call
agentConnect(), which sets the state to CONNECTED. But right before returning
from establish(), we set the state to AUTHENTICATING, which is a "CONNECTING"
state. Later, when the interface is gone (either because the VpnService closed
it, or because the process got killed), agentDisconnect() doesn't do anything
because "isConnected()" is false.
We could fix it by changing that to "isConnectedOrConnecting()", but I think a
superior fix is to get rid of the bogus AUTHENTICATING state. It was added in
http://ag/214042 two years ago, with a TODO saying to eventually make sure it
becomes CONNECTED, but that never seems to have been followed up on.
I don't see any use for this AUTHENTICATING state. Although I haven't tested it,
code inspection suggests that the legacy VPN doesn't seem to care, and it sets
its own states in execute() and such.
Bug: 16495146
Bug: 16495887
Change-Id: Ie2a40aa1a8a173665d8b7aa9fab5ae6e800ba5fb
2014-07-27 15:27:03 +00:00
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
Sandeep Siddhartha
0e2594b37c
am 4c96adaa: am 678883cc: am 5940eb3a: Fix various bugs with model management
...
* commit '4c96adaa1ec3c225fc7e57078787d88709456914':
Fix various bugs with model management
2014-07-26 00:30:25 +00:00
Sandeep Siddhartha
62f76f45fe
am 678883cc: am 5940eb3a: Fix various bugs with model management
...
* commit '678883cc235ea0a69be96ff988b26d0c92203022':
Fix various bugs with model management
2014-07-26 00:26:53 +00: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
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
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