7867 Commits

Author SHA1 Message Date
Jeff Sharkey
3e5991c1eb am 21de56a9: Add directory selection to DocumentsProvider.
* commit '21de56a94668e0fda1b8bb4ee4f99a09b40d28fd':
  Add directory selection to DocumentsProvider.
2014-04-23 07:15:32 +00:00
Jeff Sharkey
21de56a946 Add directory selection to DocumentsProvider.
Introduce new ACTION_PICK_DIRECTORY that allows users to grant access
to an entire document subtree.  Instead of requiring grants for each
individual document, this leverages new prefix URI permission grants
by defining new "via"-style URIs:

content://com.example/via/12/document/24/

This references document 24 by using a prefix grant given for
document 12.  Internally, we use isChildDocument() to enforce that
24 is actually a descendant (child, grandchild, etc) of 12.  Since
this is an optional API, providers indicate support with
Root.FLAG_SUPPORTS_DIR_SELECTION.

Extend DocumentsUI to support picking directories.  Expose
createDocument() API to work with returned directories.

Offer to canonicalize via-style URIs into direct URIs, generating
exact permission grants along the way.  Override openAssetFile()
to pass through CancellationSignal.  Move testing code into ApiDemos.

Bug: 10607375
Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
2014-04-22 22:18:21 -07:00
Dan Sandler
df7b8c7c25 am c3be4506: Merge "Avoid sending broadcasts before BOOT_COMPLETED."
* commit 'c3be45064863003d11387b2456c6957bc86d2fd2':
  Avoid sending broadcasts before BOOT_COMPLETED.
2014-04-22 18:56:30 +00:00
Dan Sandler
c3be450648 Merge "Avoid sending broadcasts before BOOT_COMPLETED." 2014-04-22 18:51:43 +00:00
John Spurlock
0fa4721989 am 9a722ebc: Merge "Apply insets manually in StatusBarWindowView."
* commit '9a722ebc320c7d8842322fef6f80b0481c8aab5e':
  Apply insets manually in StatusBarWindowView.
2014-04-22 18:46:16 +00:00
Jorim Jaggi
73a47d856f am c0e45675: Merge "Hide navigation bar on Keyguard."
* commit 'c0e4567560f472c74fede6ed8704bb1acdf26484':
  Hide navigation bar on Keyguard.
2014-04-22 18:45:47 +00:00
John Spurlock
9a722ebc32 Merge "Apply insets manually in StatusBarWindowView." 2014-04-22 17:22:26 +00:00
Jorim Jaggi
c0e4567560 Merge "Hide navigation bar on Keyguard." 2014-04-22 17:04:29 +00:00
John Spurlock
fba9120ce1 Apply insets manually in StatusBarWindowView.
Bug:14131489
Change-Id: Ie4be2185cae98764ea44b2e042210f13412a02aa
2014-04-22 12:58:26 -04:00
Jorim Jaggi
a6310293c5 Hide navigation bar on Keyguard.
This also moves the camera affordance from navbar to the navigation
panel, so it is still visible on the Keyguard.

Bug: 14086354
Bug: 14085922
Bug: 14110532
Bug: 14059294
Change-Id: I93b51381915a67c688cdffd055fd149f2a220b00
2014-04-22 16:56:26 +00:00
Dan Sandler
dc5f16bf09 Avoid sending broadcasts before BOOT_COMPLETED.
SystemUI instances can now take advantage of a new lifecycle
callback, onBootCompleted(), to avoid jumping the gun.

Bug: 14092537
Change-Id: I3f7db7a4753f874c4d75235f263c2bd374debec4
2014-04-22 11:51:42 -04:00
Selim Cinek
d304f2b0bb am a8fb4a2d: Merge "Avoiding intermediate states in NotificationStackScroller"
* commit 'a8fb4a2d00ddadd28c620d424f729eaad02654e0':
  Avoiding intermediate states in NotificationStackScroller
2014-04-22 15:19:55 +00:00
Selim Cinek
a8fb4a2d00 Merge "Avoiding intermediate states in NotificationStackScroller" 2014-04-22 15:15:05 +00:00
John Spurlock
4f3693de49 am 860107a2: Merge "Do not disturb: persist user config."
* commit '860107a2cced79f4a19542bfd19676367951ee49':
  Do not disturb: persist user config.
2014-04-22 15:09:53 +00:00
John Spurlock
860107a2cc Merge "Do not disturb: persist user config." 2014-04-22 15:03:08 +00:00
John Spurlock
056c519df1 Do not disturb: persist user config.
Load and store user configuration for do not disturb.  Separate
out service-related aspects into new helper.  Make config availble
over NoMan for settings.

