OSDN Git Service

android-x86/packages-apps-Trebuchet.git
10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 10 Feb 2014 23:39:10 +0000 (15:39 -0800)]
Import translations. DO NOT MERGE

Change-Id: Icfe6248a812a2aa103c830a9fabe22de9ff228bb
Auto-generated-cl: translation import

10 years agoEnsure we don't call getLayoutDirection() for devices not running JB MR1+. (Bug 12906355)
Winson Chung [Wed, 5 Feb 2014 20:37:42 +0000 (12:37 -0800)]
Ensure we don't call getLayoutDirection() for devices not running JB MR1+. (Bug 12906355)

Change-Id: I25115b9529c21d3079f50bc26bad8f846a6fcd3e

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 31 Jan 2014 23:57:58 +0000 (15:57 -0800)]
Import translations. DO NOT MERGE

Change-Id: I630533bcc5d004fc677f54233f8d0578e119ab4e
Auto-generated-cl: translation import

10 years agoMerge "Defend against missing DB during migration." into jb-ub-now-kermit
Dan Sandler [Sat, 25 Jan 2014 05:00:32 +0000 (05:00 +0000)]
Merge "Defend against missing DB during migration." into jb-ub-now-kermit

10 years agoMerge "Adding tighter first run checks for migration clings. (Bug 12626290)" into...
Winson Chung [Thu, 23 Jan 2014 20:21:12 +0000 (20:21 +0000)]
Merge "Adding tighter first run checks for migration clings. (Bug 12626290)" into jb-ub-now-kermit

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Thu, 23 Jan 2014 18:26:35 +0000 (10:26 -0800)]
Import translations. DO NOT MERGE

Change-Id: I9a8480fdd1e29c679711c256f4e2a0d2d0687c36
Auto-generated-cl: translation import

10 years agoAdding tighter first run checks for migration clings. (Bug 12626290)
Winson Chung [Tue, 21 Jan 2014 21:00:26 +0000 (13:00 -0800)]
Adding tighter first run checks for migration clings. (Bug 12626290)

Change-Id: I09fc95c9a3d50ce57f9140e89da2ff4856807f92

10 years agoDefend against missing DB during migration.
Dan Sandler [Tue, 21 Jan 2014 19:14:41 +0000 (14:14 -0500)]
Defend against missing DB during migration.

Bug: 12600784
Change-Id: Ie295d2ac970eab798b9826748d400cd30a04662d

10 years agoAvoid NPE from delayed Runnable
Ian Parkinson [Tue, 21 Jan 2014 13:09:59 +0000 (13:09 +0000)]
Avoid NPE from delayed Runnable

Naive fix to b/12656485. Other Runnables in Launcher similarly check
that mWorkspace hasn't become null between being posted and being
executed, so I think this is probably appropriate.

Bug: 12656485
Change-Id: Ib4f3d0e8686c6249fe838144b1e8120c85f66f01

10 years agoMerge "Adding specific buckets for N5 in dynamic grid. (Bug 12604220)" into jb-ub...
Adam Cohen [Sat, 18 Jan 2014 00:21:56 +0000 (00:21 +0000)]
Merge "Adding specific buckets for N5 in dynamic grid. (Bug 12604220)" into jb-ub-now-kermit

10 years agoAdding specific buckets for N5 in dynamic grid. (Bug 12604220)
Winson Chung [Fri, 17 Jan 2014 22:43:02 +0000 (14:43 -0800)]
Adding specific buckets for N5 in dynamic grid. (Bug 12604220)

Change-Id: I1fa62b7d16f557c7191fb1666d687b8784a88857

10 years agoMerge "Fix overlapping pages (issue 12551580)" into jb-ub-now-kermit
Adam Cohen [Fri, 17 Jan 2014 22:32:21 +0000 (22:32 +0000)]
Merge "Fix overlapping pages (issue 12551580)" into jb-ub-now-kermit

10 years agoMerge "Dismissing search and other overlays when the menu button is pressed. (Bug...
Adam Cohen [Fri, 17 Jan 2014 20:25:14 +0000 (20:25 +0000)]
Merge "Dismissing search and other overlays when the menu button is pressed. (Bug 12524591)" into jb-ub-now-kermit

10 years agoDismissing search and other overlays when the menu button is pressed. (Bug 12524591)
Winson Chung [Fri, 17 Jan 2014 20:03:00 +0000 (12:03 -0800)]
Dismissing search and other overlays when the menu button is pressed. (Bug 12524591)

10 years agoFix overlapping pages (issue 12551580)
Adam Cohen [Fri, 17 Jan 2014 00:07:50 +0000 (16:07 -0800)]
Fix overlapping pages (issue 12551580)

Change-Id: I03c29c36828b6c4baadb33b13b0e852b07b2d40f

10 years agoMerge "Updating Tablet clings. (Bug 11973614)" into jb-ub-now-kermit
Winson Chung [Thu, 16 Jan 2014 23:07:01 +0000 (23:07 +0000)]
Merge "Updating Tablet clings. (Bug 11973614)" into jb-ub-now-kermit

10 years agoMerge "Adding new bucket for inbetween phone-tablet layouts. (Bug 11993166)" into...
Winson Chung [Thu, 16 Jan 2014 23:06:29 +0000 (23:06 +0000)]
Merge "Adding new bucket for inbetween phone-tablet layouts. (Bug 11993166)" into jb-ub-now-kermit

10 years agoMerge "Lazy load the widget preview loader class" into jb-ub-now-kermit
Adam Cohen [Thu, 16 Jan 2014 23:05:00 +0000 (23:05 +0000)]
Merge "Lazy load the widget preview loader class" into jb-ub-now-kermit

10 years agoMerge "Updating screen background assets. (Bug 12136457)" into jb-ub-now-kermit
Winson Chung [Thu, 16 Jan 2014 22:48:32 +0000 (22:48 +0000)]
Merge "Updating screen background assets. (Bug 12136457)" into jb-ub-now-kermit

10 years agoAdding new bucket for inbetween phone-tablet layouts. (Bug 11993166)
Winson Chung [Thu, 16 Jan 2014 22:03:55 +0000 (14:03 -0800)]
Adding new bucket for inbetween phone-tablet layouts. (Bug 11993166)

Change-Id: I01fc54be8059d4cd25ff465c70595683fc8ac019

10 years agoUpdating screen background assets. (Bug 12136457)
Winson Chung [Thu, 16 Jan 2014 22:41:21 +0000 (14:41 -0800)]
Updating screen background assets. (Bug 12136457)

Change-Id: I48d235d9c44a53b5fbf6c244736e86cbc9f19162

10 years agoUpdating Tablet clings. (Bug 11973614)
Winson Chung [Wed, 15 Jan 2014 22:31:59 +0000 (14:31 -0800)]
Updating Tablet clings. (Bug 11973614)

Change-Id: I6cb10424a345691d50c4fac7969e0b97bbee4b3c

10 years agoMigration update: ensuring all folders go first
Adam Cohen [Thu, 16 Jan 2014 02:13:55 +0000 (18:13 -0800)]
Migration update: ensuring all folders go first

-> Also, leave the last row empty on every screen
-> Fix bug where shortcuts weren't getting moved (introduced in
   previous CL)
-> Only dedupe items directly on the workspace

Bug 12416411
Bug 12572727

Change-Id: Id95cc6081c57cc289c2a85b2a6872ee0bf3eb98a

10 years agoLazy load the widget preview loader class
Michael Jurka [Thu, 9 Jan 2014 13:59:22 +0000 (14:59 +0100)]
Lazy load the widget preview loader class

Bug: 12109621

Change-Id: Id99aded30195bf39ebcf2148611bc4e084f3b2c7

10 years agoDon't migrate shortcuts for components that no longer exist
Adam Cohen [Wed, 15 Jan 2014 23:18:08 +0000 (15:18 -0800)]
Don't migrate shortcuts for components that no longer exist

Bug 12570791

Change-Id: Ie4b55afcee0c4d1d16acf7b830d7885800943454

10 years agoMerge "rationalize launcher backup logging" into jb-ub-now-kermit
Chris Wren [Wed, 15 Jan 2014 22:09:20 +0000 (22:09 +0000)]
Merge "rationalize launcher backup logging" into jb-ub-now-kermit

10 years agoMerge "Import translations. DO NOT MERGE" into jb-ub-now-kermit
Geoff Mendal [Wed, 15 Jan 2014 22:04:16 +0000 (22:04 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-ub-now-kermit

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Jan 2014 21:52:37 +0000 (13:52 -0800)]
Import translations. DO NOT MERGE

Change-Id: I7f6ec7de198d8fd863c1a56294609474d2e02a32
Auto-generated-cl: translation import

10 years agorationalize launcher backup logging
Chris Wren [Wed, 15 Jan 2014 21:10:39 +0000 (16:10 -0500)]
rationalize launcher backup logging

enough data to debug dogfood issues
easy switch to move to quieter production mode
common switch across all three classes

Bug: 12545310
Change-Id: Icb4ad7174f20884c6993140149db590d66f6e006

10 years agoMerge "Tightening migration conditions. (Bug 11973614)" into jb-ub-now-kermit
Winson Chung [Wed, 15 Jan 2014 19:42:39 +0000 (19:42 +0000)]
Merge "Tightening migration conditions. (Bug 11973614)" into jb-ub-now-kermit

10 years agoTightening migration conditions. (Bug 11973614)
Winson Chung [Wed, 15 Jan 2014 18:33:02 +0000 (10:33 -0800)]
Tightening migration conditions. (Bug 11973614)

Change-Id: I6d7417b705227472d035f428cbec933cc6dbf2ce

10 years agoMerge "Keep selected wallpaper on configuration change." into jb-ub-now-kermit
Jorim Jaggi [Wed, 15 Jan 2014 18:34:33 +0000 (18:34 +0000)]
Merge "Keep selected wallpaper on configuration change." into jb-ub-now-kermit

10 years agoMerge "restore app favorites and screens" into jb-ub-now-kermit
Dan Sandler [Wed, 15 Jan 2014 14:46:33 +0000 (14:46 +0000)]
Merge "restore app favorites and screens" into jb-ub-now-kermit

10 years agoMerge "Replace "hotseat" with "Favorites tray" in user visible strings." into jb...
Adrian Roos [Wed, 15 Jan 2014 01:58:15 +0000 (01:58 +0000)]
Merge "Replace "hotseat" with "Favorites tray" in user visible strings." into jb-ub-now-kermit

10 years agoReplace "hotseat" with "Favorites tray" in user visible strings.
Adrian Roos [Wed, 15 Jan 2014 01:45:22 +0000 (17:45 -0800)]
Replace "hotseat" with "Favorites tray" in user visible strings.

Bug: 12078955
Change-Id: I824948d8820276caab18d6df095754a4cfb67640

10 years agoMerge "Remove settings in overview mode for Launcher3." into jb-ub-now-kermit
Jorim Jaggi [Wed, 15 Jan 2014 01:31:13 +0000 (01:31 +0000)]
Merge "Remove settings in overview mode for Launcher3." into jb-ub-now-kermit

10 years agoRemove settings in overview mode for Launcher3.
Jorim Jaggi [Wed, 15 Jan 2014 01:08:48 +0000 (17:08 -0800)]
Remove settings in overview mode for Launcher3.

The appereance of the settings button in overview mode is now dependent on
a overridable method, such that we can have it in GEL, but not in Launcher3.
This change also adjusts the logic of how wide the overview panel is, depending
on how many items we have.

Bug: 12441429
Change-Id: Ibf537c26602785f565292cbfa213eb123469ebcd

10 years agoFixing drop targets in phone / small tablet landscape (issue 12192781)
Adam Cohen [Wed, 15 Jan 2014 00:18:14 +0000 (16:18 -0800)]
Fixing drop targets in phone / small tablet landscape (issue 12192781)

Change-Id: I4dc8a82c8cd5ef279506e7868e33a455fba5a3be

10 years agoMerge "Ensure that hasFirstRunActivity is only called when necessary" into jb-ub...
Adam Cohen [Wed, 15 Jan 2014 00:26:07 +0000 (00:26 +0000)]
Merge "Ensure that hasFirstRunActivity is only called when necessary" into jb-ub-now-kermit

10 years agoEnsure that hasFirstRunActivity is only called when necessary
Adam Cohen [Tue, 14 Jan 2014 22:05:32 +0000 (14:05 -0800)]
Ensure that hasFirstRunActivity is only called when necessary

Change-Id: I834abcd82f46c6f096f5c92452b34c668a4a3d86

10 years agoKeep selected wallpaper on configuration change.
Jorim Jaggi [Wed, 15 Jan 2014 00:00:17 +0000 (16:00 -0800)]
Keep selected wallpaper on configuration change.

Keeps the currently selected wallpaper when a configuration (for example,
device rotation) occurs. This change also effects the logic when the thumbnail
gets displayed after loading the image from an external URI, as this must be
now handled independently of which wallpaper is selected.

Bug: 11007874
Change-Id: Id676c378aec38d0b21e5d9150846f33aff415cad

10 years agoMerge "Fix NPE in Workspace.onDropCompleted" into jb-ub-now-kermit
Jorim Jaggi [Tue, 14 Jan 2014 23:01:48 +0000 (23:01 +0000)]
Merge "Fix NPE in Workspace.onDropCompleted" into jb-ub-now-kermit

10 years agosearch for a valid journal
Chris Wren [Fri, 10 Jan 2014 19:11:25 +0000 (14:11 -0500)]
search for a valid journal

there are too many bytes, so we need to find the valid subset,
without stepping past the end!

Bug: 12489602
Change-Id: Ic9d7c804c199740ff50d0864f99632ae68619369

10 years agoFix NPE in Workspace.onDropCompleted
Jorim Jaggi [Mon, 13 Jan 2014 21:45:07 +0000 (13:45 -0800)]
Fix NPE in Workspace.onDropCompleted

Bug: 11627757
Change-Id: I9dc86856d4bc00253d6350d157be541a8c46888d

10 years agoMerge "Fix longpress crash." into jb-ub-now-kermit
Dan Sandler [Tue, 14 Jan 2014 18:51:35 +0000 (18:51 +0000)]
Merge "Fix longpress crash." into jb-ub-now-kermit

10 years agoMerge "Properly saving migration cling keys." into jb-ub-now-kermit
Winson Chung [Tue, 14 Jan 2014 18:31:32 +0000 (18:31 +0000)]
Merge "Properly saving migration cling keys." into jb-ub-now-kermit

10 years agoProperly saving migration cling keys.
Winson Chung [Tue, 14 Jan 2014 18:30:27 +0000 (10:30 -0800)]
Properly saving migration cling keys.

Change-Id: Id52a12da6af0fc91463dae07bbeb355ee04873d0

10 years agorestore app favorites and screens
Chris Wren [Fri, 20 Dec 2013 22:22:11 +0000 (17:22 -0500)]
restore app favorites and screens

version 0: restore assuming apps are already installed.

Bug: 10779035
Change-Id: I7f9aa418a7d3d5460a79a229c0fbc80305b5eb5c

10 years agoFix longpress crash.
Dan Sandler [Mon, 13 Jan 2014 19:30:14 +0000 (14:30 -0500)]
Fix longpress crash.

The AllApps button doesn't usually accept longpresses, but
you can trick it into trying by holding one finger on it and
another on another icon in the hotseat. This patch defends
against that and bails out if the longpressed item has the
all apps rank (position in hotseat).

Bug: 11740833
Change-Id: I99785ccbc9e6dc6be2a9e56289b3cc0275fbb65c

10 years agoMerge "backup keys that might have slipped past" into jb-ub-now-kermit
Chris Wren [Tue, 14 Jan 2014 15:15:04 +0000 (15:15 +0000)]
Merge "backup keys that might have slipped past" into jb-ub-now-kermit

10 years agoMerge "hide launcher restore behind a flag." into jb-ub-now-kermit
Chris Wren [Tue, 14 Jan 2014 14:58:43 +0000 (14:58 +0000)]
Merge "hide launcher restore behind a flag." into jb-ub-now-kermit

10 years agoAdd ability to center the crop (disabled)
Michael Jurka [Tue, 14 Jan 2014 12:50:53 +0000 (13:50 +0100)]
Add ability to center the crop (disabled)

10 years agoMerge "Move saved wallpaper images from cache directory to data directory" into jb...
Michael Jurka [Tue, 14 Jan 2014 11:10:48 +0000 (11:10 +0000)]
Merge "Move saved wallpaper images from cache directory to data directory" into jb-ub-now-kermit

10 years agoMerge "Recover when widget preview database is deleted" into jb-ub-now-kermit
Michael Jurka [Tue, 14 Jan 2014 11:10:34 +0000 (11:10 +0000)]
Merge "Recover when widget preview database is deleted" into jb-ub-now-kermit

10 years agoIncreasing string length for translation (Bug 12524122)
Winson Chung [Mon, 13 Jan 2014 22:52:49 +0000 (14:52 -0800)]
Increasing string length for translation (Bug 12524122)

Change-Id: I24e053790812779ec07de99c6f763965584a1bb7

10 years agohide launcher restore behind a flag.
Chris Wren [Mon, 13 Jan 2014 22:39:02 +0000 (17:39 -0500)]
hide launcher restore behind a flag.

enable with 'adb shell settings put secure launcher_restore_enabled 1'
before signing into wiped device

Bug: 12532845
Change-Id: I1471c39dac2e6e1412f7720b1ba8edf46273c593

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 13 Jan 2014 22:26:12 +0000 (14:26 -0800)]
Import translations. DO NOT MERGE

