OSDN Git Service
Chet Haase [Tue, 19 Jan 2016 16:52:08 +0000 (08:52 -0800)]
Add AutoCancelTest back to framework tests
This test used to fail consistently, but currently passes.
Adding it back to see whether whatever was causing it to fail has
since been fixed. If not, need to get failure logs to see what the problem
is during the automatic runs.
Issue #
23807249 Fix AutoCancelTest or delete it
Change-Id: Ied0e0d3a700d9ba36d4d5ef8ca95b8072e639851
Steve McKay [Tue, 5 Jan 2016 22:47:37 +0000 (22:47 +0000)]
Merge "Fix event relay to correctly dispatch events."
Chad Brubaker [Tue, 5 Jan 2016 22:37:06 +0000 (22:37 +0000)]
Merge "Unhide hostname aware isCleartextTrafficPermitted"
Steve McKay [Tue, 5 Jan 2016 20:53:35 +0000 (12:53 -0800)]
Fix event relay to correctly dispatch events.
This fixes:
- UI to show selection which was broken in ag/838866
- Delete undo, which throws IOB exception
when undoing a a full delete of all entries.
Change-Id: Idbb43510974e130d283313602a71ac15ad10aadf
Roozbeh Pournader [Tue, 5 Jan 2016 21:54:29 +0000 (21:54 +0000)]
Merge "Replace Qaae script with Zsye"
Seigo Nonaka [Tue, 22 Dec 2015 04:23:58 +0000 (13:23 +0900)]
Replace Qaae script with Zsye
The emoji variant script "Zsye" is registered in ISO 15924.
Bug:
26226285
Change-Id: Ie561d8192c4ec8f242706339ca67b44133867e50
Filip Gruszczynski [Tue, 5 Jan 2016 21:36:31 +0000 (21:36 +0000)]
Merge "Fix flashing dialogs when IME enters/exits."
Filip Gruszczynski [Tue, 5 Jan 2016 19:29:21 +0000 (11:29 -0800)]
Fix flashing dialogs when IME enters/exits.
The flashing is caused by changing the shown frame of the window
prematurely, before the animation kicks in. After the animation kicks
in, the shown frame goes back to the original position and then animates
to the final position.
We need the shown calculation to happen during layout for resizing and
the layout might be triggered at any time before the animation is run.
In order to avoid flashing, we don't calculate shown frame for windows
that are animating during the layout and let the animation position the
shown frame correctly later.
Includes also logging for inset setting, which triggers layout run.
Bug:
26323134
Change-Id: Ibe1efae798415d3564c659aa94c2b94af92c743a
Alex Klyubin [Tue, 5 Jan 2016 21:19:41 +0000 (21:19 +0000)]
Merge "No need to pass digest of AndroidManifest.xml around."
Tony Mantler [Tue, 5 Jan 2016 21:08:47 +0000 (21:08 +0000)]
Merge "Increase charlimit for select_logd_size_summaries"
Tony Mantler [Tue, 5 Jan 2016 20:53:51 +0000 (12:53 -0800)]
Increase charlimit for select_logd_size_summaries
b/
26328941
b/
26335699
Change-Id: I40d5b745a5794bc63e3cb4c8bfb357164b36265d
Julia Reynolds [Tue, 5 Jan 2016 20:47:20 +0000 (20:47 +0000)]
Merge "Show 'end now' in expanded volume panel."
Julia Reynolds [Tue, 5 Jan 2016 20:45:45 +0000 (20:45 +0000)]
Merge "DND visual interruptions: prevent screen on."
Winson Chung [Tue, 5 Jan 2016 19:41:23 +0000 (19:41 +0000)]
Merge "Fixing issue with exit animation due to incorrect visibility state."
Chad Brubaker [Tue, 5 Jan 2016 19:36:22 +0000 (11:36 -0800)]
Unhide hostname aware isCleartextTrafficPermitted
Change-Id: Id2bde5889d963ca2820fdecce1628dce022b510b
Steve McKay [Tue, 5 Jan 2016 19:29:46 +0000 (19:29 +0000)]
Merge "Move Adapters to their own classes."
Roozbeh Pournader [Tue, 5 Jan 2016 19:27:32 +0000 (19:27 +0000)]
Merge "Move Language normalization code from Paint.cpp to Minikin."
Roozbeh Pournader [Tue, 5 Jan 2016 19:23:42 +0000 (19:23 +0000)]
Merge "Optimize locale negotiation when there's only one locale"
Winson [Tue, 5 Jan 2016 01:51:18 +0000 (17:51 -0800)]
Fixing issue with exit animation due to incorrect visibility state.
- This CL ensures that only Recents updates the SysUI visibility state
for itself, ensuring that the visibility state reflects the state in
Recents, and allows us to skip unnecessary work to close system
dialogs when it is not required.
Bug:
26390248
Change-Id: Ib6301a8300cc3da6da75fcbbceceb0e1da3beab4
Wale Ogunwale [Tue, 5 Jan 2016 19:16:29 +0000 (19:16 +0000)]
Merge "Don't set replacing flag in starting windows."
Steve McKay [Wed, 23 Dec 2015 02:15:31 +0000 (18:15 -0800)]
Move Adapters to their own classes.
Move section break support into a separate wrapper class.
Fix issue where intermediate directory updates were briefly showing hidden files.
Add a rudimentary test for ModelBackedDocumentsAdapter.
Bug:
26293561,
26383237,
26293561,
26309025
Change-Id: I1fa489b110754d8801091b2009caebe9d2278701
Roozbeh Pournader [Tue, 5 Jan 2016 18:45:29 +0000 (18:45 +0000)]
Merge "Avoid matching system locales in locale negotiation"
Wale Ogunwale [Tue, 5 Jan 2016 18:43:25 +0000 (10:43 -0800)]
Don't set replacing flag in starting windows.
When ever an app is changing stacks we set replacing flag on all it's
windows. Starting windows can be part of an apps window list, but is
added by window manager not the app. So, when we set replacing flag
on the starting window it can cause the starting window never to be
cleaned up since we are expecting the client to replace it which will
never happen since it was added by window manager.
We shouldn't be setting replacing flag on starting windows since they
can never be replaced.
Bug:
26294740
Change-Id: I0a4f1e44188e96e73614130cbea02a3860850f58
Julia Reynolds [Tue, 5 Jan 2016 18:42:43 +0000 (13:42 -0500)]
Show 'end now' in expanded volume panel.
Bug:
26165288
Change-Id: I1e75a33f7745a7aa0b4740010cc554b4f1d924c6
Chris Craik [Tue, 5 Jan 2016 18:33:54 +0000 (18:33 +0000)]
Merge "Support for stencil clipping in layers"
Chris Craik [Mon, 4 Jan 2016 23:09:19 +0000 (15:09 -0800)]
Support for stencil clipping in layers
bug:
22480459
Change-Id: Ic9e8652379524ccc46d8722ce49f9190b08a2abc
Chris Craik [Tue, 5 Jan 2016 17:54:47 +0000 (17:54 +0000)]
Merge "Stencil support in new recorder/reorderer"
Julia Reynolds [Tue, 5 Jan 2016 13:35:25 +0000 (08:35 -0500)]
DND visual interruptions: prevent screen on.
Bug:
25423508
Change-Id: Ie935a2051e1ae774fbeaf624f3599b2b1bb8666d
Filip Gruszczynski [Tue, 5 Jan 2016 17:25:11 +0000 (17:25 +0000)]
Merge "Fix unnecessary relayouts"
Chris Banes [Tue, 5 Jan 2016 16:33:13 +0000 (16:33 +0000)]
Merge "Fix ToolbarActionBar invalidating destroyed Activities"
Filip Gruszczynski [Mon, 4 Jan 2016 23:56:07 +0000 (15:56 -0800)]
Don't push IME above all app windows and dock divider.
The IME should only be pushed above the application that requested it.
There might be other windows that go above the IME, e.g. spinner dialog.
We used to need the IME to go above all app windows, because the dock
divider goes above all app windows and we want IME above the dock
divider. This is not necessary anymore, because the dock divider is now
aware of the IME and changes it's size to available space. The
transition is also graceful enough, that it looks correct even when the
IME goes away.
Bug:
26325071
Change-Id: I8c05f2d200c5bb92c5fdb0d252e277fbe43a60a5
Jorim Jaggi [Tue, 5 Jan 2016 14:40:17 +0000 (15:40 +0100)]
Do not pass invalid bounds for dim layer #2
Bug:
26396656
Change-Id: Icb0419489a1b7a756a4622383c4c2462ee0d8d90
Jorim Jaggi [Tue, 5 Jan 2016 14:32:34 +0000 (15:32 +0100)]
Do not pass invalid bounds for dim layer
Makes the entire system freeze.
Bug:
26396656
Change-Id: I9e9b0a297a351cd8ef72cdc8f5994df6c42567d9
Jorim Jaggi [Tue, 5 Jan 2016 14:25:24 +0000 (15:25 +0100)]
Fix build
Change-Id: Ifd69818ca6d5dbf129f6c956c1a7dfae760e30d6
Jerome Gaillard [Tue, 5 Jan 2016 14:21:04 +0000 (14:21 +0000)]
Create new Navigation Bar for the Theme Editor Preview am:
3b90b74cf9
am:
968ee5368b
* commit '
968ee5368b7d626e7ac64b0befd212a04e9533cf':
Create new Navigation Bar for the Theme Editor Preview
Jerome Gaillard [Tue, 5 Jan 2016 14:16:57 +0000 (14:16 +0000)]
Create new Navigation Bar for the Theme Editor Preview
am:
3b90b74cf9
* commit '
3b90b74cf96c88267e20a410b639b68de84c3323':
Create new Navigation Bar for the Theme Editor Preview
Jorim Jaggi [Tue, 5 Jan 2016 13:43:25 +0000 (14:43 +0100)]
Fix unnecessary relayouts
Make sure mPendingBackDropFrame is always up-to-date.
Bug:
26396351
Change-Id: Icb61f3581ee75e94d45fc0f8ae0895535bb130ea
Jorim Jaggi [Mon, 4 Jan 2016 12:06:34 +0000 (13:06 +0100)]
Add nice animation when touching the docked divider handle
To make the interaction more dynamic.
Change-Id: I8fc3e6240c229753dc26122ae0994d59c4f6486e
Jorim Jaggi [Wed, 30 Dec 2015 12:54:32 +0000 (13:54 +0100)]
Implement parallax when dismissing docked/fullscreen stack
When moving the docked or the fullscreen task close to the side,
we add a nice parallax to indicate that this task will be dismissed.
Change-Id: Ide195876942c1614c186fd5f3ff3e86f6fdfec61
Jorim Jaggi [Tue, 29 Dec 2015 16:54:12 +0000 (17:54 +0100)]
Dim stack while dismissing
When dismissing the docked or fullscreen stack, a dim layer is
introduced for a nicer visual effect.
Change-Id: I9f12e331e978208aa9fd9e9883b3c8a36d4da3a0
Jorim Jaggi [Mon, 21 Dec 2015 13:45:18 +0000 (14:45 +0100)]
Refine snap position behavior
- Use the stable insets to communicate the system insets to the
docked divider view.
- When calculating the sizes for the snap positions, exclude the
system insets.
- Add 3 snap position modes: 16:9 in one window, 1:1, 16:9 in the
other (phone portrait). Only 1:1 (phone landscape). Fixed relation,
1:1, 1 - fixed relation (tablet portrait/landscape).
Change-Id: If2166c5fb99f12535eeab5de18e9f5aaf433d77c
Jorim Jaggi [Tue, 29 Dec 2015 13:28:32 +0000 (14:28 +0100)]
Add am command for CTS tests for resizedDockedStack (1/2)
Bug:
25015474
Bug:
26311778
Change-Id: Ia2b1f8ffc5c777d8199409041090a0106503c2e4
Jorim Jaggi [Wed, 23 Dec 2015 11:04:39 +0000 (12:04 +0100)]
Add developer option for freeform window support (1/2)
Also disable default force-resizable on non-user builds.
Bug:
25276672
Bug:
24815256
Bug:
26294625
Bug:
26294534
Change-Id: I5b31e494c993d2d9dad175b94b4f30637e8f3718
Jorim Jaggi [Mon, 21 Dec 2015 12:22:31 +0000 (13:22 +0100)]
Use different asset when docked stack exists
- Add the ability to add a listener when the existence of the
docked stack changes.
- Register SystemUI as such a listener and switch the recents
button asset when docked stack exists.
Change-Id: I05350878c5adc7ad9f0399f0c42d8d1615d44d02
Jorim Jaggi [Tue, 22 Dec 2015 15:29:16 +0000 (16:29 +0100)]
Freeze task bounds when relaunching
To make sure that task is only laid out with the size
that matches the current configuration, we have to "freeze"
the task bounds when we send a configuration change. Without this
change, it could happen that the app already laid out with the new
task bounds, but still had the old configuration, leading to
wrong layouts.
Bug:
26311778
Bug:
25015474
Change-Id: I8d3a3fdf3735f446a4affbbdb4986dafc97623a5
Jorim Jaggi [Tue, 22 Dec 2015 15:28:44 +0000 (16:28 +0100)]
Add infrastructure to track activitiy relaunches
As a preparation to start synchronizing task size
with activity relaunches, we need a infrastructure
so we know in AM/WM when an activity is relaunching
and when it's done relaunching.
Bug:
26311778
Bug:
25015474
Change-Id: Ied3795eddbcd112f6329494afbf13178ca49a799
Jorim Jaggi [Tue, 15 Dec 2015 22:57:31 +0000 (14:57 -0800)]
Change behavior when resizing docked stack
- Add an API resizeDockedStack to resize the docked stack
and supply temporary task bounds, which can be different from
the stack bounds.
- Use that API in SystemUI to only switch task bounds when
crossing thresholds, so we have less flickering and more
predictable resizing.
Bug:
25015474
Bug:
26311778
Change-Id: Id5c9277dd908ccc28f95dab023efc914757a50d0
Sailesh Nepal [Tue, 5 Jan 2016 11:56:12 +0000 (11:56 +0000)]
Merge "Fix InCallService permission doc"
Seigo Nonaka [Tue, 15 Dec 2015 18:03:36 +0000 (10:03 -0800)]
Move Language normalization code from Paint.cpp to Minikin.
This is 2nd attempt of I277a08b5a17d45c3edb8fb597fdf6786bbe9f83b
The language code to BCP47 conversion is done by Minikin.
Also this CL addresses the signature changes by
I8df992a6851021903478972601a9a5c9424b100c
Bug:
26168983
Change-Id: Id106e9bb5c3eaa6652b44a1735f427accaca1368
Wale Ogunwale [Wed, 30 Dec 2015 00:15:22 +0000 (16:15 -0800)]
Added support for notifying listeners when an activity is pinned.
Also, protected AMS#registerTaskStackListener call with
MANAGE_ACTIVITY_STACKS permission.
Bug:
26273032
Bug:
25928537
Change-Id: Ic5e663e373978e0429ecdcc6934a51a295c18268
Wale Ogunwale [Tue, 5 Jan 2016 03:21:45 +0000 (03:21 +0000)]
Merge "Refactored ActivityStarter#startActivityUnchecked to make it easier to follow"
Roozbeh Pournader [Tue, 5 Jan 2016 02:10:21 +0000 (02:10 +0000)]
Merge "Removed outdated TODO for LocaleList"
Roozbeh Pournader [Tue, 5 Jan 2016 02:03:36 +0000 (18:03 -0800)]
Removed outdated TODO for LocaleList
The suggested TODO is no longer deemed necessary (and is too
expensive to do for all LocaleLists). LocaleLists get (and will get)
passed down to the native level through strings that are the result
of calls to toLanguageTags(), which is pre-computed at construction
time. Users who need to interact with the native level can do their
own caching, such as in commit
cfc607cf57d453f977c9c4bf09b41ac481c4bbec.
Change-Id: I665f3b28eaf8df309bf1aec96f9d237aeb72865c
Wale Ogunwale [Tue, 5 Jan 2016 01:54:26 +0000 (17:54 -0800)]
Fix build breakage.
Change-Id: I694a885e705d2543e671fd2809bbb518176c3804
Wale Ogunwale [Tue, 29 Dec 2015 16:19:19 +0000 (08:19 -0800)]
Refactored ActivityStarter#startActivityUnchecked to make it easier to follow
Change-Id: I7566e69206753601fbc7b126da8b5db4891a955f
Wale Ogunwale [Tue, 5 Jan 2016 01:48:34 +0000 (01:48 +0000)]
Merge "Added hidden API for specifying launch stack in ActivityOptions"
Roozbeh Pournader [Tue, 5 Jan 2016 01:38:17 +0000 (17:38 -0800)]
Optimize locale negotiation when there's only one locale
Previously, we were finding the list of locales supported by the
system in all cases, costing us a JNI call, which was not necessary
when there was only one locale (which is expected to be quite
common).
Change-Id: I2f752a71a46b66ac2abb553a5939eddf0f761698
Chris Craik [Wed, 23 Dec 2015 00:32:23 +0000 (16:32 -0800)]
Stencil support in new recorder/reorderer
bug:
22480459
bug:
26358504
Adds complex (non-rectangular) clipping support, and overdraw
visualization. Doesn't support stencil clipping in layers.
Change-Id: I8d10c7f1d2769ab5756774ca672344cc09901f87
Doris Liu [Tue, 5 Jan 2016 00:54:36 +0000 (00:54 +0000)]
Merge "Avoid calling invalidateSelf() from draw call"
Doris Liu [Mon, 4 Jan 2016 22:32:00 +0000 (14:32 -0800)]
Avoid calling invalidateSelf() from draw call
Bug:
26329675
Change-Id: Ieb76b6f63a5139f6033ca9baa9ba6fac36ae466c
Svetoslav Ganov [Tue, 5 Jan 2016 00:06:03 +0000 (00:06 +0000)]
Merge "Remove FLASHLIGHT permission"
Wale Ogunwale [Mon, 28 Dec 2015 00:18:19 +0000 (16:18 -0800)]
Added hidden API for specifying launch stack in ActivityOptions
Bug:
26273032
Change-Id: Ifb9c70e6783b0426613709693e11742d80ba2fc3
Wale Ogunwale [Mon, 4 Jan 2016 23:57:17 +0000 (23:57 +0000)]
Merge "Added support for android.R.attr#alwaysFocusable"
Aga Wronska [Mon, 4 Jan 2016 23:25:51 +0000 (23:25 +0000)]
Merge "Change Internal Storage icon from sdcard to smartphone"
Matt Sarett [Mon, 4 Jan 2016 22:55:38 +0000 (22:55 +0000)]
Merge "Make BitmapFactory.Options API Changes"
Wale Ogunwale [Sat, 26 Dec 2015 15:36:26 +0000 (07:36 -0800)]
Added support for android.R.attr#alwaysFocusable
Allows an activity to always be focusable regardless of if it is in a
stack whose activities are normally not focusable. For example, activities
in pinned stack aren't focusable. This flag allows them to be focusable.
Also, changed ActivityInfo.#{resizeable, supportsPip} to use flags.
Bug:
26273032
Bug:
26034613
Change-Id: I8c63e6d3256757e2e6931e08b8a65269f5169d35
Wale Ogunwale [Mon, 4 Jan 2016 22:22:16 +0000 (22:22 +0000)]
Merge "Don't allow unfocusable activity/stack to gain focus"
Matt Sarett [Fri, 18 Dec 2015 18:07:01 +0000 (13:07 -0500)]
Make BitmapFactory.Options API Changes
This changes the documentation for inPreferQualityOverSpeed,
inDither, and requestCancelDecode().
These changes are a result of modifying the backends of
BitmapFactory and BitmapRegionDecoder to be faster, higher quality,
and to use standard libraries.
BUG:
26266063
BUG:
25556965
Change-Id: I9008fd276a38c737e242bcc6930ffe4e36d9fd1d
Roozbeh Pournader [Fri, 18 Dec 2015 22:22:14 +0000 (14:22 -0800)]
Avoid matching system locales in locale negotiation
Also:
1. Add AssetManager method for finding non-system locales: This is
used in per-app locale negotiation. (Normally,
AssetManager#getLocales() returns both system and non-system
locales.)
2. Match pseudolocales correctly in locale negotiation.
Bug:
25800576
Bug:
26236938
Change-Id: I116caf3a91c290deb4ad68b291c65b7035b18dd4
Chris Wren [Mon, 4 Jan 2016 21:33:46 +0000 (21:33 +0000)]
Merge "fix ActivityMetricsLogger counter names"
Andre Eisenbach [Tue, 29 Dec 2015 22:58:53 +0000 (14:58 -0800)]
Protect android.bluetooth.intent.DISCOVERABLE_TIMEOUT
Bug:
26347910
Change-Id: I61b211c3f32c9e79c40c2b07798dd9cb6d82df22
Jeff Sharkey [Mon, 4 Jan 2016 21:20:49 +0000 (21:20 +0000)]
Merge "More work towards triaging missing app behavior."
Chris Wren [Mon, 4 Jan 2016 21:20:17 +0000 (16:20 -0500)]
fix ActivityMetricsLogger counter names
Change-Id: I49e4785fdecfdbb60fc168539e654bcb7847d1dd
George Mount [Mon, 4 Jan 2016 21:14:38 +0000 (21:14 +0000)]
Merge "Tests for DatePicker keyboard interaction."
Chris Wren [Mon, 4 Jan 2016 21:07:24 +0000 (21:07 +0000)]
Merge "implement assistant service connection"
Fyodor Kupolov [Mon, 4 Jan 2016 20:59:12 +0000 (20:59 +0000)]
Merge "Return USER_OP_SUCCESS when force stopping a user"
Julia Reynolds [Mon, 4 Jan 2016 20:56:59 +0000 (20:56 +0000)]
Merge "Add 'more settings' and 'done' to guts."
Chad Brubaker [Mon, 4 Jan 2016 20:54:00 +0000 (20:54 +0000)]
Merge "Add ConfigNetworkSecurityPolicy" am:
2786002bd5
am:
a35d617cce
* commit '
a35d617cce6c9b1b1cba7e7c786849d21ea42d3e':
Add ConfigNetworkSecurityPolicy
Aga Wronska [Mon, 4 Jan 2016 20:53:18 +0000 (12:53 -0800)]
Change Internal Storage icon from sdcard to smartphone
Bug:
26143658
Change-Id: I7663a477c8e90e89f8f5dbed1b6f2c1f83e929d1
Chris Banes [Mon, 4 Jan 2016 20:41:59 +0000 (20:41 +0000)]
Fix ToolbarActionBar invalidating destroyed Activities
BUG:
26375399
Change-Id: Ieae13890896b1082b51a81317760b4975aeb5dff
Chad Brubaker [Mon, 4 Jan 2016 20:49:29 +0000 (20:49 +0000)]
Merge "Add ConfigNetworkSecurityPolicy"
am:
2786002bd5
* commit '
2786002bd51b229d9a4672e3c43f835796de06ea':
Add ConfigNetworkSecurityPolicy
Fyodor Kupolov [Mon, 4 Jan 2016 20:47:22 +0000 (12:47 -0800)]
Return USER_OP_SUCCESS when force stopping a user
Bug:
26379502
Change-Id: I08dc18eec5b8dccf63a806acc9b3bfda890ceedb
Wale Ogunwale [Fri, 25 Dec 2015 14:30:31 +0000 (06:30 -0800)]
Don't allow unfocusable activity/stack to gain focus
Prevents them from being resumed since we always want to resumed
activity to be a focusable acitvity.
Bug:
26273032
Change-Id: Ied832e100d9a2d8915762db53c9230774be21d1c
Wale Ogunwale [Mon, 4 Jan 2016 20:35:53 +0000 (20:35 +0000)]
Merge "Consolidate resume activity code around focused stack."
Alex Klyubin [Mon, 21 Dec 2015 19:32:53 +0000 (11:32 -0800)]
No need to pass digest of AndroidManifest.xml around.
When an APK is being installed, the full path to the file is
occasionally passed between processes. To detect changes to the file
during these handovers, the digest of the AndroidManifest.xml entry
could be passed around as well.
This security feature is no longer used and is no longer needed. APKs
should be installed using the modern Package Installer API
(android.content.pm.PackageInstaller).
Bug:
24542768
Change-Id: I2762634c85448e7adcd47ffc9a5294c021e127bd
Philip P. Moltmann [Mon, 4 Jan 2016 20:28:27 +0000 (20:28 +0000)]
Merge "Show indeterminate progress bar when job is queued or started and the progress is not known."
Chad Brubaker [Mon, 4 Jan 2016 20:26:56 +0000 (20:26 +0000)]
Merge "Add ConfigNetworkSecurityPolicy"
Julia Reynolds [Mon, 4 Jan 2016 20:24:01 +0000 (15:24 -0500)]
Add 'more settings' and 'done' to guts.
Change-Id: I0499869b1a40653ff1b179a95c55a22d8e12e718
Svetoslav Ganov [Mon, 4 Jan 2016 20:15:16 +0000 (12:15 -0800)]
Remove FLASHLIGHT permission
This permissions is not protecting access to the flashlight.
Anyone can use the latter via CameraManager.setTorchMode().
bug:
26383626
Change-Id: I44c6395b5a0f80c1c539cffe61715b29b401a775
Jeff Sharkey [Mon, 21 Dec 2015 21:16:43 +0000 (14:16 -0700)]
More work towards triaging missing app behavior.
Many places across the platform query package details without
gracefully handling packages or components that go missing for
various reasons. This can cause annoying user data loss, such as
resetting back to built-in apps or dropping of accounts, etc.
This change verifies that system callers have thought about these
edge cases by logging if they use default matching behaviors without
explicitly marking themselves as being "triaged." (The logging is
currently disabled by default.)
Also creates explicit definitions of supported flags for various
incoming PackageManager calls, and defines a clear distinction
between flag types:
-- GET-style flags are used to request additional data that may have
been elided to save wire space.
-- MATCH-style flags are used to include components or packages that
would have otherwise been omitted from a result set by current system
state.
There are a handful of existing GET flags that better fit under the
MATCH definition, so this change clones them to new constants and
marks the old ones as deprecated.
Fixes bug in JobSchedulerService to consider jobs from apps on
external storage. Revert some dialer behavior back to being
untriaged.
Change-Id: I9b6ab0968241e3479bddbd78de0c51e3b9917318
Dan Sandler [Mon, 4 Jan 2016 20:12:24 +0000 (20:12 +0000)]
Merge "Use GregorianCalendar.add() when searching for next alarm." am:
b52de8248f
am:
65a35016c1
* commit '
65a35016c1f22805c2e70b49ff2b121b9f7dc739':
Use GregorianCalendar.add() when searching for next alarm.
Jack Yu [Mon, 4 Jan 2016 20:10:01 +0000 (20:10 +0000)]
Fixed the incorrect cdma RAT detection logic.
am:
fa530b4a10
* commit '
fa530b4a10e8553afd58b827dfd7dcd8726126b4':
Fixed the incorrect cdma RAT detection logic.
Dan Sandler [Mon, 4 Jan 2016 20:07:38 +0000 (20:07 +0000)]
Merge "Use GregorianCalendar.add() when searching for next alarm."
am:
b52de8248f
* commit '
b52de8248f8e5f95f7984967e646eb9b3a641526':
Use GregorianCalendar.add() when searching for next alarm.
Jack Yu [Mon, 4 Jan 2016 18:04:34 +0000 (10:04 -0800)]
Fixed the incorrect cdma RAT detection logic.
Used the correct CDMA bitmask to determine if the bearer services
are based on 3GPP2 radio technologies.
bug:
26318528
Change-Id: Ic30c25aa7b67372898a041dd1f3a08a3abede394
Dan Sandler [Mon, 4 Jan 2016 19:58:42 +0000 (19:58 +0000)]
Merge "Use GregorianCalendar.add() when searching for next alarm."
Jason Monk [Mon, 4 Jan 2016 19:55:41 +0000 (19:55 +0000)]
Merge "Remove UserBoolean"
Winson Chung [Thu, 17 Dec 2015 22:08:55 +0000 (17:08 -0500)]
Refactoring lock-to-task state out of Task
- Moving the logic out of Task to the stack view which is more logical
and easier to manage
- This also includes a fix for the issue of the screen pinning not
showing up immediately after toggling it in Settings
Change-Id: I0357d59fc30b0327bbe6eeca10b310911aba3cc4
Jason Monk [Mon, 4 Jan 2016 19:54:40 +0000 (19:54 +0000)]
Merge "Better service management for QS 3rd party tiles"
Jason Monk [Mon, 21 Dec 2015 19:27:00 +0000 (14:27 -0500)]
Remove UserBoolean
Animate when the view is visible because its much simpler
Change-Id: I18598faae643124ad014f77a2e8a9229ccb726ce
Jason Monk [Mon, 21 Dec 2015 13:50:01 +0000 (08:50 -0500)]
Better service management for QS 3rd party tiles
Better wrapper around the service that will handle rebinding
when it dies, binding when it becomes available, and forwarding
along all messages to the service once it binds.
Also better handling of too many services at a time. Will only
ever bind to at most 3 tiles and will manage which ones are most
important to show based on pending clicks, last update, etc.
Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb