14999 Commits

Author SHA1 Message Date
Makoto Onuki
1030520822 Cache the default launcher.
Originally we always checked with PM for the default launcher,
which would take ~2ms.

Now we cache the result, and clears the cache when (any) preferred
activities change.

Bug 30126557

Change-Id: Iceef288cd372c8bb9b119aa493e5173d894f2302
2016-07-15 12:57:03 -07:00
TreeHugger Robot
a035048d35 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-14 20:27:17 +00:00
Bill Yi
8484aad4cb Import translations. DO NOT MERGE
Change-Id: Ie48e587beb52623dec3ccefc85daa7b0f53ec037
Auto-generated-cl: translation import
2016-07-14 06:48:37 -07:00
TreeHugger Robot
acef1eb7c6 Merge "Make Night display off by default" into nyc-mr1-dev 2016-07-14 05:04:39 +00:00
Michael Kwan
36bc5d5862 Merge "Update theme colours for watch type devices." into nyc-mr1-dev 2016-07-14 03:32:27 +00:00
Justin Klaassen
13c78e107c Make Night display off by default
Bug: 30042357
Change-Id: Id7528ee56e162e3e2865a61273e8380ce299c0d7
2016-07-13 19:51:31 -07:00
TreeHugger Robot
a7ebd4f4bb Merge changes I56d6be69,Ibf8f9b26 into nyc-mr1-dev
* changes:
  Fixed a bug where the headsup would be stuck disappearing
  Changed the appearance of phone call notifications
2016-07-14 01:38:53 +00:00
Michael Kwan
7a0e4eb10c Update theme colours for watch type devices.
Bug: 26914376
Change-Id: I127a9404fa8dea2db6c3196742566f8d12ccb113
2016-07-13 17:41:29 -07:00
Jeff Sharkey
199d036df7 Preemptively add string for possible toast.
Bug: 30033319
Change-Id: I4daf4d35656514a835bed1b255dd48f3a0eeb845
2016-07-13 16:38:35 -06:00
Selim Cinek
06e9e1fe00 Changed the appearance of phone call notifications
Change-Id: Ibf8f9b266428fdd5374ee824ec4c2df10daeb9a7
Fixes:28269355
2016-07-13 14:56:05 -07:00
Julia Reynolds
1f721e113b Whitelist default apps for DND access.
Bug: 29606962
Change-Id: I0a94004cf08a51ab17813f99aabddbceb95ac8f0
2016-07-13 12:45:05 -04:00
Mahaver Chopra
695a1c50a2 Merge "Added UM.DISALLOW_OEM_UNLOCK, Removed Global.OEM_UNLOCK_DISALLOWED." into nyc-mr1-dev 2016-07-13 12:27:01 +00:00
Mahaver Chopra
3d9805d502 Added UM.DISALLOW_OEM_UNLOCK, Removed Global.OEM_UNLOCK_DISALLOWED.
Currently we used global setting to restrict user from enabling oem
unlock. As global settings can be chagned using adb, using user
restrictions instead.

Bug: 29893399
Change-Id: Ic83112a4838b8279bf50408a29ae205e0b8639ee
2016-07-12 19:29:14 +01:00
TreeHugger Robot
a8b4e7320a Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-12 16:11:42 +00:00
Bill Yi
52c40b02d1 Import translations. DO NOT MERGE
Change-Id: Ie2c78f0ee8cc349517b13826856b6648bbb29461
Auto-generated-cl: translation import
2016-07-11 23:19:08 -07:00
Amit Mahajan
a0f7dd6772 Merge "Disable using SIM language for Chunghwa Telecom and Far EasTone." into nyc-mr1-dev 2016-07-12 00:03:10 +00:00
Amit Mahajan
1fb7dfd56f Disable using SIM language for Chunghwa Telecom and Far EasTone.
Logs seen with regular customer sims indicate that language is
not set correctly on CHT and FET sims. This config will avoid
using that language as default.

Bug: 28785256
Change-Id: I1b57763c4b5806ef08843b1a4fa5e33a797126ab
2016-07-11 11:26:23 -07:00
Justin Klaassen
76262b8e14 Merge "Add Night display feature" into nyc-mr1-dev 2016-07-08 21:07:48 +00:00
Michael Kwan
3a45f27ceb Merge "Updated margins and spacing of preferences for watch type devices." into nyc-mr1-dev 2016-07-08 20:44:25 +00:00
Justin Klaassen
911e88939c Add Night display feature
Bug: 28615069

