Commit Graph

4442 Commits

Author SHA1 Message Date
Todd Kennedy
20c0209e2f Merge \\"New API w/ multiple prefixes\\" into nyc-mr1-dev am: d07b87cb1c
am: 162b74a6fd

Change-Id: I81d79930c6d3d42be61a9ab1cdb5f29d677cd3de
2016-06-15 00:07:56 +00:00
Todd Kennedy
162b74a6fd Merge \"New API w/ multiple prefixes\" into nyc-mr1-dev
am: d07b87cb1c

Change-Id: I3296ac4343cfedb5b88470963cb4671e9e3427f6
2016-06-15 00:03:12 +00:00
Todd Kennedy
a97045b245 New API w/ multiple prefixes
Use the new API that contains multiple hash prefixes and a mask. Also
do some small refactoring necessary to handle multiple prefixes and
use a common implementation of the hash generation

Change-Id: Ib52f767ea6aadc30c67c5bdee949e9f9c5f04e44
2016-06-14 16:01:05 -07:00
Makoto Onuki
eacbc45469 Merge \"Merge \\\"Push DO/PO package names from DPMS to PM\\\" into nyc-dev am: f419bd9e03 am: 93322e6818\" into nyc-mr1-dev-plus-aosp
am: 1dc43402e9

Change-Id: I6621d43fdebb9f7b76d9c2f49a77ec626642f8da
2016-06-13 22:52:46 +00:00
Makoto Onuki
31a5d3affa Merge \\"Push DO/PO package names from DPMS to PM\\" into nyc-dev am: f419bd9e03
am: 93322e6818

Change-Id: I4fd9877c9e6adcdeeb17a9a5a2e70731f6e0b596
2016-06-13 22:30:20 +00:00
Makoto Onuki
93322e6818 Merge \"Push DO/PO package names from DPMS to PM\" into nyc-dev
am: f419bd9e03

Change-Id: I27dec65477ddfa90060baeea26169ea79503f642
2016-06-13 22:17:10 +00:00
TreeHugger Robot
58806af09c Merge "new ClipData constructor." 2016-06-13 21:30:48 +00:00
Makoto Onuki
78f16950c6 Merge \"Push DO/PO package names from DPMS to PM\" into nyc-dev
am: f419bd9e03

Change-Id: Ic3071f3a712da72fd141ef37ac6aabe6dbd09355
2016-06-13 21:23:18 +00:00
Makoto Onuki
f419bd9e03 Merge "Push DO/PO package names from DPMS to PM" into nyc-dev 2016-06-13 21:16:29 +00:00
Steve McKay
57eaaf6857 new ClipData constructor.
Add new constructor with args: ClipDescription, ArrayList<Item>.

This allows description and item list to be constructed separately.

Change-Id: I09f63d308dbafdb2c749019848afb0d2d24b8c44
2016-06-13 12:54:14 -07:00
Andreas Gampe
3196999a50 Merge \\"Otadexopt: Expose progress percentage\\" into nyc-mr1-dev am: b71c36b000
am: cda39b3af7

Change-Id: I34b02aca376561622ce51a7b061978bcf9cd4257
2016-06-13 17:02:11 +00:00
Andreas Gampe
cda39b3af7 Merge \"Otadexopt: Expose progress percentage\" into nyc-mr1-dev
am: b71c36b000

Change-Id: I3489b6b85f1306f2ef056aaf28c28fc16b2e2a05
2016-06-13 16:58:06 +00:00
TreeHugger Robot
b71c36b000 Merge "Otadexopt: Expose progress percentage" into nyc-mr1-dev 2016-06-13 16:52:18 +00:00
Makoto Onuki
8aabf5e997 Merge \\"Fix some exception messages and enhance unit tets\\" into nyc-mr1-dev am: 5b8f5fd38b
am: 1c14929ae8

Change-Id: I29fe2b8c212d8447792b5c721fd794933ae14a96
2016-06-13 16:46:24 +00:00
Makoto Onuki
1c14929ae8 Merge \"Fix some exception messages and enhance unit tets\" into nyc-mr1-dev
am: 5b8f5fd38b

Change-Id: If0c711f8f9cef00b4a8fb279b5c5996f2995d1f0
2016-06-13 16:39:46 +00:00
Makoto Onuki
5b8f5fd38b Merge "Fix some exception messages and enhance unit tets" into nyc-mr1-dev 2016-06-13 16:28:32 +00:00
Makoto Onuki
a1d38b3c95 Fix some exception messages and enhance unit tets
Bug 29275393

Change-Id: Idaa8564d41f86de2a2cbefa4ff3c08b89a3a6dd2
2016-06-10 15:32:26 -07:00
Andreas Gampe
bf06232f4d Otadexopt: Expose progress percentage
To be able to report progress of an A/B OTA dexopt, expose a
progress function that the script can query.

Bug: 25612095
Bug: 29223204
Change-Id: Ie8162946d18f6fa78649a40ad5d3949d31a181cd
2016-06-10 15:21:39 -07:00
Todd Kennedy
a62547849d Merge \\"fix prefix generation\\" into nyc-mr1-dev am: 0f8427773e
am: db6cd50708

