When the user enters details (title or description) to the bugreport,
Shell tries to add a title.txt (and/or description.txt) to the zip and
uses 2 instance variables (addedDetailsToZip and addingDetailsToZip) to
control its state.
The problem with the current approach is that if there is a failure
adding the entries (for example, if the entries already exist), these
variables are not updated and hence when the user taps Share, it will
try to add the entries again, which most likely would fail.
BUG: 28291423
Change-Id: I56a71256be4f8de15f8126b815334277319e8e8a
Adds setSustainedPerformanceMode(boolean) API for applications to set
the mode for a given window. The mode will be disabled automatically when the
window is no longer in focus.
Bug: 28150358
Change-Id: Ibe8bc564eeaaccbcaad5c4f792cda16da931dffd
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Building input list for background user leads to unnecessary connection
request to hardware input and that causes incomplete service state.
Bug: 27407198
Change-Id: Id8d5d5001394781edd2dafe8681c674855332ae3
Ensure we send out the current QSService and Tile to the TileService
before we write to mWrapper allowing other commands to come through.
Change-Id: Ia3f470083d97d85fa726b1add3706db6278c7d1e
Fixes: 27871492
Intent.ACTION_VIEW is only used for browsing ZIP files from Downloads.
FragmentTuner should ignore the MIME type from the MIME type filter.
This CL removes the MIME type filtering logic from FilesTuner, as
I believe FilesActivity is never used for picking items, so there should
be no need to mark any files as disabled.
Bug: 28267117
Change-Id: Iba92f82aca60154674a4bea3265b0f1a3ae296dc
Previously MtpDevice#readEvent does not have throws IOException at its
definition, though internal JNI functions throws it.
BUG=28254719
Change-Id: I4e6cf8003d168b7e732c4b4eb2eafe52a12442c2
We were still having some troubles with attached windows which we
werent properly promoting here. Now we catch everything with
the mIsImWindow flag. Before it was safe to assume dialogs
were on top of the Input Method but with a whole range of child
windows we need to be more careful. WindowManagerService has
been very careful preparing the window list for us, so carry
out its wishes and preserve the original relative ordering of
input method windows when restacking.
Bug: 28235787
Change-Id: Ied96d83f77b82df81b3b0aa94cb61e9c22999d23
We recently added the width/height <0 check to prevent
passing unresolved widths in to tryFitVertical or
tryFitHorizontal and produce strange behaviors. This made
more sense than the code before it but still not that much
sense. We need to treat MATCH_PARENT and WRAP_CONTENT differently
as the documentation suggests.
Bug: 28267951
Change-Id: I6f2f248c8d1f63d31bdd75c24f7250c28381c712
- Allows several callbacks from different processes to register with
the ContextHub service.
- Add an 'internal' callback that can be used for primary clients.
- Fix issue with parceling NanoApp info
Change-Id: Iec203e8b8bc847cb9274f3f4157d0773984dd87c
Too many other tasks run on common handlers, and the batterystats collection
may block waiting for a timeout of up to 2 seconds.
Bug:27857665
Change-Id: I5be1ddc374d69620f4f7d821eb29e8524294c9a4
The user has already passed the keyguard test by
dragging down. We're not doing anti falsing at this
point and doing it on the affordance was triggering
a crash on debuggable builds (and not working at all
on regular builds).
Change-Id: Icaf81e8e2a38503851c7b5699a0f5a3d363dac19
Fixes: 28154836