240141 Commits

Author SHA1 Message Date
Wale Ogunwale
f7dab1e53f Always send configuration changes to activity.
We are not sending override configuration changes to activities if the change in
configuration is not significant enough (i.e did resources will not be reloaded
due to the change). This breaks apps that rely on getting onConfigurationChanged()
call whenever the config changes regardless of if resources will be reloaded.
We no deliver all configuration changes to the activity.

Bug: 28177873
Bug: 23904868
Change-Id: Icc979dabb8bc93ae8a976ef6074cd2559aedca67
2016-04-16 11:38:50 -07:00
Wale Ogunwale
43896cffe6 Don't allow pinned activities to request visible behind
Also, release visible behind when pinning a visible behind activity.

Bug: 28042883
Change-Id: I1162d7639626f669f648ff82f5c367cb7b3fe6e6
2016-04-16 10:54:30 -07:00
Makoto Onuki
e2be9f4a67 Merge "ShortcutManager: Categories should be Set, not List." into nyc-dev 2016-04-16 15:18:39 +00:00
Adam Lesinski
0b1a203830 Merge "SettingsLib: Build with AAPT2" into nyc-dev 2016-04-16 07:01:08 +00:00
Jaesung Chung
865cef475d Merge "ExifInterface: keep the original metadata data instead of strings" into nyc-dev 2016-04-16 02:41:23 +00:00
TreeHugger Robot
c99f05e1b0 Merge "Fix broken statusbar disable flags" into nyc-dev 2016-04-16 00:53:22 +00:00
Amith Yamasani
25c66ac8e6 Merge "Address API review for UserManager user creation" into nyc-dev 2016-04-16 00:18:22 +00:00
Makoto Onuki
be73a8068f ShortcutManager: Categories should be Set, not List.
Bug 27923857

Change-Id: Ife859da8e66478174f6c4463316886a23e5aa4e0
2016-04-15 17:15:29 -07:00
John Reck
f91cbc7fd2 Merge "Switch JankTracker to FrameInfo::duration()" into nyc-dev 2016-04-15 23:47:01 +00:00
Ruben Brunk
b56b72a846 Fix VR->VR Activity transitions.
- Briefly delay unBinding VrListenerService and making HAL calls
  when leaving VR mode Activity in case subsequent activity will
  be immediately re-entering VR mode.

Bug: 28115931
Change-Id: I3f362131ed2beb6a29ce78fe01e9301d8b396520
2016-04-15 16:42:49 -07:00
Chien-Yu Chen
dfe920d3bb Merge "Camera2: Stop repeating request for abandoned output" into nyc-dev 2016-04-15 23:38:14 +00:00
TreeHugger Robot
793f859123 Merge "Fallback to Recents when Downloads is not available." into nyc-dev 2016-04-15 23:30:41 +00:00
Adrian Roos
2a62910691 Fix broken statusbar disable flags
Fixes a bug where the disable flags were
always applied to user 0 instead of the current
user because the user switch dispatch from
WindowManager was broken.

Change-Id: Ib2faf0777c5367af5bf07cb2d11c51ed0222d65c
Fixes: 28062568
2016-04-15 16:28:41 -07:00
Jaesung Chung
0e7d22535d ExifInterface: keep the original metadata data instead of strings
This CL makes ExifInterface store the tag values as the original forms
and the format validiation is added that compares the given value and
the data format specificed in EXIF specification in order to keep the
valid tag values only.

Bug: 27583378, Bug: 27614052, Bug: 28075709
Change-Id: If60bbddefe74c4b87b4ce64b5fc79e467e36a5b9
2016-04-15 23:27:21 +00:00
TreeHugger Robot
cd681aab33 Merge "Handle delete failure notifications correctly." into nyc-dev 2016-04-15 23:12:01 +00:00
Chien-Yu Chen
2da496f1ce Camera2: Stop repeating request for abandoned output
Stop repeating request if any of its output stream is abandoned
and notify that repeating request has been stopped.

Update binder tests for binder interface changes.

Update CameraDeviceImpl to expect an exception when canceling
a repeating request that is already stopped.

Bug: 21270879
Change-Id: I9fa72ae7218948aac88cb1a8e57839bd022c4a5e
2016-04-15 16:04:18 -07:00
Aurimas Liutikas
d0612e74f2 Merge "Increase SearchView touch targets to meet GAR3." into nyc-dev 2016-04-15 22:47:11 +00:00
Sandeep Gutta
e1da5a3964 Handle mnc 00 while retrieving the Resources based on subid
Since mnc 00 is represented as undefined it needs to be replaced
with MNC_ZERO 0xffff for retrieving proper resources.

