235256 Commits

Author SHA1 Message Date
Jaesung Chung
89cb194542 Merge "ExifInterface: implement the serialzation for Exif IFD structures" into nyc-dev 2016-03-10 08:35:24 +00:00
Jaesung Chung
86e552b9fa ExifInterface: implement the serialzation for Exif IFD structures
One image can have multiple image file directories, which stores the
attributes of the image, in Exif specification to save metadata.
In the old version, the all attributes from several image file
directories were combined in a one hash map eventually and were served
without distinction of the original IFD group.

In order to keep the original data as much as possible, it loads/saves
the attributes based on the original IFD group internally.

Bug: 26044456, Bug: 11224701
Change-Id: I416e4e79fd47461c9aa83ce13591ed1a5d42f26e
2016-03-10 15:51:41 +09:00
Roozbeh Pournader
349dc61cba Merge "Annotate fonts.xml with intended scripts" into nyc-dev 2016-03-10 06:38:55 +00:00
Roozbeh Pournader
9bd17ce738 Annotate fonts.xml with intended scripts
Add various ISO 15924 codes to fonts.xml, as a signal for better
font selection in Minikin.

Bug: 27582800
Bug: 26187231
Change-Id: Ie06c156e0179e79c15cf2d66d577c3d36571860d
2016-03-09 21:46:15 -08:00
Adam Lesinski
960b9441cf Merge "AssetManager: Cache a pre-filtered list of configurations" into nyc-dev 2016-03-10 05:05:15 +00:00
Jaesung Chung
e834dd78d4 Merge "ExifInterface: fix a bug in readExifEntryValue" into nyc-dev 2016-03-10 04:26:52 +00:00
Md Haque
cf4c7f58b0 Merge "Fix Download Manager Functional test and enable for APCT" into nyc-dev 2016-03-10 02:32:55 +00:00
Winson Chung
d2130267a7 Merge "Fix regression when setting initial offset when docked." into nyc-dev 2016-03-10 02:32:16 +00:00
Winson
809a5b128d Fix regression when setting initial offset when docked.
Change-Id: Ide8e9eb2d97b5540186736fc73b093e4385613bd
2016-03-09 18:30:32 -08:00
Hyunyoung Song
ef33726e14 Merge "Revert "Apply transformations while offsetting focused rects"" into nyc-dev 2016-03-10 02:22:58 +00:00
Winson Chung
44ffd922dc Merge "Fixing issue with animations not being cancelled." into nyc-dev 2016-03-10 02:21:06 +00:00
Winson
73492c5d7a Fixing issue with animations not being cancelled.
Bug: 27533931
Change-Id: I724643ec8a2c6cdaa3cade72ae40abcf9d28bae5
2016-03-09 18:20:15 -08:00
Hyunyoung Song
4eb1a4e003 Revert "Apply transformations while offsetting focused rects"
b/27335262

This reverts commit 83e725da7aad97409d96eed784a076f6d4841b54.

Change-Id: I55079bbaab81610e9de3a8d68ed21cf352da5983
2016-03-10 02:19:14 +00:00
Christopher Tate
2affae90b8 Improve AlarmManager docs
In particular, add some missing information about what
getNextAlarmClock() returns.

Bug 27562400

Change-Id: I8c76b0c4208082d4da8ea490518e023584da6440
2016-03-09 17:56:32 -08:00
Dianne Hackborn
839ff816a5 Merge "DO NOT MERGE: Add separate information about user whitelist." into nyc-dev 2016-03-10 01:46:03 +00:00
Dianne Hackborn
262ae5c8eb DO NOT MERGE: Add separate information about user whitelist.
Use this in the alarm manager to allow user whitelisted apps
to have free access to scheduling alarms.

Coming next: lifting sync/job restrictions.

Bug #26851107: Allow user whitelist apps more freedom

(Cherry-picked to nyc since it got lost in the branch from master.)

Change-Id: I4dc9f07514627ebdb6b6eff7c7a749f2c51a3797
2016-03-09 17:39:40 -08:00
Daichi Hirono
05133ad090 Merge "Skip MTP launch notification for devices having FEATURE_AUTOMOTIVE." into nyc-dev 2016-03-10 01:35:28 +00:00
Adam Lesinski
ff5808d223 AssetManager: Cache a pre-filtered list of configurations
When we set the parameters for a ResTable, we can pre-filter which
resources match and only look at that smaller list when getting entries.
This helps A LOT with types that have many configurations, like strings
and all their various locales.

