This code uses a try/finally to maintain the old behavior of setting
implCreated even if creation fails.
Change-Id: Ieac05568477db4908cd4087714cf00a9addd1d20
Merge commit 'e5206694174d2140e662832425665ec3890fcc73' into gingerbread-plus-aosp
* commit 'e5206694174d2140e662832425665ec3890fcc73':
Another attempt for fixing AAC+/eAAC+ related issue
Merge commit '92630c787d0ae34c7ae3cb29c2d261f1acaf18b9' into gingerbread-plus-aosp
* commit '92630c787d0ae34c7ae3cb29c2d261f1acaf18b9':
SystemUI: Use new USB notifications to detect USB disconnect.
This constant is not public yet. Continuous autofocus should
behave differently in still camera and camcorder. In camcorder,
lens movement may be more smooth. And the triggers to start a
new focus search may be different. If there is a need,
FOCUS_MODE_CONTINUOUS_PHOTO can be added in the future.
Change-Id: I05df9e491aca37829be3df92a73b952f26c86a4a
This fixes a bug that prevented the USB mass storage activity from closing
when USB is disconnected.
The bug was actually due to using == for a string compare instead of equals(),
but using the new notifications is a better solution than using battery events
since it will work for devices that do not charge over USB.
BUG: 3018954
Change-Id: Ia447974726a52cd865e59df5af79e828b5134b6c
Signed-off-by: Mike Lockwood <lockwood@android.com>
Don't wipe out the connected status every time we get a cellular status change.
Don't filter out disconnect event for wifi - we need them.
bug:3009923
Change-Id: I68cadac5f44d6eb4e0fe711fda7c5d218abb45bd
Merge commit '51aaab3d6ba01263c3e1d81ca0567e0ad5cddb2d' into gingerbread-plus-aosp
* commit '51aaab3d6ba01263c3e1d81ca0567e0ad5cddb2d':
Fix#2999258: ANR in Settings after every reboot
The main problem here was in the error recovery when we are waiting
for a process to start but it has failed for some reason. The code
was just setting mPendingBroadcast to null, but this would cause
an eventual ANR because the state was not set back to IDLE so we
would continue waiting for the broadcast without trying to restart
its process.
Now we set it to idle. We also need to reset the "nextReceiver"
index, so there is a new mPendingBroadcastRecvIndex variable holding
what it should be set back to.
While digging into this, I found a number of other lesser problems:
- There is a race when booting the system where we set mSystemReady
to true before restarting the upgrade processes. This could allow
a broadcast to happen between those two and its process to immediately
be removed. To fix this, there is a new mProcessesReady that is set
once we are truly ready to start launching processes.
- There were various places where we were calling sendBroadcastLocked()
without the flag to send only to receivers... if this is called before
mProcessesReady is set, then we would end up sticking any process for
the broadcast on the holding list to not get launched until later
(and hang up all broadcasts as they want for it). Now we always make
sure to set this appropriately.
- sendBroadcastInPackage() was not doing all of the validation that
sendBroadcast() does.
And of course a bunch of new debugging logs that were done in the
course of tracking this down.
Change-Id: I6134bbd94fdb73db8b693507b29499eae012d543
+fix the unknown call flash for answering an incoming call and
updating the screen if the background call got dropped.
+change the getFirstActiveBgCall to return the call if the state
is not IDLE. This will help to fix unknown flash if the background
call got dropped.
Change-Id: I9803ccebd919acbd5296e7dfde7dc5f29cc9f180
Merge commit 'd23329df879993c71d9ba2d1e695f2dca8ef571c'
* commit 'd23329df879993c71d9ba2d1e695f2dca8ef571c':
DO NOT MERGE Enable debug in StatusBarService
Merge commit 'df59f257583730470085db65c7faf44960c3b32e' into gingerbread-plus-aosp
* commit 'df59f257583730470085db65c7faf44960c3b32e':
DO NOT MERGE Enable debug in StatusBarService
Merge commit '0ce12e210eaef554e96752af2553dadc431d6d09'
* commit '0ce12e210eaef554e96752af2553dadc431d6d09':
DO NOT MERGE. Wifi service now blames apps for its wake lock use.
Merge commit '65b5a65e790458be0d6f70fafa9e151ba22a9e2e'
* commit '65b5a65e790458be0d6f70fafa9e151ba22a9e2e':
In theory the package manager now scans /vendor/app
Merge commit 'aac4630cc5b3076e3cd6f65c52c8ff5f8f921957'
* commit 'aac4630cc5b3076e3cd6f65c52c8ff5f8f921957':
provide link to backup guide above the fold
Merge commit '4735be0211a996f791accc77aeb399df2258ab4c'
* commit '4735be0211a996f791accc77aeb399df2258ab4c':
New error status for "destination file already exists".