The existing View.SYSTEM_UI_FLAG_IMMERSIVE flag will be somewhat
redefined. Swiping will clear the flags, revealing the normal bars.
The new View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY flag will enable
hideybars - the auto-hiding, semi-transparent bar mode.
Bug:11062108
Change-Id: Ibf8be9072f0075953baa4580cd976e7562d44455
The requirement that a window that is invisible will not be drawn is
incorrect. In particular the test fails before a surface has even been
added (mHasSurface == false) or shown (mPolicyVisibility == false).
This was causing the screen to turn on before Keyguard had been drawn
and exposing surfaces that would have normally remained hidden.
Also, don't pass null into KeyguardServiceDelegate.onShown() or we
will immediately turn the screen on before Keyguard is drawn.
Fixes bug 11062635.
Change-Id: I964c7ef186d0a94678020b9c27ca6b79e5433350
When creating a new directory, we spawn an AsyncTask and finish the
fragment. This change keeps an Activity reference to report the
result back to.
Bug: 11137561
Change-Id: Icfccc5e50e8f53a50dced589e1564d64457e0ed0
When an app has already been started, and a ContentProvider component
is enabled with DONT_KILL_APP, use the existing ProcessRecord to
install the provider.
Bug: 11118692
Change-Id: I990f18b337eb19768ee1db895f1e2eb982046cce
Internal method CallerInfo.getCurrentCountryIso() can throw NPE
if the country detector's detectCountry() method returns null.
Add code to check that the Country is not null before calling
getCountryIso() on it. Change fallback logic to call
locale.getCountry() whenever countryIso was not assigned.
Bug: 10607906
Change-Id: I08fe3f4d942f67c37a2e6ff0b067fe32ad8a6fa5
* commit '047b70886330f95da279b7f140ec89313412c034':
Fix ImageReader onImageAvailable synchronization
ImageReader: fix the 0 crop rect size issue
ImageReader: get correct crop size
media: Update ImageReader to remove MaxImagesAcquiredException
media: Update ImageReader APIs
Hide Experimental WebView from dev settings DO NOT MERGE
* commit '984001af8f5fa54d0619a9f4157c87126ae62d89':
Fix ImageReader onImageAvailable synchronization
ImageReader: fix the 0 crop rect size issue
ImageReader: get correct crop size
media: Update ImageReader to remove MaxImagesAcquiredException
media: Update ImageReader APIs
Hide Experimental WebView from dev settings DO NOT MERGE
* commit '4951ebb9659c8118051d873310754bb161614503': (78 commits)
wappush: Use valid index for pdu including garbages
ImageReader: fix the 0 crop rect size issue
Hide Experimental WebView from dev settings DO NOT MERGE
Clear names from externally supplied WorkSources to WifiManager (b/10733757)
Only show launcher for the bottom activity in a task
Fix issue #10310128: CTS: android.security.cts.ServicePermissionsTest
Ensures that CompatibilityInfo is always set in Resources
Put soundpooled sounds in the right place.
Fix a regression in pausing activity immediately on sleep
TextureView/GLES20Canvas: Support synchronous GLConsumers
Debug for b/10689184.
Increasing visibility of pressed feedback for default ui widget assets
Use a separate thread for services that do NTP lookup
Also catch one more tablet layout NPE.
Fix tablet layout and resources.
New sounds for K.
Do not assign InputMethod to non-input windows.
Fix parenthetical error.
Fix media stress test.
Update the Connectivity Manager test suit to use InstrumentationTestCase.
...
* commit 'bf2993b1eddad61c24b60206eeeaf1fd0f01786b': (133 commits)
wappush: Use valid index for pdu including garbages
ImageReader: fix the 0 crop rect size issue
Hide Experimental WebView from dev settings DO NOT MERGE
Clear names from externally supplied WorkSources to WifiManager (b/10733757)
Only show launcher for the bottom activity in a task
Fix issue #10310128: CTS: android.security.cts.ServicePermissionsTest
Ensures that CompatibilityInfo is always set in Resources
Put soundpooled sounds in the right place.
Fix a regression in pausing activity immediately on sleep
TextureView/GLES20Canvas: Support synchronous GLConsumers
Debug for b/10689184.
Increasing visibility of pressed feedback for default ui widget assets
Use a separate thread for services that do NTP lookup
Also catch one more tablet layout NPE.
Fix tablet layout and resources.
New sounds for K.
Do not assign InputMethod to non-input windows.
Fix parenthetical error.
Fix media stress test.
Update the Connectivity Manager test suit to use InstrumentationTestCase.
...
In the RemoteController implementation, the inner class that
implements the IRemoteControlDisplay interface must have a weak
link to the RemoteController instance with which it is associated,
as MediaFocusControl and RemoteControlClient hold a strong
reference to this binder object in a different remote process.
Without a weak reference, any object referencing RemoteController
couldn't be independently garbage collected without a garbage
collection in the remote process.
Bug 8209392
Change-Id: I29e4274c45249b3cb0d3d89417c69e8fe8f62fc4
When killing a task from the recents UI, the activities in
the task would be scheduled for destruction, and the task would
be forcefully removed from the ActivityStack, destroying the
ActivityStack in the process if this was the last task. Since the
ActivityStack was removed, any activities calling back to report
their onDestroy was called (or any timeouts that trigger if
activities fail to do this) would be dropped and certain cleanup
routines would not be called.
Tasks and their ActivityStacks are removed automatically when the
activities within them are removed, so this manual removal was
preventing the cleanup routines from running.
bug:10920157
Change-Id: Ied9d4f8fea761a373a9a80a0dfe810590ab411d8