For Android N release, migrating and updating Scoped Directory Access
docs into regular DAC docs. Updated TOC and added redirect.
Removed preview/features doc. Updated and moved images.
Bug: 30257320
Change-Id: I3440fe1b74947cbfbd1ada6f5d6bee5e49847927
For Android N release, migrating and updating Direct Boot
docs into regular DAC docs. Updated TOC and added redirect.
Removed preview/features doc.
Bug: 30256895
Change-Id: I5c6d457dc69c911199f86f0e0ed93ec7d6244779
Isolated UIDs should be registered with a real app UID
before any process state changes are reported for them.
Bug:25195548
Change-Id: Id0d3a5373ca57d3725315b2d99e5f8e5286022c8
For Android N release, migrating and updating TV Recording
API preview docs into regular DAC TV (TIF) docs. Updating
training TOC and adding redirect. Removing preview/features doc.
Bug: 30224466
Change-Id: Ia92f27467ccaa1d36dc69c5bd3c784509f267791
If a process is important to the user, even if it is not
hosting an activity, we'll allow it to be restarted once
Change-Id: I3e2997d1ebe87514e8ce71f81698241234487ed8
Fixes: 30250003
In the Android Studio world, devs download the Android Support
*Repository*, not the now-deprecated *Library*. Updated the prose
and a screenshot to reflect this. Did other cleanup to docs to make
them more consistent with the new Android Studio/Gradle world. (For
example, the process for adding a library is now the same whether
or not the library has resources, so I consolidated the two "adding
a library" sections, and removed the paragraphs from features.html
that specified whether or not a library had resources.)
Also fixed bad formatting of code snippets (once again, we got bit by
the {@code <} issue). Changed the {@code} tags to <code></code> to
fix it.
Other misc. fixes too, as they popped up in the review process.
See first comment for doc stage location.
bug: 30269620
Change-Id: I72922655e9887d1365e97b75982432c97e041f1f
If we get onStopped before next resume, but previous exit animation
doesn't finish by the time the entering animation is started,
notifyAppResumed() won't do a surface cleanup (since it's already
stopped). Then maybeUpdateTransitToWallpaper() will think the wallpaper
target (launcher) is invisible because of the mAnimatingExit==true,
thus fails to pick WALLPAPER_OPEN animation.
We need to clear mAnimatingExit and relevant flags before
maybeUpdateTransitToWallpaper(). Currently we do it in handleOpeningApps
but that's too late.
bug: 30255354
Change-Id: Idb049c54978824709a190c413d82d42f40226aa7
There are 12 characters that Android is defaulting to emoji,
differing from UTR #51 recommendation. This tests for their proper
support.
Bug: 30379358
Change-Id: Icd570510090ef29b3b7a3520bc368c5f77f99fa4
(cherry picked from commit 10ea8f7431)
Sometimes we see a sequence like this when transitioning
between apps causes rotation changes.
1. New app becomes visible, causing the orientation to change
2. Old app gets marked as invisible, at this point its window
are still visible from client, so surface is marked as eligible
to be saved.
3. Old app calls relayout to invisible, we save surface.
Now if we restore the Surface it will be in the wrong orientation. It
never had a visible layout in the new one, it was just covered up
by the screenshot. To address this we track the rotation a window was
last visibily laid out in. If it doesn't match our current
rotation we can't use the saved surface.
Bug: 30171992
Change-Id: If814131810b6d01c5112afd145072a13a30b0401
For Android N release, migrating and updating PIP preview docs
into regular DAC TV docs. Updating TOCs and redirects as well.
Bug: 26487936
Change-Id: I00a57cc0bfff6929cdba56ce00a6a5e9a292e345
This patch treats AC wall chargers like phones supplying power. We only want to show the notification when connected to another phone, not to a AC wall charger.
Bug: 30418683
This reverts commit 0135516153.
Change-Id: I304c3f78916896ddb12129b11a0e691b3ef77819
Happens because CascadingMenuPopup calls setWidth() rather
than setContentWidth() like StandardMenuPopup does.
BUG: 30365568
Change-Id: Id850baaf1d9c5664220766e5e37869e2ec361a2d
- Log when hasTopUi state changes
- Add hasTopUi to dumpstate
- Only allow persistent processes to honor this flag
Bug: 30292998
Change-Id: Ifb481c8d50b102ea4cac3078ea3eb39e45c08259
For each of the localized languages, moving the multi-window preview
doc to its new location. Not attempting to update the doc for release,
aside from fixing a single image link--that will be left to the
translators.
Also changed the "qv-wrapper"/"qv" divs to "tb-wrapper"/"tv".
bug: 30407407
Change-Id: I01e4ca63e8f3972971067eb44546a8e1b3eec0e0
DecorCaptionView is used in app view hierarchy in freeform mode
and it inherits default ViewGroup#shouldDelayChildPressedState
implementation, which returns true by default for compatibility
reasons.
This results in touch not delivered to child views in some cases
until there is movement or up action. E.g. touch on SeekBar will
not change the position of control instantly in freeform, while
it does in other modes.
This CL disables delaying child pressed state for DecorCaptionView.
Bug: 30037893
Change-Id: I4917143610b6c0d404d2395670de9525c10f2a6c
Since I2e508ced90515409ff6882b3c98d8911094b9b86 updates the emoji
data to version 4.0 beta, we can now re-enable the disabled emoji
tests.
Also fix some style issues, update data file parsing method to handle
the new emoji format, add UN to unsupported flags, and do a little
refactoring.
Bug: 30379358
Bug: 26187231
Change-Id: I441fdfed68381d08e5e0b3af91e94bfae742eef6
This commit includes the following updates:
- replaces Basic activity with Empty activity
- uses default values wherever possible
- removes instructions for floating button
- removes SDK instructions. Users must use Android Studio
- updates the SDK version to API 15
- combines some instructions that were too text heavy
Bug: 29766869
Bug: 29768686
Bug: 19154557
Change-Id: Id819cb2dde74b68b5145dfefe7a8502892bb377a
(cherry picked from commit 08d1bff71f)
The "Network Security Configuration" page now appears in the correct
location on the DAC site for all 9 supported international
languages.
Bug: 27502850
Bug: 30407407
Change-Id: I04a7f0ef3eee9f887e76424d6d69cacc1d36c91d
In the Controlling Media section, updated the overview and sample code to
reference NotificationCompat.MediaStyle. Removed the note about the
pre-requisite to have Android 5.0 and higher.
Bug: 22505224
Change-Id: Id9a647ca8eec7f1b763227ee4fd1f18dee4bcb6f