Commit Graph

31607 Commits

Author SHA1 Message Date
Geoffrey Pitsch
847eb5aba8 LayoutInflaterBuilder helper in systemui util
Useful for tests that want to inflate production layouts but with
some classes replaced with Testable/Mock instances.  Located in
SystemUI until more clients can be found.

Test: See ag/1630107
Change-Id: I4addb4cb4adfdf8c3e8f065dd3926574dc352e84
2016-12-08 09:36:45 -05:00
Xiaohui Chen
11f1368733 Merge changes from topic 'xc_m_vertical'
* changes:
  sysui: fix navbar button view orientation
  Fix vertical nav button direction issue
2016-12-05 17:41:53 +00:00
Jorim Jaggi
5968660525 Merge "Don't disable search on Keyguard" 2016-12-05 10:44:35 +00:00
Jean-Michel Trivi
ce8617c0df Merge "Volume dialog controller: make loading of stream names more robust" 2016-12-03 19:29:17 +00:00
TreeHugger Robot
1d31ab693e Merge "Import translations. DO NOT MERGE" 2016-12-03 10:16:16 +00:00
TreeHugger Robot
0e1f49908c Merge "Import translations. DO NOT MERGE" 2016-12-03 09:48:48 +00:00
TreeHugger Robot
b9bbd433ae Merge "Import translations. DO NOT MERGE" 2016-12-03 09:18:09 +00:00
TreeHugger Robot
4e01cdb7cd Merge "Import translations. DO NOT MERGE" 2016-12-03 09:17:37 +00:00
TreeHugger Robot
dcee02a384 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:16:47 +00:00
TreeHugger Robot
db1dc7c646 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:16:27 +00:00
TreeHugger Robot
e7d3413ec7 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:15:56 +00:00
TreeHugger Robot
a7e5278f80 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:15:33 +00:00
TreeHugger Robot
9030c65502 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:15:09 +00:00
TreeHugger Robot
408c3e5901 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:14:47 +00:00
TreeHugger Robot
488b600356 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:13:52 +00:00
TreeHugger Robot
ab084fb896 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:13:30 +00:00
TreeHugger Robot
4a1e1d0441 Merge "Import translations. DO NOT MERGE" 2016-12-03 09:12:12 +00:00
TreeHugger Robot
195db4123f Merge "Import translations. DO NOT MERGE" 2016-12-03 09:11:29 +00:00
Bill Yi
6561ccdb99 Import translations. DO NOT MERGE
Change-Id: I20348078648afcf2a154494348d2b55cd3fb2f62
Auto-generated-cl: translation import
2016-12-03 00:17:44 -08:00
Bill Yi
e16ad05887 Import translations. DO NOT MERGE
Change-Id: Icd4e321f703bc7d994152dd5f29bb692f1529b83
Auto-generated-cl: translation import
2016-12-03 00:11:42 -08:00
Bill Yi
43eacdf6c4 Import translations. DO NOT MERGE
Change-Id: I96c2791d1d4faf793c7cebd56ae671d9787cb747
Auto-generated-cl: translation import
2016-12-02 21:34:55 -08:00
Bill Yi
78eec3c16c Import translations. DO NOT MERGE
Change-Id: Icfa72328868f0261156d4a234e4eddbeb29428b9
Auto-generated-cl: translation import
2016-12-02 21:31:57 -08:00
Bill Yi
d3d688a295 Import translations. DO NOT MERGE
Change-Id: I7dbe0388d0e3deedd0d214a55361d30335b56502
Auto-generated-cl: translation import
2016-12-02 21:01:26 -08:00
Bill Yi
81f63dbece Import translations. DO NOT MERGE
Change-Id: Ic63044576872b3d8427dfa18ada7a6105547a10c
Auto-generated-cl: translation import
2016-12-02 20:58:26 -08:00
Bill Yi
27b4c8cc85 Import translations. DO NOT MERGE
Change-Id: I64212a807cb6316ba7d5df5d1472a8fab0552dd8
Auto-generated-cl: translation import
2016-12-02 20:55:33 -08:00
Bill Yi
bed5237cf3 Import translations. DO NOT MERGE
Change-Id: I8fd74a112993b1e9ee07d05da0628b6de6060c76
Auto-generated-cl: translation import
2016-12-02 20:52:42 -08:00
Sergey Yakovlev
3bf5fb48bf Merge "Update Samsung Print Recommendation Plugin (to support Mopria printers)" am: 41f14f47a5 am: 3a1cf2281b am: 55b91fec65
am: 3fd8bb1b62

Change-Id: I587aa8c81614aac6072df3e175b0ea814273e03c
2016-12-03 04:48:18 +00:00
Bill Yi
909eeb6572 Import translations. DO NOT MERGE
Change-Id: I78f9033e232a205c6ba9b40ffa6c7a445bb8e044
Auto-generated-cl: translation import
2016-12-02 20:45:23 -08:00
Bill Yi
c2eaccba60 Import translations. DO NOT MERGE
Change-Id: I17914696df3951b94031ce6d848473013b5f6908
Auto-generated-cl: translation import
2016-12-02 20:42:21 -08:00
Bill Yi
ca0b5fd5a6 Import translations. DO NOT MERGE
Change-Id: I10c0bb28036af20f55efa7a71b0fb6db363fef12
Auto-generated-cl: translation import
2016-12-02 20:39:30 -08:00
Sergey Yakovlev
3fd8bb1b62 Merge "Update Samsung Print Recommendation Plugin (to support Mopria printers)" am: 41f14f47a5 am: 3a1cf2281b
am: 55b91fec65

