15132 Commits

Author SHA1 Message Date
Winson Chung
74e60ac985 Merge "Prevent the dismiss icon from fading when multistack debugging is enabled." 2015-03-30 19:34:32 +00:00
Winson Chung
d70f58c281 Prevent the dismiss icon from fading when multistack debugging is enabled.
Change-Id: I52db4222391cb7d922b9778cbc10a269451d10c5
2015-03-30 12:32:29 -07:00
Skuhne
2c10a8cf79 Removing some tiling options for tablet usage
Bug: 19985265
Change-Id: I4e1dfb16222312b55115e23176223a839f156361
2015-03-30 12:12:21 -07:00
Geoff Mendal
3622c20f79 Import translations. DO NOT MERGE
Change-Id: I33c678add2505ec35670928d3e0c0c9751c66bda
Auto-generated-cl: translation import
2015-03-30 05:50:27 -07:00
Svet Ganov
0cd50c518b Merge "Fix a regression in settings parsing" 2015-03-28 20:23:12 +00:00
Svet Ganov
c9755bc4f2 Fix a regression in settings parsing
Change-Id: I222bac482a843112ae031b00c83e3765ea6b456c
2015-03-28 13:21:22 -07:00
Svet Ganov
a6439218d6 Merge "Relax the parsing code in settings provider." 2015-03-28 00:59:36 +00:00
Svet Ganov
8440ca3934 Relax the parsing code in settings provider.
The practice in the system server is to have lenient parsing code
to avoid the whole system being unusable due to a single XML error.

Change-Id: Idf44031edf5221966f3352ca2f83e284973ab95f
2015-03-27 17:58:40 -07:00
Geoff Mendal
39c78602fb Merge "Import translations. DO NOT MERGE" 2015-03-28 00:12:37 +00:00
Geoff Mendal
897c65dbf8 Merge "Import translations. DO NOT MERGE" 2015-03-28 00:12:14 +00:00
Christopher Tate
6e6af0d34e Merge "Add payload-size preflight stage to full transport backup" 2015-03-27 23:50:58 +00:00
Geoff Mendal
cbda5a02b1 Import translations. DO NOT MERGE
Change-Id: Iedf7a61cde1c2eed81a716c76afeaaf1388794e2
Auto-generated-cl: translation import
2015-03-27 16:37:11 -07:00
Geoff Mendal
6af24b1652 Import translations. DO NOT MERGE
Change-Id: Ie3cde38ec6847cf49d6ce2ed9b21b23f27ef5d63
Auto-generated-cl: translation import
2015-03-27 16:23:30 -07:00
Skuhne
5c143e7ead Unopened tasks should show the fullscreen item in recents
BUG: 19947524
Change-Id: I83d2143f312ed016264c8bc54fda31720100ff1f
2015-03-27 07:15:16 -07:00
Christopher Tate
11ae768cf1 Add payload-size preflight stage to full transport backup
We now peform a total-size preflight pass before committing data to the
wire.  This is to eliminate the large superfluous network traffic that
would otherwise happen if the transport enforces internal quotas: we
now instead ask the transport up front whether it's prepared to accept
a given payload size for the package.

From the app's perspective this preflight operation is indistinguishable
from a full-data backup pass.  If the app has provided its own full-data
handling in a subclassed backup agent, their usual file-providing code
path will be executed.  However, the files named for backup during this
pass are not opened and read; just measured for their total size.  As
far as component lifecycles, this measurement pass is simply another
call to the agent, immediately after it is bound, with identical
timeout semantics to the existing full-data backup invocation.

Once the app's file set has been measured the preflight operation
invokes a new method on BackupTransport, called checkFullBackupSize().
This method is called after performFullBackup() (which applies any
overall whitelist/blacklist policy) but before any data is delivered
to the transport via sendBackupData().  The return code from
checkFullBackupSize() is similar to the other transport methods:
TRANSPORT_OK to permit the full backup to proceed; or
TRANSPORT_REJECT_PACKAGE to indicate that the requested payload is
unacceptable; or TRANSPORT_ERROR to report a more serious overall
transport-level problem that prevents a full-data backup operation
from occurring right now.