Change-Id: Ib79d541dac6867d262bb02f04eda43728d7a8357
Auto-generated-cl: translation import

10 years agoMerge "Set App context from WallpaperChanged receiver. (Bug 12525684)" into jb-ub...
Winson Chung [Mon, 13 Jan 2014 18:32:22 +0000 (18:32 +0000)]
Merge "Set App context from WallpaperChanged receiver. (Bug 12525684)" into jb-ub-now-kermit

10 years agoSet App context from WallpaperChanged receiver. (Bug 12525684)
Winson Chung [Mon, 13 Jan 2014 18:05:37 +0000 (10:05 -0800)]
Set App context from WallpaperChanged receiver. (Bug 12525684)

Change-Id: Ie037d74d31e6b05b0ae5bb25ed1bf1c639a28a5f

10 years agoMerge "Quick patch for b/12446428." into jb-ub-now-kermit
Dan Sandler [Mon, 13 Jan 2014 15:35:40 +0000 (15:35 +0000)]
Merge "Quick patch for b/12446428." into jb-ub-now-kermit

10 years agobackup keys that might have slipped past
Chris Wren [Fri, 10 Jan 2014 23:02:06 +0000 (18:02 -0500)]
backup keys that might have slipped past

seems a little paranoid, but can't hurt.