Change-Id: I2f33f5aa6ade5d155362862849a11374c7f6397f
2016-12-03 04:38:07 +00:00
Bill Yi
3703206a9c Import translations. DO NOT MERGE
Change-Id: I62d4bb9e3e6b7bd3c066c5b0df84d6236dcf6f3c
Auto-generated-cl: translation import
2016-12-02 20:36:25 -08:00
Stephen Chen
c837ebb2c1 Merge "Add Settings.Global.WIFI_WAKEUP_ENABLED flag." am: d758ce1586 am: d738140b8d am: a4d7d45df9
am: 50905a474f

Change-Id: Idc7bc3e35343b06adebb035cc00b555db54289c5
2016-12-03 04:35:19 +00:00
Bill Yi
b804d806e5 Import translations. DO NOT MERGE
Change-Id: Id5750f74873d8caa66e1d805d1dd9801e4b3e18d
Auto-generated-cl: translation import
2016-12-02 20:33:33 -08:00
Sergey Yakovlev
55b91fec65 Merge "Update Samsung Print Recommendation Plugin (to support Mopria printers)" am: 41f14f47a5
am: 3a1cf2281b

Change-Id: Id94c02dc6106b5eb15274926ecd24e43c0ffc76f
2016-12-03 04:30:42 +00:00
Bill Yi
09637313cd Import translations. DO NOT MERGE
Change-Id: Id54ad723907262bb732b4460d5f99f54c1703659
Auto-generated-cl: translation import
2016-12-02 20:30:30 -08:00
Stephen Chen
50905a474f Merge "Add Settings.Global.WIFI_WAKEUP_ENABLED flag." am: d758ce1586 am: d738140b8d
am: a4d7d45df9

Change-Id: I5e2ad4633c19c7518bd3eee85aaf60c324d78154
2016-12-03 04:28:56 +00:00
Stephen Chen
a4d7d45df9 Merge "Add Settings.Global.WIFI_WAKEUP_ENABLED flag." am: d758ce1586
am: d738140b8d

Change-Id: Icb8eb81b2021ee12eccd9158974353120228e7c0
2016-12-03 04:23:49 +00:00
Sergey Yakovlev
3a1cf2281b Merge "Update Samsung Print Recommendation Plugin (to support Mopria printers)"
am: 41f14f47a5

Change-Id: I476bab68c662809bd998f0334441fdd31f6c940a
2016-12-03 04:19:44 +00:00
Stephen Chen
d738140b8d Merge "Add Settings.Global.WIFI_WAKEUP_ENABLED flag."
am: d758ce1586

Change-Id: I1bf1effbb635d57980728555587e8056f630edb9
2016-12-03 04:16:06 +00:00
Treehugger Robot
41f14f47a5 Merge "Update Samsung Print Recommendation Plugin (to support Mopria printers)" 2016-12-03 03:53:18 +00:00
Jean-Michel Trivi
4c7394a854 Volume dialog controller: make loading of stream names more robust
The loading of the stream type volume names assumes there are
  as many read as declared stream types. Verify this is the
  case, if not, complete the array of names with empty strings,
  or remove unneeded entries.

Test: boot in non en-US language
Bug: 33260083

Change-Id: I6632eadd34c4b8af2c8fd01ae7eae45fc513b3e1
2016-12-02 16:13:06 -08:00
Xiaohui Chen
40e978e0d1 sysui: fix navbar button view orientation
Before navbar assumes rotation 0 means portrait and rotation 90
means landscape.  This is not necessarily true, in certain devices
the natural orientation (0) is landscape.  Here we removed that
assumption and make sure we use the right inflater at all times.

Bug: 32516898
Test: Locally on test device
Change-Id: I3db44dcb35d8511fb9d42b147b2bd137ff0750f7
2016-12-02 13:51:49 -08:00
Xiaohui Chen
9efa5ded71 Fix vertical nav button direction issue
Bug: 32516898
Test: locally on device
Change-Id: Id94f08c066db101f630e69874bcdefb177e6f0f5
2016-12-02 13:51:29 -08:00
TreeHugger Robot
04a7a5370c Merge "Split home stack into home and recents stack" 2016-12-02 19:12:23 +00:00
TreeHugger Robot
66bb266ce8 Merge changes I8b9b4fea,Ic6054b1d
* changes:
  Grant Uri permissions for new screenshots.
  Detect content:// leaving apps without grants.
2016-12-02 01:50:52 +00:00
Adrian Roos
097e285536 DO NOT MERGE Show keyguard when SIM is removed
am: fd61f22210

Change-Id: I3ace21a3f5b66ab4395b5511701caf102a6546ef
2016-12-02 00:41:27 +00:00
Jeff Sharkey
72b84a23c9 Grant Uri permissions for new screenshots.
The receiving app may not have the needed permissions to see the
screenshot when launched.

Test: builds, boots, no longer logs
Bug: 33275110
Change-Id: I8b9b4fea2f78f37af543a90309cb34994366850b
2016-12-01 17:10:29 -07:00
Adrian Roos
fd61f22210 DO NOT MERGE Show keyguard when SIM is removed
If the device has a secure lockscreen and the device'
SIM card is removed, lock the device.

Change-Id: I0369af81297169d65254b85bc9a056e4f4a02b7b
Merged-In: I5b0deea8851b38781059732a3cf6fa0a4a00e3ca
Fixes: 30997251
2016-12-01 22:49:50 +00:00
Adrian Roos
1381047f42 Merge "Lockscreen: Restrict double taps to prevent falsing" 2016-12-01 22:28:24 +00:00