Implement phone + message based filtering (package whitelist for now).

Implement automatic enter/exit zen mode overnight scheduler.

Bug:14211946
Change-Id: Ib28aab0e4c5c9a5fd0b950b2884b1ab618fdfeca
2014-04-22 11:01:24 -04:00
Selim Cinek
343e6e258a Avoiding intermediate states in NotificationStackScroller
The StackScrollAlgorithm was modified such that the notifications
now don't layout anymore during scrolling and therefore
intermediate states are avoided except for the first card.
Also made the top stack a bit smaller and fixed a bug where the
scrolling was not working on the very first try.

Bug: 14080821
Bug: 14081652
Change-Id: I924a9f8532486856fc2ecd88f6c10d26023a5bc3
2014-04-22 17:00:05 +02:00
Ji-Hwan Lee
1da9d8f05d am ab47ff18: Merge "Add config resource for disabling KeyguardService"
* commit 'ab47ff18c44c3e287ca1c8e302a7dbfad11e0aa5':
  Add config resource for disabling KeyguardService
2014-04-22 14:17:37 +00:00
Ji-Hwan Lee
ab47ff18c4 Merge "Add config resource for disabling KeyguardService" 2014-04-22 14:14:21 +00:00
Winson Chung
3b0579a256 am 6513f35c: Merge "Fixing transition from tasks excluded from Recents into Recents."
* commit '6513f35cbb2b72d89e5fa72c6d6e7d95b899bd23':
  Fixing transition from tasks excluded from Recents into Recents.
2014-04-22 13:24:34 +00:00
Ji-Hwan Lee
25eb3d0ce4 Add config resource for disabling KeyguardService
Bug: 14102545
Change-Id: I0c7936e16a8bda98e49e6a2c396117d7a8fd5664
2014-04-22 12:39:26 +09:00
Winson Chung
6513f35cbb Merge "Fixing transition from tasks excluded from Recents into Recents." 2014-04-22 00:33:37 +00:00
Winson Chung
26ccc944dd am cdc3a47d: Merge "Overriding application icon with activity icon where available."
* commit 'cdc3a47d4f0394893fd8670761ee0078ce7fcce1':
  Overriding application icon with activity icon where available.
2014-04-21 22:10:26 +00:00
Winson Chung
cdc3a47d4f Merge "Overriding application icon with activity icon where available." 2014-04-21 22:05:20 +00:00
Winson Chung
11e41baac6 Overriding application icon with activity icon where available.
Change-Id: I03ee8f806b3853183db7f96e71f1684c72b79c57
2014-04-21 12:40:52 -07:00
Winson Chung
1978da4200 am deb1f268: Merge "Initial changes to add search bar."
* commit 'deb1f268b7fc71ed23bac76af7dac6b5b04e8340':
  Initial changes to add search bar.
2014-04-21 19:31:11 +00:00
Winson Chung
deb1f268b7 Merge "Initial changes to add search bar." 2014-04-21 19:26:09 +00:00
Winson Chung
9520d1abd4 Fixing transition from tasks excluded from Recents into Recents.
Change-Id: I04efdd65bcda4d0111888a1c5651d1ec9b0c98b0
2014-04-21 11:30:56 -07:00
Dan Sandler
1c3dbc66e4 am 2146b914: Merge "Avoid NPE when mRoot is null."
* commit '2146b91404bfe8274bb8b37bfea1d9b8059cdd12':
  Avoid NPE when mRoot is null.
2014-04-21 17:47:23 +00:00
Dan Sandler
9ee256d252 Avoid NPE when mRoot is null.
Bug: 14162288
Change-Id: I36793d706ab1d29576f536562a0c06f7805a0d50
2014-04-21 17:34:49 +00:00
John Spurlock
ec920b2927 am 06661993: Merge "Quick settings bug fixes."
* commit '06661993037c28d2e189bfe809304a5d0e3ba5d8':
  Quick settings bug fixes.
2014-04-21 15:59:32 +00:00
John Spurlock
3aba4b2d49 am 50728832: Remove obsolete settings panel artifacts.
* commit '507288322b11ae27ab8f47438d3ef4203dad0192':
  Remove obsolete settings panel artifacts.