Bug: 12455866
Change-Id: If9da4cc021ee4fac32c822a91fabda69bf3ff8aa

10 years agoUpdating assets and text for migration cling. (Bug 11973614)
Winson Chung [Sat, 11 Jan 2014 00:46:15 +0000 (16:46 -0800)]
Updating assets and text for migration cling. (Bug 11973614)

Change-Id: I69ffc1581cc43511b4f42ebb2735afe4c0b44131

10 years agoMerge "Adding migration Clings. (Bug 11973614)" into jb-ub-now-kermit
Winson Chung [Fri, 10 Jan 2014 23:40:40 +0000 (23:40 +0000)]
Merge "Adding migration Clings. (Bug 11973614)" into jb-ub-now-kermit

10 years agoAdding migration Clings. (Bug 11973614)
Winson Chung [Wed, 8 Jan 2014 22:04:34 +0000 (14:04 -0800)]
Adding migration Clings. (Bug 11973614)

- Refactoring Launcher cling code out to LauncherClings.

Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c

10 years agoMerge "New launcher2 icon migration algorithm." into jb-ub-now-kermit
Adam Cohen [Fri, 10 Jan 2014 21:42:39 +0000 (21:42 +0000)]
Merge "New launcher2 icon migration algorithm." into jb-ub-now-kermit

10 years agoNew launcher2 icon migration algorithm.
Dan Sandler [Thu, 9 Jan 2014 20:01:33 +0000 (15:01 -0500)]
New launcher2 icon migration algorithm.

The user will be able to request "icon migration", which is
not a direct mapping of the old workspace, but rather
follows this heuristic for bringing the user's favorite
icons (by dint of their existence on the workspace) into
Launcher3:

Workspace shortcuts are placed in lexicographic order on the workspace
starting at screen 0 (leaving the bottom row of screen 0 empty to make
sure there's room to move things around). Folders are preserved and
their contents sorted. Duplicate icons (that is, shortcuts
with the same intent, pursuant to some cleanups) are removed.

Hotseat icons are migrated in their original place, unless their new
location is not accommodated by the hotseat (i.e. the L3 hotseat is
too small on this device), in which case they're treated like any
other shortcut and tossed into the workspace.

To test, turn on Launcher.ENABLE_DEBUG_INTENTS and then:

$ adb shell am broadcast -a com.android.launcher3.action.DELETE_DATABASE
$ adb shell am broadcast -a com.android.launcher3.action.MIGRATE_DATABASE

Bug: 12416411
Change-Id: Ia5c56f36c11455867ea20a39f70210f595020a87

10 years agoMerge "Allow DISABLE_ALL_APPS to be set using a system property." into jb-ub-now...
Nilesh Agrawal [Fri, 10 Jan 2014 19:49:21 +0000 (19:49 +0000)]
Merge "Allow DISABLE_ALL_APPS to be set using a system property." into jb-ub-now-kermit

10 years agoQuick patch for b/12446428.
Dan Sandler [Fri, 10 Jan 2014 18:24:55 +0000 (13:24 -0500)]
Quick patch for b/12446428.

Bug: 12446428
Change-Id: I5b9472e55a8919f5640c6e97fede9b5637819be0

10 years agoAllow DISABLE_ALL_APPS to be set using a system property.
Nilesh Agrawal [Fri, 10 Jan 2014 01:14:01 +0000 (17:14 -0800)]
Allow DISABLE_ALL_APPS to be set using a system property.

 - Moving the property to LauncherAppState
 - The property is only read on dogfood builds.

The property can be set using setprop or /data/local.prop

Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a

10 years agoAdding optional first run activity to Launcher
Adam Cohen [Wed, 8 Jan 2014 23:21:04 +0000 (15:21 -0800)]
Adding optional first run activity to Launcher

Change-Id: I146927d8a065f1cf5ef5cec41c8fb4f9ad09d25c

10 years agoMerge "Fix issue where deleting item from folder leaves extra page" into jb-ub-now...
Adam Cohen [Thu, 9 Jan 2014 19:14:52 +0000 (19:14 +0000)]
Merge "Fix issue where deleting item from folder leaves extra page" into jb-ub-now-kermit

10 years agobetter support for multiple files
Chris Wren [Thu, 9 Jan 2014 16:08:37 +0000 (11:08 -0500)]
better support for multiple files

don't exit on error, just log.
new verbose flag to print more information

Change-Id: I5c4895a837cb8a31901aabceade3ab976abf4af0

10 years agofirst backup should save things from the beginning of time
Chris Wren [Thu, 9 Jan 2014 16:54:15 +0000 (11:54 -0500)]
first backup should save things from the beginning of time

Bug: 12455866
Change-Id: Ie9a97ed4110e7b1ded21f609179b5d6ee7f0ead5

10 years agoMerge "Moved paddingStart to -v17 folder." into jb-ub-now-kermit
Yura [Thu, 9 Jan 2014 14:45:56 +0000 (14:45 +0000)]
Merge "Moved paddingStart to -v17 folder." into jb-ub-now-kermit

10 years agoRecover when widget preview database is deleted
Michael Jurka [Tue, 10 Dec 2013 12:40:30 +0000 (13:40 +0100)]
Recover when widget preview database is deleted

Bug: 12109621

Change-Id: I8d59700d31d6856d6151b965786c87585801317b

10 years agoMove saved wallpaper images from cache directory to data directory
Michael Jurka [Mon, 6 Jan 2014 22:33:50 +0000 (14:33 -0800)]
Move saved wallpaper images from cache directory to data directory

Bug: 12028275

Change-Id: Ia8fdd0ea50a4dad34e560287c50ae3fcc6d09cf9

10 years agoMoved paddingStart to -v17 folder.
Yura [Wed, 8 Jan 2014 11:24:34 +0000 (11:24 +0000)]
Moved paddingStart to -v17 folder.

This is to help get us paddingStart free to be able to work on Samsung
tablets, as they crash on paddingStart when it is used outside of -v17.

Bug: 8166178
Change-Id: I84879257c4e463879fd6bfc322514d30c469ca30

10 years agoMerge "Accounting for new Package event extras when updating forward-locked apps...
Winson Chung [Wed, 8 Jan 2014 22:05:47 +0000 (22:05 +0000)]
Merge "Accounting for new Package event extras when updating forward-locked apps. (Bug 11855584)" into jb-ub-now-kermit

10 years agoAccounting for new Package event extras when updating forward-locked apps. (Bug 11855584)
Winson Chung [Mon, 6 Jan 2014 23:53:37 +0000 (15:53 -0800)]
Accounting for new Package event extras when updating forward-locked apps. (Bug 11855584)

Change-Id: I983c82a74690a9031d18d456ff43dc8750081871

10 years agoMerge "KEYCODE_MENU: hide all apps when entering overview mode" into jb-ub-now-kermit
Dan Sandler [Wed, 8 Jan 2014 21:02:50 +0000 (21:02 +0000)]
Merge "KEYCODE_MENU: hide all apps when entering overview mode" into jb-ub-now-kermit

10 years agoMerge "Remove a non-obvious fall through in a switch statement." into jb-ub-now-kermit
Mihail Dumitrescu [Tue, 7 Jan 2014 19:39:17 +0000 (19:39 +0000)]
Merge "Remove a non-obvious fall through in a switch statement." into jb-ub-now-kermit

10 years agoKEYCODE_MENU: hide all apps when entering overview mode
Dan Sandler [Tue, 7 Jan 2014 19:12:27 +0000 (14:12 -0500)]
KEYCODE_MENU: hide all apps when entering overview mode

Bug: 12165618
Change-Id: I7ee652012c7f7b8e6fab3d9d1f99cf22484f3182

10 years agoRemove a non-obvious fall through in a switch statement.
Mihail Dumitrescu [Fri, 3 Jan 2014 12:40:22 +0000 (12:40 +0000)]
Remove a non-obvious fall through in a switch statement.

This CL does not modify the result of calling onInterceptHoverEvent()
assuming isEventOverFolder() has no side effects. The only change is
that isEventOverFolder will now be called once rather than twice when
action == MotionEvent.ACTION_HOVER_ENTER and isOverFolder == true.

Change-Id: Icc28ab880cf5094e49f51d72035891e924cb2031

10 years agoRemoved paddingStart and paddingEnd when they are the same.
Yura [Tue, 7 Jan 2014 18:15:46 +0000 (18:15 +0000)]
Removed paddingStart and paddingEnd when they are the same.

This is to help get us paddingStart free to be able to work on Samsung
tablets, as they crash on paddingStart when it is used outside of -v17.

Bug: 8166178
Change-Id: Ic0ea256aabb68b654a3942dd19dd30e67f1b2af9

10 years agoMerge "Allow scrolling folders in when all apps is disabled." into jb-ub-now-kermit
Nilesh Agrawal [Fri, 3 Jan 2014 22:28:44 +0000 (22:28 +0000)]
Merge "Allow scrolling folders in when all apps is disabled." into jb-ub-now-kermit

10 years agoMerge "Allow changing search bar hint in the cling on-the-fly" into jb-ub-now-kermit
Sandeep Siddhartha [Fri, 3 Jan 2014 20:02:19 +0000 (20:02 +0000)]
Merge "Allow changing search bar hint in the cling on-the-fly" into jb-ub-now-kermit

10 years agoAllow scrolling folders in when all apps is disabled.
Nilesh Agrawal [Thu, 2 Jan 2014 23:54:57 +0000 (15:54 -0800)]
Allow scrolling folders in when all apps is disabled.

Allows for more items to be added into a folder.
Allows for scrolling by letting the content area inside the scroll view to be taller.
The height of content area was capped in https://googleplex-android-review.git.corp.google.com/#/c/387583/

Change-Id: I8d7950ac9c155e26c5a299c17ae6a2bbf829dce6

10 years agoam 3e6b26da: (-s ours) am cff2d6a2: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 27 Dec 2013 03:53:09 +0000 (19:53 -0800)]
am 3e6b26da: (-s ours) am cff2d6a2: (-s ours) Import translations. DO NOT MERGE