The estimated payload currently does not include the size of the
source-package metadata (technically, the manifest entry in its
archive payload) or the size of any widget metadata associated with
the package's install.  In practice this means the preflighted size
underestimates by 3 to 5 KB.  In addition, the preflight API currently
cannot distinguish between payload sizes larger than 2 gigabytes;
any payload estimate larger than that is passed as Integer.MAX_VALUE
to the checkFullBackupSize() query.

Bug 19846750

Change-Id: I44498201e2d4b07482dcb3ca8fa6935dddc467ca
2015-03-26 18:57:36 -07:00
Skuhne
4976d6b525 Merge "Fixing layout button in caption and adding quarter functionality" 2015-03-26 02:56:47 +00:00
Skuhne
b9026ff592 Fixing layout button in caption and adding quarter functionality
Furthermore limit the number of arrangements to the device in use.

BUG: 19893373
Change-Id: I21d56e57338cc45b09ca45a6048a527548371991
2015-03-25 17:25:08 -07:00
Steve McKay
e934ce6f84 Implement a standalone file manager activity.
Change-Id: Iaf86ef416b979cea4ab3890d3a26f09741392c3d
2015-03-25 14:38:56 -07:00
Jim Miller
9fc9ac5f77 Merge "Refactor fingerprint API" 2015-03-25 19:45:29 +00:00
Geoff Mendal
777b2e3d8f Merge "Import translations. DO NOT MERGE" 2015-03-25 13:09:25 +00:00
Geoff Mendal
afec5f2245 Import translations. DO NOT MERGE
Change-Id: I68596d1af3807e0de2cbba9ebd0e65deda354fa9
Auto-generated-cl: translation import
2015-03-25 05:57:17 -07:00
Geoff Mendal
a613a52069 Merge "Import translations. DO NOT MERGE" 2015-03-25 12:56:23 +00:00
Geoff Mendal
71bed8db2e Import translations. DO NOT MERGE
Change-Id: I9f8461cc3c0002086052c65ba0c1ac801198c042
Auto-generated-cl: translation import
2015-03-25 05:44:52 -07:00
Geoff Mendal
216bef6c35 Import translations. DO NOT MERGE
Change-Id: I9d36d679d32ee84e90eec1d51515894c36390bc1
Auto-generated-cl: translation import
2015-03-25 05:41:29 -07:00
Ryo Hashimoto
ad32b4de5f Merge "Add BugreportStorageProvider" 2015-03-25 05:22:23 +00:00
John Spurlock
7ff7cdcd0e Merge "Fix typo in KeyguardUpdateMonitor." 2015-03-25 01:41:19 +00:00
John Spurlock
36a1342bce Fix typo in KeyguardUpdateMonitor.
Change-Id: Iedb2b2051b1a14ab7cc099614f45a57b745ea19d
2015-03-24 21:15:48 -04:00
Jim Miller
9f0753f5a3 Refactor fingerprint API
- enroll() and authenticate() now take an explicit callback object.
- better handling of strings
- use framework resources for commonn error strings
- add vendor-specific arrays to resources

Bug 16487912

Change-Id: Idf34242fdd06bba1903cdb22bf20169d15d92b82
2015-03-24 17:02:46 -07:00
Winson Chung
9ebb685b03 Merge "Fixing issue with floating task headers." 2015-03-24 23:08:30 +00:00
Winson Chung
3040484265 Fixing issue with floating task headers.
Bug 19516828
2015-03-24 14:19:42 -07:00
Jason Monk
4d24b14d12 am d13d7c85: am ba48885b: am 4b7b21ec: Merge "systemui: Handle case when network has been lost"
* commit 'd13d7c85dc6b87a83cf06b7514146cc32413dcaa':
  systemui: Handle case when network has been lost
2015-03-24 20:23:16 +00:00
Jason Monk
ba48885b92 am 4b7b21ec: Merge "systemui: Handle case when network has been lost"
* commit '4b7b21ec834cd307e3d122f2d517778b13242dfb':
  systemui: Handle case when network has been lost
2015-03-24 20:10:22 +00:00
Jason Monk
4b7b21ec83 Merge "systemui: Handle case when network has been lost" 2015-03-24 19:57:49 +00:00
Adrian Roos
904a262f3d Merge "Use Flashlight API in quick settings" 2015-03-24 19:38:02 +00:00
Skuhne
8aa7d161a1 Adding menu to arrange one or two tasks and arrange them accordingly
Added dialog with buttons for task arrangement upon click on decorator
icon.

BUG: 19492945,19868830,19656507