2014-04-21 15:59:28 +00:00
John Spurlock
0666199303 Merge "Quick settings bug fixes." 2014-04-21 15:56:25 +00:00
John Spurlock
f0b06c7738 Quick settings bug fixes.
- Fix issue where notifications were positioned offscreen after
   quick screen toggle.
 - Better QS scrim hiding, use existing layout transition.
 - Don't allow a reposition if the settings animation is currently
   running.
 - Delay chevron animation during toggle to avoid drawing over each
   other.
 - Keep the screen on while the user is poking around with QS on
   the keyguard.
 - Cap the QS expansion to the bottom of the status view on keyguard.

Change-Id: Ib63874d0c6a33db81923080f25cb8f208e614faf
2014-04-21 07:16:40 -04:00
John Spurlock
507288322b Remove obsolete settings panel artifacts.
I don't always have quick settings.  But when I do,
they live in a flip view, not a separate panel.

Bug:14133785
Change-Id: I3df11d7de308a36a800eb7582a71e3febc897fec
2014-04-21 07:16:15 -04:00
Andreas Gampe
1a70acfd78 am 7006860b: Merge "PacProccesor: Only build for 32-bit"
* commit '7006860b4ade48014c2615c9e4b1e2aca25af5e1':
  PacProccesor: Only build for 32-bit
2014-04-18 23:29:44 +00:00
Andreas Gampe
f8749200c0 PacProccesor: Only build for 32-bit
PacProcessor relies on libpac from chromium, which is not built
for 64b right now.

Change-Id: I034932343b9aef239748511d8deb498b46e77cf2
2014-04-18 23:12:39 +00:00
Ying Wang
5507721596 am 40d75a64: Merge "Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs."
* commit '40d75a6480f75c3475e78569c9bc1b6c51f6ed51':
  Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs.
2014-04-18 22:35:52 +00:00
Ying Wang
40d75a6480 Merge "Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs." 2014-04-18 18:13:09 +00:00
Ying Wang
56f43240f9 Use LOCAL_JNI_SHARED_LIBRARIES to install JNI libs.
Change-Id: Ibef01983891377b859d28cff801f48ef5d8eabb2
2014-04-17 18:14:50 -07:00
John Spurlock
8da7075c82 am cbdf956b: Merge "Revert "Fix broken status bar when activity is showing above keyguard""
* commit 'cbdf956b42fe40edaa7bfd36e5e2f1c257be220c':
  Revert "Fix broken status bar when activity is showing above keyguard"
2014-04-18 00:19:17 +00:00
John Spurlock
cbdf956b42 Merge "Revert "Fix broken status bar when activity is showing above keyguard"" 2014-04-18 00:13:56 +00:00
John Spurlock
2e50f28f41 Revert "Fix broken status bar when activity is showing above keyguard"
This reverts commit 25ab3d94387597a24619723df687214320f17e76.

Change-Id: I7dba397a9fe09d70b87ff4e638805c010c192599
2014-04-17 23:45:50 +00:00
Jorim Jaggi
fdc79a8e9a am bf19fa4f: Merge "Move bouncer to the bottom, but only on phones."
* commit 'bf19fa4fe653fbba9bed5d3a13f52e043ac44dab':
  Move bouncer to the bottom, but only on phones.
2014-04-17 20:03:24 +00:00
Jorim Jaggi
9a6eba3ce7 Move bouncer to the bottom, but only on phones.
Change-Id: Ibe03964a10a8cab9e179ff0618a6ed312c8b1b4a
2014-04-17 21:44:53 +02:00
Jorim Jaggi
240407311f am 56d46cc9: Merge "Fix global screen rotation issue."
* commit '56d46cc95f761eabc6455f3e391835936b7d05e8':
  Fix global screen rotation issue.
2014-04-17 19:14:58 +00:00
Jorim Jaggi
56d46cc95f Merge "Fix global screen rotation issue." 2014-04-17 19:08:37 +00:00
Jorim Jaggi
ca36cf7bca Fix global screen rotation issue.
Bug: 14080683
Change-Id: I0144faafa0e01c14c8c8e6a6c9fc81a10d25f47d
2014-04-17 20:49:30 +02:00
Jorim Jaggi
d838997209 am b91dfd95: Merge "Fix not being able to unlock SIM PIN."
* commit 'b91dfd95b19f13be5497ea521ed14df8471b0e2e':
  Fix not being able to unlock SIM PIN.
2014-04-17 18:29:48 +00:00
Jorim Jaggi
b91dfd95b1 Merge "Fix not being able to unlock SIM PIN." 2014-04-17 18:23:05 +00:00