* commit '3e6b26daba924fb88e20855210e0a96e2ab0ac37':
  Import translations. DO NOT MERGE

10 years agoam cff2d6a2: (-s ours) Import translations. DO NOT MERGE
Baligh Uddin [Fri, 27 Dec 2013 03:51:01 +0000 (19:51 -0800)]
am cff2d6a2: (-s ours) Import translations. DO NOT MERGE

* commit 'cff2d6a2d904b7d88096650021aa428cfdc08632':
  Import translations. DO NOT MERGE

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 27 Dec 2013 01:20:10 +0000 (17:20 -0800)]
Import translations. DO NOT MERGE

Change-Id: I9ced3c60b831f09e8436f562d8c1fef1e2aa6156
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 27 Dec 2013 01:19:12 +0000 (17:19 -0800)]
Import translations. DO NOT MERGE

Change-Id: I5cbd143e531cfe8f1d131f0d7c91008758337013
Auto-generated-cl: translation import

10 years agoAllow changing search bar hint in the cling on-the-fly
Sandeep Siddhartha [Thu, 26 Dec 2013 23:42:52 +0000 (15:42 -0800)]
Allow changing search bar hint in the cling on-the-fly

- This allows GEL to initially supply an empty string if hotword isn't
  active, and later on update the cling if and when the hotword becomes
  active.