bug:28219719
Change-Id: I7e1630c2f5c31959306d862b10e7987bb449ea9f
2016-04-15 22:46:09 +00:00
Baligh Uddin
f94fcc3e5d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:32:51 +00:00
Baligh Uddin
14b1dfbf36 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:23:44 +00:00
Baligh Uddin
096b4bd229 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:23:39 +00:00
Baligh Uddin
fc1291f4be Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:23:27 +00:00
John Reck
736a52538a Merge "Fix sw legacy compat path in SurfaceView" into nyc-dev 2016-04-15 22:22:41 +00:00
Baligh Uddin
fb7f037198 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:22:32 +00:00
Baligh Uddin
d2bc6ad6c0 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:22:27 +00:00
Baligh Uddin
c6b8f90f99 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-04-15 22:22:22 +00:00
John Reck
126720aa65 Switch JankTracker to FrameInfo::duration()
Fixes: 27533462

FrameInfo::duration() will remove time spent waiting
in the queue from the duration. This is desired because
that time is otherwise accounted for by the previous frame,
so we don't want to double count it.

This shows up mostly in TestSceneRunner & shadowgrid2
due to a combination of slow frame times and continous rendering.

Change-Id: I27c42d5c24d266de4ada8ea00ec9164d518754f8
2016-04-15 15:19:50 -07:00
Winson
b556811b86 Hide nav bar buttons in screen pinning dialog when appropriate.
- Also fix wrong hint text to disable screen pinning

Bug: 26314479
Change-Id: I7fc79c92511eba5e6d23dc307bb75c1710ff9e41
2016-04-15 22:18:35 +00:00
Jorim Jaggi
322870ff5c Merge "Slow down entrance animation on tablets a bit" into nyc-dev 2016-04-15 21:54:03 +00:00
Adam Powell
e33901c232 Merge "Retain loaders through stopped config changes" into nyc-dev 2016-04-15 21:40:53 +00:00
Sungsoo Lim
51ccdb0f39 MediaBrowserService: Provide a way to retrieve root hints
Bug: 28075963
Change-Id: Id8993e67732a2dda5bf75ecab6037dbbba8c8c99
2016-04-15 14:37:36 -07:00
Jorim Jaggi
e370e15056 Slow down entrance animation on tablets a bit
Also fix an issue where resize was not called.

And make the translation a bit larger, because the
animation is longer.

Bug: 27870534
Change-Id: Ia6128db8108fe57bee96816fc95fd0811d941ffb
2016-04-15 14:34:55 -07:00
Svetoslav Ganov
286c5b7741 Merge "Properly notify magnification listener" into nyc-dev 2016-04-15 21:32:05 +00:00
Svetoslav Ganov
7d477d4845 Properly notify magnification listener
bug:28088856

Change-Id: Iffd848082f035319aab3af177921bb3085844ab0
2016-04-15 14:30:47 -07:00
Felipe Leme
09282c5dc5 Merge "Fix first-time usage." into nyc-dev 2016-04-15 21:23:17 +00:00
Amith Yamasani
0696434c62 Address API review for UserManager user creation
Don't return null from createUserCreationIntent()
Provide a way for apps to query if the device
supports multiple users.

Some additional documentation for UserManager class to
make things clear about the types of users and relationship
with accounts.

Change-Id: I768d816e73a1d7f61cdc415f9e482adc79e2715a
Fixes: 28150359
2016-04-15 14:10:02 -07:00
Eric Laurent
4a182358c4 Merge "Player superclass for handling AppOps features" into nyc-dev 2016-04-15 21:05:25 +00:00
Jim Miller
275c94aea3 Merge "Fix missing permission check when saving pattern/password" into nyc-dev 2016-04-15 21:03:16 +00:00
Tyler Gunn
a6f12cf3d0 Merge "Adding some new multi-endpoint stuff." into nyc-dev 2016-04-15 21:01:12 +00:00
Aurimas Liutikas
c8fd00a046 Increase SearchView touch targets to meet GAR3.
- Allow SearchView to expand to 48dp height if possible.
- Make the search clear button have 48dp height if possible.
- Expand the search TextView touch target height to 48dp is possible.

Framework version of patch ag/912646

Bug: 19479861
Change-Id: Ibaaef2afa20b8c05eaac8f028df4f616f2f96eb1
2016-04-15 13:59:39 -07:00
Jeff Sharkey
426e4206f9 Iterate through all known users after moving.
installd no longer supports USER_ALL when destroying app data.

Bug: 28174913
Change-Id: I23496eda7269ad1ad58007de0f44cb89a2291ecb
2016-04-15 14:51:05 -06:00
TreeHugger Robot
b3e26a9b41 Merge "Fix wrong transition when dock minimized and docked app launched" into nyc-dev 2016-04-15 20:46:40 +00:00
John Reck
f057fb56f6 Fix sw legacy compat path in SurfaceView
Fixes: 28074239

