OSDN Git Service
Christopher Tate [Fri, 8 Jan 2016 23:36:00 +0000 (15:36 -0800)]
Fix typo in protected broadcast decls
Bug
26471149
Change-Id: I4332fd9adc52d3bd2f6ee0ce3718bf844f1f9843
Jeff Sharkey [Fri, 8 Jan 2016 23:36:54 +0000 (16:36 -0700)]
Fix build.
Change-Id: If128c90225a2237ea015063cec526a64af5bf576
Jeff Sharkey [Fri, 8 Jan 2016 23:18:13 +0000 (23:18 +0000)]
Merge "Update javadoc for flags"
Andy Hung [Fri, 8 Jan 2016 23:17:56 +0000 (23:17 +0000)]
Merge "Add setMasterMono and getMasterMono"
Todd Kennedy [Fri, 8 Jan 2016 21:44:51 +0000 (13:44 -0800)]
Update javadoc for flags
Bug:
25997037
Change-Id: Ia44634b0271ad0195d857ef13afec2a1ef022fae
Jeff Sharkey [Fri, 8 Jan 2016 23:14:25 +0000 (23:14 +0000)]
Merge "More progress on triaging PackageManager callers."
Jeff Sharkey [Fri, 8 Jan 2016 01:50:29 +0000 (18:50 -0700)]
More progress on triaging PackageManager callers.
Catch a bunch of simple cases where the PackageManager flags are
obvious. Add the ability to use the MATCH_SYSTEM_ONLY flag on
PackageInfo and ApplicationInfo queries.
Re-examine recent tasks after a user is unlocked, since some of the
activities may now be available and runnable.
Bug:
26471205,
26253870
Change-Id: I989d9f8409070e5cae13202b47e2c7de85bf4a5b
Ben Kwa [Fri, 8 Jan 2016 22:57:28 +0000 (22:57 +0000)]
Merge "Hide the divider in list mode."
Filip Gruszczynski [Fri, 8 Jan 2016 22:43:31 +0000 (14:43 -0800)]
Short-circuit AMS.setFocusedTask if the task is already focused.
Bug:
25236192
Change-Id: I369d3815c171ccef99d7dbe68dfb2b1f61be65dc
Andy Hung [Sat, 19 Dec 2015 01:33:27 +0000 (17:33 -0800)]
Add setMasterMono and getMasterMono
Bug:
15283594
Bug:
22700363
Change-Id: I5d0552938ec2a54be4450512974d92ff8c77b1e9
Ben Kwa [Fri, 8 Jan 2016 21:31:11 +0000 (13:31 -0800)]
Hide the divider in list mode.
BUG=
26399570
Change-Id: I5013bf9ae80c003419f3f22dcf2a7e6787c19711
Julia Reynolds [Fri, 8 Jan 2016 21:09:21 +0000 (16:09 -0500)]
Increase notification priority for adb connections.
Change-Id: I04ec4dac40737d59a32775e579f734a5460db25c
Chong Zhang [Fri, 8 Jan 2016 21:10:43 +0000 (21:10 +0000)]
Merge "Remove dead window if its activity record is cleared from history"
Todd Kennedy [Fri, 8 Jan 2016 21:01:06 +0000 (21:01 +0000)]
Merge "resolve merge conflicts of
0271416563 to "
Todd Kennedy [Fri, 8 Jan 2016 20:58:52 +0000 (12:58 -0800)]
resolve merge conflicts of
0271416563 to master.
Change-Id: If5673a4db65bd9ea7da71b0d25f7c26e88cc4818
Ben Kwa [Fri, 8 Jan 2016 20:58:24 +0000 (20:58 +0000)]
Merge "Fix home key behaviour when there are no subdirs in cwd."
Ben Kwa [Fri, 8 Jan 2016 20:57:40 +0000 (20:57 +0000)]
Merge "Fix shift-selection."
Ben Kwa [Fri, 8 Jan 2016 20:00:37 +0000 (12:00 -0800)]
Fix shift-selection.
The shift-selection code was failing to correctly anchor the selection
prior to shifting focus. This meant that the first shift-navigation
event (i.e. starting from non-selection mode) would not select the right
set of stuff.
BUG=
26459949
Change-Id: I62ed959fb549198c503cfd2131d2499f9a61f7e5
Michael Wright [Fri, 8 Jan 2016 20:55:02 +0000 (20:55 +0000)]
Merge changes from topic 'kb-layout'
* changes:
Always show enabled keyboards.
Bandaid over broken keyboard layout selection process.
Mahaver Chopra [Fri, 8 Jan 2016 20:20:02 +0000 (20:20 +0000)]
Merge "Handle null pointer exception"
Ben Kwa [Fri, 8 Jan 2016 16:41:34 +0000 (08:41 -0800)]
Fix home key behaviour when there are no subdirs in cwd.
The divider is extraneous when a directory contains only subdirs, or
only files. The "only dirs" case works (the divider is omitted) but in
the case where a directory contains only files, a divider gets inserted
at position 0, which messes up navigation. This change adds code to
avoid adding a divider when a directory contains only files.
BUG=
26406821
Change-Id: I7333911baf94e34bf428a3dd18b55694a73e3a62
Jeff Sharkey [Fri, 8 Jan 2016 19:30:59 +0000 (19:30 +0000)]
Merge "Verifier is required, except when it's not."
Jeff Sharkey [Fri, 8 Jan 2016 19:28:29 +0000 (12:28 -0700)]
Verifier is required, except when it's not.
There are still some devices out there that are missing a verifier,
so relax this until we have time to look closer.
Bug:
26438767
Change-Id: I10e154d736619963c20aaed8199a457f3004011c
Anna Galusza [Fri, 8 Jan 2016 19:25:01 +0000 (19:25 +0000)]
Merge "Add remaining Accessibility Settings to backup list. Note additional settings that should not be restored if they are already set (on account of the new Setup Wizard, which allows critical Accessibility Settings to be set before restore)."
Mahaver Chopra [Fri, 8 Jan 2016 19:23:57 +0000 (19:23 +0000)]
Handle null pointer exception
Handle null pointer exception, just in case calling entitity doesn't
check.
Change-Id: I1b4809476cc689ad3dfd426e123a64e9a0336c87
Jeff Sharkey [Fri, 8 Jan 2016 19:03:29 +0000 (19:03 +0000)]
Merge "Skip package updates when user is locked."
Jeff Sharkey [Fri, 8 Jan 2016 19:02:45 +0000 (12:02 -0700)]
Skip package updates when user is locked.
Bug:
26464060
Change-Id: If762ce799f402571fd0387947f19c824f4a1b000
Mahaver Chopra [Fri, 8 Jan 2016 18:39:15 +0000 (18:39 +0000)]
Merge "Added Data roaming user restriction"
Victor Chan [Fri, 8 Jan 2016 18:28:23 +0000 (18:28 +0000)]
Merge "Fix crash in car system ui."
Chong Zhang [Thu, 7 Jan 2016 03:14:47 +0000 (19:14 -0800)]
Remove dead window if its activity record is cleared from history
We keep the dead window if its activity record is kept. However, if
the activity doesn't have any saved state, the record will be removed
too, in that case we have to remove that window.
And add a "apps" option in window dump to retrieve all app windows
regardless of the visible states. We need this to get the windows
that's waiting for replacements.
bug:
26324082
Change-Id: I7179354fe85553a5436b26371d3ad7295a452ce3
Alan Viverette [Fri, 8 Jan 2016 18:16:37 +0000 (18:16 +0000)]
Merge "Add support for tick marks in SeekBar"
Jeff Sharkey [Fri, 8 Jan 2016 18:12:32 +0000 (18:12 +0000)]
Merge "Oh look, GmsCore is using more hidden APIs."
Todd Kennedy [Fri, 8 Jan 2016 18:11:33 +0000 (18:11 +0000)]
Merge "Update PackageInstaller install handing"
am:
47950e588c
* commit '
47950e588c59ff58d12b3429d285e3330b9dfe01':
Update PackageInstaller install handing
Jeff Sharkey [Fri, 8 Jan 2016 18:07:13 +0000 (11:07 -0700)]
Oh look, GmsCore is using more hidden APIs.
Bug:
26429932
Change-Id: Ie949d4bbdead8864aaed16282a591258ef528ca8
Mahaver Chopra [Thu, 17 Dec 2015 11:02:37 +0000 (11:02 +0000)]
Added Data roaming user restriction
Added new user restriction DISALLOW_DATA_ROAMING, can only be set
by device owners.
Bug:
24890464
Change-Id: Ic4cb37dd5f9bbffa35f921751488ef7c7ff99452
Jeremy Joslin [Fri, 8 Jan 2016 18:05:43 +0000 (18:05 +0000)]
Merge "Use UserHandle.USER_SYSTEM in place of 0."
Todd Kennedy [Fri, 8 Jan 2016 18:03:15 +0000 (18:03 +0000)]
Merge "Update PackageInstaller install handing"
Michal Karpinski [Fri, 8 Jan 2016 18:00:18 +0000 (18:00 +0000)]
Merge "Adjusting AMN#requestBugReport() to be able to invoke 3 types of bugreport services"
Felipe Leme [Fri, 8 Jan 2016 17:51:56 +0000 (17:51 +0000)]
Merge "Added new API for URI permissions management."
Michal Karpinski [Fri, 11 Dec 2015 18:16:30 +0000 (18:16 +0000)]
Adjusting AMN#requestBugReport() to be able to invoke 3 types
of bugreport services
ActivityManagerNative#requestBugReport() now can accept 3 types:
FULL, INTERACTIVE AND REMOTE.
Bug:
26152603
Change-Id: Ife9bbef4691e172fb56b72b256880f0d4ad4d198
Andreas Gampe [Fri, 8 Jan 2016 17:48:44 +0000 (17:48 +0000)]
Merge "Frameworks/base: New preload tool" am:
f2c7983de1
am:
f2eb8b236f
* commit '
f2eb8b236fada3e7223617689776ef44c9403cfa':
Frameworks/base: New preload tool
Andreas Gampe [Fri, 8 Jan 2016 17:44:54 +0000 (17:44 +0000)]
Merge "Frameworks/base: New preload tool"
am:
f2c7983de1
* commit '
f2c7983de141d008c7c02e3331fbde67e13ac46c':
Frameworks/base: New preload tool
Deepanshu Gupta [Fri, 8 Jan 2016 17:37:56 +0000 (17:37 +0000)]
Merge "Java 8 in layoutlib-create"
Chris Craik [Fri, 8 Jan 2016 17:37:39 +0000 (17:37 +0000)]
Merge "Partial unclipped save layer support"
Andreas Gampe [Fri, 8 Jan 2016 17:35:45 +0000 (17:35 +0000)]
Merge "Frameworks/base: New preload tool"
Jeremy Joslin [Fri, 8 Jan 2016 17:30:44 +0000 (09:30 -0800)]
Use UserHandle.USER_SYSTEM in place of 0.
Change-Id: I3bc5f2d326b0b5c6797f3ac259d0e3d42a3afa0f
Anna Galusza [Tue, 22 Dec 2015 18:53:44 +0000 (10:53 -0800)]
Add remaining Accessibility Settings to backup
list. Note additional settings that should not be
restored if they are already set (on account of
the new Setup Wizard, which allows critical
Accessibility Settings to be set before restore).
Change-Id: I95524abbef20ab12e529a2b1e6165adc7294c3db
Andreas Gampe [Tue, 15 Sep 2015 15:57:12 +0000 (08:57 -0700)]
Frameworks/base: New preload tool
Add a new preload tool based on hprof dumps. This means that only
a userdebug build (to adjust the pre-existing preloaded-classes
file) is required now, not a recompiled runtime.
Change-Id: Ib0c00de3b248e49fa8271cbace67c5d4a50170a1
Ben Kwa [Fri, 8 Jan 2016 17:06:29 +0000 (17:06 +0000)]
Merge "Add checkmark icons for selection."
George Mount [Fri, 8 Jan 2016 16:30:38 +0000 (16:30 +0000)]
Merge "Fix for Activity Transitions restoring views bug."
George Mount [Mon, 4 Jan 2016 22:56:08 +0000 (14:56 -0800)]
Fix for Activity Transitions restoring views bug.
Bug
26426496
When finish() came immediately after finishAfterTransition(),
the Views of the reentering Activity would not be restored
properly. This forces the entering Views to show if they
aren't already transitioning in.
Change-Id: If3ab37be8eb5dd3d7649db75385adb9fa214cb4c
Deepanshu Gupta [Thu, 7 Jan 2016 23:54:27 +0000 (15:54 -0800)]
Java 8 in layoutlib-create
Upgrade to ASM 5 and diamond operators.
Also minor fixes here and there.
Bug:
26442940
Change-Id: I5611ed0889aa94cca8655fec47799e1ddccb0150
Chris Wren [Fri, 8 Jan 2016 15:50:13 +0000 (15:50 +0000)]
Merge "allow listeners to disable themselves"
Matt Sarett [Fri, 8 Jan 2016 15:47:32 +0000 (15:47 +0000)]
Merge "Deprecate mCancel in BitmapFactory.Options API"
Julia Reynolds [Fri, 8 Jan 2016 15:46:22 +0000 (15:46 +0000)]
Merge "Sort notifications by importance."
Julia Reynolds [Fri, 8 Jan 2016 14:51:24 +0000 (09:51 -0500)]
Sort notifications by importance.
- Importance trumps 'package priority'
- Only notifications with a high enough importance can be intrusive
- default and lower importance notifications don't appear on the lock
screen and appear below the speed bump in the shade
Also, stop downgrading MAX importance noisy notifications.
Bug:
26425560
Change-Id: Ibb952eb6f8d0d336a1060332f58c8ba622f29867
Jason Monk [Fri, 8 Jan 2016 14:50:17 +0000 (14:50 +0000)]
Merge "Add suggestions parsing to SettingsLib"
Jason Monk [Thu, 7 Jan 2016 21:22:53 +0000 (16:22 -0500)]
Add suggestions parsing to SettingsLib
Add a parser that will parse an XML of the suggestion categories
and ordering and query those categories into Tiles.
Change-Id: I3154c94e176108358163bbe36feb48e889fe00d1
Jason Monk [Fri, 8 Jan 2016 14:18:42 +0000 (14:18 +0000)]
Merge changes I875b962b,I99c4c290
* changes:
Add API for System QS tiles to set status icons
Cleanup the status bar flow.
Clara Bayarri [Fri, 8 Jan 2016 14:08:18 +0000 (14:08 +0000)]
Merge "Create a new Logging constant for Profile Challenge Settings"
Jason Monk [Wed, 6 Jan 2016 13:51:26 +0000 (08:51 -0500)]
Add API for System QS tiles to set status icons
Allow system apps that have a Quick Settings tile to show a
status bar icon. If the quick settings tile is removed, the
status bar icon will no longer be shown.
Change-Id: I875b962bbdf4ff863012de688a3dd29a8d7e11ab
Jason Monk [Tue, 5 Jan 2016 19:59:19 +0000 (14:59 -0500)]
Cleanup the status bar flow.
- Don't round trip to the status bar manager to know the state
- Manage the state of icons closer to where they are displayed
- Move StatusBarIconList into SysUI because it isn't used elsewhere now
Change-Id: I99c4c290c18fc776914a43b1cde157f92bb36ac2
Gustav Sennton [Fri, 8 Jan 2016 13:47:14 +0000 (13:47 +0000)]
Merge "Add missing traces for WebView loading steps."
Gustav Sennton [Wed, 6 Jan 2016 17:11:09 +0000 (17:11 +0000)]
Add missing traces for WebView loading steps.
Ever since the refactoring of WebViewFactory - to support using one out
of a list of WebViewProviders - we cover less of the loading code with
traces, this CL fixes this.
Bug:
26409579
Change-Id: I9d74321806037ea34a5ace8fc75b07ca771ab7d9
Narayan Kamath [Fri, 8 Jan 2016 09:48:32 +0000 (09:48 +0000)]
Merge "Trivial correction of Camera2 API description" am:
a909dad0c3
am:
7e308606f6
* commit '
7e308606f605dd1bd047e20e17ee53122a64b8ba':
Trivial correction of Camera2 API description
Narayan Kamath [Fri, 8 Jan 2016 09:44:34 +0000 (09:44 +0000)]
Merge "Trivial correction of Camera2 API description"
am:
a909dad0c3
* commit '
a909dad0c36542ffbc155f98b4eb054921b1bbd0':
Trivial correction of Camera2 API description
Narayan Kamath [Fri, 8 Jan 2016 09:44:32 +0000 (09:44 +0000)]
Merge "Fixed calendar fields comparison" am:
9aeb6edf55
am:
cd51388e01
* commit '
cd51388e01fdecd516218c7a9597618b10781843':
Fixed calendar fields comparison
Narayan Kamath [Fri, 8 Jan 2016 09:39:21 +0000 (09:39 +0000)]
Merge "Fixed calendar fields comparison"
am:
9aeb6edf55
* commit '
9aeb6edf5518a839156de7aab808a75a8fd6843b':
Fixed calendar fields comparison
Narayan Kamath [Fri, 8 Jan 2016 09:36:14 +0000 (09:36 +0000)]
Merge "Trivial correction of Camera2 API description"
Narayan Kamath [Fri, 8 Jan 2016 09:30:41 +0000 (09:30 +0000)]
Merge "Fixed calendar fields comparison"
Philipp Hasper [Thu, 25 Jun 2015 10:10:01 +0000 (12:10 +0200)]
Fixed calendar fields comparison
Month was compared with the day and vice versa.
Found by dukejeffrie.
Change-Id: Ic4efca440c408325819ff1df85db7b407cf3207e
Daichi Hirono [Wed, 6 Jan 2016 07:43:32 +0000 (16:43 +0900)]
Add operationsSupported to device info.
Because not all MTP devices support getPartialObject, we need to check
supported operation of MTP devices. The CL adds operationsSupported
field to MtpDeviceInfo class.
BUG=
26147375
Change-Id: Iaad968fb4497a5ad11bf6489097abea99c3cbac7
Daichi Hirono [Fri, 8 Jan 2016 07:20:46 +0000 (07:20 +0000)]
Merge "RealDeviceTest for MTP does not need to ask device permission."
Hidenari Koshimae [Fri, 8 Jan 2016 07:18:28 +0000 (16:18 +0900)]
Trivial correction of Camera2 API description
Change-Id: Ibb3393b94812dfe7b496182bb5ef43f1a5df7434
Thierry Strudel [Fri, 8 Jan 2016 05:43:56 +0000 (05:43 +0000)]
Merge "Do not account ZRAM physical memory as Lost RAM"
Thierry Strudel [Mon, 21 Dec 2015 19:06:57 +0000 (11:06 -0800)]
Do not account ZRAM physical memory as Lost RAM
Bug:
26039328
Change-Id: I0f28ed777e10a90186700b4879c69f827a3c0495
Daichi Hirono [Fri, 8 Jan 2016 05:34:59 +0000 (05:34 +0000)]
Merge "Fix document stack."
Daichi Hirono [Fri, 8 Jan 2016 03:22:09 +0000 (12:22 +0900)]
Fix document stack.
We need to add document to stack by using 'push' method instead of 'add'
method.
BUG=
26437613
Change-Id: I3e4ac6b0d03cacbe2d6cdd93443ce1c96c8c47d9
Ben Kwa [Fri, 8 Jan 2016 02:50:34 +0000 (18:50 -0800)]
Add checkmark icons for selection.
- Add a new checkmark icon.
- Modify the grid and list items to include the check icon in the
appropriate location.
- Add code to various DocumentHolder subclasses to cross-fade between
icons when things are selected/deselected.
- Create new dimensions quantities to represent new icon sizes.
- Clean up xml files.
BUG=
24326546
Change-Id: Ib3f04c8274d35ac3b95ed13730df340e8b7c36c6
Steve McKay [Fri, 8 Jan 2016 02:40:34 +0000 (02:40 +0000)]
Merge "CopyService generalization."
Victor Chan [Fri, 8 Jan 2016 02:32:43 +0000 (18:32 -0800)]
Fix crash in car system ui.
Override repositionNavigationBar() in CarStatusBar
and setNavigationIconHints() in CarNavigationBarView
since they are not used for vehicles.
Bug:
26301185
Change-Id: I1995a514301305bfd2eed64d5f43bc92a6658e15
Daichi Hirono [Fri, 8 Jan 2016 02:28:05 +0000 (02:28 +0000)]
Merge "Encapsulate stackTouched logic into State class."
Daichi Hirono [Thu, 7 Jan 2016 06:29:12 +0000 (15:29 +0900)]
Encapsulate stackTouched logic into State class.
BUG=
26437613
Change-Id: I84a667cb3561d395daac4e63d9eaca589c8f1fea
Daichi Hirono [Fri, 8 Jan 2016 02:09:40 +0000 (02:09 +0000)]
Merge "Move MTP event code to MtpConstants class."
Daichi Hirono [Wed, 6 Jan 2016 05:55:47 +0000 (14:55 +0900)]
Move MTP event code to MtpConstants class.
BUG=
25128276
Change-Id: I49530c50d7889e1b04931b8ec61f5f92a1c7e68f
Jeff Sharkey [Fri, 8 Jan 2016 01:53:14 +0000 (01:53 +0000)]
Merge "Null cursors don't need to be wrapped."
Jeff Sharkey [Fri, 8 Jan 2016 01:52:26 +0000 (18:52 -0700)]
Null cursors don't need to be wrapped.
Change-Id: I59b604a60a066c2d808a796658757af952ef913c
Winson [Thu, 7 Jan 2016 23:12:09 +0000 (15:12 -0800)]
Fixing regression in tuner pref due to changed key name.
Change-Id: If785f511d1d8bd587706afdada8edc3fd93bb943
Winson [Fri, 8 Jan 2016 00:59:53 +0000 (16:59 -0800)]
Fix crash when trying to use uninitialized layout.
Bug:
26453007
Change-Id: I006cf2f622b267163230eae4a07ef676c805f5c3
Rob Carr [Fri, 8 Jan 2016 01:02:46 +0000 (01:02 +0000)]
Merge "Correct exit animation window retention logic."
Filip Gruszczynski [Fri, 8 Jan 2016 00:58:43 +0000 (00:58 +0000)]
Merge "Only allow activities to move to full screen stack."
Filip Gruszczynski [Thu, 7 Jan 2016 17:44:44 +0000 (09:44 -0800)]
Only allow activities to move to full screen stack.
We allowed activities to move to any stack, but that's too much
freedom. Instead we only allow them to move from freeform stack to a
fullscreen stack.
Change-Id: I04de9bbf18cf4431d7bd34d6c727de82802661ef
Steve McKay [Thu, 7 Jan 2016 02:32:13 +0000 (18:32 -0800)]
CopyService generalization.
Make the service operation agnostic, so we can also move delete operations to it.
In a followup change we'll see about adding support for multiple concurrent
operations. We'll need to evaluate how to do this in IntentService (which
serializes requests....a major limitation).
Change-Id: I03eca9c1ecaba519af42d88edffeb0dce78bd1da
Glenn Kasten [Fri, 8 Jan 2016 00:11:00 +0000 (00:11 +0000)]
Merge "Better fix for unregistered JNI method"
Glenn Kasten [Fri, 8 Jan 2016 00:10:47 +0000 (00:10 +0000)]
Merge "Revert "Short-term fix for unregistered JNI method""
Winson [Thu, 7 Jan 2016 21:13:52 +0000 (13:13 -0800)]
Preventing crash when attempting to move un-resizeable task to FF stack.
Bug:
26405612
Change-Id: I44e3472e45f8201ee0186d07bad6212916405a08
Winson Chung [Fri, 8 Jan 2016 00:06:34 +0000 (00:06 +0000)]
Merge "Cleaning up imports and dead code."
Glenn Kasten [Thu, 7 Jan 2016 23:59:38 +0000 (15:59 -0800)]
Better fix for unregistered JNI method
Bug:
26445503
Change-Id: I0de5c34a86f14aeb786a12df8488511c4a280912
Felipe Leme [Thu, 7 Jan 2016 20:08:19 +0000 (12:08 -0800)]
Added new API for URI permissions management.
The new methods are:
- getGrantedUriPermissions(String packageName)
- clearGrantedUriPermissions(String packageName)
These methods will be used by the Settings app to allow users to clear
the URI permissions granted to an application.
BUG:
26447975
Change-Id: I6867402e42b3d6fd03050ec57b73973ccd8a17af
Glenn Kasten [Thu, 7 Jan 2016 18:59:35 +0000 (10:59 -0800)]
Revert "Short-term fix for unregistered JNI method"
This reverts commit
7922be86e29002dc3714824b2b669a9760de0528.