We must store the cached entries in a parallel data structure because parts
of the main Type object are shared with other ResTables, causing data races.

Bug:25499111
Change-Id: I63e37dcbd683fc9f1e7d0f3a6ed4c1c01e0fc575
2016-03-09 17:33:14 -08:00
Sudheer Shanka
0dd17c8406 Merge "Fix description for the string disabled_by_admin." into nyc-dev 2016-03-10 01:05:37 +00:00
Sudheer Shanka
535b4e7eac Fix description for the string disabled_by_admin.
Change-Id: I229891fd6796521fc0b84f5ae5463b8697cf0934
2016-03-09 17:04:15 -08:00
Jaewan Kim
fd27ae9611 Merge "PIP: Prepare PIP strings for translations" into nyc-dev 2016-03-10 00:58:09 +00:00
smain@google.com
00de8c5d7a cherrypick I4e1ca9fddc6374fd80108e4f9a3b9745f8598507
add new make target for offline docs with only the API reference.
Also update the default index.html landing page to redirect to the reference.

Change-Id: I2a123e49e2d6bb365bd81383ca3a9fc8e03de034
2016-03-09 16:57:56 -08:00
Jaewan Kim
1ea8722f93 Merge "PIP: Close PIP if media session is gone" into nyc-dev 2016-03-10 00:57:26 +00:00
Sungmin Choi
532308f623 Fix roam icon issues in Austria
https://code.google.com/p/android/issues/detail?id=91596
Bug: 26613915
Change-Id: I3b579ac5e3178508ccbf1edeb0c7835cd7ae110b
2016-03-09 16:54:50 -08:00
Jaewan Kim
f40fcdca2c PIP: Close PIP if media session is gone
This keeps the PIP if there's no media session from the beginning.

Bug: 26717072
Change-Id: Idf5bab14d8979c0e50f4451f61bb9355d4562b96
2016-03-10 09:54:37 +09:00
Joe Onorato
04a72a2a51 Merge "Add an API for apps to get their System Health / Battery Stats data." into nyc-dev 2016-03-10 00:52:03 +00:00
Adam Lesinski
d96ce2675f Merge "AAPT2: Fix file::mkdirs when given absolute paths" into nyc-dev 2016-03-10 00:32:35 +00:00
Tomasz Mikolajewski
9ab36aa86e Merge "Improve sorting performance by 2.5 times." into nyc-dev 2016-03-10 00:28:24 +00:00
Chris Craik
727819d134 Merge "Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7" into nyc-dev 2016-03-10 00:26:20 +00:00
Yin-Chia Yeh
0ae49cc667 Merge "Camera: codegen update" into nyc-dev 2016-03-10 00:24:56 +00:00
Makoto Onuki
495d124a67 Merge "ShortcutManaegr: load config from settings, also..." into nyc-dev 2016-03-10 00:18:36 +00:00
Chris Craik
034a10bf21 Partial revert of 261725fdb2962271c222a049fcdf57bbdc8363c7
Bug:27534946

Mapping empty rects still must be done to get correct positions for
line/point rects describing strokable bounds.

Change-Id: I2f9efe543e58eb438b755276585491c1256d6719
2016-03-09 16:14:35 -08:00
Shreyas Basarge
33d693ac59 Merge "Restrict range of sync job ids" into nyc-dev 2016-03-10 00:14:29 +00:00
Todd Kennedy
3d2e374e70 Merge "Update API" into nyc-dev 2016-03-10 00:08:58 +00:00
Chris Craik
c17232598b Merge "Add initial BakedOpDispatcher tests" into nyc-dev 2016-03-10 00:08:46 +00:00
Todd Kennedy
ef342404c6 Update API
Change-Id: Ia1c913d1508d80489fcc0e01e5d10f72f8f9af5c
2016-03-09 16:08:09 -08:00
Chris Craik
419a1e7ef5 Add initial BakedOpDispatcher tests
bug:26571145
bug:26923968
bug:27389290