Change-Id: Iec8b0587af5a0487bd67a7b12e0c3eb017258348
2016-06-10 16:12:22 +00:00
Todd Kennedy
db6cd50708 Merge \"fix prefix generation\" into nyc-mr1-dev
am: 0f8427773e

Change-Id: I4614c85ce7e08bbd5d30d8cebc3a77294154a577
2016-06-10 16:08:47 +00:00
Keisuke Kuroyanagi
3c91c40769 Merge "Fix: UndoManager#saveInstanceState." 2016-06-10 06:08:18 +00:00
Todd Kennedy
e2e1ef0581 fix prefix generation
when performing bitwise operations, java promotes byte's to int's.
this is normally okay except when the value is negative. in that
case, java extends the sign bits. this means that after shifting,
all of the upper bits are most likely going to be all f's. instead,
undo the sign extension by pulling out just the 8 bits we're
interested in.

Change-Id: I89f7244f6b675be2cca4a185a7002b5f8a6eece1
2016-06-09 15:22:15 -07:00
Todd Kennedy
a3d4c84311 Merge \\"make round icon usage configurable\\" into nyc-mr1-dev am: 7b52b2eccd
am: ca251e5325

Change-Id: Icdf6c4c97c8ef7601f64e920623b47d215efa9d4
2016-06-09 17:24:29 +00:00
Todd Kennedy
ca251e5325 Merge \"make round icon usage configurable\" into nyc-mr1-dev
am: 7b52b2eccd

Change-Id: I99706274705ca5589a70370af8dd17f5a4bc0297
2016-06-09 17:13:28 +00:00
Todd Kennedy
a83bfca63f make round icon usage configurable
We want to only use round icons for Nexus devices, so, add a configuration
boolean to control it. By default we will use the legacy, rectangle icons.

Bug: 28981414
Change-Id: Ib6448bc09287de852a48a943461a6882bd890a30
2016-06-09 07:25:03 -07:00
fionaxu
4258617146 Merge \\\"resolve merge conflicts of afed6f8 to nyc-dev\\\" into nyc-dev am: 0c4f1c7e5c am: bee500e374
am: e9819bae1a

Change-Id: I21ab89b4b9277fbb846c5232d7fbb2b47d4df7ef
2016-06-09 02:57:42 +00:00
Chen Xu
e9819bae1a Merge \\"resolve merge conflicts of afed6f8 to nyc-dev\\" into nyc-dev am: 0c4f1c7e5c
am: bee500e374

Change-Id: I7c1ad4e3fa9b1bab21ab931be6ccaae33e89f20b
2016-06-09 02:47:10 +00:00
fionaxu
e285ab3aae Merge \"resolve merge conflicts of afed6f8 to nyc-dev\" into nyc-dev
am: 0c4f1c7e5c

Change-Id: I46be8494c88f03768e20bb702383f78cf38c1115
2016-06-09 02:39:54 +00:00
fionaxu
bee500e374 Merge \"resolve merge conflicts of afed6f8 to nyc-dev\" into nyc-dev
am: 0c4f1c7e5c

Change-Id: I2d17de5bc787f4f9c8b7a9115a635bfee820a219
2016-06-09 02:39:52 +00:00
fionaxu
7978147771 resolve merge conflicts of afed6f8 to nyc-dev
Bug: 28557603
Change-Id: Icb19f3d031cce2d846d5f6e9ad4d28d002db6bac
2016-06-08 17:23:09 -07:00
Alan Viverette
7fa09ec4dc Merge \"Return correct default theme on API >= 24\" into nyc-dev
am: afaa1e9db1

Change-Id: If520e4590d5d5b2832e3e53b25e95f6ca5e3b497
2016-06-08 20:20:44 +00:00
Alan Viverette
8042dd846a Merge \\\"Return correct default theme on API >= 24\\\" into nyc-dev am: afaa1e9db1 am: 1bb283131f
am: af2f098c8c

Change-Id: I5cbd140458a6fa354551bcfb1a73b0cffcbd8453
2016-06-08 19:03:43 +00:00
Ian Pedowitz
af2f098c8c Merge \\"Return correct default theme on API >= 24\\" into nyc-dev am: afaa1e9db1
am: 1bb283131f

Change-Id: I2f21175998134e3ac03279307e7d6bb163614ce9
2016-06-08 18:59:14 +00:00
Makoto Onuki
c29f62c738 Push DO/PO package names from DPMS to PM
Bug 29126573

Change-Id: I95ea1559f6acf5d2f0e1b0953568cdfc938e83b9
2016-06-08 11:52:13 -07:00
Alan Viverette
1bb283131f Merge \"Return correct default theme on API >= 24\" into nyc-dev
am: afaa1e9db1