Tints the display at night automatically according to your schedule or
using the sunrise/sunset corresponding to your current location.

Change-Id: Ie56b4eed88cc2fcbae88002492b1edad5820b6b1
2016-07-08 11:47:50 -07:00
TreeHugger Robot
33fa5dfa1d Merge "Making timeouts configurable through Settings" into nyc-mr1-dev 2016-07-08 14:36:34 +00:00
Michael Kwan
8de129d9b3 Updated margins and spacing of preferences for watch type devices.
Bug: 27962897
Change-Id: I2625925bd972a574d40d22593dfdf35f80529a7c
2016-07-07 16:18:48 -07:00
Suprabh Shukla
dbbc7af063 Making timeouts configurable through Settings
Adding a global setting for timeouts used in retail demo mode.
Also renaming the protected intent ACTION_RESET_DEMO to reflect proper
owner package.

Bug: 29917613
Change-Id: I9a174503626ab28cceb5024a8e63d27612439b92
2016-07-07 14:12:14 -07:00
TreeHugger Robot
bff9c1ab30 Merge "Fix comment. The color is cyan 500 not teal." into nyc-mr1-dev 2016-07-07 19:52:58 +00:00
Andrew Sapperstein
9f1144bf0c Fix comment. The color is cyan 500 not teal.
Bug: 29881561
Change-Id: I3bce85829532901ce4dae00eced281ca0a6fd838
2016-07-07 11:03:41 -07:00
Michael Kwan
929c8f4a75 Merge "Allow preference theming to remove divider." into nyc-mr1-dev 2016-07-06 22:34:29 +00:00
Daniel Nishi
9459f93c97 Merge "Move the MIME type icon detection into the platform." into nyc-mr1-dev 2016-07-06 19:54:27 +00:00
Alan Viverette
c71fc2456a Merge "Fix: DatePicker can't show long date string at landscape" into nyc-mr1-dev 2016-07-06 19:33:20 +00:00
Daniel Nishi
c29d2b0492 Move the MIME type icon detection into the platform.
This allows the MIME type icons to be used in other system apps.
In this instance, the StorageManager app needs to show file icons
for a given file. By moving the icon mapping into a static library,
we can avoid duplicating the mapping and resources.

Bug: 29826961
Change-Id: Ic2dc7970cc5a5ca430e33425eb9f1ecbd733fe9a
2016-07-06 10:57:06 -07:00
Alan Viverette
73ab965178 Fix: DatePicker can't show long date string at landscape
maxLines="2" is not enough for some languages. Date string is
cut down at landscape. There is a room for additional 2 lines.
maxLines="4" is reasonable.

Bug: 29732198

Change-Id: I312d7ca7f8bf3f4c09dd76fa99274a7f7592bd22
2016-07-06 10:24:11 -04:00
Bill Yi
d4286f5ce8 Import translations. DO NOT MERGE
Change-Id: I95cfccce32e6cb1431bc2d700573b73f5f983210
Auto-generated-cl: translation import
2016-07-05 14:21:42 -07:00
Michael Kwan
908523014e Allow preference theming to remove divider.
Bug: 27962897
Change-Id: I6632f2a3c3d1290c472594f127ad33c9b85023f1
2016-07-02 19:31:32 -07:00
Andrew Sapperstein
0e59a22fcc Update DocumentsUI to use theme colors.
Properly assigns the app's colors for primary, primaryDark, accent, etc
to the colors used by the framework.

Moves a couple colors that are alternate shades of the accent color
into the framework for ease of overlaying.

Deletes a few unused colors as well.

Finally, fixes a bug where colorControlActivated was not being
properly set due to the theme depending upon AppCompat. To
workaround this undefined behavior, we explicitly set
colorControlActivated to colorAccent which is what the framework
sets it to.

Change-Id: Ie0cba19b1b83a21f65692102df91bf4daf27dc44
Fixes: 29581883
2016-07-01 17:59:07 -07:00
Michael Wright
863ae3e51a N MR1 is API 25
Also, finalize resource IDs for N MR1