Need to convert from scaled window to screen before
updating position of the SurfaceView

Change-Id: I75dec23408c32ec01e88193ea38b1fb253b3fd6f
2016-04-15 13:46:29 -07:00
Sunil Dutt
7c5fda85af Wifi: Introduce a configuration parameter to disable WiFi in ECBM
This configuration parameter aims to address the following requirement.
a) If the Wifi radio on the UE is in turned on state (and the UE is not
   connected to any WWAN) and the user dials 911 and the UE is not
   capable of making E911-VoIP over WiFi calls, then the UE shall turn
   off its WiFi radio and shall try to attach to one of the WWANs,
   depending upon the air interfaces supported by the UE  for setting
   up the 911 call to the relevant PSAP. After the 911 call ends,and
   after the callback period ends, then the UE shall turn on the WiFi radio.

b) If the Wifi radio on the UE is in turned on state and the UE is connected
   to a WWAN and the user dials 911 and the UE is not capable of making
   E911-VoIP over WiFi calls, then the UE shall turn off its WiFi radio and
   shall set up the 911 call over the WWAN to which it is already attached,
   if that WWAN is available and able to support 911 calling. If that WWAN
   is not available or is not capable of supporting 911 calling, then the UE
   shall select an available WWAN for setting up the 911 call. Assumption is
   that while a LTE network may not have 911 calling support capability, all
   1x, GSM and UMTS networks will be 911 capable. After the 911 call ends,
   and after the callback period ends, then the UE shall turn on the WiFi radio.

c) If the Wifi radio on the UE is in turned on state (and the UE is not connected
   to any WWAN) and the user dials 911 and the UE is capable of making E911-VoIP
   over WiFi calls, then the UE shall not turn off its WiFi radio but shall first
   try to attach to one of the WWANs, depending upon the air interfaces supported
   by the UE , for setting up the 911 call to the relevant PSAP.

d) If the Wifi radio on the UE is in turned on state (and the UE is also connected
   to a WWAN) and the user dials 911 and the UE is capable of making E911-VoIP over
   WiFi calls, then the UE shall not turn off its WiFi radio but shall first try to
   attach to one of the WWANs, depending upon the air interfaces supported by the
   UE,for setting up the 911 call to the relevant PSAP.

Thus,the following address the requirement above.
1) Introduce a parameter (KEY_CONFIG_WIFI_DISABLED_IN_ECBM) to conifgure Wifi disable
   in ECBM for the requirement c & d. This key shall be overridden in the specific
   carrier overlay configuration file (defaulted to FALSE).
2) Already existing API (setWifiEnabled()) to turn ON/OFF Wi-Fi cater the requirement a & b .

Bug: 27854016
Change-Id: I5af370c143630bdd4b075f4730fd1de1bbe1fe7d
2016-04-15 13:32:14 -07:00
Shishir Agrawal
f7e59c1f61 Adding slotId to certain Telephony broadcasts.
These particular boradcasts need to expose phoneId since they are valid even
when there is no SIM.

ACTION_SERVICE_STATE_CHANGED
  - Added phoneId to broadcast.
  - Removed TelephonyRegistry non subId call.
ACTION_SIGNAL_STRENGTH_CHANGED
  - Added phoneId to broadcast.
  - Removed TelephonyRegistry non subId call.
ACTION_PHONE_STATE_CHANGED
  - Added phoneId to broadcast.
  - The non-subId version is called by Telecomm to communicate overall state.
    Telephony sends its own version, so only the Telephony call needs to add
    phoneId.

Bug: 27378995

Change-Id: I554f7ee18b9ae19919f4724328dcff3ef9cbd092
2016-04-15 13:31:12 -07:00
Tyler Gunn
d54c077d08 Merge "Hide multi-endpoint APIs." into nyc-dev 2016-04-15 20:28:57 +00:00
Sid Soundararajan
e44ff8fd9f Merge "Add a dimmed dismiss icon below task card view" into nyc-dev 2016-04-15 20:19:51 +00:00
Jeremy Joslin
e9f5cd3784 Merge "Added useExternalScores field to WifiConfiguration." into nyc-dev 2016-04-15 20:14:03 +00:00
John Reck
b8563f1ae4 Merge "Turn off HWUI_ENABLE_OPENGL_VALIDATION" into nyc-dev 2016-04-15 20:12:29 +00:00
TreeHugger Robot
fe31ada999 Merge "Fixed bug with activity moved to pinned stack left in resumed state." into nyc-dev 2016-04-15 20:09:53 +00:00