240763 Commits

Author SHA1 Message Date
Dan Sandler
5ccae1fb75 Don't generate stack in logcat if assistant missing.
Low ram devices don't have assistants. Worth noting, but not
making a big stink about it.

Change-Id: I5a49be99bf688a5f1b800a1124b14a589ecf5b52
Fixes: 27210719
2016-04-25 11:49:39 -04:00
Alan Viverette
6f9626a1c2 Check for null drawable during LayerDrawable.jumpToCurrentState()
Child drawables specified as theme attributes may not have been
initialized yet.

Bug: 28371482
Change-Id: I8452a7c5b8f74368c58ba3373336bf7d650af7a3
2016-04-25 11:28:17 -04:00
Bill Yi
4316b8a09d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-25 15:09:05 +00:00
Bill Yi
779722d7ed Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-25 15:08:48 +00:00
Bill Yi
3496262a98 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-25 15:08:32 +00:00
Bill Yi
b6a186ce52 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-25 15:08:09 +00:00
Bill Yi
c8ad9db8b0 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-25 15:07:51 +00:00
John Reck
a5bbbe55b7 Merge "PixelCopy fixes" into nyc-dev 2016-04-25 14:55:28 +00:00
Calin Juravle
430ef455d6 Disable StrictMode policy when setting up profile support
Bug: 28304158
Change-Id: Iedf8714bd4f3526823b3060b30e0f11c6c0abcea
2016-04-25 15:09:03 +01:00
Ricky Wai
4ace836661 Merge "Make "work mode on dialog" show personal challenge in unified work lock" into nyc-dev 2016-04-25 13:11:46 +00:00
Bill Yi
90edb46d01 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-25 12:49:01 +00:00
Bill Yi
5f49e81006 Import translations. DO NOT MERGE
Change-Id: Ie8ab19f46d7eebd00b7d1cc476ebd153d733ceb0
Auto-generated-cl: translation import
2016-04-25 05:12:11 -07:00
Bill Yi
47314dde8e Import translations. DO NOT MERGE
Change-Id: I052034274afbe75c7898cd0360ea627abed0dd19
Auto-generated-cl: translation import
2016-04-25 04:58:49 -07:00
Bill Yi
84ba684a6b Import translations. DO NOT MERGE
Change-Id: Ic8c6b11898eaccb7327492bbf5d1aaff9070f135
Auto-generated-cl: translation import
2016-04-25 04:54:12 -07:00
Bill Yi
dcd656051a Import translations. DO NOT MERGE
Change-Id: I0812aa0343d38d49e868e1e8fd895cb9d924b366
Auto-generated-cl: translation import
2016-04-25 04:49:48 -07:00
Bill Yi
94adad88fb Import translations. DO NOT MERGE
Change-Id: Icf2694bb659505ee340498f007c1f303b006b5d0
Auto-generated-cl: translation import
2016-04-25 04:45:05 -07:00
Ricky Wai
7881cf8f81 Make "work mode on dialog" show personal challenge in unified work lock
Bug: 28183335
Change-Id: Ib212b283b9561f88899f6e7ea130944391b6e558
2016-04-25 10:26:14 +00:00
Rubin Xu
0c9c09ccff Merge "Regenerate ApplicationInfo if package suspend state is changed." into nyc-dev 2016-04-25 10:12:02 +00:00
Clara Bayarri
f48f390a60 Merge "Improve KeyboardShortcutInfo documentation for Modifiers" into nyc-dev 2016-04-25 09:31:06 +00:00
Erik Kline
7587ba8608 Merge "Add state and callback logs for IpManager dump" into nyc-dev 2016-04-25 07:55:59 +00:00
Bill Yi
6e2d20b2b6 Import translations. DO NOT MERGE
Change-Id: I1811b4ca04bc4386f233bc1bdc2b486e6ce48b01
Auto-generated-cl: translation import
2016-04-24 22:31:19 -07:00
Erik Kline
a84572b503 Add state and callback logs for IpManager dump
Bug: 27605330
Change-Id: I2e659d08fa9acd57a71901f28c85a92c0876c663
2016-04-25 13:11:58 +09:00
Seigo Nonaka
ab8913e364 Merge "Fix unexpected truncation again." into nyc-dev 2016-04-25 03:36:30 +00:00
Jeff Sharkey
f07c7b9fd0 API changes for DownloadManager and JobScheduler.
To support moving DownloadManager, add new JobScheduler network type
constraint that matches "any network except roaming."  Also add an
API to get a specific JobInfo by ID.