Change-Id: Ie31e2788efb097db1c1f54f0ef1b2fda1ccc71ec
2015-03-24 09:20:51 -07:00
Michael Wright
d99c5f6fb6 am 72261270: am b42baaa8: am 978cfc39: Merge "SystemUI needs the SET_WALLPAPER permission"
* commit '722612707e7eef745dab573ff226e2bd904295cb':
  SystemUI needs the SET_WALLPAPER permission
2015-03-24 02:56:08 +00:00
Christopher Tate
7b9a28c7f0 Back up and restore the set of enabled IMEs
The restored set of enabled IMEs/subtypes is merged into the
current state of the system, rather than simply replacing it.
This is because we do not want to accidentally disable or
reconfigure something that the user is currently relying on.

There's a certain amount of repetitive activity here, rebuilding
the enabled-state data structures in a different format, but it's
important for maintainability that the restore code be able to
rely on the core InputMethodUtils implementation of reading/writing
the settings element.

Bug 19822542

Change-Id: If0104151b3526da6ecc669adde3119a239ecafeb
2015-03-23 16:28:21 -07:00
Winson Chung
f21ef3d25a Merge "Adding null check for focused stack before trying to switch affiliated tasks." 2015-03-23 22:16:38 +00:00
Winson Chung
98127fb818 Adding null check for focused stack before trying to switch affiliated tasks.
Bug: 19870065
Change-Id: I674914b9d4a63cb9c73fa71bbc4b82c210e2001f
2015-03-23 15:12:53 -07:00
Wale Ogunwale
e0cc2f652b Changed recent multi-window UI to use persist.sys.debug.multi_window
Consistent with what is been set under developer options.

Change-Id: I871ba1b612e344846c33fae68ad3286f7bec1b4b
2015-03-23 13:44:36 -07:00
Michael Wright
b42baaa829 am 978cfc39: Merge "SystemUI needs the SET_WALLPAPER permission"
* commit '978cfc39a10e1b95f9d6dfb5c8e9eb58a10ce0ec':
  SystemUI needs the SET_WALLPAPER permission
2015-03-23 15:55:53 +00:00
Geoff Mendal
521c125d56 Import translations. DO NOT MERGE
Change-Id: I7298b94a7d28dc5e674054aa7204d5c652fb12a9
Auto-generated-cl: translation import
2015-03-23 06:15:29 -07:00
Samuel Asteberg
8d516a80a0 SystemUI needs the SET_WALLPAPER permission
If changing wallpaper when low on memory, retrieving the default
wallpaper may return null, which triggers error handling in
ImageWallpaper. This error handling tries to perform
WallpaperManager.clear(), but for that it needs SET_WALLPAPER
permission, which it does not have.

For users with apps that auto change wallpaper, this issue can
be frequent in low-memory conditions.

The solution is to add the permisson.

Change-Id: I81503c1667e3952c2dd15599969f7dcc51623e5b
2015-03-23 13:50:09 +01:00
Ryo Hashimoto
dd98034edc Add BugreportStorageProvider
BugreportStorageProvider provides storage backend for bugreports.

BUG:18070208
Change-Id: I8506dd90d69907090295d99df7427fc747b83698
2015-03-23 18:28:01 +09:00
Geoff Mendal
c2eef6c5aa Merge "Import translations. DO NOT MERGE" 2015-03-21 07:02:46 +00:00
Geoff Mendal
273c6f2e00 Import translations. DO NOT MERGE
Change-Id: I0acc044f88445fe6d48f84bcaee6a971409ad144
Auto-generated-cl: translation import
2015-03-21 02:02:20 -05:00
Geoff Mendal
ed4267d0d6 Merge "Import translations. DO NOT MERGE" 2015-03-21 06:57:46 +00:00
Geoff Mendal
3997c05782 Import translations. DO NOT MERGE
Change-Id: Ia2267065864b0a7ff750e2956f0bab7507b8c32c
Auto-generated-cl: translation import
2015-03-20 23:56:54 -07:00
Geoff Mendal
ff88dba81c Merge "Import translations. DO NOT MERGE" 2015-03-21 06:54:25 +00:00
Geoff Mendal
672aab38b6 Import translations. DO NOT MERGE
Change-Id: I3b918278be7f5c4849a49821ab35385abaf440e4
Auto-generated-cl: translation import
2015-03-20 23:53:59 -07:00