Bug: 29816674
Change-Id: Ie880adb2544f4e2e32b439fe975a68a3928e6fe5
2016-07-01 14:42:46 +01:00
Philip Cuadra
e260ba666f Merge "Pinner Service - Pin Camera app on unlock if requested by the config" into nyc-mr1-dev 2016-06-30 23:15:30 +00:00
Philip Cuadra
7cb2f8b7ee Pinner Service - Pin Camera app on unlock if requested by the config
Pin the default camera app on unlock and user switch if the config requests it.
Do not pin an app if there is no default camera app for the intent.

Only pin the app for the MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA
action, not the _SECURE one.  While there could be different apps chosed
for different intents, the belief is most people will choose only one
app.

Pin both apk and odex.  Not all apps will have an odex, so it is not a
fatal error if that isn't pinned.

Bug 28251566

Change-Id: I3387c23c20d2f75c8864e29bdfc312fef6276434
2016-06-30 14:50:18 -07:00
Andrew Sapperstein
ac44c9ef45 Merge "Update the volume panel to use a system color." into nyc-mr1-dev 2016-06-30 20:26:36 +00:00
Andrew Sapperstein
c10b4dc90c Update the volume panel to use a system color.
Removes all hardcoded usages of blue_grey_200 and replaces
them with the use of one color resource that's defined in the
framework.

Change-Id: Ic6450f8ec03c3d9cbf915fa5de6f1184bf64266e
Fixes: 29574243
2016-06-30 10:14:53 -07:00
TreeHugger Robot
285c920428 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-06-30 03:17:00 +00:00
Tyler Gunn
9e0450a4e3 Merge "Add conference call label." into nyc-mr1-dev 2016-06-30 02:36:09 +00:00
Michael Kwan
a7d4adaac7 Merge "Updated colour theme for watch devices." into nyc-mr1-dev 2016-06-29 23:11:32 +00:00
Bill Yi
ba79cd14cc Import translations. DO NOT MERGE
Change-Id: Ia7b82097692eb156683716b945de49f2fa2bd784
Auto-generated-cl: translation import
2016-06-29 14:01:12 -07:00
Mukesh Agrawal
88442c1fe1 Merge "wifi: allow config of default+verbose ring buffers" into nyc-mr1-dev 2016-06-29 20:28:42 +00:00
TreeHugger Robot
634ed6bc17 Merge changes Id876f01f,If7c94cf8 into nyc-mr1-dev
* changes:
  Improving the Reset Demo Warning dialog
  Enabling auto-ota in retail demo mode
2016-06-29 01:38:02 +00:00
Suprabh Shukla
0271fd661d Improving the Reset Demo Warning dialog
Removing explicit call to setView which was distorting the layout
of a standard AlertDialog. Used the correct unicode characted for
apostrophe. Also removed calls to enable demo mode launcher for user 0.

Bug: 29520255
Change-Id: Id876f01f8e51c02634c03fce1ea93a15b111fc27
2016-06-28 16:48:34 -07:00
Ajay Panicker
58dd0cd65e Protect REFRESH_BATCHED_SCAN broadcast
Bug: 29754520
Change-Id: Id3f43d36db2c5f026a5d3a94e7370051d2e23e37
2016-06-28 23:20:37 +00:00
Michael Kwan
785bc65bd0 Updated colour theme for watch devices.
Bug: 29472335
Change-Id: I5aec872250010a1636a22c70d3955f938f17571a
2016-06-28 16:02:58 -07:00
mukesh agrawal
6c7a90669b wifi: allow config of default+verbose ring buffers
Add the ability to set the size of ring buffers for
both logging modes (default and verbose).

BUG=29225988
TEST=manual

Manual test: add some logging statements to WifiLogger,
verify that the default ring buffer size is 32KB,
and that the verbose ring buffer size is 1024KB.

Change-Id: I4b7bc0da41ba66d15f8e2b6f3c3d6d615691d507
(cherry picked from commit 6ae111026c558daceb0c879368ca2fb385079769)
2016-06-28 22:41:30 +00:00
Oren Blasberg
9585012ce3 Merge \"Fix popup context menu appearing brokenly.\" into nyc-dev
am: 29ea814354

Change-Id: I1fdc4c75bf763a3e0c1411230e5a0cdc21ad882a
2016-06-28 21:20:02 +00:00
Oren Blasberg
0e8ce872f1 Fix popup context menu appearing brokenly.
Add missing attribute to the base Theme to ensure the context menu
does not appear completely invisibly.

Bug: 29796385
Change-Id: I4f50579622e97656e09a5ddb6e13313f84efc972
2016-06-28 12:41:30 -07:00