Change-Id: I620b5682bc4fa9752b1f1bf68d8ed1498db66a5d
2016-06-08 18:35:22 +00:00
fionaxu
c10e4fae05 resolve merge conflicts of 2c53526 to lmp-mr1-dev am: c196526f8e am: 1e8fe12f4e am: 965084dd0c am: 698e044717
am: c95d552de0

Change-Id: I4db8cef9678c409b7f0610d98f161e0e048a0333
2016-06-08 18:11:09 +00:00
Makoto Onuki
c4e64bc449 Merge \\"ShortcutManager: deal with changing resource IDs on app update\\" into nyc-mr1-dev am: 3bb4366006
am: a3a56ab9d1

Change-Id: Id5e39a35db803223a89100a8e23a7b3309cd9dd3
2016-06-08 17:23:34 +00:00
fionaxu
c95d552de0 resolve merge conflicts of 2c53526 to lmp-mr1-dev am: c196526f8e am: 1e8fe12f4e am: 965084dd0c
am: 698e044717

Change-Id: I5a00c0b206cae8a13f860783756ffa66c08db65d
2016-06-08 17:23:27 +00:00
Makoto Onuki
a3a56ab9d1 Merge \"ShortcutManager: deal with changing resource IDs on app update\" into nyc-mr1-dev
am: 3bb4366006

Change-Id: Ic2adc036d256a0ad3da4f65a20edfc4cdeb30447
2016-06-08 17:11:55 +00:00
fionaxu
698e044717 resolve merge conflicts of 2c53526 to lmp-mr1-dev am: c196526f8e am: 1e8fe12f4e
am: 965084dd0c

Change-Id: I1db27bacdfc0c66ddc28c3d656f1f5cfb98894a8
2016-06-08 17:11:49 +00:00
fionaxu
965084dd0c resolve merge conflicts of 2c53526 to lmp-mr1-dev am: c196526f8e
am: 1e8fe12f4e

Change-Id: I3122c1d81dde1088990bcbd2aff7eea478ead4fc
2016-06-08 17:04:09 +00:00
Alan Viverette
4b2b615669 Return correct default theme on API >= 24
This method was broken, but it was returning light theme on N preview
builds, so we'll keep it consistent as we move into N release.

Bug: 29192690
Change-Id: I0d16abbe48756070dcd653c39d0da4124ea66b28
2016-06-08 11:45:15 -04:00
fionaxu
c196526f8e resolve merge conflicts of 2c53526 to lmp-mr1-dev
Change-Id: I4fe45fae0a98934ac9b0f6f48c8cab8546392641
2016-06-07 22:01:19 -07:00
fionaxu
2c53526b4b Backport loadSafeLabel changes am: be2865a60a am: 4c50846519
am: 9a825b0fd5

Change-Id: Ie3042058420fbd3018ae238dab4129de58ec69c8
2016-06-07 23:23:10 +00:00
fionaxu
9a825b0fd5 Backport loadSafeLabel changes am: be2865a60a
am: 4c50846519

Change-Id: Ia31592def4d88a3a9e92a7e0c9126691c64a5fc4
2016-06-07 23:20:04 +00:00
fionaxu
4c50846519 Backport loadSafeLabel changes
am: be2865a60a

Change-Id: Ifabe996449c534c5085245c4f07e2d865a23e126
2016-06-07 23:13:08 +00:00
Makoto Onuki
157b1628fd ShortcutManager: deal with changing resource IDs on app update
- When an app is upgraded, all the resource IDs may change.  So
if a shortcut is previously published with an icon for res ID 100
and the publisher is upgraded, resource #100 may refer to something
different.

- So now the service also remembers resource names for icon resources,
as wells as string resources.  When an app is updated, the service
fetch the updated resource IDs by name.

- Also extract all string resources when a shortcut is published
and persist them, so that even when the original string resources are
removed from the app, the launcher can still show the extracted strings.

- When the system locale changes, re-extract all string resources.

- Also really hide the constants in ShortcutInfo that were
accidentally made public.

Change-Id: I23c29b45c1de5d76175229190a1533c9c62c5960
2016-06-07 16:11:30 -07:00
fionaxu
be2865a60a Backport loadSafeLabel changes
Bug:23531798
Bug:28557603
Change-Id: Iee49f7c37d6a42fe74077bb15ed47919d351d172
2016-06-07 22:51:28 +00:00
Keisuke Kuroyanagi
973edd1081 Fix: UndoManager#saveInstanceState.
The number of redo states was stored to Parcel in saveInstanceState;
however, there wasn't corresponding read in restoreInstanceState.

Bug: 29113655
Change-Id: I95298f43dd206e0318a80f1643d2129d1199cc9e
2016-06-07 08:27:50 +00:00
Makoto Onuki
cffb6041d2 Merge "ShortcutManager: Implement usage report API" into nyc-mr1-dev am: 37087ad710
am: 51c7ce7531

* commit '51c7ce7531f5c1fc1ae442b1c6f206735599cea2':
  ShortcutManager: Implement usage report API

Change-Id: Ia713dbbb510d2f848b8866a4d0dc692f67803522
2016-06-03 15:44:53 +00:00