Since the default network can be different on a per-app basis, and
individual apps may be blocked due to app standby, evaluate job
connectivity constraints on a per-UID basis.  To implement this
cleanly, add NetworkInfo.isMetered() to match the isRoaming() API.

Add new DownloadManager APIs to support charging and device idle
constraints, which are plumbed through to JobScheduler under the
hood when scheduled.

Add filtering to JobScheduler dumpsys to omit noisy details for
packages the caller isn't interested in.

Bug: 28098882, 26571724, 19821935
Change-Id: I09ca7184ef7ce6adba399f579d415a5fb2ea6110
2016-04-24 14:39:34 -06:00
TreeHugger Robot
14d8be728b Merge "Fixed the paddings in inbox style to match the rest of the templates" into nyc-dev 2016-04-24 14:44:28 +00:00
Chong Zhang
afb776d544 fix "am start -W" hang on activity start
Normally launch time counts from the point when the activity is
resumed, to when the first window is drawn. However the activity
could become visible before it is resumed, due to some other
activity in the same task being launched. In this case we still
need to report launch time to unblock
ActivityStarter.startActivityMayWait().

bug: 28333487
Change-Id: I445b602f495ed0c3cb669e2d81a137280317534f
2016-04-23 14:37:12 -07:00
Dan Sandler
f4b596860d Tap, don't touch.
Part of global change from touch —> tap for certain screen
gestures.

Change-Id: Ifffee1336793e8304dc03da5c3d36a1fe8ba133f
Fixes: 26750003
2016-04-23 11:14:17 -04:00
Dan Sandler
80eaa59759 Move EXTRA_SUBSTITUTE_APP_NAME to the published system api.
Bug: 26517701
Change-Id: I27000d777247c598cc509079004b4506ef05b404
2016-04-23 14:44:09 +00:00
Dan Sandler
d52ea0c218 Show "Android System" instead of "System UI" in screenshot notifications.
Bug: 26517701
Change-Id: I0f4a58531066c49fed90bcdd78c92a4f212ada3b
2016-04-23 14:43:57 +00:00
Chris Banes
b02d51b3d3 Merge "Make AbsSavedState read using given ClassLoader" into nyc-dev 2016-04-23 07:04:21 +00:00
TreeHugger Robot
eefff3742d Merge "Fix content description for notification icons" into nyc-dev 2016-04-23 01:45:02 +00:00
Selim Cinek
cde952c461 Added the ripple drawable back to the media notification
Change-Id: I12d1de0981d06caef2b7f3f114b432f29c8f836b
Fixes: 28018612
2016-04-22 18:09:19 -07:00
Selim Cinek
07c8017bc2 Fixed the paddings in inbox style to match the rest of the templates
Change-Id: Ib7701ac29d5f8a123441fbf6d95a5b0b9cadfb4e
Fixes: 27998488
2016-04-22 18:09:17 -07:00
TreeHugger Robot
c3c45fa2e0 Merge "Fix a regression in assist when context is disabled" into nyc-dev 2016-04-23 00:56:12 +00:00
Amith Yamasani
02a0381e51 Fix deadlock between VrManager, ActivityManager and WindowManager
Let WM register to listen for Vr mode state changes and keep
track of it locally to avoid calling out to vr manager.

