Commit Graph

59823 Commits

Author SHA1 Message Date
Amith Yamasani
2b60ca45a1 Fix typo in javadoc
Change-Id: I7a61f84f9d19d5ebc64c3a6e01eea42c3fac4fed
2016-01-08 17:53:18 -08:00
Jeff Sharkey
cd65448ccd Even more PackageManager caller triage.
Finish moving all UID/GID callers to single AIDL method that requires
callers to provide flags.

Triage AppWidgets and PrintServices, which currently can only live on
internal storage; we should revisit that later.

Fix two bugs where we'd drop pending install sessions and persisted
Uri grants for apps installed on external storage.

Bug: 26471205
Change-Id: I66fdfc737fda0042050d81ff8839de55c2b4effd
2016-01-08 18:35:54 -07:00
Jeff Sharkey
629f98466a Fix build.
Change-Id: If128c90225a2237ea015063cec526a64af5bf576
2016-01-08 16:36:54 -07:00
Jeff Sharkey
c4fd3c9871 Merge "Update javadoc for flags" 2016-01-08 23:18:13 +00:00
Andy Hung
867b339660 Merge "Add setMasterMono and getMasterMono" 2016-01-08 23:17:56 +00:00
Todd Kennedy
6b9bfa1d16 Update javadoc for flags
Bug: 25997037
Change-Id: Ia44634b0271ad0195d857ef13afec2a1ef022fae
2016-01-08 16:16:25 -07:00
Jeff Sharkey
0ab0bdde2b Merge "More progress on triaging PackageManager callers." 2016-01-08 23:14:25 +00:00
Jeff Sharkey
c5967e9862 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
2016-01-08 16:10:33 -07:00
Andy Hung
f04b84d4c6 Add setMasterMono and getMasterMono
Bug: 15283594
Bug: 22700363
Change-Id: I5d0552938ec2a54be4450512974d92ff8c77b1e9
2016-01-08 14:02:47 -08:00
Michael Wright
0de19dfa47 Merge changes from topic 'kb-layout'
* changes:
  Always show enabled keyboards.
  Bandaid over broken keyboard layout selection process.
2016-01-08 20:55:02 +00:00
Anna Galusza
69c952f833 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)." 2016-01-08 19:25:01 +00:00
Mahaver Chopra
932f66428c Merge "Added Data roaming user restriction" 2016-01-08 18:39:15 +00:00
Alan Viverette
598d8eafd6 Merge "Add support for tick marks in SeekBar" 2016-01-08 18:16:37 +00:00
Jeff Sharkey
732ea374cb Merge "Oh look, GmsCore is using more hidden APIs." 2016-01-08 18:12:32 +00:00
Jeff Sharkey
bd94022893 Oh look, GmsCore is using more hidden APIs.
Bug: 26429932
Change-Id: Ie949d4bbdead8864aaed16282a591258ef528ca8
2016-01-08 11:10:32 -07:00
Mahaver Chopra
dea471ef54 Added Data roaming user restriction
Added new user restriction DISALLOW_DATA_ROAMING, can only be set
by device owners.

Bug: 24890464
Change-Id: Ic4cb37dd5f9bbffa35f921751488ef7c7ff99452
2016-01-08 18:07:31 +00:00
Jeremy Joslin
bc79997536 Merge "Use UserHandle.USER_SYSTEM in place of 0." 2016-01-08 18:05:43 +00:00
Michal Karpinski
42efc5860f Merge "Adjusting AMN#requestBugReport() to be able to invoke 3 types of bugreport services" 2016-01-08 18:00:18 +00:00
Felipe Leme
1a7d98b76c Merge "Added new API for URI permissions management." 2016-01-08 17:51:56 +00:00
Michal Karpinski
3da5c97460 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
2016-01-08 17:50:16 +00:00
Jeremy Joslin
2ceac5ad94 Use UserHandle.USER_SYSTEM in place of 0.
Change-Id: I3bc5f2d326b0b5c6797f3ac259d0e3d42a3afa0f
2016-01-08 09:30:44 -08:00
Anna Galusza
fa7786cbe7 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
2016-01-08 09:28:53 -08:00
George Mount
116a787b06 Merge "Fix for Activity Transitions restoring views bug." 2016-01-08 16:30:38 +00:00
George Mount
d7d0fb3e65 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
2016-01-08 08:29:25 -08:00
Chris Wren
2d20a4dcc6 Merge "allow listeners to disable themselves" 2016-01-08 15:50:13 +00:00
Julia Reynolds
5942cc59ab Merge "Sort notifications by importance." 2016-01-08 15:46:22 +00:00
Julia Reynolds
0421e6d586 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
2016-01-08 10:41:32 -05:00
Jason Monk
9f172e650d Merge changes I875b962b,I99c4c290
* changes:
  Add API for System QS tiles to set status icons
  Cleanup the status bar flow.