- This isn't expensive as it'll only be called if Launcher first calls
  getFirstRunClingSearchBarHint, i.e. once every fresh install/clear
  data

Bug: 11116105
Change-Id: Ia963bb62d7b331afd0c34adfa6c4b6bdbac48349

10 years agoMerge "support multiple files and fix logcat smippets for launcher_protoutil" into...
Chris Wren [Wed, 18 Dec 2013 19:29:14 +0000 (19:29 +0000)]
Merge "support multiple files and fix logcat smippets for launcher_protoutil" into jb-ub-now-kermit

10 years agosupport multiple files and fix logcat smippets for launcher_protoutil
Chris Wren [Wed, 18 Dec 2013 19:11:40 +0000 (14:11 -0500)]
support multiple files and fix logcat smippets for launcher_protoutil

plus some code cleanup

Change-Id: I09b4a6aedbb1251a65d379464d830da694d38a38

10 years agoMerge "Do not allow duplicate shortcuts when ALL_APPS is disabled." into jb-ub-now...
Nilesh Agrawal [Tue, 17 Dec 2013 23:46:13 +0000 (23:46 +0000)]
Merge "Do not allow duplicate shortcuts when ALL_APPS is disabled." into jb-ub-now-kermit

10 years agoDo not allow duplicate shortcuts when ALL_APPS is disabled.
Nilesh Agrawal [Tue, 17 Dec 2013 23:20:50 +0000 (15:20 -0800)]
Do not allow duplicate shortcuts when ALL_APPS is disabled.

When DISABLE_ALL_APPS is true, we want to have only one shortcut for each activityexposed via the Application's manifest.
We ignore INSTALL_SHORTCUT broadcasts which have launch intents with ACTION_MAIN and CATEGORY_LAUNCHER.
Applications can still create shortcuts pointing to an already exposed component if they provide data or extras in the intent.

Change-Id: I0b05283ea6c522d197e0262c2997f7298e08740b

10 years agoMerge "Import translations. DO NOT MERGE" into jb-ub-now-kermit
Baligh Uddin [Tue, 17 Dec 2013 17:33:21 +0000 (17:33 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-ub-now-kermit

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 16 Dec 2013 21:16:15 +0000 (13:16 -0800)]
Import translations. DO NOT MERGE

Change-Id: I40a264c567f7d0e599182ce68f5b844bd2856f9d
Auto-generated-cl: translation import

10 years agoAdd auto-detection of payload type
Chris Wren [Thu, 12 Dec 2013 16:20:09 +0000 (11:20 -0500)]
Add auto-detection of payload type

update docs and error messages
use png extension of files, since they are
don't create image files by default
use input filename for image files

Change-Id: I3e9c31a1de02976432d3f39cf82b5403055d620a

10 years agoFix issue where deleting item from folder leaves extra page
Adam Cohen [Sat, 14 Dec 2013 01:18:10 +0000 (17:18 -0800)]
Fix issue where deleting item from folder leaves extra page

Change-Id: Ie741dbe5341d8237c85f732b26661d084b99f6e2