Bug: 28342910
Change-Id: I071666fab7319f315021f48058177dd3141acc3a
2016-04-22 17:32:00 -07:00
Adam Lesinski
1a8a717ab5 Merge "BatteryStats: Fix up semantics of SamplingTimer" into nyc-dev 2016-04-23 00:20:11 +00:00
Adrian Roos
eba0582af1 Fix content description for notification icons
Change-Id: Icb4c6d8a77211d0c8922e28958609a332b19dfcc
Fixes: 27552350
2016-04-22 17:09:30 -07:00
Jaewan Kim
b27a5fd45b Merge "PIP: Changed the wording and background of the PIP onboarding screen" into nyc-dev 2016-04-23 00:04:55 +00:00
Jaewan Kim
1e2c754c28 PIP: Changed the wording and background of the PIP onboarding screen
Bug: 28300868
Change-Id: I73e465ddac5520e0b70098bf6a39fb85d59ad0f9
2016-04-23 08:51:55 +09:00
John Reck
2f78327cfc PixelCopy fixes
Bug: 27708453

Fixes some issues with camera sources. Previously
it was using GL_TEXTURE_2D target which doesn't
work properly if the source is YUV. It is critical
to ensure GL_TEXTURE_EXTERNAL_OES is used throughout
so the right sampler is used.

Change-Id: I0dcd8941ba08331f24809467b0e828663a38e93b
2016-04-22 16:31:17 -07:00
Chris Tate
aa1b2e2d4e Merge "Raise native-crash socket timeout" into nyc-dev 2016-04-22 23:31:03 +00:00
Wale Ogunwale
e8d5f65041 Allow multiple recent entries for task with FLAG_ACTIVITY_MULTIPLE_TASK
The caller wants multiple task in this case regardless of if it is the
same activity or intent filter. So allow it.

Bug: 28293748
Change-Id: I97f7900657975291f301cb4dc0a8af93ff6b70ea
2016-04-22 16:27:39 -07:00
Felipe Leme
f39f04407e Merge "Show a toast when details cannot be added to zip file." into nyc-dev 2016-04-22 23:08:05 +00:00
Felipe Leme
19fa93f643 Merge "Added title and button for Data Saver's 1st-time dialog." into nyc-dev 2016-04-22 23:02:16 +00:00
Felipe Leme
23e182bafd Added title and button for Data Saver's 1st-time dialog.
BUG: 28098106
Change-Id: Icd3d2ee1b62abac738a7ff1c601bf91f6eedfd62
2016-04-22 15:57:26 -07:00
Carlos Valdivia
ffcba67bf9 Merge "Rename GET_PASSWORD_PRIVILEGED and make it signature." into nyc-dev 2016-04-22 22:51:51 +00:00
Garfield Tan
a5dd3f3240 Merge "Disable view recycling to avoid passing wrong type of view to Item.bindView()." into nyc-dev 2016-04-22 22:47:38 +00:00
Ta-wei Yen
8431a48f77 Merge "Rename _BOOLEAN visual voicemail config keys to _BOOL" into nyc-dev 2016-04-22 22:43:59 +00:00
Amith Yamasani
50bbb66d60 Fix a regression in assist when context is disabled
Fixes: 28293783
 CTS: DisableContextTest#testContextAndScreenshotOff failure

When assist context is disabled, make sure that the handleAssist() is
still called with no data.

Change-Id: I569dd9f6de503e62fb04c590214df0f2ce3aa4f3
2016-04-22 15:43:21 -07:00
Winson
eca47ef813 Fixing issue with swipe-dismiss animation clobbering home animation.
- Finish all dismiss animations when a dismiss-to-home animation is 
  started, and prevent lingering deferred layout animation requests
  from running as they will be overwritten anyways.

Bug: 28287904
Change-Id: Ie40c66c0f25705b56f6808607d2b7b8ae4e5a112
2016-04-22 22:39:14 +00:00