Change-Id: If8ba33732d09b335171f87d5efc419641bafa126
2016-03-09 16:03:52 -08:00
Jeff Sharkey
6b432fa255 Merge "Restrict TrafficStats due to privacy concerns." into nyc-dev 2016-03-09 23:59:21 +00:00
Jeff Sharkey
0d69d3dfe1 Restrict TrafficStats due to privacy concerns.
Granular per-UID network statistics can be used to infer user
behavior over time, so they fall under the umbrella of the
PACKAGE_USAGE_STATS permission.

Since we can't check app-ops based permissions in the kernel, the
best we can do is redirect users to the NetworkStatsManager class,
which offers a much more robust historical data set.

Bug: 27577101
Change-Id: I696bdc5e0b3d7e24acf35f388d0ab13617ed8af3
2016-03-09 16:49:45 -07:00
Joe Onorato
713fec85b8 Add an API for apps to get their System Health / Battery Stats data.
Change-Id: Ib27e1be469b826f6d83d73ce6024102bbdb1d47a
2016-03-09 15:47:24 -08:00
Felipe Leme
3e5e84152f Added Talkback announcements for Data Saver switch.
BUG: 27504554
Change-Id: I6a6b996fe03a565edc051cf24a8ec7de4e8e5644
2016-03-09 15:44:23 -08:00
Vadim Tryshev
4eeb7e2cae Merge "Fixing bugs with peeking a wallpaper." into nyc-dev 2016-03-09 23:44:23 +00:00
Todd Kennedy
f96eee36df Merge "remove splits" into nyc-dev 2016-03-09 23:43:21 +00:00
Todd Kennedy
eb9b05392a remove splits
Individual splits can now be removed for an application. The
application will be terminated if it's running when a split is
removed.

To remove a split, either use either "uninstall":
    $ adb shell cmd package uninstall <PACKAGE> <SPLIT>

or "install-remove":
    $ adb shell cmd package install-create -r -p <PACKAGE>
    $ adb shell cmd package install-remove <SESSION> <SPLIT>
    $ adb shell cmd package install-commit <SESSION>

For "install-remove" you must use '-r' and '-p' when creating
the session.

Bug: 27547051
Change-Id: I4d71a19ad45e39f6622d9ab6791ea8c4230a79e0
2016-03-09 15:34:00 -08:00
Jeff Sharkey
93720d5729 Merge "Log when pre-N apps send too much to DropBox." into nyc-dev 2016-03-09 23:31:01 +00:00
George Mount
eddc8dbed6 Fix ArcMotion path creation in some quadrants.
Bug 27577177

When ArcMotion created paths in some quadrants, the control
points were placed in the wrong place, making a non-circular
arc instead of an arc of a circle.

Change-Id: Ie842524c09385038fb1f991b877b01ee5e740f20
2016-03-09 15:30:19 -08:00
Jeff Sharkey
b8e8a91f54 Log when pre-N apps send too much to DropBox.
Once they target N, they'll start getting exceptions, which is
intended to make sure they pay attention to data that would have
otherwise been dropped on the floor.

Bug: 27571535
Change-Id: I49163679c629cd0788327d2c3a654e757ecdcb99
2016-03-09 16:27:42 -07:00
Shreyas Basarge
fa27253c2e Restrict range of sync job ids
Sync jobs now get an id greater than 100000.
This is done to avoid conflicts with other
jobs scheduled by the System process.

Change-Id: Ifcfa218e2ac5f81231c9e25aa25dbaecaf646603
2016-03-09 23:19:55 +00:00
Makoto Onuki
4362a66dba ShortcutManaegr: load config from settings, also...
support "cmd override-config" and "cmd reset-config" to help CTS.

Bug 27548047

Change-Id: Id6c9e6f41a2238856dd3470d88d88d0e7e686f26
2016-03-09 15:17:29 -08:00
Wale Ogunwale
56d75cf04d Fixed visibility of home stack behind translucent app activity.
A stack is not considered translucent if their top activity is over the
home stack (i.e the home stack should be visible behind the activity).
However, the home stack will not be made visible behind this stack since
the stack is not translucent.
We now make the stack transulcent if the top activity is over the home
stack and the home stack is directly behind this stack.

Also, cleaned up the isStackTranslucent code some to be more readable.

Bug: 27566650
Change-Id: I4d2fe842d26547ba743ca82a456499038a1eb389
2016-03-09 15:14:47 -08:00