2016-01-08 14:18:42 +00:00
Clara Bayarri
b1f69a9b78 Merge "Create a new Logging constant for Profile Challenge Settings" 2016-01-08 14:08:18 +00:00
Jason Monk
66c89c15a0 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
2016-01-08 08:54:13 -05:00
Jason Monk
07473cea3a 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
2016-01-08 08:54:13 -05:00
Gustav Sennton
472a566956 Merge "Add missing traces for WebView loading steps." 2016-01-08 13:47:14 +00:00
Gustav Sennton
fc424478a9 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
2016-01-08 13:25:59 +00:00
Narayan Kamath
65c7835394 Merge "Trivial correction of Camera2 API description" am: a909dad0c3
am: 7e308606f6

* commit '7e308606f605dd1bd047e20e17ee53122a64b8ba':
  Trivial correction of Camera2 API description
2016-01-08 09:48:32 +00:00
Narayan Kamath
7e308606f6 Merge "Trivial correction of Camera2 API description"
am: a909dad0c3

* commit 'a909dad0c36542ffbc155f98b4eb054921b1bbd0':
  Trivial correction of Camera2 API description
2016-01-08 09:44:34 +00:00
Narayan Kamath
8090bb1a3f Merge "Fixed calendar fields comparison" am: 9aeb6edf55
am: cd51388e01

* commit 'cd51388e01fdecd516218c7a9597618b10781843':
  Fixed calendar fields comparison
2016-01-08 09:44:32 +00:00
Narayan Kamath
cd51388e01 Merge "Fixed calendar fields comparison"
am: 9aeb6edf55

* commit '9aeb6edf5518a839156de7aab808a75a8fd6843b':
  Fixed calendar fields comparison
2016-01-08 09:39:21 +00:00
Narayan Kamath
a909dad0c3 Merge "Trivial correction of Camera2 API description" 2016-01-08 09:36:14 +00:00
Philipp Hasper
81fd6b48a0 Fixed calendar fields comparison
Month was compared with the day and vice versa.
Found by dukejeffrie.

Change-Id: Ic4efca440c408325819ff1df85db7b407cf3207e
2016-01-08 09:29:39 +00:00
Hidenari Koshimae
0fa4914484 Trivial correction of Camera2 API description
Change-Id: Ibb3393b94812dfe7b496182bb5ef43f1a5df7434
2016-01-08 16:18:59 +09:00
Jeff Sharkey
cc70834060 Merge "Null cursors don't need to be wrapped." 2016-01-08 01:53:14 +00:00
Jeff Sharkey
703fe24e25 Null cursors don't need to be wrapped.
Change-Id: I59b604a60a066c2d808a796658757af952ef913c
2016-01-07 18:52:26 -07:00
Filip Gruszczynski
411c06fbf9 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
2016-01-07 16:58:13 -08:00
Felipe Leme
f3fa0f8fc6 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
2016-01-07 16:02:58 -08:00
Chris Wren
ab41eecf22 allow listeners to disable themselves
This decouples the user permisson grant from the
bound state of the listener. This allows listeners
that are only relevant sometimes to avoid being
bound as a foreground service all the time.

Bug: 19232554
Change-Id: I9ab078630af5a10c6878d3f19ba80661299713d5
2016-01-07 17:29:29 -05:00
Deepanshu Gupta
d41f0f841b Merge "Prevent infinite loop in case of integer overflow." 2016-01-07 21:50:36 +00:00
Paul Miller
167a623c45 Merge "Document WebView Metrics opt out API" 2016-01-07 21:36:06 +00:00
Alan Viverette
41a90675be Add support for tick marks in SeekBar
Bug: 26399774
Change-Id: Ie4722fb91da96468325b52a22f72372ba4f536d6
2016-01-07 16:35:40 -05:00
Deepanshu Gupta
7a8fb26c20 Prevent infinite loop in case of integer overflow.
Bug: 26331754
Change-Id: I29068159204ecd2e03e44fbb2375d2e116774e07
2016-01-07 13:29:04 -08:00
Sriram Viswanathan
44d86599fb Merge "Changes to support navigation bar system UI in car mode." 2016-01-07 21:03:38 +00:00